Hello,

On 10/14/11 4:48 PM, Henrik Aagaard Sørensen wrote:
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".
what is the content of the dispatcher list file? Maybe is better to use ds_select_domain(...) and ds_next_domain() -- cannot say it since I haven't seen full sip trace, but maybe the problem is that freeswitch is sending back if the r-uri address is kamailio's address.

Cheers,
Daniel


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 <henrikaagaardsoren...@gmail.com <mailto:henrikaagaardsoren...@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 <mico...@gmail.com
    <mailto:mico...@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
        <http://sip.my-domain.com>) is my Kamailio.
        pbx.my-domain.com <http://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 list
        sr-users@lists.sip-router.org  <mailto:sr-users@lists.sip-router.org>
        http://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/kat
        http://linkedin.com/in/miconda  -- http://twitter.com/miconda





_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://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/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to