[OpenSIPS-Devel] Nathelper not working any more with presence module
Vallimamod ABDULLAH
vallimamod.abdullah at imtelecom.fr
Thu Oct 21 23:59:34 CEST 2010
Hello List,
I have have noticed that the fix_nated_contact() function does not work anymore with handle_subscribe() in opensips 1.6.3 svn r7310 whereas it is working in 1.6.3 svn r7262.
When the phone sends a subscribe, it is answered correctly but the subsequent in-dialog initial notify is sent to the private ip of the original contact i.e. as if the fix_nated_contact is not called.
Here the config snippet: http://pastie.org/1239240
Here is the associated log: http://pastie.org/1239271 with r7310
For comparision, Here is the corresponding log with working r7262 : http://pastie.org/1239285
The main point is that in the correct behaviour I have the contact fixed and the notify routed correctly:
DBG:presence:build_dlg_t: CONTACT = sip:33500009700 at 88.xx.16.209:1145
DBG:tm:t_uac: next_hop=<sip:33500009700 at 88.xx.16.209:1145>
And it is not the case in the broken one:
DBG:presence:build_dlg_t: CONTACT = sip:33500009700 at 192.168.0.122:5060
DBG:tm:t_uac: next_hop=<sip:33500009700 at 192.168.0.122:5060>
Was there a change in fix_nated_contact() breaking this ?
Thank you !
--
Regards,
- Vallimamod
.
More information about the Devel
mailing list