<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body 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<br>
    <br>
    <div class="moz-cite-prefix">On 05/10/14 06:52, Thanh Truong wrote:<br>
    </div>
    <blockquote
cite="mid:CAJK-L9zjREWpA4T9=XNVERh29+uyfKZJcUjuT+y_sqM3N_cn6g@mail.gmail.com"
      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>
    []
    <blockquote
cite="mid:CAJK-L9zjREWpA4T9=XNVERh29+uyfKZJcUjuT+y_sqM3N_cn6g@mail.gmail.com"
      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>
          </div>
        </div>
      </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>