<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi.</p>
<p><br>
</p>
<p>After some log debug I have observed the following behavior in the OpenSISP (2.2.1):</p>
<p><br>
</p>
<p>When OpenSIPS has to send a SIP INVITE to a peer through a TCP connection that was closed before by some way, OpenSIPS open a new one and then sends the SIP message to the peer successfully.</p>
<p><br>
</p>
<p>However, <span>when OpenSIPS has to send a SIP BYE to a peer through a TCP connection that was closed before, OpenSIPS open a new one, but doesn't send the SIP BYE. In this case SIP BYE is discarded.</span></p>
<p><span><br>
</span></p>
<p><span>How to change the behavior of OpenSIPS to make it to send the SIP BYE is such case?</span></p>
<p><span><br>
</span></p>
<p><span>I'm looking for ways of fix or workaround of a TCP tear down connection that happens during dialogs.<br>
</span></p>
<p><span><br>
</span></p>
<p><span>Any hint will be very helpful!<br>
</span></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>
</body>
</html>