On 8/16/07, <b class="gmail_sendername">John Meksavan</b> &lt;<a href="mailto:jmeksavan@hotmail.com">jmeksavan@hotmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
CLI.&nbsp;&nbsp;What am I doing wrong? Thanks in advance.</blockquote><div><br>The channel spec you need to use is:<br><br>Dial(Zap/g0/${EXTEN:1})<br><br>not<br><br>Dial({Zap/g0/{EXTEN:1})<br><br>Though bear in mind that the :1 is removing the first char of your extension, so if you dial &#39;123&#39; on your Linksys, you&#39;ll dial &#39;23&#39; out your analog line, which is unlikely to be what you want to do if said line is connected to the PSTN.&nbsp; It&#39;s more typical to see something like
<br><br>exten =&gt; _9NXXNXXXXXX,1,Dial(Zap/g0/${EXTEN:1})<br><br>which matches a 10 digit local number prefixed by nine, but removes the leading 9 (using :1) because it&#39;s not needed (or wanted) by the telco.<br><br></div>
</div>-- <br>j.