[SR-Users] Kamailio as dispatcher fails due to from domain on extension.

Henrik Aagaard Sørensen henrikaagaardsorensen at gmail.com
Fri Sep 30 21:44:08 CEST 2011


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 at 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 at 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 at sip.my-domain.com. This I can send
>> calls to.
>> The other extension is registered with ID at 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 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/20110930/0ae64e79/attachment-0001.htm>


More information about the sr-users mailing list