You could be kinky and use accountcode= for that purpose
then dial(blah/${ACCOUNTCODE}${EXTEN})
bkw
----- Original Message -----
From: "Randy Bush" <[EMAIL PROTECTED]>
To: "splatters" <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users