On 8/16/07, <b class="gmail_sendername">John Meksavan</b> <<a href="mailto:jmeksavan@hotmail.com">jmeksavan@hotmail.com</a>> 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. 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 '123' on your Linksys, you'll dial '23' out your analog line, which is unlikely to be what you want to do if said line is connected to the PSTN. It's more typical to see something like
<br><br>exten => _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's not needed (or wanted) by the telco.<br><br></div>
</div>-- <br>j.