I don't think this is documented anywhere and it's challenging for someone not familiar with kamailio to deal with it.
Maybe we should open a bug report to make presence *_contact_alias friendly.

-ovidiu

On Fri, Oct 10, 2014 at 5:16 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
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

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




--
VoIP Embedded, Inc.
http://www.voipembedded.com