Olá, <br><div class="gmail_quote"><div class="gmail_quote"><div><br>Caso alguém puder ajudar..<br>O fato ocorre aleatório e não tem jeito de resolver...acontece ligando pra qualquer número.</div>
<div>O log asterisk grava isso:</div><div><br></div><div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[Feb 15 22:01:05] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - Requested to make call (ANI=33658000, DNIS=08007225803, category=National Subscriber)</div>




<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[Feb 15 22:01:05] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - Call started at Fri Feb 15 22:01:05 2013 on chan 1 [openr2 version 1.3.1, revision exported]</div>




<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[Feb 15 22:01:05] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - Outgoing call proceeding: ANI=33658000, DNIS=08007225803, Category=National Subscriber</div>




<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[Feb 15 22:01:05] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - CAS Tx &gt;&gt; [SEIZE] 0x00</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[Feb 15 22:01:05] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - CAS Raw Tx &gt;&gt; 0x01</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">




    -- Called g1/08007225803</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[Feb 15 22:01:06] DEBUG[8279]: chan_dahdi.c:5855 dahdi_handle_event: bits changed in chan 1</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[Feb 15 22:01:06] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - Bits changed from 0x08 to 0x0C</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[Feb 15 22:01:06] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - CAS Rx &lt;&lt; [SEIZE ACK] 0x0C</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[Feb 15 22:01:06] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - MFC/R2 call acknowledge!</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">




[Feb 15 22:01:06] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - Sending DNIS digit 0</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[Feb 15 22:01:06] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - MF Tx &gt;&gt; 0 [ON]    ........<font color="#ff0000">..<b>Trava aqui, após enviar o primeiro dígito <br>


</b></font></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"></div><div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">[Feb 15 22:01:38] DEBUG[8279]: chan_dahdi.c:4553 dahdi_hangup: disconnecting MFC/R2 call on chan 1</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">

[Feb 15 22:01:38] DEBUG[8279]: chan_dahdi.c:4318 dahdi_ast_cause_to_r2_cause: ast cause 0 resulted in openr2 cause 6/Normal Clearing</div>


<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">[Feb 15 22:01:38] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - CAS Tx &gt;&gt; [CLEAR FORWARD] 0x08</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">

[Feb 15 22:01:38] DEBUG[8279]: chan_dahdi.c:1935 dahdi_r2_write_log: Chan 1 - CAS Raw Tx &gt;&gt; 0x09</div>


<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">    -- Hungup &#39;DAHDI/1-1&#39;<br><br>Log da Operadora:<br><pre style="word-wrap:break-word;white-space:pre-wrap">00180 0003900                          R   0000 1000 H&#39;38   BTR2F-6337
00200 0000020 SEIZURE                  R   0000 1000 H&#39;4    BTR2F-6337
00200 0000000 SEIZURE ACKN.            S   0000 1111 H&#39;4    BTR2F-6337
00210 0000010                          R   0000 1000 H&#39;4    BTR2F-6337
00340 0000130 GROUP I 10               R   0000 1010 H&#39;2    CSR5C-7
00340<font color="#ff0000"> 0000000</font> A1                       S   0000 0001 H&#39;3    CSR5C-7
19610 <font color="#ff0000">0019270 </font>A4                       S   0000 0100 H&#39;B    CSR5C-7 -<font color="#ff0000"> Oi envia um A4 (timeout)</font>
32280 0012670                          R   0000 1001 H&#39;4    BTR2F-6337
32300 0000020 CLEAR FORWARD            R   0000 1001 H&#39;19   BTR2F-6337
32310 0000010 RELEASE GUARD            S   0000 1101 H&#39;19   BTR2F-6337
32410 0000100 IDLE                     S   0000 1101 H&#39;38   BTR2F-6337
32420 0000010                          R   0000 1001 H&#39;38   BTR2F-6337</pre>Arquivos de Configuração:</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">chand_dahdi.conf</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">

<br></div><div><div><font color="#222222" face="arial, sans-serif">[trunkgroups]</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">[channels]</font></div>

<div><font color="#222222" face="arial, sans-serif">language=pt_BR</font></div><div><font color="#222222" face="arial, sans-serif">group=1</font></div><div><font color="#222222" face="arial, sans-serif">callgroup=1</font></div>

