[SR-Users] Kamailio Dispatcher fails in front of FreeSwitch, help (again).

Henrik Aagaard Sørensen henrikaagaardsorensen at gmail.com
Fri Oct 14 16:48:42 CEST 2011


Hi Daniel (and everyone else) again.

I've just tried to add:
loadmodule "path.so"
modparam("path", "use_received", 1)

and:
add_path_received()
just before the "if(!t_relay())..." in the ROUTE part.

That made both devices get the error "Too many loops".

Moving the add_path_received() into the part:
if (nat_uac_test("19")) {         if (method=="REGISTER") {
fix_nated_register();             add_path_received();
made the same issues as before loading the path.so module.

2011/10/14 Henrik Aagaard Sørensen <henrikaagaardsorensen at gmail.com>

> Hi Daniel (and everyone else).
>
> This is a tshark trace (is that as good as ngrep?) from Kamailio when there
> are too many loops: http://pastebin.com/yRjduB0s
> In this trace I got the note that 253 packets was dropped (and therefor not
> in the trace).
>
> And this is a trace when it times out: http://pastebin.com/KT0bJzEU
>
> I've actually looked at the PATH module, and tried several things. And I
> know this type of question is rather newbee-like, but can you help me out
> with the PATH module and how to integrate it correctly?
>
> I really do appreciate all the help!
>
>
> 2011/10/14 Daniel-Constantin Mierla <miconda at gmail.com>
>
>>  Hello,
>>
>> when using the load balancer in front of the registrar, you have to use
>> PATH extensions for SIP (see path module in kamailio) in order to be able to
>> cope with nat.
>>
>> Then, what would be helpful, will be a ngrep trace taken on kamailio
>> server for failed calls.
>>
>> Cheers,
>> Daniel
>>
>>
>> On 10/14/11 4:13 PM, Henrik Aagaard Sørensen wrote:
>>
>> I've asked a lot of question about Kamailio Dispatcher in front of
>> FreeSwitch in this mailing list. So I'm sorry that I'm still "spamming", but
>> it still fails.
>>
>> This is my status so far.
>>
>> When connecting 2 devices directly to FreeSwitch everything works. When
>> connecting to Kamailio, some calls fails with "Timeout" and some fails with
>> "Too many loops".
>>
>> This is my kamailio.cfg: http://pastebin.com/KEuZmikh
>>
>> When connected directly to FreeSwitch where everything works, this is how
>> my clients are registrered in FreeSwitch: http://pastebin.com/prkjkb7g
>>
>> When connected to Kamailio where nothing works, this is how my clients are
>> registrered in FreeSwitch: http://pastebin.com/b5x6NZyv
>>
>> 215.197.145.132 (sip.my-domain.com) is my Kamailio.
>> pbx.my-domain.com is my FreeSwitch.
>> 96.224.14.164 is my IP at home, where my 2 devices are from.
>>
>> Can anyone help me out? I'm kinda lost at this point.
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> --
>> Daniel-Constantin Mierla -- http://www.asipto.com
>> Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kathttp://linkedin.com/in/miconda -- http://twitter.com/miconda
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111014/33b4fb0d/attachment.htm>


More information about the sr-users mailing list