On 3/30/10 7:14 PM, Alex Balashov wrote:
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?
No, r-uri is the contact address from REGISTER.
Otherwise, how do you get far-end NAT traversal for incoming calls (to the registrants) to work?
dst_uri field is set to received ip:port, so the nat box is used as outbound proxy.
Cheers, Daniel