<div><font color="#222222" face="arial, sans-serif">pickupgroup=1</font></div><div><font color="#222222" face="arial, sans-serif">; DAHDI telephony</font></div><div><font color="#222222" face="arial, sans-serif">;</font></div>

<div><font color="#222222" face="arial, sans-serif">; Configuration file</font></div><div><font color="#222222" face="arial, sans-serif">rxgain=2.0</font></div><div><font color="#222222" face="arial, sans-serif">;txgain=0.0</font></div>

<div><font color="#222222" face="arial, sans-serif">txgain=2.0</font></div><div><font color="#222222" face="arial, sans-serif">usecallerid=yes</font></div><div><font color="#222222" face="arial, sans-serif">callwaiting=yes</font></div>

<div><font color="#222222" face="arial, sans-serif">usecallingpres=yes</font></div><div><font color="#222222" face="arial, sans-serif">callwaitingcallerid=yes</font></div><div><font color="#222222" face="arial, sans-serif">threewaycalling=yes</font></div>

<div><font color="#222222" face="arial, sans-serif">transfer=yes</font></div><div><font color="#222222" face="arial, sans-serif">canpark=yes</font></div><div><font color="#222222" face="arial, sans-serif">cancallforward=yes</font></div>

<div><font color="#222222" face="arial, sans-serif">callreturn=yes</font></div><div><font color="#222222" face="arial, sans-serif">echocancel=yes</font></div><div><font color="#222222" face="arial, sans-serif">echocancelwhenbridged=yes</font></div>

<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">loglevel=error,warning,debug,notice,cas,mf</font></div><div><font color="#222222" face="arial, sans-serif"><br>

</font></div><div><font color="#222222" face="arial, sans-serif">;Bloqueio de ligacao a cobrar</font></div><div><font color="#222222" face="arial, sans-serif">mfcr2_allow_collect_calls=no</font></div><div><font color="#222222" face="arial, sans-serif"><br>

</font></div><div><font color="#222222" face="arial, sans-serif">; Sample 3</font></div><div><font color="#222222" face="arial, sans-serif">signalling=mfcr2</font></div><div><font color="#222222" face="arial, sans-serif">mfcr2_variant=br</font></div>

<div><font color="#222222" face="arial, sans-serif">mfcr2_metering_pulse_timeout=500</font></div><div><font color="#222222" face="arial, sans-serif">mfcr2_get_ani_first=no</font></div><div><font color="#222222" face="arial, sans-serif">mfcr2_max_ani=10</font></div>

<div><font color="#222222" face="arial, sans-serif">mfcr2_max_dnis=4</font></div><div><font color="#222222" face="arial, sans-serif">mfcr2_category=national_subscriber</font></div><div><font color="#222222" face="arial, sans-serif"><br>

</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">; The next three params are for debuging, you can disable when in production</font></div>

<div><font color="#222222" face="arial, sans-serif">mfcr2_call_files=yes</font></div><div><font color="#222222" face="arial, sans-serif">mfcr2_logdir=oi</font></div><div><font color="#222222" face="arial, sans-serif">mfcr2_logging=all</font></div>

<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">mfcr2_mfback_timeout=8000</font></div>

<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">context=from-pstn</font></div><div><font color="#222222" face="arial, sans-serif">group=1</font></div>

<div><font color="#222222" face="arial, sans-serif">callgroup=1</font></div><div><font color="#222222" face="arial, sans-serif">pickupgroup=1</font></div><div><font color="#222222" face="arial, sans-serif">callerid=33658000</font></div>

<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">channel =&gt; 1-15</font></div><div><font color="#222222" face="arial, sans-serif">channel =&gt; 17-31</font></div>

<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">group=3</font></div><div><font color="#222222" face="arial, sans-serif">callgroup=3</font></div><div>

<font color="#222222" face="arial, sans-serif">pickupgroup=3</font></div><div><font color="#222222" face="arial, sans-serif">usecallerid=yes</font></div><div><font color="#222222" face="arial, sans-serif">hidecallerid=no</font></div>

