Oh, wait. I think I understand what you're asking. Set a flag when the
initial INVITE is being processed and NAT is detected; this will show
up in the
When handling the initial INVITE from the customer set a flag. This
will show back up on re-INVITE. Works for me.
On 02/03/2010 03:43 PM, Alex Balashov wrote:
On 02/03/2010 03:39 PM, brandon(a)cryy.com wrote:
the actual problem is upon receipt of the invite
to the UAC, in which it
responds with 200 OK and Contact of RFC1918 address, in which is not
being fix
natted contact because at this point kamailio is not aware of the UAC
being
behind nat due to the reinvite passing the nat uac test because we can
not
tell with the invite coming downstream from PSTN, however can only tell
upon receipt of 200 ok back from client.
So, apply the nat_uac_test() to the 200 OK.
--
Alex Balashov - Principal
Evariste Systems LLC
Tel : +1 678-954-0670
Direct : +1 678-954-0671
Web :
http://www.evaristesys.com/