Henrik, 
I'm having the same issue as you. Have you made any progress?
thanks.

On Mon, Oct 17, 2011 at 3:55 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
I will try to look over the sip traces you sent, although it is tight schedule for the 3.2.0 right now -- so it may take few days.

Cheers,
Daniel


On 10/14/11 10:07 PM, Henrik Aagaard Sørensen wrote:
Yes, pbx.my-domain.com is pointing to the IP of FreeSwitch.
sip.my-domain.com is the domain name for Kamailio.

2011/10/14 Daniel-Constantin Mierla <miconda@gmail.com>


On 10/14/11 7:06 PM, Henrik Aagaard Sørensen wrote:
My dispatcher.list currently just contains:
1 pbx.my-domain.com:5060
Is pbx.my-domain.com pointing to the IP address of freeswitch? What is the domain name for kamailio ip address?

Daniel



I will provide a ngrep trace within an hour or two. Thank you so much for helping me. I really hope to get this solved.

2011/10/14 Daniel-Constantin Mierla <miconda@gmail.com>
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 <henrikaagaardsorensen@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@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 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

-- 
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

-- 
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