[Asterisk-Users] want to set a var in sip.conf

brian k. west brian at bkw.org
Tue May 18 22:38:29 MST 2004


You could be kinky and use accountcode= for that purpose

then dial(blah/${ACCOUNTCODE}${EXTEN})

bkw
----- Original Message ----- 
From: "Randy Bush" <randy at psg.com>
To: "splatters" <asterisk-users at lists.digium.com>
Sent: Tuesday, May 18, 2004 10:26 PM
Subject: [Asterisk-Users] want to set a var in sip.conf


> i have extensions in locations across a number of telco area codes.
> when someone in seattle picks up and dials 91234567, it would be
> nice to transform it to 92061234567.  i would prefer not to have
> an extension context per area code.  it would be cool to be able
> to set a variable in the sip.conf bit for each phone with it's
> geographic default area code.
> 
> or other folk may have a better hack.  please clue me.  the wiki
> did not help.  thanks.
> 
> randy
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 




More information about the asterisk-users mailing list