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

2011-10-14 Thread Henrik Aagaard Sørensen
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 > > > 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-do

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

2011-10-14 Thread Daniel-Constantin Mierla
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

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

2011-10-14 Thread Henrik Aagaard Sørensen
My dispatcher.list currently just contains: 1 pbx.my-domain.com:5060 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 > Hello, > > > On 10/14/11 4:48 PM, Henrik Aagaard Sørensen wrote: >

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

2011-10-14 Thread Daniel-Constantin Mierla
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

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

2011-10-14 Thread Daniel-Constantin Mierla
Hello, On 10/14/11 4:32 PM, Henrik Aagaard Sørensen wrote: Hi Daniel (and everyone else). This is a tshark trace (is that as good as ngrep?) ngrep is much better to read everything, since the content of the sip message is there. Use 'ngrep -d any -W byline -qt port 5060' to get everything f

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

2011-10-14 Thread Henrik Aagaard Sørensen
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 pa

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

2011-10-14 Thread Henrik Aagaard Sørensen
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://past

Re: [SR-Users] Force socket on reply

2011-10-14 Thread Jijo
Hello, Please find the diff. t_reply_A.c is the orginal and t_reply_B.c is the modified file. --- t_reply_A.c 2011-10-14 10:05:45.093352500 -0400 +++ t_reply_B.c 2011-10-16 01:10:53.179916800 -0400 @@ -1726,6 +1726,8 @@ reply route */

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

2011-10-14 Thread Daniel-Constantin Mierla
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/

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

2011-10-14 Thread Henrik Aagaard Sørensen
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 fail

Re: [SR-Users] Force socket on reply

2011-10-14 Thread Daniel-Constantin Mierla
Hello, can you send the patch with 'git diff' or 'diff -u' -- it will be easier to apply and analyze it. Once I get it, I will look over the case you reported in more details. Thanks, Daniel On 10/13/11 10:23 PM, Jijo wrote: Hi Daniel.. I'm using version 3.1.0. I looked at the change but i