[asterisk-users] AccountCode set in sip.conf but not showing up in
CDR
JR Richardson
jmr.richardson at gmail.com
Thu Oct 12 15:45:14 MST 2006
Hi All,
I'm running 1.2.9.1 and have a sip user setup with accountcode=4444 in
the context.
lab1*CLI> sip show peer 1234
* Name : 1234
Secret : <Set>
MD5Secret : <Not set>
Context : sip1004
Subscr.Cont. : <Not set>
Language :
Accountcode : 4444
AMA flags : Unknown
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
So it shows up in the sip user peer information.
Call progress:
lab1*CLI>
-- Executing Goto("SIP/1234-e540", "lookuplocal|1002|1")
-- Goto (lookuplocal,1002,1)
-- Executing ChanIsAvail("SIP/1234-e540", "SIP/1002&IAX2/1002|sj")
in new stack
-- Executing Goto("SIP/1234-e540", "incoming|1002|2") in new stack
-- Goto (incoming,1002,2)
****************************************NoOp shows empty for the ${ACCOUNTCODE}
-- Executing NoOP("SIP/1234-e540", "")
****************************************
-- Executing Dial("SIP/1234-e540", "Sip/1002|20|tr")
-- Called 1002
-- SIP/1002-4768 is ringing
== Spawn extension (incoming, 1002, 3) exited non-zero on 'SIP/1234-e540'
Also, there is no accountcode info being issued to the CDR, just a big blank.
Any Ideas?
Thanks
JR
--
JR Richardson
Engineering for the Masses
More information about the asterisk-users
mailing list