On 4/09/09 10:41 AM, Doug Lytle wrote:
> 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})

Nah he's trying to do it in sip.conf

Basically what you should do is add the line that Doug recommended to 
the dialplan - sip.conf can't know what the extension is because it's 
setting these variables once for a peer.

-- 
Cheers,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to