<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi, Rodrigo!<br>
<br>
The only HACK that I can think of is when you get the BYE message,
set the dialog timeout to 0, match it against the dialog, and then
drop the message. OpenSIPS will behave as if the dialog expired in
that moment.<br>
<br>
However, you seem to have a flow logic - most likely the Contact
header in the BYE is not correct. Could you send us a trace to
help you figure out what the problem is? Also, did you try to
validate the message against the dialog[1] and fix it
accordingly[2]?<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/dialog#id295894">http://www.opensips.org/html/docs/modules/2.2.x/dialog#id295894</a><br>
[2]
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/dialog#id295982">http://www.opensips.org/html/docs/modules/2.2.x/dialog#id295982</a><br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 11/08/2016 10:07 PM, Rodrigo Pimenta
Carvalho wrote:<br>
</div>
<blockquote
cite="mid:BN6PR02MB2721DB87665E7A4BC15CD974B5A60@BN6PR02MB2721.namprd02.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi.</p>
<p><br>
</p>
<p>Dialogs in my OpenSIPS is programmed to finish after 60
seconds. (timeout = 1 minute).</p>
<p>So, when 2 peers are in a dialog, OpenSIPS sends SIP BYE to
both peers, automatically after 60 seconds.</p>
<p><br>
</p>
<p>Is it possible to make OpenSIPS send this exact kind of SIP
BYE to both peers,
<span>before the dialog timeout? </span>I mean, in a
configured way (opensips.cfg)?</p>
<p><br>
</p>
<p>When OpenSISP sends SIP BYE automatically, both peers receive
the SIP BYE correctly.</p>
<p>However, when a peer sends SIP BYE, it reaches the OpenSIPS,
but OpenSIPS is unable to forward this SIP BYE. Due to some
unknown reason, in this moment there is no open socket to
communicate with such peer. That is why I would like to make
OpenSIPS send 'its own' SIP BYE, and see if such idea will
simulate a normal situation, until I discover why there is a
socket problem.</p>
<p><br>
</p>
<p>Any hint will be very helpful!</p>
<p><br>
</p>
<p>Best regards.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>