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 =&gt; _[2-9]XXXXXXX,1,Dial(ZAP/1/${EXTEN}, tT)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>ZAPTEL.CONF<br>fxsks=1<br>loadzone&nbsp;&nbsp;&nbsp; = br<br>defaultzone&nbsp;&nbsp;&nbsp; = br<br><br>ZAPATA.CONF<br>[channels]<br>language=br<br>signalling=fxs_ks<br>
rxwink=300&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <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 =&gt; 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]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [1@cortex:1] Dial(&quot;SIP/310-09174448&quot;, &quot;ZAP/0/32043264| tT&quot;) in new stack<br>[Apr 26 12:02:33]&nbsp;&nbsp; == Auto fallthrough, channel &#39;SIP/310-09174448&#39; status is &#39;CHANUNAVAIL&#39;<br>
[Apr 26 12:02:33]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [h@cortex:1] Macro(&quot;SIP/310-09174448&quot;, &quot;hangupcall&quot;) in new stack<br>[Apr 26 12:02:33]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:1] ResetCDR(&quot;SIP/310-09174448&quot;, &quot;w&quot;) in new stack<br>
[Apr 26 12:02:33]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:2] NoCDR(&quot;SIP/310-09174448&quot;, &quot;&quot;) in new stack<br>[Apr 26 12:02:33]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:3] GotoIf(&quot;SIP/310-09174448&quot;, &quot;1?skiprg&quot;) in new stack<br>
[Apr 26 12:02:33]&nbsp;&nbsp;&nbsp;&nbsp; -- Goto (macro-hangupcall,s,6)<br>[Apr 26 12:02:33]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:6] GotoIf(&quot;SIP/310-09174448&quot;, &quot;1?skipblkvm&quot;) in new stack<br>[Apr 26 12:02:33]&nbsp;&nbsp;&nbsp;&nbsp; -- Goto (macro-hangupcall,s,9)<br>
[Apr 26 12:02:33]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:9] GotoIf(&quot;SIP/310-09174448&quot;, &quot;1?theend&quot;) in new stack<br>[Apr 26 12:02:33]&nbsp;&nbsp;&nbsp;&nbsp; -- Goto (macro-hangupcall,s,11)<br>[Apr 26 12:02:33]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:11] Hangup(&quot;SIP/310-09174448&quot;, &quot;&quot;) in new stack<br>
[Apr 26 12:02:33]&nbsp;&nbsp; == Spawn extension (macro-hangupcall, s, 11) exited non-zero on &#39;SIP/310-09174448&#39; in macro &#39;hangupcall&#39;<br>[Apr 26 12:02:33]&nbsp;&nbsp; == Spawn extension (macro-hangupcall, s, 11) exited non-zero on &#39;SIP/310-09174448&#39;<br>
[Apr 26 12:02:37]&nbsp;&nbsp; == Parsing &#39;/etc/asterisk/manager.conf&#39;: [Apr 26 12:02:37] Found<br><br><br>Alguem já passou por isso e pode me ajudar?<br><br>Att,<br>Felipe<br>