Galera,<br><br>estou com uma TDM400P com um módulo FXO. Ela funciona bem para receber ligações, mas não estou conseguindo fazer ligação com ela. Já procurei google, lista e nao achei nada que resolvesse. <br>Estou usando asterisk@home 2.9<br>
<br>EXTENSIONS.CONF<br>exten => _[2-9]XXXXXXX,1,Dial(ZAP/1/${EXTEN}, tT) <br><br>ZAPTEL.CONF<br>fxsks=1<br>loadzone = br<br>defaultzone = br<br><br>ZAPATA.CONF<br>[channels]<br>language=br<br>signalling=fxs_ks<br>
rxwink=300 <br>usecallerid=yes<br>hidecallerid=no<br>callwaiting=yes<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>threewaycalling=yes<br>transfer=yes<br>cancallforward=yes<br>callreturn=yes<br>echocancel=yes<br>
echocancelwhenbridged=no<br>rxgain=0.0<br>txgain=0.0<br>callgroup=1<br>pickupgroup=1<br>immediate=no<br>busydetect=yes<br>busycount=3<br><br>signalling=fxs_ks<br>callerid=asreceived<br>group=0<br>context=from-pstn<br>channel => 1<br>
context=cortex<br><br><br>Aqui vai o log com verbose 13. Se colocar o autofallthrough=no no extensions.conf, ele ainda assim nao resolve. <br>Já tentei o ZAP/0 , ZAP/1, ZAP/g0 e ZAP/g1 :)<br>Mas pelo script imagino que seja ZAP/1 e ZAP/g0<br>
Todos dão o mesmo erro.<br><br>[Apr 26 12:02:33] -- Executing [1@cortex:1] Dial("SIP/310-09174448", "ZAP/0/32043264| tT") in new stack<br>[Apr 26 12:02:33] == Auto fallthrough, channel 'SIP/310-09174448' status is 'CHANUNAVAIL'<br>
[Apr 26 12:02:33] -- Executing [h@cortex:1] Macro("SIP/310-09174448", "hangupcall") in new stack<br>[Apr 26 12:02:33] -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/310-09174448", "w") in new stack<br>
[Apr 26 12:02:33] -- Executing [s@macro-hangupcall:2] NoCDR("SIP/310-09174448", "") in new stack<br>[Apr 26 12:02:33] -- Executing [s@macro-hangupcall:3] GotoIf("SIP/310-09174448", "1?skiprg") in new stack<br>
[Apr 26 12:02:33] -- Goto (macro-hangupcall,s,6)<br>[Apr 26 12:02:33] -- Executing [s@macro-hangupcall:6] GotoIf("SIP/310-09174448", "1?skipblkvm") in new stack<br>[Apr 26 12:02:33] -- Goto (macro-hangupcall,s,9)<br>
[Apr 26 12:02:33] -- Executing [s@macro-hangupcall:9] GotoIf("SIP/310-09174448", "1?theend") in new stack<br>[Apr 26 12:02:33] -- Goto (macro-hangupcall,s,11)<br>[Apr 26 12:02:33] -- Executing [s@macro-hangupcall:11] Hangup("SIP/310-09174448", "") in new stack<br>
[Apr 26 12:02:33] == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/310-09174448' in macro 'hangupcall'<br>[Apr 26 12:02:33] == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/310-09174448'<br>
[Apr 26 12:02:37] == Parsing '/etc/asterisk/manager.conf': [Apr 26 12:02:37] Found<br><br><br>Alguem já passou por isso e pode me ajudar?<br><br>Att,<br>Felipe<br>