JR Richardson
2006-Oct-12 15:45 UTC
[asterisk-users] AccountCode set in sip.conf but not showing up in CDR
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
JR Richardson
2006-Oct-13 07:29 UTC
[asterisk-users] RE: AccountCode set in sip.conf but not showing up in CDR
> > Message: 5 > Date: Thu, 12 Oct 2006 17:45:14 -0500 > From: "JR Richardson" <jmr.richardson@gmail.com> > Subject: [asterisk-users] AccountCode set in sip.conf but not showing > up in CDR > To: asterisk-users@lists.digium.com > Message-ID: > <4a28136b0610121545t262406d6o30e6066c3d6ebfe6@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > 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 >Disregard, I came in this morning, started testing again and things were working as expected. I'm not sure why or what happened different, it's just working now. JR -- JR Richardson Engineering for the Masses