[Kamailio-Users] Registrar: Save modified contact / set the q value
Daniel-Constantin Mierla
miconda at gmail.com
Tue Mar 30 19:10:14 CEST 2010
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.
Cheers,
Daniel
--
Daniel-Constantin Mierla * http://www.asipto.com/ *
http://twitter.com/miconda *
http://www.linkedin.com/in/danielconstantinmierla
More information about the sr-users
mailing list