Olá Rafael, tudo bem?<br><div>Tente isso no zapata.conf<br><br>[trunkgroups]<br><br>[channels]<br>context=seu-contexto<br>switchtype=euroisdn<br>signalling=pri_cpe<br>;rxwink=300</div><div><span class="q"><br>usecallerid=yes
<br>hidecallerid=no<br>callwaiting=yes
<br>usecallingpres=yes<br></span></div><div>restrictcid=no</div><div><span class="q"><br>callwaitingcallerid=yes<br>threewaycalling=yes<br>transfer=yes<br>cancallforward=yes<br>callreturn=yes<br>echocancel=yes<br></span>
</div><div>echocancelwhenbridged=yes</div><div><span class="q"><br>rxgain=0.0<br>txgain=0.0
<br></span></div><div>group=1<br>callgroup=1<br>immediate=no<br>callerid=asreceived<br>musiconhold=sua-musica-em espera<br>group=1</div><div><span class="q"><br>channel=&gt;1-15<br>channel=&gt;17-31<br><br><br></span></div>
Abraço e boa sorte<br><br>Josué<br><br><div><span class="gmail_quote">2006/9/13, Rafael Augusto &lt;<a href="mailto:rafael.augusto@govoip.com.br">rafael.augusto@govoip.com.br</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 Dio, segue o erro ao efetuar o dial.<br><br><br>Executing Macro(&quot;SIP/200-0a0fbac0&quot;, &quot;dialout-trunk|2|100|&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing GotoIf(&quot;SIP/200-0a0fbac0&quot;, &quot;1?3:2)&quot;) in new stack
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Goto (macro-dialout-trunk,s,3)<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing Macro(&quot;SIP/200-0a0fbac0&quot;, &quot;user-callerid&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing DBget(&quot;SIP/200-0a0fbac0&quot;, &quot;AMPUSER=DEVICE/200/user&quot;) in new
<br>stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- DBget: varname=AMPUSER, family=DEVICE, key=200/user<br>&nbsp;&nbsp;&nbsp;&nbsp;-- DBget: set variable AMPUSER to 200<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing DBget(&quot;SIP/200-0a0fbac0&quot;,<br>&quot;AMPUSERCIDNAME=AMPUSER/200/cidname&quot;) in new stack
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=200/cidname<br>&nbsp;&nbsp;&nbsp;&nbsp;-- DBget: set variable AMPUSERCIDNAME to 200<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing GotoIf(&quot;SIP/200-0a0fbac0&quot;, &quot;0?5&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing SetCallerID(&quot;SIP/200-0a0fbac0&quot;, &quot;&quot;200&quot; &lt;200&gt;&quot;) in new stack
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing NoOp(&quot;SIP/200-0a0fbac0&quot;, &quot;Using CallerID &quot;200&quot; &lt;200&gt;&quot;) in<br>new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing Macro(&quot;SIP/200-0a0fbac0&quot;, &quot;record-enable|200|OUT&quot;) in new
<br>stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing GotoIf(&quot;SIP/200-0a0fbac0&quot;, &quot;0 &gt; 0?2:4&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Goto (macro-record-enable,s,4)<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing AGI(&quot;SIP/200-0a0fbac0&quot;,<br>&quot;recordingcheck|20060913-143611|1158172571.7&quot;) in new stack
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br>&nbsp;&nbsp;recordingcheck|20060913-143611|1158172571.7: Outbound recording not<br>enabled<br>&nbsp;&nbsp;&nbsp;&nbsp;-- AGI Script recordingcheck completed, returning 0<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing NoOp(&quot;SIP/200-0a0fbac0&quot;, &quot;No recording needed&quot;) in new
<br>stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing Macro(&quot;SIP/200-0a0fbac0&quot;, &quot;outbound-callerid|2&quot;) in new<br>stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing DBget(&quot;SIP/200-0a0fbac0&quot;,<br>&quot;USEROUTCID=AMPUSER/200/outboundcid&quot;) in new stack
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- DBget: varname=USEROUTCID, family=AMPUSER, key=200/outboundcid<br>&nbsp;&nbsp;&nbsp;&nbsp;-- DBget: set variable USEROUTCID to 200<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing GotoIf(&quot;SIP/200-0a0fbac0&quot;, &quot;0?4&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing SetCallerID(&quot;SIP/200-0a0fbac0&quot;, &quot;Rota PABX&quot;) in new stack
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing GotoIf(&quot;SIP/200-0a0fbac0&quot;, &quot;0?6&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing SetCallerID(&quot;SIP/200-0a0fbac0&quot;, &quot;200&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing NoOp(&quot;SIP/200-0a0fbac0&quot;, &quot;CallerID set to 200&quot;) in new
<br>stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing SetGroup(&quot;SIP/200-0a0fbac0&quot;, &quot;OUT_2&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing CheckGroup(&quot;SIP/200-0a0fbac0&quot;, &quot;30&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing SetVar(&quot;SIP/200-0a0fbac0&quot;, &quot;DIAL_NUMBER=100&quot;) in new stack
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing SetVar(&quot;SIP/200-0a0fbac0&quot;, &quot;DIAL_TRUNK=2&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing AGI(&quot;SIP/200-0a0fbac0&quot;, &quot;fixlocalprefix&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- AGI Script fixlocalprefix completed, returning 0<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing SetVar(&quot;SIP/200-0a0fbac0&quot;, &quot;OUTNUM=100&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing Cut(&quot;SIP/200-0a0fbac0&quot;, &quot;custom=OUT_2|:|1&quot;) in new stack
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing GotoIf(&quot;SIP/200-0a0fbac0&quot;, &quot;0?16&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing Dial(&quot;SIP/200-0a0fbac0&quot;, &quot;ZAP/g1/100&quot;) in new stack<br>&nbsp;&nbsp;== Everyone is busy/congested at this time (1:0/1/0)
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing Goto(&quot;SIP/200-0a0fbac0&quot;, &quot;s-CONGESTION|1&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Goto (macro-dialout-trunk,s-CONGESTION,1)<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing NoOp(&quot;SIP/200-0a0fbac0&quot;, &quot;Dial failed due to CONGESTION&quot;)
<br>in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing Macro(&quot;SIP/200-0a0fbac0&quot;, &quot;outisbusy&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing PlayTones(&quot;SIP/200-0a0fbac0&quot;, &quot;Busy&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing Macro(&quot;SIP/200-0a0fbac0&quot;, &quot;hangupcall&quot;) in new stack
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing ResetCDR(&quot;SIP/200-0a0fbac0&quot;, &quot;w&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing NoCDR(&quot;SIP/200-0a0fbac0&quot;, &quot;&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing Wait(&quot;SIP/200-0a0fbac0&quot;, &quot;5&quot;) in new stack
<br>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing Hangup(&quot;SIP/200-0a0fbac0&quot;, &quot;&quot;) in new stack<br><br>Abraços,<br><br>Rafael<br><br><br><br><br><br><br><br>Message: 2<br>Date: Wed, 13 Sep 2006 11:35:07 -0300 (ART)<br>From: Dio Makibara &lt;
<a href="mailto:dioedu@yahoo.com.br">dioedu@yahoo.com.br</a>&gt;<br>Subject: Re: [AsteriskBrasil] Config. E1 ISDN com Siemens Hicom 150<br>To: Rafael Augusto &lt;<a href="mailto:rafael_jcn@yahoo.com.br">rafael_jcn@yahoo.com.br
</a>&gt;<br>Cc: Asterisk Brasil &lt;<a href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a>&gt;<br>Message-ID: &lt;<a href="mailto:20060913143507.3048.qmail@web52504.mail.yahoo.com">
20060913143507.3048.qmail@web52504.mail.yahoo.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Rafael,<br><br> Envie as mensagens para lista, pois a chance de ser respondida é maior.<br><br> Mas aparentemente as configurações estão corretas. Informe o que está sendo
<br>exibido no console do asterisk ao tentar efetuar uma ligação.<br><br> Diógenes Makibara<br><br><br>Rafael Augusto &lt;<a href="mailto:rafael_jcn@yahoo.com.br">rafael_jcn@yahoo.com.br</a>&gt; escreveu: Dio, segue configuração
<br>do zaptel e zapata, o extensions é tranquilo, se poder me ajudar, desde de<br>já agradeço.<br><br>&nbsp;&nbsp;zaptel.conf<br>&nbsp;&nbsp;span=1,1,0,ccs,hdb3,crc4<br>bchan=1-15<br>dchan=16<br>bchan=17-31<br><br>&nbsp;&nbsp;loadzone&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= br<br>defaultzone&nbsp;&nbsp;&nbsp;&nbsp; = br
<br><br>&nbsp;&nbsp;zapata.conf<br><br>&nbsp;&nbsp;[channels]<br>&nbsp;&nbsp;language=br<br>context=from-pstn<br>signalling=fxs_ks<br>rxwink=300&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; Atlas seems to use long (250ms) winks<br>;<br>; Whether or not to do distinctive ring detection on FXO&nbsp;&nbsp;lines
<br>;<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>echotraining=800<br>rxgain=0.0<br>txgain=0.0<br>group=0<br>callgroup=1<br>pickupgroup=1<br>group=1<br><br>&nbsp;&nbsp;group = 1<br>context =ext-ddr<br>signalling=pri_net<br>overlapdial=yes<br>immediate=no<br>channel =&gt; 1-15<br>
channel =&gt; 17-31<br><br><br>&nbsp;&nbsp;Connected to Asterisk 1.2.10 currently running on govoip (pid = 19866)<br>Verbosity is at least 3<br>govoip*CLI&gt; pri&nbsp;&nbsp;show span 1<br>Primary D-channel: 16<br>Status: Provisioned, In Alarm, Down, Active
<br>Switchtype: National ISDN<br>Type: Network<br>Window Length: 0/7<br>Sentrej: 0<br>SolicitFbit: 0<br>Retrans: 0<br>Busy: 0<br>Overlap Dial: -1<br>T200 Timer: 1000<br>T203 Timer: 10000<br>T305 Timer: 30000<br>T308 Timer: 4000
<br>T313&nbsp;&nbsp;Timer: 4000<br>N200 Counter: 3<br><br>&nbsp;&nbsp;Agraços,<br><br>&nbsp;&nbsp;Rafael<br><br><br><br>----------------------------------------<br>Estação VoIP 2006<br>5 e 6 Dezembro<br>Curitiba PR<br><a href="http://www.estacaovoip.com.br">
http://www.estacaovoip.com.br</a><br><br>_______________________________________________<br>LIsta de discussões AsteriskBrasil.org<br><a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org
</a><br><a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br><br>_______________________________________________<br>Acesse o&nbsp;&nbsp;wiki 
AsteriskBrasil.org:<br><a href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</a><br></blockquote></div><br>