<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>are you using presence modules in kamailio to handle the
      SUBSCRIBE? Or you forward it to the other party and the NOTIFY
      should be end-to-end?</p>
    <p>Can you capture with ngrep the SIP traffic on kamailio server for
      SUBSCRIBE and NOTIFY transactions? If yes, you can send it here
      and we can check if something is wrong with the routing headers.<br>
    </p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 04.07.17 14:02, Nguyen Tran Nhan
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAO2rVySXcjC0zg9KOh5zGJHH=zemO2D3PiiEBUCcQ-Zy1cPFbw@mail.gmail.com">
      <div dir="ltr">I used pjsip in client side to send NOTIFY when
        user change status (presence), another user already SUBSCRIBE to
        this user should receive NOTIFY message from kamailio but it did
        not. I still dont understand why comment out alias line effect
        to this issue. Any advise?
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Nhan</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Jul 4, 2017 at 6:52 PM,
          Daniel-Constantin Mierla <span dir="ltr"><<a
              href="mailto:miconda@gmail.com" target="_blank"
              moz-do-not-send="true">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 text="#000000" bgcolor="#FFFFFF">
              <p>Which party/application sends the NOTIFY?</p>
              <p>The alias is typically the sip domain, so there should
                be some misconfiguration in another place.<span
                  class="HOEnZb"><font color="#888888"><br>
                  </font></span></p>
              <span class="HOEnZb"><font color="#888888">
                  <p>Daniel<br>
                  </p>
                </font></span>
              <div>
                <div class="h5"> <br>
                  <div class="m_1444844642287166379moz-cite-prefix">On
                    04.07.17 13:34, Nguyen Tran Nhan wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div class="gmail_extra">I figured out that when I
                        add alias=<a href="http://mydomain.com"
                          target="_blank" moz-do-not-send="true">mydomain.com</a>
                        than kamailio did not send notify when uac send
                        public message. I comment out alias line in cfg
                        file than it works.</div>
                      <div class="gmail_extra"><br>
                      </div>
                      <div class="gmail_extra">Thanks,</div>
                      <div class="gmail_extra">Nhan</div>
                      <div class="gmail_extra"><br>
                      </div>
                      <div class="gmail_extra"><br>
                        <div class="gmail_quote">On Tue, Jul 4, 2017 at
                          6:28 PM, Daniel-Constantin Mierla <span
                            dir="ltr"><<a
                              href="mailto:miconda@gmail.com"
                              target="_blank" moz-do-not-send="true">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">Hello,<br>
                            <span><br>
                              <br>
                              On 16.06.17 04:35, Nguyen Tran Nhan wrote:<br>
                              > Hello,<br>
                              > I am using Kamailio with SEMS and
                              rtpproxy for public ip address. I<br>
                              > got issue that SUBSCRIBE message does
                              not work. SUBSCRIBE works well<br>
                              > with private ip address. Anyone face
                              with this issue?<br>
                            </span>what do you mean by "SUBSCRIBE
                            message does not work"? Is not received<br>
                            by Kamailio? Or is not routed as expected?
                            Try to describe in more<br>
                            details what it happens and what you expect
                            to happen in order to be<br>
                            able to help.<br>
                            <br>
                            Cheers,<br>
                            Daniel<br>
                            <span class="m_1444844642287166379HOEnZb"><font
                                color="#888888"><br>
                                --<br>
                                Daniel-Constantin Mierla<br>
                                <a href="http://www.twitter.com/miconda"
                                  rel="noreferrer" target="_blank"
                                  moz-do-not-send="true">www.twitter.com/miconda</a>
                                -- <a
                                  href="http://www.linkedin.com/in/miconda"
                                  rel="noreferrer" target="_blank"
                                  moz-do-not-send="true">www.linkedin.com/in/miconda</a><br>
                                Kamailio Advanced Training - <a
                                  href="http://www.asipto.com"
                                  rel="noreferrer" target="_blank"
                                  moz-do-not-send="true">www.asipto.com</a><br>
                                Kamailio World Conference - <a
                                  href="http://www.kamailioworld.com"
                                  rel="noreferrer" target="_blank"
                                  moz-do-not-send="true">www.kamailioworld.com</a><br>
                                <br>
                              </font></span></blockquote>
                        </div>
                        <br>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                  <pre class="m_1444844642287166379moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_1444844642287166379moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_1444844642287166379moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="m_1444844642287166379moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - <a class="m_1444844642287166379moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>