Brad .
2005-Oct-22 21:50 UTC
[Asterisk-Users] Asterisk CDR records when a call is transferred
I have an Asterisk server that peers with a VoiP provider via IAX2. I have 10 local SIP users. I record the CDR data into a MySQL database, and use that to bill the 10 local SIP users. The problem I have is, one of my local users (User 5, for example) has there handset forwarded to a mobile phone number (which is fine, I have no problem with that). But the problem is, when another local user (User 8, for example) calls User 5, the call to the mobile number in the MySQL CDR is recorded with the "accountcode" and "src" of User 8, instead of User 5. So, the caller (User 8) gets billed for the call to the mobile, instead of the user (User 5) who's handset was forwarded to the mobile. Can anyone tell me how I can get around this? Thanks very much BJ _________________________________________________________________ Access your Hotmail straight from your i-mode mobile http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fadsfac%2Enet%2Flink%2Easp%3Fcc%3DTEL175%2E16267%2E0&_t=751223833&_m=EXT