Hi Morten.<br><br>Do you mean anything specific in the standard config: <a href="http://pastebin.com/Aj4mHAJq">http://pastebin.com/Aj4mHAJq</a><br><br>Because that handles registrations, subscriber list etc. etc... I&#39;m only interested in Kamailio as a dispatcher.<br>

<br>And I&#39;ve already tried adding the PATH module with the use_received parameter and add_path() and add_path_received() functions. That didn&#39;t help.<br><br><div class="gmail_quote">On Wed, Oct 5, 2011 at 7:41 PM, Morten Isaksen <span dir="ltr">&lt;<a href="mailto:misak@misak.dk">misak@misak.dk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
You need to handle in dialog routing - check one of the configs that<br>
ships with kamailio. Right now Kamailio forwards all SIP packets to<br>
freeswitch, even the ones that freeswitch sends to Kamailio.<br>
<br>
/Morten<br>
<br>
2011/10/5 Henrik Aagaard Sørensen &lt;<a href="mailto:henrikaagaardsorensen@gmail.com">henrikaagaardsorensen@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; I have a setup with Kamailio as dispatcher in front of a FreeSwitch server.<br>
&gt; This is my kamailio.cfg: <a href="http://pastebin.com/8PR2GFBD" target="_blank">http://pastebin.com/8PR2GFBD</a><br>
&gt;<br>
&gt; I&#39;m currently getting &quot;Too many hops&quot; when calling between SIP clients. I am<br>
&gt; able to call to FreeSwitch and listen to voicemail, hold music etc.<br>
&gt;<br>
&gt; After a long conversation with a FreeSwitch expert, and some tests, I was<br>
&gt; told that Kamailio delivers the wrong IP (NAT problems) to FreeSwitch.<br>
&gt;<br>
&gt; I&#39;ve also run tshark on both FreeSwitch and Kamailio and when calling<br>
&gt; between clients they just send the packets between each other.<br>
&gt;<br>
&gt; Can anyone help me out? I&#39;ve tried to Google a lot for this problem and<br>
&gt; asked in several IRC channels, mailing lists and forums. Without any luck.<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
&gt; <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
&gt; <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Morten Isaksen<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</font></blockquote></div><br>