[Asterisk-Users] Accountcode and SIP Peers

Marcello Lupo lupo at itspecialist.it
Thu Feb 17 13:04:29 MST 2005


Hi to all,
following the suggestion of Matteo Brancaleoni to solve my problem of 
anonymous call in CDRS i implemented the accountcode in any peer that i have 
in the sip.conf so i can use the SetCallerID to accountcode to identify the 
caller.
When i make the sip show users the accountcode is correctly displayed but when 
i try to access the variable ${ACCOUNTCODE} from the extensions.conf to 
populate the ${CALLERID} variable it is still empty. 
May be there is a way to populate the ${ACCOUNTCODE} variables taking the 
value from the SIP configuration that i'm missing or, if i understood 
correctly, when the accountcode is inserted in the sip.conf it should 
automatically populate the ${ACCOUNTCODE} variable?
Any idea??
Thanks,
Bye,
Marcello




More information about the asterisk-users mailing list