Fabian Borot schrieb:
thanks a lot Klaus, I changed it to
fix_nated_contact(); and it is working.
I guess that that is the right function to use right?.
No.
You should handle REGISTER with fix_nated_register and set the
receive_avp parameter in nathelper and registrar module to the same value.
e.g.:
modparam("nathelper", "received_avp", "$avp(i:42)")
modparam("registrar", "received_avp", "$avp(i:42)")
For all other requests and messages the fix_nated_contact is ok.
regards
klaus
Date: Wed, 12 Nov 2008 00:44:06 +0100
From: klaus.mailinglists(a)pernau.at
To: fborot(a)hotmail.com
CC: users(a)lists.kamailio.org
Subject: Re: [Kamailio-Users] problem with fix_nated_register() function
Klaus Darilion wrote:
and
http://kamailio.org/docs/modules/1.4.x/registrar.html#id2467816
klaus
------------------------------------------------------------------------
Get 5 GB of storage with Windows Live Hotmail. Sign up today.
<http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112008>