[asterisk-users] setvar=CDR(accountcode)=${EXTEN} in sip.conf ???
Todd Routhier
fonemasta at gmail.com
Thu Sep 3 17:24:39 CDT 2009
Trying to do something like this in the sip.conf under my incoming provider
profiles:
setvar=CDR(accountcode)=${EXTEN}
It seems to show up in the CDR but it's showing up exactly like this
"${EXTEN}".
Is there a way to stuff the DNIS (number dialed) into the accountcode for
CDR?
I have already accomplished setting on a number by number basis, I just want
to do it globally for all number when they come in.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090903/8dc4a796/attachment.htm
More information about the asterisk-users
mailing list