<div><font color="#222222" face="arial, sans-serif">callwaiting=yes</font></div><div><font color="#222222" face="arial, sans-serif">usecallingpres=yes</font></div><div><font color="#222222" face="arial, sans-serif">callwaitingcallerid=yes</font></div>

<div><font color="#222222" face="arial, sans-serif">threewaycalling=yes</font></div><div><font color="#222222" face="arial, sans-serif">transfer=yes</font></div><div><font color="#222222" face="arial, sans-serif">canpark=yes</font></div>

<div><font color="#222222" face="arial, sans-serif">cancallforward=yes</font></div><div><font color="#222222" face="arial, sans-serif">callreturn=yes</font></div><div><font color="#222222" face="arial, sans-serif">context=from-internal</font></div>

<div><font color="#222222" face="arial, sans-serif">signalling=fxo_ks</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div>
<div>
<font color="#222222" face="arial, sans-serif">;RAMAIS CHANNEL BANK</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">callerid=8001</font></div>

<div><font color="#222222" face="arial, sans-serif">channel=&gt; 38</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">callerid=8002</font></div>

<div><font color="#222222" face="arial, sans-serif">channel=&gt; 39</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">callerid=8017</font></div>

<div><font color="#222222" face="arial, sans-serif">channel=&gt; 33</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">callerid=8007</font></div>

<div><font color="#222222" face="arial, sans-serif">channel=&gt; 34</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">callerid=8003</font></div>

<div><font color="#222222" face="arial, sans-serif">channel=&gt; 45</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">callerid=8004</font></div>

<div><font color="#222222" face="arial, sans-serif">channel=&gt; 49</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">group=2</font></div>

<div><font color="#222222" face="arial, sans-serif">callgroup=1</font></div><div><font color="#222222" face="arial, sans-serif">pickupgroup=1</font></div><div><font color="#222222" face="arial, sans-serif">echocancel=yes</font></div>

<div><font color="#222222" face="arial, sans-serif">echocancelwhenbridged=yes</font></div><div><font color="#222222" face="arial, sans-serif">usecallerid=yes</font></div><div><font color="#222222" face="arial, sans-serif">cidsignalling=v23</font></div>

<div><font color="#222222" face="arial, sans-serif">cidstart=ring</font></div><div><font color="#222222" face="arial, sans-serif">callerid=asreceived</font></div><div><font color="#222222" face="arial, sans-serif">context=from-pstn</font></div>

<div><font color="#222222" face="arial, sans-serif">rxgain=0.0</font></div><div><font color="#222222" face="arial, sans-serif">txgain=0.0</font></div><div><font color="#222222" face="arial, sans-serif">busydetect=yes</font></div>

<div><font color="#222222" face="arial, sans-serif">busycount=6</font></div><div><font color="#222222" face="arial, sans-serif">signalling=fxs_ks</font></div><div><font color="#222222" face="arial, sans-serif">; Alterado por Luis</font></div>

<div><font color="#222222" face="arial, sans-serif">channel =&gt; 57-59</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">;interface celular</font></div>

<div><font color="#222222" face="arial, sans-serif">group=4</font></div><div><font color="#222222" face="arial, sans-serif">callgroup=1</font></div><div><font color="#222222" face="arial, sans-serif">pickupgroup=1</font></div>

<div><font color="#222222" face="arial, sans-serif">echocancel=yes</font></div><div><font color="#222222" face="arial, sans-serif">echocancelwhenbridged=yes</font></div><div><font color="#222222" face="arial, sans-serif">usecallerid=yes</font></div>

<div><font color="#222222" face="arial, sans-serif">cidsignalling=v23</font></div><div><font color="#222222" face="arial, sans-serif">cidstart=ring</font></div><div><font color="#222222" face="arial, sans-serif">callerid=asreceived</font></div>

<div><font color="#222222" face="arial, sans-serif">context=from-pstn</font></div><div><font color="#222222" face="arial, sans-serif">rxgain=2.0</font></div><div><font color="#222222" face="arial, sans-serif">txgain=2.0</font></div>

<div><font color="#222222" face="arial, sans-serif">busydetect=yes</font></div><div><font color="#222222" face="arial, sans-serif">busycount=6</font></div><div><font color="#222222" face="arial, sans-serif">signalling=fxs_ks</font></div>

