Hi Morten.<br><br>I've tried to add that part: <a href="http://pastebin.com/MmKnbKLz">http://pastebin.com/MmKnbKLz</a><br><br>But now it won't even register. Do you know any config-example for a working dispatcher for Kamailio?<br>
<br><div class="gmail_quote">On Thu, Oct 6, 2011 at 10:54 AM, Morten Isaksen <span dir="ltr"><<a href="mailto:misak@misak.dk">misak@misak.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This part<br>
<br>
# handle requests within SIP dialogs<br>
route(WITHINDLG);<br>
<br>
2011/10/6 Henrik Aagaard Sørensen <<a href="mailto:henrikaagaardsorensen@gmail.com">henrikaagaardsorensen@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi Morten.<br>
><br>
> Do you mean anything specific in the standard config:<br>
> <a href="http://pastebin.com/Aj4mHAJq" target="_blank">http://pastebin.com/Aj4mHAJq</a><br>
><br>
> Because that handles registrations, subscriber list etc. etc... I'm only<br>
> interested in Kamailio as a dispatcher.<br>
><br>
> And I've already tried adding the PATH module with the use_received<br>
> parameter and add_path() and add_path_received() functions. That didn't<br>
> help.<br>
><br>
> On Wed, Oct 5, 2011 at 7:41 PM, Morten Isaksen <<a href="mailto:misak@misak.dk">misak@misak.dk</a>> wrote:<br>
>><br>
>> 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 <<a href="mailto:henrikaagaardsorensen@gmail.com">henrikaagaardsorensen@gmail.com</a>>:<br>
>> > I have a setup with Kamailio as dispatcher in front of a FreeSwitch<br>
>> > server.<br>
>> > This is my kamailio.cfg: <a href="http://pastebin.com/8PR2GFBD" target="_blank">http://pastebin.com/8PR2GFBD</a><br>
>> ><br>
>> > I'm currently getting "Too many hops" when calling between SIP clients.<br>
>> > I am<br>
>> > 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<br>
>> > was<br>
>> > told that Kamailio delivers the wrong IP (NAT problems) to FreeSwitch.<br>
>> ><br>
>> > I've also run tshark on both FreeSwitch and Kamailio and when calling<br>
>> > between clients they just send the packets between each other.<br>
>> ><br>
>> > Can anyone help me out? I've tried to Google a lot for this problem and<br>
>> > asked in several IRC channels, mailing lists and forums. Without any<br>
>> > luck.<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>
>> ><br>
>> ><br>
>><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>
><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>
><br>
><br>
<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>
</div></div></blockquote></div><br>