<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(&quot;REGISTER|MESSAGE&quot;)) {</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>