Hi Daniel (and everyone else).

I'm still facing problems when using Kamailio as dispatcher in front of FreeSwitch. Everything works when connected directly to FreeSwitch. When connected via Kamailio, some calls fails in certain directions between devices.

I've setup tshark on FreeSwitch now to analyze the input from both scenarios.

When connected directly to FreeSwitch, which works, this is my INVITE:
http://pastebin.com/p4CZJJz3

This is how the INVITE looks when it fails via Kamailio:
http://pastebin.com/9AFEsuVs

Can anyone help my out, to see if the problems is with Kamailio or FreeSwitch?

2011/9/30 Henrik Aagaard Sørensen <henrikaagaardsorensen@gmail.com>
Hi Daniel.

I've tried a lot with FreeSwitch, but somehow I still thinks Kamailio does something to the SIP messages etc. as everything works without Kamailio. This is my kamailio.cfg: http://pastebin.com/PcVPnh6Q

2011/9/30 Henrik Aagaard Sørensen <henrikaagaardsorensen@gmail.com>
Hi Daniel.

I can see in FreeSwitch, from the log, this error:
2011-09-30 06:49:58.275812 [ERR] sofia_reg.c:2136 Cannot locate any authentication credentials to complete an authentication request for realm '"10.0.1.7"'

That I do not get when connecting directly to FreeSwitch, without Kamailio. So I guess Kamailio does something?

But I also guess the problem lies with FreeSwitch and not Kamailio, as it is FreeSwitch not accepting.


2011/9/30 Daniel-Constantin Mierla <miconda@gmail.com>
Hello,


On 9/29/11 10:28 PM, Henrik Aagaard Sørensen wrote:
I'm using Kamailio as dispatcher to a FreeSwitch setup.

Currently it "almost" work. I have 2 extensions connected to my FreeSwitch via Kamailio. However, I can only send calls one way because Kamailio seems to change the domain on the extension.
Kamailio is not changing anything by default, if something is changed, you executed a function for that. Which domain you think is changed by kamailio? Request URI, From or To addresses?

Can you provide ngrep traces of registration and a call for this case? Tell what you expected in the content of the sip messages and you think kamailio changed.

Cheers,
Daniel


One extension is registered with ID@sip.my-domain.com. This I can send calls to.
The other extension is registered with ID@local-ip. This I cannot send calls to.

Isn't it possible to have Kamailio register the extension on my FreeSwitch with @sip.my-domain.com?

If I register both extension directly to my FreeSwitch everything works.


_______________________________________________
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