Phil,<br><br>Yeah, I just realized that I didn't answer your question. Time Bandit did though, look at his solution!<br><br>Alex<br><br><div><span class="gmail_quote">On 12/21/06, <b class="gmail_sendername">Alex Robar
</b> <<a href="mailto:alex.robar@gmail.com">alex.robar@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Phil,
<br><br>Using your example:<br><br><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">exten =>
_NXXNXXXXXX,500,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_B}/1${EXTEN})<br><br>... Would match NXX-NXX-XXXX and pop a one in place of what you dialed.<br><br>Alex<br></span></font><br><div><div><span class="e" id="q_10fa57d6aa8a4b12_1">
<span class="gmail_quote">On 12/21/06,
<b class="gmail_sendername">Phil Finkler</b> <<a href="mailto:PhilF@iqconsultinginc.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">PhilF@iqconsultinginc.com</a>> wrote:</span></span></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div><div><span class="e" id="q_10fa57d6aa8a4b12_3">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Greetings,</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">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..</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">exten => _1NXXNXXXXXX,1,Set(CALLERID(num)=6162997590)</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">exten => _1NXXNXXXXXX,n,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_A}/${EXTEN})</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">exten =>
_1NXXNXXXXXX,n,GotoIf($[${DIALSTATUS}=CHANUNAVAIL]?${EXTEN}|500)</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">exten =>
_1NXXNXXXXXX,500,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_B}/${EXTEN})</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Is there a way I can create a _NXXXXXX extension and insert
1 and areacode when dialing?</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Any help appreciated,</span></font></p>
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Phil</span></font><font color="navy"><span style="color: navy;">
</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p></span></div>
</div>
</div>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Alex Robar<br><a href="mailto:alex.robar@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">alex.robar@gmail.com</a>
</blockquote></div><br><br clear="all"><br>-- <br>Alex Robar<br><a href="mailto:alex.robar@gmail.com">alex.robar@gmail.com</a>