<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi there,<div><br></div><div>I have been trying for the last week to configure the load balancing in OpenSIPS. I am trying to configure a load balancer as per the wiki on the Freeswitch page - <a href="http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS">http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS</a>, I have also tried the sample on the OpenSIPS site and I am getting the same results.</div><div><br></div><div>I am attempting to have all my registrations and Invites proxied to the the Freeswitch server which will do the call processing. My phone is told to point to the SIP Domain <a href="http://voip2.siptest.net.au">voip2.siptest.net.au</a> which resolves to OpenSIPS. </div><div><br></div><div><br></div><div>This is a quick layout of the path:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>Yealink T20 - VOIP Phone - 10.2.0.2 (Private IP)</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>| (NAT)</div><div>Cisco 877 DSL Router (2.2.239.241) (Public IP)</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>|</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>INTERNET</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>|</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>OpenSIPS (1.1.108.70) (Public IP)</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>|</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>FreeSWITCH (1.1.108.68) (Public IP)</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>|</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>External VOIP Provider</div><div><br></div><div>(Assume 2.2.239.X and 1.1.108.X are public ranges)</div><div><br></div><div><br></div></blockquote><div>I register to the OpenSIPS load balancer using domains in this test case I am using <a href="mailto:613xxxx2002@voip2.siptest.net.au">613xxxx2002@voip2.siptest.net.au</a> where <a href="http://voip2.siptest.net.au">voip2.siptest.net.au</a> is pointed to 1.1.108.70. The registration appears normal on both the OpenSIPS and Freeswitch. The destination I am calling is via another SIP provider which is routed by Freeswitch on the external profile.</div><div><br></div><div>The problem I am seeing is that it looks like when a RE-INVITE happens the ACK gets sent back to 2.2.239.241 instead of being relayed to 1.1.108.70, I can see the ACK from 2.2.239.241 but OpenSIPS then replies and sends the ACK message to 2.2.239.241 where it should be seeing that it needs to send it to 1.1.108.68. Freeswitch will then keep sending 200 OK to OpenSIPS and then hang the call up after 30 seconds as there has been no ACK received. If there is no RE-Invite then the calls seems to work fine. It only seems to be when a RE-Invite is sent by the Phone. (I have tried a Siemens Gigaset and get the same issue). If I register the phone directly to Freeswitch I don't seem to have these issues.</div><div><br></div><div>I have seen this issue mentioned on mailing lists in the past and I have tried the suggestions but none seem to work for me.</div><div><br></div><div>I have provided the following which may assist:</div><div><br></div><div>opensips.cfg</div><div><a href="http://pastebin.com/hG2GUHWV">http://pastebin.com/hG2GUHWV</a></div><div><br></div><div>SIP Trace</div><div><a href="http://pastebin.com/8fahFPj3">http://pastebin.com/8fahFPj3</a></div><div><br></div><div>OpenSIPS debug</div><div><a href="http://pastebin.com/T9ULEeXt">http://pastebin.com/T9ULEeXt</a></div><div><br></div><div><br></div><div>Hopefully someone out there might have some ideas. Any advice would be appreciated.</div><div><br></div><div>Cheers,</div><div><br></div><div>Ash.</div><div><br></div><div><br>
<br></div></body></html>