[Kamailio-Users] Registrar: Save modified contact / set the q value

Alex Balashov abalashov at evaristesys.com
Tue Mar 30 19:14:36 CEST 2010


On 03/30/2010 01:10 PM, Daniel-Constantin Mierla wrote:
>
>
> On 3/30/10 5:58 PM, Alex Balashov wrote:
>> On 03/30/2010 11:36 AM, NeoTel Lists wrote:
>>
>>> Hello Everybody!
>>> Is there any way to save(domain, 0x02) the contact after it has been
>>> changed somehow in Kamailio <= 1.5?
>>
>> If it were not possible, how would nathelper:fix_nated_contact() work?
>
> this is slightly different thing, that is intended for forwarded
> requests, patching the contact address, which becomes effecting before
> forwarding.
>
> For save in location, still the contact from header is used, since most
> of the phones won't accept requests not matching their registered
> contact address.
>
> In the first version, in location was saved the ip and port of NAT box
> as contact address, but phones rejected calls. Now, the contact address
> from REGISTER is saved and along with it the source ip and port in
> received column.

Yes, but if NAT flag is set, then RURI will contain the received 
ip:port in the domain portion upon lookup(), right?  Otherwise, how do 
you get far-end NAT traversal for incoming calls (to the registrants) 
to work?

-- 
Alex Balashov - Principal
Evariste Systems LLC

Tel    : +1 678-954-0670
Direct : +1 678-954-0671
Web    : http://www.evaristesys.com/



More information about the Users mailing list