Asterisk Users, I have 3 FXO modules with the TDM400P Digium Card. I can dial into the Asterisk rings my Sip phone, but dialing out with my SPA941 phone through the zap channel is a problem. I keep getting this message on the Asterisk CLI. What am I doing wrong? Thanks in advance. -- Executing [103 at default:1] Dial("SIP/200-006fa300", "{Zap/g0/{EXTEN:1}") in new stack [Aug 16 19:28:39] WARNING[14232]: channel.c:3209 ast_request: No channel type registered for '{Zap' [Aug 16 19:28:39] WARNING[14232]: app_dial.c:1106 dial_exec_full: Unable to create channel of type '{Zap' (cause 66 - Channel not implemented) == Everyone is busy/congested at this time (1:0/0/1) == Auto fallthrough, channel 'SIP/200-006fa300' status is 'CHANUNAVAIL' I used sample I found the internet just to see if this is possible. extensions.conf [default] exten => 101,1,Background(tt-monkeys) exten => 1000,1,Dial(Sip/200,20,t,r) exten => 1000,2,Voicemail(s1000) exten => _XXX,1,Dial({Zap/g0/{EXTEN:1}) [telewest_pstn] exten => s,1,Dial(Sip/200,25,t,r) exten => s,2,Voicemail exten => s,3,Hangup zapata.conf [channels] context=telewest_pstn switchtype=national signalling=fxs_ks rxwink=300 channel => 2-4 adsi=yes usecallerid=yes cidsignalling=bell callerid=asreceived hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes rxgain=00.0 txgain=00.0 group=0 callgroup=0 pickupgroup=0 echotraining=yes immediate=yes zaptel.conf loadzone=us defaultzone=us fxsks=2-4 Best Regards, John _________________________________________________________________ Find a local pizza place, movie theater, and more?.then map the best route! http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01
James FitzGibbon
2007-Aug-16 16:49 UTC
[asterisk-users] Experimenting- Sip dialing with Zap
On 8/16/07, John Meksavan <jmeksavan at hotmail.com> 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070816/dc6ecaff/attachment.htm
On Thu, 2007-08-16 at 16:23 +0000, John Meksavan wrote:> Asterisk Users, > > I have 3 FXO modules with the TDM400P Digium Card. I can dial into the > Asterisk rings my Sip phone, but dialing out with my SPA941 phone through > the zap channel is a problem. I keep getting this message on the Asterisk > CLI. What am I doing wrong? Thanks in advance. > > -- Executing [103 at default:1] Dial("SIP/200-006fa300", "{Zap/g0/{EXTEN:1}") > in new stack > [Aug 16 19:28:39] WARNING[14232]: channel.c:3209 ast_request: No channel > type registered for '{Zap' > [Aug 16 19:28:39] WARNING[14232]: app_dial.c:1106 dial_exec_full: Unable to > create channel of type '{Zap' (cause 66 - Channel not implemented) > == Everyone is busy/congested at this time (1:0/0/1) > == Auto fallthrough, channel 'SIP/200-006fa300' status is 'CHANUNAVAIL' >> extensions.conf > > [default] > exten => 101,1,Background(tt-monkeys) > exten => 1000,1,Dial(Sip/200,20,t,r) > exten => 1000,2,Voicemail(s1000) > exten => _XXX,1,Dial({Zap/g0/{EXTEN:1}) >change the last line to: exten => _XXX,1,Dial(Zap/g0/${EXTEN:1}) Of course I do not know where you are dialing to because that rule will only dial a 2 digit number on the Zap interface. A rule commonly used would be: exten => _9X.,1,Dial(Zap/g0/${EXTEN:1}) This will send any number that starts with 9 and at least one other digit to the Zap interface and strip the 9.> [telewest_pstn] > exten => s,1,Dial(Sip/200,25,t,r) > exten => s,2,Voicemail > exten => s,3,Hangup > > > zapata.conf > [channels] > context=telewest_pstn > switchtype=national > signalling=fxs_ks > rxwink=300 > channel => 2-4 > adsi=yes > usecallerid=yes > cidsignalling=bell > callerid=asreceived > hidecallerid=no > callwaiting=yes > usecallingpres=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > cancallforward=yes > callreturn=yes > echocancel=yes > echocancelwhenbridged=yes > rxgain=00.0 > txgain=00.0 > group=0 > callgroup=0 > pickupgroup=0 > echotraining=yes > immediate=yes > > > zaptel.conf > loadzone=us > defaultzone=us > fxsks=2-4 > > > Best Regards, > John > > _________________________________________________________________ > Find a local pizza place, movie theater, and more.then map the best route! > http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01 > > > _______________________________________________ > --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-- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070816/a9927708/attachment.pgp
Guillermo Salas M.
2007-Aug-16 17:07 UTC
[asterisk-users] Experimenting- Sip dialing with Zap
On Thu, 2007-08-16 at 16:23 +0000, John Meksavan wrote:> exten => _XXX,1,Dial({Zap/g0/{EXTEN:1})Must be: exten => _XXX,1,Dial(Zap/g0/{EXTEN:1}) Regards, -- Guillermo Salas M. Telconet S.A. Calle 15 y Avenida 24 Esq Edificio Barre #2 Primer Piso Telefono : +593 5 262 8071 Celular : +593 9 985 5138 e-mail : gsalas at manta.telconet.net www : http://www.manta.telconet.net http://www.telcocarrier.net SIP : 666 at sip.manta.telconet.net FWD : 558563 Linux User: 255902 Beat me, whip me, make me use Windows! Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html Please avoid the Top Posting, see http://es.wikipedia.org/wiki/Top-posting