Rizwan Hisham
2007-May-03 04:47 UTC
[asterisk-users] CDR(accountcode) empty in * 1.4.4 (for local chan)
Hi all, i just updated to asterisk 1.4.4 from 1.4.2. i was doing this to forward an unanswered call in 1.4.2 exten=> 1,1,Dial(SIP/123,,Ttg) exten=> 1,2,Gotoif($[${DIALSTATUS}=ANSWERED]?:10) exten=> 1,3,Hangup exten=> 1,10,Dial(Local/2,,Ttg) exten=> 1,11,Hangup exten=> 2,1,Dial(SIP/234,,Ttg) exten=> 2,2,Hangup All the CDR variables for the first channel (SIP/123) are fine. but when local channel initiates, it does not copy the CDR(accountcode) variable from the first channel (in asterisk 1.4.4), whereas it did in 1.4.2. so the CDR(accountcode) variable for local channel is empty in 1.4.4. This is a big problem for me as i have to charge the forwarded calls also and all calls are charged based on account code. If accountcode is empty, i cant make a decision how to charge the call. Can anybody fix this for me or do i have to jump back to asterisk 1.4.2? -- Regards Rizwan Hisham Software Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070503/e0f2de70/attachment.htm
Steve Murphy
2007-May-03 09:45 UTC
[asterisk-users] CDR(accountcode) empty in * 1.4.4 (for local chan)
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3227 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070503/46c7bf65/smime.bin