<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
</style>
<meta name="GENERATOR" content="MSHTML 11.00.9600.18450">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
--></style>
</head>
<body dir="ltr" ocsi="x">
<div style="FONT-SIZE: small; FONT-FAMILY: Courier New; COLOR: #000000; DIRECTION: ltr">
<div><a></a>
<div><a></a>
<div><a></a>
<div><a></a>
<div><a></a>
<div><a></a>
<div><a></a>
<div><a></a>
<div><a></a>
<div>Hi <a>Ezequiel</a><a></a>.<a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</a></div>
<div><font face="courier new">Thanks, strange wide delayed timing, it happens all time?? how about Asterisk traffic information, as core show calls or channels? by the way do you have trace log of PA-41??<br>
How about to set persistent timer?, I think S-Ack<a></a><a></a> it will send to PSTN<a></a><a></a> always in a unique timing, according to parameter value (according to Telco spec. expecting to 200 ms).
<br>
Best regards.</font></div>
<div> </div>
<div>
<div><font size="2" face="Tahoma">Mc GRATH<a></a><a></a><a></a><a></a><a></a><a></a><a></a><a></a><a></a><a></a><a></a> Ricardo</font></div>
<div><font size="2" face="tahoma"></font> </div>
</div>
<div dir="ltr"><font color="#000000" size="3" face="Courier New"></font> </div>
<div id="divRpF870839" style="DIRECTION: ltr">
<hr tabindex="-1">
<font color="#000000" size="2" face="Tahoma"><b>From:</b> asterisk-r2-bounces@lists.digium.com [asterisk-r2-bounces@lists.digium.com] On Behalf Of Ezequiel Quadri [ezequiel_quadri@hotmail.com]<br>
<b>Sent:</b> 12 April 2018 12:05<br>
<b>To:</b> asterisk-r2@lists.digium.com<br>
<b>Subject:</b> Re: [asterisk-r2] Incoming calls hangs randomly prior R2 exchange<br>
</font><br>
</div>
<div></div>
<div>
<div id="divtagdefaultwrapper" style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri,Helvetica,sans-serif; COLOR: #000000" dir="ltr">
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"><span style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">Hi Moises, group, </span><br>
</p>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"><span style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif"><br>
</span></p>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"><span style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif"><span><span>Last night we were able to make some captures with the analyzer W & G PA-41 and we discovered the cause of the problem. The issue
is that our asterisk sends the SEIZE ACK with a delay that varies between 30ms and 900ms, and the PBX waits for it before 200ms, therefore when it is sent before 200ms the call is established, and when it is late the PBX sends CLEAR FWD and releases the call.
The question is why openr2 can erratically delay sending of the SEIZE ACK.</span></span><br>
</span></p>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"><span style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif"><br>
</span></p>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"><span style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif"><span>Thanks in advance..</span><br>
</span></p>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"><span style="FONT-FAMILY: Calibri,Helvetica,sans-serif"><br>
</span></p>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"><span style="FONT-FAMILY: Calibri,Helvetica,sans-serif">Regards, Ezequiel</span><br>
</p>
<br>
<br>
<div style="COLOR: rgb(0,0,0)">
<hr tabindex="-1" style="WIDTH: 98%; DISPLAY: inline-block">
<div id="divRplyFwdMsg" dir="ltr"><font style="FONT-SIZE: 11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b> Ezequiel Quadri <ezequiel_quadri@hotmail.com><br>
<b>Enviado:</b> viernes, 16 de marzo de 2018 04:19 p.m.<br>
<b>Para:</b> asterisk-r2@lists.digium.com<br>
<b>Asunto:</b> Re: [asterisk-r2] Incoming calls hangs randomly prior R2 exchange</font>
<div> </div>
</div>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri,Helvetica,sans-serif; COLOR: #000000" dir="ltr">
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"></p>
<div>
<div>Hi Moises, thanks for your answer,</div>
<div><br>
</div>
<div>The issue is that with another PBX the calls have no problem, all are handled correctly, therefore the provider argues that a problem is the new PBX. </div>
<div><span style="FONT-SIZE: 12pt">However, I have already tried with the persistence check, and the release signal really persists for about 160ms.</span><br>
</div>
<div><span style="FONT-SIZE: 12pt"><br>
</span></div>
<div><span style="FONT-SIZE: 12pt">Regards, Ezequiel </span></div>
</div>
<br>
<p></p>
<div style="COLOR: rgb(0,0,0)">
<hr tabindex="-1" style="WIDTH: 98%; DISPLAY: inline-block">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="FONT-SIZE: 11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b> asterisk-r2-bounces@lists.digium.com <asterisk-r2-bounces@lists.digium.com> en nombre de Moises Silva <moises.silva@gmail.com><br>
<b>Enviado:</b> viernes, 16 de marzo de 2018 10:56 a.m.<br>
<b>Para:</b> asterisk-r2@lists.digium.com<br>
<b>Asunto:</b> Re: [asterisk-r2] Incoming calls hangs randomly prior R2 exchange</font>
<div> </div>
</div>
<div>
<div dir="ltr"><br>
<div class="x_x_gmail_extra">
<div class="x_x_gmail_quote">On Thu, Mar 15, 2018 at 3:40 PM, Ezequiel Quadri <span dir="ltr">
<<a id="LPlnk331940" href="mailto:ezequiel_quadri@hotmail.com">ezequiel_quadri@hotmail.com</a>></span> wrote:<br>
<blockquote class="x_x_gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div dir="ltr">
<div id="x_x_gmail-m_-3760767879806140442divtagdefaultwrapper" style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; COLOR: rgb(0,0,0)" dir="ltr">
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"></p>
<p style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">OpenR2 call files:<br>
</p>
<p style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif"></p>
<p style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif"><br>
</p>
<p style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif"></p>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:236] [Thread: 140405976749824] [Chan 4] - Call started at Tue Mar 13 12:22:03 2018 on chan 4 [openr2 version 1.3.3, revision (release)]</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:236] [Thread: 140405976749824] [Chan 4] - Initialized R2 MF detector</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:236] [Thread: 140405976749824] [Chan 4] - CAS Tx >> [SEIZE ACK] 0x0C</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:236] [Thread: 140405976749824] [Chan 4] - CAS Raw Tx >> 0x0D</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976749824] [Chan 4] - Bits changed from 0x00 to 0x08</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976749824] [Chan 4] - CAS Rx << [CLEAR FORWARD] 0x08</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976749824] [Chan 4] - Far end disconnected. Reason: Normal Clearing</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976749824] [Chan 4] - Call ended</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976749824] [Chan 4] - Attempting to cancel timer timer 0</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976749824] [Chan 4] - Cannot cancel timer 0</div>
<p></p>
<p style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif"><br>
</p>
<p style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif"></p>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:236] [Thread: 140405976241920] [Chan 5] - Call started at Tue Mar 13 12:22:03 2018 on chan 5 [openr2 version 1.3.3, revision (release)]</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:236] [Thread: 140405976241920] [Chan 5] - Initialized R2 MF detector</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:236] [Thread: 140405976241920] [Chan 5] - CAS Tx >> [SEIZE ACK] 0x0C</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:236] [Thread: 140405976241920] [Chan 5] - CAS Raw Tx >> 0x0D</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976241920] [Chan 5] - Bits changed from 0x00 to 0x08</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976241920] [Chan 5] - CAS Rx << [CLEAR FORWARD] 0x08</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976241920] [Chan 5] - Far end disconnected. Reason: Normal Clearing</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976241920] [Chan 5] - Call ended</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976241920] [Chan 5] - Attempting to cancel timer timer 0</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Calibri,Helvetica,sans-serif">[12:22:03:277] [Thread: 140405976241920] [Chan 5] - Cannot cancel timer 0</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>I think you should try contacting your telco as this seems like an issue upstream. Having said that, you may try to fix it by using 'timers.cas_persistence_check=100' in the advanced protocol file (r2proto.conf). This helps clearing 'false positives' with
CAS signals that are short-lived (e.g less than 100ms).</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>