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

2010-03-30 Thread Alex Balashov
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? -- Alex Balashov - Principal Evariste Systems LLC Tel

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

2010-03-30 Thread NeoTel Lists
-Ursprüngliche Nachricht- Von: users-boun...@lists.kamailio.org [mailto:users-boun...@lists.kamailio.org] Im Auftrag von Alex Balashov Gesendet: Dienstag, 30. März 2010 17:58 An: users@lists.kamailio.org Betreff: Re: [Kamailio-Users] Registrar: Save modified contact / set the q value On 03/30/2010

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

2010-03-30 Thread Daniel-Constantin Mierla
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

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

2010-03-30 Thread Daniel-Constantin Mierla
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

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

2010-03-30 Thread Alex Balashov
On 03/30/2010 01:17 PM, Daniel-Constantin Mierla wrote: 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. Hmm.

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

2010-03-30 Thread Ovidiu Sas
If you need this in 1.5, try to fix the contact header and then forward the REGISTER back to yourself. The loopback REGISTER should have the fixed Contact header and now you can call save(). You will need to tweak a a little bit the config to get everything right into the usrloc (the loopback