<div><font color="#222222" face="arial, sans-serif">channel =&gt; 56</font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></div><br><br></div></div><div><br></div>-- Obrigado..</div>

<div>Rodiney Benchaya</div><div>TI - ArteSacro<span class="HOEnZb"><font color="#888888"><br><div style="width:722px;font-family:Verdana,sans-serif;min-height:175px">

<div style="font-family:Verdana,sans-serif;font-size:10px;float:right"><table style="padding-left:53px;border-left:2px solid #000000"><tbody>
</tbody>
</table>
</div>
</div>
</font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div style="width:722px;font-family:Verdana,sans-serif;min-height:175px"><div style="float:left"><img src="http://artesacro.com.br/marca/Arte_Sacro_5.png" height="127" width="200"><table>




<tbody><tr>
<td style="min-height:175px;vertical-align:middle">

</td></tr>
</tbody></table>
</div>
<div style="font-family:Verdana,sans-serif;font-size:10px;float:right">
<table style="padding-left:53px;border-left:2px solid rgb(0,0,0)" height="158" width="473">
<tbody>
<tr>
<td style="font-size:14px;font-family:Verdana,sans-serif">Rodiney Benchaya<br></td>
</tr>
<tr>
<td style="color:#333;font-family:Verdana,sans-serif;font-size:10px">Gerente Administrativo/Financeiro<br></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td style="font-family:Verdana,sans-serif;font-size:11px;color:#333;text-decoration:none">E-mail: <a href="mailto:tecnologia@artesacro.com.br" target="_blank">rodiney@artesacro.com.br</a></td>
</tr>
<tr>
<td style="text-decoration:none;color:#333;font-family:Verdana,sans-serif;font-size:11px">Fone Ramal: (47) 33 65 80 15<br></td>
</tr>
<tr>
<td><br></td></tr><tr><td style="text-decoration:none;color:#333;font-family:Verdana,sans-serif;font-size:11px"><a title="Acesse Nosso Site!" href="http://www.artesacro.com.br/" style="letter-spacing:2px;text-decoration:initial" target="_blank"><b>www.artesacro.com.br</b></a></td>




</tr>
<tr><td style="font-family:Verdana,sans-serif;font-size:11px;text-decoration:none;letter-spacing:2px"><br></td></tr></tbody></table><br>
</div>
</div>
</font></span></div><br><br clear="all"><div><br></div>-- <br><div style="background-color:#fff;font-family:Verdana,sans-serif;width:722px;height:175px"><div style="float:left"><img src="http://artesacro.com.br/marca/Arte_Sacro_5.png" height="127" width="200"><table>

<tbody><tr>
<td style="height:175px;vertical-align:middle">

</td></tr>
</tbody></table>
</div>
<div style="font-family:Verdana,sans-serif;font-size:10px;float:right">
<table style="padding-left:53px;border-left:2px solid rgb(0,0,0)" height="158" width="473">
<tbody>
<tr>
<td style="font-family:Verdana,sans-serif;font-size:14px;color:#000000">Rodiney Benchaya<br></td>
</tr>
<tr>
<td style="color:#333;font-family:Verdana,sans-serif;font-size:10px">Gerente Administrativo/Financeiro<br></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td style="font-family:Verdana,sans-serif;font-size:11px;color:#333;text-decoration:none">E-mail: <a href="mailto:tecnologia@artesacro.com.br" target="_blank">rodiney@artesacro.com.br</a></td>
</tr>
<tr>
<td style="text-decoration:none;color:#333;font-family:Verdana,sans-serif;font-size:11px">Fone Ramal: (47) 33 65 80 15<br></td>
</tr>
<tr>
<td><br></td></tr><tr><td style="text-decoration:none;color:#333;font-family:Verdana,sans-serif;font-size:11px"><a title="Acesse Nosso Site!" href="http://www.artesacro.com.br/" style="letter-spacing:2px;text-decoration:initial" target="_blank"><b>www.artesacro.com.br</b></a></td>

</tr>
<tr><td style="font-family:Verdana,sans-serif;font-size:11px;text-decoration:none;letter-spacing:2px"><br></td></tr></tbody></table><br>
</div>
</div>