Hi all,<br><br>João, can you change a param and check again?<br><br>; before<br><font size="2" face="Arial">mfcr2_get_ani_first=no</font><br><br>; after<br><font size="2" face="Arial">mfcr2_get_ani_first=yes</font><br><br>
As per [1], Oi (Telemar) get ANI digits first. And if you can, make the test using r2test so we can have a clean testbed.<br><br>[1] <a href="http://www.soft-switch.org/unicall/installing-mfcr2.html">http://www.soft-switch.org/unicall/installing-mfcr2.html</a><br>
<br>Best Regards.<br><br><br><div class="gmail_quote">On Tue, Nov 4, 2008 at 6:45 AM, Joao Carlos Moura <span dir="ltr"><<a href="mailto:jmoura@crdusa.net">jmoura@crdusa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2" face="Arial">Olá pessoal, instalei o pacote OpenR2 em um
servidor Debian 4.0-r5 com asterisk 1.4.</font></div>
<div><font size="2" face="Arial">Nao tive nenhum problema com compilação e
aparentemente não acontece nenhum erro.</font></div>
<div><font size="2" face="Arial">O problema que enfrento é que em algumas ligações
que não completam.</font></div>
<div><font size="2" face="Arial">Habilitei o debug e verifiquei que no momento da
falha, onde era para enviar o número discado digito</font></div>
<div><font size="2" face="Arial">por digito e pára no primeiro e fica até dar
timeout.</font></div>
<div><font size="2" face="Arial">Conversei com o Alexandre e ele me deu algumas
sugestões, entre elas atualizar o pacote.</font></div>
<div><font size="2" face="Arial">Esse procedimento ainda nao fiz</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">Envio minha configuração e um debug que falhou a
chamada.</font></div>
<div><font size="2" face="Arial">Agradeço a ajuda</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">João Carlos Moura</font></div>
<div><font size="2" face="Arial"></font> </div>
<div>
<div><font size="2" face="Arial">Debian</font></div>
<div><font size="2" face="Arial">Asterisk 1.4.22</font></div>
<div><font size="2" face="Arial">OpenR2 version: 0.1.1, revision: 79</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">zapata.conf</font></div>
<div><font size="2" face="Arial">[channels]<br>usecallerid=yes<br>callwaiting=yes<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>threewaycalling=yes<br>transfer=yes<br>canpark=yes<br>cancallforward=yes<br>callreturn=yes<br>
echocancel=yes<br>echotrainning=yes<br>echocancelwhenbridged=yes</font></div>
<div> </div>
<div><font size="2" face="Arial">signalling=mfcr2<br>mfcr2_variant=br<br>mfcr2_get_ani_first=no<br>mfcr2_max_ani=20<br>mfcr2_max_dnis=20<br>mfcr2_category=national_subscriber<br>mfcr2_logdir=span1<br>mfcr2_logging=all</font></div>
<div> </div>
<div><font size="2" face="Arial">group=1<br>callgroup=1<br>pickupgroup=1<br>callerid=asreceived<br>context=from-pstn</font></div>
<div> </div>
<div><font size="2" face="Arial">channel => 1-15,17-31<br></font></div>
<div><font size="2" face="Arial">zaptel.conf
; E1 da Oi</font></div>
<div><font size="2" face="Arial">span=1,1,0,cas,hdb3<br>cas=1-15:1101<br>dchan=16<br>cas=17-31:1101<br>loadzone
= br<br>defaultzone= br</font></div>
<div><font size="2" face="Arial"><br> </font></div>
<div><font size="2" face="Arial">Debug que falhou a chamada</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial"> -- Executing
[POP121211724@to-pstn:1] SetCDRUserField("SIP/192.168.0.5-b7000480",
"POP121211724") in new stack<br> -- Executing
[POP121211724@to-pstn:2] Dial("SIP/192.168.0.5-b7000480",
"ZAP/g1/21211724|60|Ct") in new stack<br>[Nov 1 06:28:10] DEBUG[2771]:
chan_dahdi.c:956 dahdi_r2_get_channel_category: no MFC/R2 category specified for
chan Zap/1-1, using default National Subscriber<br>[Nov 1 06:28:10]
DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - Attempting to make
call (ANI=9009, DNIS=21211724, category=National Subscriber)<br>[Nov 1
06:28:10] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Tx
>> [SEIZE] 0x00<br>[Nov 1 06:28:10] DEBUG[2771]: chan_dahdi.c:1209
dahdi_r2_write_log: Chan 1 - ABCD Raw Tx >> 0x01<br> --
Called g1/21211724<br>[Nov 1 06:28:10] DEBUG[2771]: chan_dahdi.c:4370
dahdi_handle_event: bits changed in chan 1<br>[Nov 1 06:28:10]
DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - Bits changed from
0x08 to 0x0C<br>[Nov 1 06:28:10] DEBUG[2771]: chan_dahdi.c:1209
dahdi_r2_write_log: Chan 1 - ABCD Rx << [SEIZE ACK] 0x0C<br>[Nov 1
06:28:10] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - Sending
DNIS digit 2<br><b>[Nov 1 06:28:10] DEBUG[2771]: chan_dahdi.c:1209
dahdi_r2_write_log: Chan 1 - MF Tx >> 2 [ON]<br>[Nov 1 06:28:16]
DEBUG[2771]: chan_dahdi.c:3170 dahdi_hangup: disconnecting MFC/R2 call on chan
1<br>[Nov 1 06:28:16] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log:
Chan 1 - ABCD Tx >> [CLEAR FORWARD] 0x08<br>[Nov 1 06:28:16]
DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Raw Tx >>
0x09</b><br> -- Hungup 'Zap/1-1'<br> == Spawn
extension (to-pstn, POP121211724, 2) exited non-zero on
'SIP/192.168.0.5-b7000480'<br>[Nov 1 06:28:16] DEBUG[2636]:
chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - Bits changed from 0x0C to
0x08<br>[Nov 1 06:28:16] DEBUG[2636]: chan_dahdi.c:1209
dahdi_r2_write_log: Chan 1 - ABCD Rx << [IDLE] 0x08<br>[Nov 1
06:28:16] DEBUG[2636]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - Call
ended<br>[Nov 1 06:28:16] DEBUG[2636]: chan_dahdi.c:1209
dahdi_r2_write_log: Chan 1 - ABCD Tx >> [IDLE] 0x08<br>[Nov 1
06:28:16] DEBUG[2636]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Raw
Tx >> 0x09<br>[Nov 1 06:28:16] NOTICE[2636]: chan_dahdi.c:1065
dahdi_r2_on_call_end: MFC/R2 call en</font></div></div><br><hr>I am using the Free version of <a href="http://www.spamfighter.com/len" target="_blank">SPAMfighter</a><br>We are a community of 5.6 million users fighting spam.<br>
SPAMfighter has removed 32904 of my spam emails to date.<br>The Professional version does not have this message<br></div>
<br>_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br></blockquote></div><br><br clear="all"><br>-- <br>Alexandre C Alencar (Skarmeth)<br>
<a href="http://blog.alexandrealencar.net/">http://blog.alexandrealencar.net/</a><br><a href="http://www.alexandrealencar.net/">http://www.alexandrealencar.net/</a><br><a href="http://people.debian-ce.org/skarmeth/">http://people.debian-ce.org/skarmeth/</a><br>
<br>