Todd Routhier
2009-Sep-03 22:24 UTC
[asterisk-users] setvar=CDR(accountcode)=${EXTEN} in sip.conf ???
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
Doug Lytle
2009-Sep-03 22:41 UTC
[asterisk-users] setvar=CDR(accountcode)=${EXTEN} in sip.conf ???
Todd Routhier wrote:> Trying to do something like this in the sip.conf under my incoming > provider profiles: > > setvar=CDR(accountcode)=${EXTEN} >Set(CDR(accountcode)=${EXTEN}) Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."