Hi Marcos, how are you?<br>I had this problem and fix with:<br>Inserting the parameter mfcr2_metering_pulse_timeout=500 on file chan_dahdi.conf<br>Please try this and return a follow up.<br><br>Regards<br><br>Josue<br><br>
<div class="gmail_quote">2013/3/16 Marcos Pandolfo Jr <span dir="ltr"><<a href="mailto:marcos@remota.com.br" target="_blank">marcos@remota.com.br</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Ricardo<div><br></div><div>Here go my log files. My problem is that when I receive the 0x4 (answer) and the log on master.csv is ANSWERED so I charge the call. This is wrong because the B5 indicates that this number is unallocated.</div>
<div><br></div><div>I think something (asterisk, dahdi, openr2) has to analyze the latest code from group B before saying that the call was answered, even if you received the call sign of the telco.</div><div><br></div><div>
This is a call that I make and the number is unallocated.. I paint red the text that I think the telco send me the B5 and the 0x4 (answer):</div><div><br></div><div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:291] [Thread: 1096595776] [Chan 2] - Call started at Sat Mar 9 11:49:50 2013 on chan 2 [openr2 version 1.3.0, revision exportado]</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:291] [Thread: 1096595776] [Chan 2] - Outgoing call proceeding: ANI=9500, DNIS=37170000, Category=National Subscriber</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:291] [Thread: 1096595776] [Chan 2] - CAS Tx >> [SEIZE] 0x00</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:291] [Thread: 1096595776] [Chan 2] - CAS Raw Tx >> 0x01</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:291] [Thread: 1096595776] [Chan 2] - scheduled timer id 2 (r2_seize)</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:344] [Thread: 1096595776] [Chan 2] - Bits changed from 0x08 to 0x0C</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:344] [Thread: 1096595776] [Chan 2] - CAS Rx << [SEIZE ACK] 0x0C</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:344] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 2</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:344] [Thread: 1096595776] [Chan 2] - timer id 2 found, cancelling it now</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:344] [Thread: 1096595776] [Chan 2] - MFC/R2 call acknowledge!</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:344] [Thread: 1096595776] [Chan 2] - Sending DNIS digit 3</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:344] [Thread: 1096595776] [Chan 2] - MF Tx >> 3 [ON]</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:430] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [ON]</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:431] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:431] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:431] [Thread: 1096595776] [Chan 2] - MF Tx >> 3 [OFF]</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:511] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [OFF]</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:511] [Thread: 1096595776] [Chan 2] - Sending DNIS digit 7</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:511] [Thread: 1096595776] [Chan 2] - MF Tx >> 7 [ON]</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:511] [Thread: 1096595776] [Chan 2] - Group A DNIS request handled</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:630] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [ON]</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:631] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:631] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:631] [Thread: 1096595776] [Chan 2] - MF Tx >> 7 [OFF]</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:711] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [OFF]</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:711] [Thread: 1096595776] [Chan 2] - Sending DNIS digit 1</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:711] [Thread: 1096595776] [Chan 2] - MF Tx >> 1 [ON]</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:711] [Thread: 1096595776] [Chan 2] - Group A DNIS request handled</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:830] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [ON]</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:830] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:830] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:830] [Thread: 1096595776] [Chan 2] - MF Tx >> 1 [OFF]</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
[11:49:50:911] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [OFF]</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:911] [Thread: 1096595776] [Chan 2] - Sending DNIS digit 7</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">[11:49:50:911] [Thread: 1096595776] [Chan 2] - MF Tx >> 7 [ON]</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<div>[11:49:50:911] [Thread: 1096595776] [Chan 2] - Group A DNIS request handled</div><div>[11:49:51:031] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [ON]</div><div>[11:49:51:031] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div>
<div>[11:49:51:031] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div><div>[11:49:51:031] [Thread: 1096595776] [Chan 2] - MF Tx >> 7 [OFF]</div><div>[11:49:51:110] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [OFF]</div>
<div>[11:49:51:111] [Thread: 1096595776] [Chan 2] - Sending DNIS digit 0</div><div>[11:49:51:111] [Thread: 1096595776] [Chan 2] - MF Tx >> 0 [ON]</div><div>[11:49:51:111] [Thread: 1096595776] [Chan 2] - Group A DNIS request handled</div>
<div>[11:49:51:231] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [ON]</div><div>[11:49:51:231] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div><div>[11:49:51:231] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div>
<div>[11:49:51:231] [Thread: 1096595776] [Chan 2] - MF Tx >> 0 [OFF]</div><div>[11:49:51:311] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [OFF]</div><div>[11:49:51:311] [Thread: 1096595776] [Chan 2] - Sending DNIS digit 0</div>
<div>[11:49:51:311] [Thread: 1096595776] [Chan 2] - MF Tx >> 0 [ON]</div><div>[11:49:51:311] [Thread: 1096595776] [Chan 2] - Group A DNIS request handled</div><div>[11:49:51:410] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [ON]</div>
<div>[11:49:51:410] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div><div>[11:49:51:410] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div><div>[11:49:51:410] [Thread: 1096595776] [Chan 2] - MF Tx >> 0 [OFF]</div>
<div>[11:49:51:490] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [OFF]</div><div>[11:49:51:491] [Thread: 1096595776] [Chan 2] - Sending DNIS digit 0</div><div>[11:49:51:491] [Thread: 1096595776] [Chan 2] - MF Tx >> 0 [ON]</div>
<div>[11:49:51:491] [Thread: 1096595776] [Chan 2] - Group A DNIS request handled</div><div>[11:49:51:591] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [ON]</div><div>[11:49:51:591] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div>
<div>[11:49:51:591] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div><div>[11:49:51:591] [Thread: 1096595776] [Chan 2] - MF Tx >> 0 [OFF]</div><div>[11:49:51:671] [Thread: 1096595776] [Chan 2] - MF Rx << 1 [OFF]</div>
<div>[11:49:51:671] [Thread: 1096595776] [Chan 2] - Sending DNIS digit 0</div><div>[11:49:51:671] [Thread: 1096595776] [Chan 2] - MF Tx >> 0 [ON]</div><div>[11:49:51:671] [Thread: 1096595776] [Chan 2] - Group A DNIS request handled</div>
<div>[11:49:52:570] [Thread: 1096595776] [Chan 2] - MF Rx << 3 [ON]</div><div>[11:49:52:570] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div></div><div style="font-size:13px;font-family:arial,sans-serif">
<div style="color:rgb(34,34,34)">[11:49:52:570] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div><div style="color:rgb(34,34,34)">[11:49:52:570] [Thread: 1096595776] [Chan 2] - MF Tx >> 0 [OFF]</div><div style="color:rgb(34,34,34)">
[11:49:52:650] [Thread: 1096595776] [Chan 2] - MF Rx << 3 [OFF]</div><div style="color:rgb(34,34,34)">[11:49:52:650] [Thread: 1096595776] [Chan 2] - Sending category National Subscriber</div><div style="color:rgb(34,34,34)">
[11:49:52:651] [Thread: 1096595776] [Chan 2] - MF Tx >> 1 [ON]</div><div style="color:rgb(34,34,34)">[11:49:52:731] [Thread: 1096595776] [Chan 2] - MF Rx << 5 [ON]</div><div style="color:rgb(34,34,34)">[11:49:52:731] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div>
<div style="color:rgb(34,34,34)">[11:49:52:731] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div><div style="color:rgb(34,34,34)">[11:49:52:731] [Thread: 1096595776] [Chan 2] - MF Tx >> 1 [OFF]</div><div>
<font color="#ff0000">[11:49:52:810] [Thread: 1096595776] [Chan 2] - MF Rx << 5 [OFF]</font></div>
<div style="color:rgb(34,34,34)">[11:49:52:810] [Thread: 1096595776] [Chan 2] - scheduled timer id 3 (r2_answer)</div><div><font color="#ff0000">[11:49:52:904] [Thread: 1096595776] [Chan 2] - Bits changed from 0x0C to 0x04</font></div>
<div style="color:rgb(34,34,34)">[11:49:52:904] [Thread: 1096595776] [Chan 2] - CAS Rx << [ANSWER] 0x04</div><div style="color:rgb(34,34,34)">[11:49:52:904] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 3</div>
<div style="color:rgb(34,34,34)">[11:49:52:904] [Thread: 1096595776] [Chan 2] - timer id 3 found, cancelling it now</div><div style="color:rgb(34,34,34)">[11:49:52:904] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div>
<div style="color:rgb(34,34,34)">[11:49:52:904] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div><div style="color:rgb(34,34,34)">[11:49:57:988] [Thread: 1096595776] [Chan 2] - Attempting to cancel timer timer 0</div>
<div style="color:rgb(34,34,34)">[11:49:57:988] [Thread: 1096595776] [Chan 2] - Cannot cancel timer 0</div><div style="color:rgb(34,34,34)">[11:49:57:988] [Thread: 1096595776] [Chan 2] - CAS Tx >> [CLEAR FORWARD] 0x08</div>
<div style="color:rgb(34,34,34)">[11:49:57:988] [Thread: 1096595776] [Chan 2] - CAS Raw Tx >> 0x09</div><div style="color:rgb(34,34,34)">[11:49:58:063] [Thread: 1088469312] [Chan 2] - Bits changed from 0x04 to 0x08</div>
<div style="color:rgb(34,34,34)">[11:49:58:063] [Thread: 1088469312] [Chan 2] - CAS Rx << [IDLE] 0x08</div><div style="color:rgb(34,34,34)">[11:49:58:063] [Thread: 1088469312] [Chan 2] - Call ended</div><div style="color:rgb(34,34,34)">
[11:49:58:063] [Thread: 1088469312] [Chan 2] - Attempting to cancel timer timer 0</div><div style="color:rgb(34,34,34)">[11:49:58:063] [Thread: 1088469312] [Chan 2] - Cannot cancel timer 0</div></div></div><div><br></div>
<div><br></div><div>Best regards</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote"><div><div class="h5">2013/3/15 Mc GRATH Ricardo <span dir="ltr"><<a href="mailto:mcgrathr@mail2web.com" target="_blank">mcgrathr@mail2web.com</a>></span><br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div>
<div style="direction:ltr;font-size:x-small;font-family:Tahoma">
<div>Marcos</div>
<div><font face="tahoma"></font> </div>
<div><font face="tahoma"><a></a><font face="tahoma">No one</font> imagine about your request and could give you a help without details, as trace log, samples of the call scenery and other additional<a></a> information.</font></div>
<div><font face="tahoma">Best regards</font></div>
<div> </div>
<div>
<div><font face="Tahoma">Mc GRATH<a></a><a></a> Ricardo</font></div>
<div><font face="tahoma">E-Mail<a></a><a></a> <a href="mailto:mcgrathr@mail2web.com" target="_blank">
mcgrathr@mail2web.com</a><a></a><a></a></font></div>
</div>
<div dir="ltr"><font color="#000000" face="Tahoma"></font> </div>
<div style="DIRECTION:ltr">
<hr>
<font color="#000000" face="Tahoma"><b>From:</b> <a href="mailto:asterisk-r2-bounces@lists.digium.com" target="_blank">asterisk-r2-bounces@lists.digium.com</a> [<a href="mailto:asterisk-r2-bounces@lists.digium.com" target="_blank">asterisk-r2-bounces@lists.digium.com</a>] On Behalf Of Marcos Pandolfo Jr [<a href="mailto:marcos@remota.com.br" target="_blank">marcos@remota.com.br</a>]<br>
<b>Sent:</b> 15 March 2013 16:49<br>
<b>To:</b> <a href="mailto:asterisk-r2@lists.digium.com" target="_blank">asterisk-r2@lists.digium.com</a><br>
<b>Subject:</b> [asterisk-r2] problem with r2 in Brazil<br>
</font><br>
</div><div><div>
<div></div>
<div>Hi Everyone
<div><br>
</div>
<div>This is my first post in this list. </div>
<div><br>
</div>
<div>
<div style="color:rgb(80,0,80);font-size:13px;font-family:arial,sans-serif">
My Telco is Oi and a link that I have with them have a strange behavior:</div>
<div style="color:rgb(80,0,80);font-size:13px;font-family:arial,sans-serif">
<br>
</div>
<div style="color:rgb(80,0,80);font-size:13px;font-family:arial,sans-serif">
I call to a number that not exist and the telco send me a signal 0x4 (cas answer) and I receive the group b signal 5 (here in brazil is a unallocated number) but in asterisk's master.csv file I get a answered call, so I dont know how can I diference the calls
that really is answered or not.</div>
<div style="color:rgb(80,0,80);font-size:13px;font-family:arial,sans-serif">
<br>
</div>
<div style="color:rgb(80,0,80);font-size:13px;font-family:arial,sans-serif">
Thank you all.</div>
<div style="color:rgb(80,0,80);font-size:13px;font-family:arial,sans-serif">
<br>
</div>
<div><br>
</div>
<div><br>
</div>
-- <br>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Abraços</div>
<div><br>
</div>
<div>Marcos Pandolfo Jr</div>
<div>ADS Telecom</div>
<div>(54) 3242-8500</div>
<div>(54) 9998-2686</div>
</div>
</div>
</div></div></div>
</div>
<br></div></div><span class="HOEnZb"><font color="#888888">--<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></font></span></blockquote></div><div class="im"><br><br clear="all"><div><br>
</div>-- <br><div><br></div><div>
<br></div><div><br></div><div>Abraços</div><div><br></div><div>Marcos Pandolfo Jr</div><div>ADS Telecom</div><div>(54) 3242-8500</div><div>(54) 9998-2686</div>
</div></div>
<br>--<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>