[Asterisk-Users] Re: diffrent area codes for diffrent phones in dialplan

Doug Meredith doug.meredith at skyridge.com
Fri Mar 11 10:59:26 MST 2005


Jer <jeremy at jesnjer.net> wrote:

>I have 3 sets of SIP phones all in diff area codes that need to access the PSTN
>
>I need to it so that a 7 digit number is converted to a 10 digit with the 
>correct ara code
>
>eg a call coming from sip-phone1 needs aera code AAA and a call coming fom 
>sip-phone2 needs BBB
>how can this be setup in the dialplan
>is there someway to set a var on a per sip group basis?
>I thought of the accountcode...since i will not be using it for CDR

How about a different initial context for each area code?

Doug
-- 
Doug Meredith (doug.meredith at systemguard.com)
SystemGuard - Oracle remote support
877-974-8273 (87-SYSGUARD)
506-854-7997
www.systemguard.com




More information about the asterisk-users mailing list