Hi Phil,<br><br>Using your example:<br><br><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">exten =&gt;
_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><span class="gmail_quote">On 12/21/06, 
<b class="gmail_sendername">Phil Finkler</b> &lt;<a href="mailto:PhilF@iqconsultinginc.com">PhilF@iqconsultinginc.com</a>&gt; wrote:</span><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>

<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;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Currently my asterisk box is using Voicepulse.&nbsp; It works
fine with the exception that people need to enter the 1+area code for local
calls.&nbsp; I'd like to get around this if possible.&nbsp; 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;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">exten =&gt; _1NXXNXXXXXX,1,Set(CALLERID(num)=6162997590)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">exten =&gt; _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 =&gt;
_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 =&gt;
_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;">&nbsp;</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;">&nbsp;</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;">&nbsp;</span></font></p>

</div>

</div>



<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> &nbsp; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">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">alex.robar@gmail.com</a>