<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hi Jayesh,<br>
<br>
Could you share a pcap with the call to check ? A wild guess is
that OverSIP is (by mistake) removing the Route header of
OpenSIPS too (instead of removing his own Route only).<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 16.05.2014 18:48, Jayesh Nambiar wrote:<br>
</div>
<blockquote
cite="mid:CANAYoztH4k9BQFaxQ6=hWjbh_kinGa3HhbE3v+vQQJNBEXMszA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All,
<div>I have a Freeswitch, OpenSIPS and Oversip all on the same
server and different ports. Freeswitch originates a call, goes
to OpenSIPS, OpenSIPS looks up into location and figures that
it supposed to be routed to Oversip and routes it to Oversip
and the call is connected with a WebRTC JsSip client.</div>
<div>But when the call is disconnected from the WebRTC client,
the Oversip directly routes the BYE to Freeswitch instead of
going Via OpenSIPS. Basically the BYE originated from JS-SIP
itself has Freeswitch IP and Port in the URI :(</div>
<div>But if I run Oversip on a different server, the routing of
BYE from WebRTC client is as expected which is from Oversip to
OpenSIPS to Freeswitch.</div>
<div><span class=""><br>
</span></div>
<div>Can someone point me to why this happens when the
application runs on the same host !! Should I add some
additional functions when running applications on same host.</div>
<div><span class=""><br>
</span></div>
<div>My default route contains this for all calls:</div>
<div>
<div> # record routing</div>
<div><span class="" style="white-space:pre"> </span>if
(!is_method("REGISTER|MESSAGE")) {</div>
<div><span class="" style="white-space:pre"> </span>record_route();</div>
<div><span class="" style="white-space:pre"> </span>}</div>
</div>
<div><br>
</div>
<div>Thanks in advance;</div>
<div><br>
</div>
<div>--- Jayesh</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>