Hello,

if the presence server is first hop after a nat router, then use fix_natted_contact() for SUBSCRIBE requests instead of add/set_contact_alias().

Cheers,
Daniel

On 05/10/14 06:52, Thanh Truong wrote:
Hi all,

I have install kamailio 4.2 latest version with presence module.

But I cant get contact status and send message.
[]
I see that SUBSCRIBE message send to wrong ip, it is sent to local IP and my sip phone do not receive it. But i do not know how to fix it.

please suggest to get it.

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda