[asterisk-users] CDR(accountcode) empty in * 1.4.4 (for local chan)

Rizwan Hisham rizwanhasham at gmail.com
Thu May 3 04:47:21 MST 2007


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


More information about the asterisk-users mailing list