I have a setup with Kamailio as dispatcher in front of a FreeSwitch server. This is my kamailio.cfg: <a href="http://pastebin.com/8PR2GFBD">http://pastebin.com/8PR2GFBD</a><br><br>I&#39;m currently getting &quot;Too many hops&quot; when calling between SIP clients. I am able to call to FreeSwitch and listen to voicemail, hold music etc.<br>

<br>After a long conversation with a FreeSwitch expert, and some tests, I was told that Kamailio delivers the wrong IP (NAT problems) to FreeSwitch.<br><br>I&#39;ve also run tshark on both FreeSwitch and Kamailio and when calling between clients they just send the packets between each other.<br>

<br>Can anyone help me out? I&#39;ve tried to Google a lot for this problem and asked in several IRC channels, mailing lists and forums. Without any luck.<br>