[asterisk-users] Insert 1+areacode for VOIP calls

Phil Finkler PhilF at iqconsultinginc.com
Thu Dec 21 07:41:11 MST 2006


Greetings,

 

Currently my asterisk box is using Voicepulse.  It works fine with the
exception that people need to enter the 1+area code for local calls.
I'd like to get around this if possible.  The following is what I have
in my extensions.conf..

 

exten => _1NXXNXXXXXX,1,Set(CALLERID(num)=6162997590)

 

exten => _1NXXNXXXXXX,n,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_A}/${EXTEN})

exten =>
_1NXXNXXXXXX,n,GotoIf($[${DIALSTATUS}=CHANUNAVAIL]?${EXTEN}|500)

exten =>
_1NXXNXXXXXX,500,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_B}/${EXTEN})

 

Is there a way I can create a _NXXXXXX extension and insert 1 and
areacode when dialing?

 

Any help appreciated,

Phil 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061221/3a4d6628/attachment.htm


More information about the asterisk-users mailing list