<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 10/10/14 14:54, Ovidiu Sas wrote:<br>
</div>
<blockquote
cite="mid:CAND0LksT+ub3==g35VCC9Dn+vCYcf7SWBOtKWgfw2wTC17GqMQ@mail.gmail.com"
type="cite">
<div dir="ltr">I don't think this is documented anywhere and it's
challenging for someone not familiar with kamailio to deal with
it.
<div>Maybe we should open a bug report to make presence
*_contact_alias friendly.</div>
</div>
</blockquote>
add_contact_alias() is not going to be (very easy) friendly, by the
way was coded -- probably targeting only the requests that are
proxied.<br>
<br>
It was the reason I added set_contact_alias() for fixing that, but I
was not sure how it will cope over all at the end. So the first
follow up fix was done inside dialog module (because I could test it
at that moment), I will push it now directly in tm to catch the
other modules sending requests within dialog.<br>
<br>
Eventually add_contact_alias() will be removed or 'aliased' to
set_contact_alias().<br>
<br>
Daniel<br>
<blockquote
cite="mid:CAND0LksT+ub3==g35VCC9Dn+vCYcf7SWBOtKWgfw2wTC17GqMQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>-ovidiu</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Oct 10, 2014 at 5:16 AM,
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:miconda@gmail.com"
target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
<br>
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().<br>
<br>
Cheers,<br>
Daniel<span class=""><br>
<br>
<div>On 05/10/14 06:52, Thanh Truong wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div style="word-wrap:break-word">Hi all,
<div><br>
</div>
<div>I have install kamailio 4.2 latest version
with presence module.</div>
<div><br>
</div>
<div>But I cant get contact status and send
message.</div>
</div>
</div>
</div>
</blockquote>
</span> []
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div style="word-wrap:break-word">
<div>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.</div>
<div><br>
</div>
<div>please suggest to get it.</div>
<span class="HOEnZb"><font color="#888888"> </font></span></div>
<span class="HOEnZb"><font color="#888888"> </font></span></div>
<span class="HOEnZb"><font color="#888888"> </font></span></div>
<span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<pre cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</font></span></div>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
VoIP Embedded, Inc.<br>
<a moz-do-not-send="true" href="http://www.voipembedded.com"
target="_blank">http://www.voipembedded.com</a>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>