On 8/16/07, John Meksavan <[EMAIL PROTECTED]> wrote:
>
> CLI. What am I doing wrong? Thanks in advance.
The channel spec you need to use is:
Dial(Zap/g0/${EXTEN:1})
not
Dial({Zap/g0/{EXTEN:1})
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
exten => _9NXXNXXXXXX,1,Dial(Zap/g0/${EXTEN:1})
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.
--
j.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users