Hi Phil,
Using your example:
exten => _NXXNXXXXXX,500,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_B}/1${EXTEN})
... Would match NXX-NXX-XXXX and pop a one in place of what you dialed.
Alex
On 12/21/06, Phil Finkler <[EMAIL PROTECTED]> wrote:
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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Alex Robar
[EMAIL PROTECTED]
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users