<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p><br>
    </p>
    <p>there can be NOTIFY requests with no body, as the one below has
      Content-Length 0 -- a matter of what is the call state, it can be
      a valid one.</p>
    <p><br>
    </p>
    <p>Regarding the fact that the NOTIFY is not delivered, have you
      done nat traversal for SUBSCRIBE? I see private address in the
      R-URI, so the problem can be in that part. You should do
      set_contact_alias() for SUBSCRIBE.</p>
    <p><br>
    </p>
    <p>Cheers,<br>
      Daniel</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 30.09.19 15:16, Petarr Jones wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:HK0PR03MB4900691C65A8059F04AF0029A1820@HK0PR03MB4900.apcprd03.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Hi</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <div style="margin: 0px; font-size: 12pt; font-family: Calibri,
          Arial, Helvetica, sans-serif">
          <span style="margin: 0px">I am using Kamailio 5.2 with the
            following PRESENCE modules and parameters:</span></div>
        <div style="margin: 0px; font-size: 12pt; font-family: Calibri,
          Arial, Helvetica, sans-serif">
          <span style="margin: 0px"><br>
          </span></div>
        <div style="margin: 0px; font-size: 12pt; font-family: Calibri,
          Arial, Helvetica, sans-serif">
          <span style="margin: 0px"><span style="margin: 0px">loadmodule
              "presence.so"<br>
            </span>
            <div style="margin: 0px">loadmodule "presence_xml.so"<br>
            </div>
            <div style="margin: 0px">loadmodule "presence_dialoginfo.so"<br>
            </div>
            <div style="margin: 0px">loadmodule "presence_reginfo.so"<br>
            </div>
            <div style="margin: 0px"><br>
            </div>
            <div style="margin: 0px">
              <div style="margin: 0px">modparam("presence", "db_url",
                DBURL)<br>
              </div>
              <div style="margin: 0px">modparam("presence_xml",
                "db_url", DBURL)<br>
              </div>
              <div style="margin: 0px">modparam("presence_xml",
                "force_active", 1)<br>
              </div>
              <div style="margin: 0px">modparam("presence_xml",
                "disable_bla", 0)<br>
              </div>
              <div style="margin: 0px">modparam("presence_xml",
                "integrated_xcap_server", 1)<br>
              </div>
              <span style="margin: 0px"></span><span style="font-family:
                Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"> </span><br>
            </div>
            <span style="margin: 0px"></span></span></div>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        I have a Yealink T28P phone which has two lines/extensions
        successfully registered with Kamailio 5.2. When I setup the BLF
        light to monitor one of the extensions, I get the correct
        SUBSCRIBE record but the NOTIFY record is sent over and over
        again until it fails. </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
-----------------------------------------------------------------------------------------------------------</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <span>NOTIFY <a class="moz-txt-link-freetext" href="sip:101@192.168.1.123:5062">sip:101@192.168.1.123:5062</a> SIP/2.0<br>
        </span>
        <div>Via: SIP/2.0/UDP
          45.45.45.45;branch=z9hG4bKd16c.03b5bc97000000000000000000000000.0<br>
        </div>
        <div>To: <a class="moz-txt-link-rfc2396E" href="sip:101@45.45.45.45"><sip:101@45.45.45.45></a>;tag=1366853594<br>
        </div>
        <div>From:
          <a class="moz-txt-link-rfc2396E" href="sip:104@45.45.45.45"><sip:104@45.45.45.45></a>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-e6c3<br>
        </div>
        <div>CSeq: 2 NOTIFY<br>
        </div>
        <div>Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:594386350@192.168.1.123">594386350@192.168.1.123</a><br>
        </div>
        <div>Content-Length: 0<br>
        </div>
        <div>User-Agent: kamailio (5.2.4 (x86_64/linux))<br>
        </div>
        <div>Max-Forwards: 70<br>
        </div>
        <div>Event: dialog<br>
        </div>
        <span>Contact: <a class="moz-txt-link-rfc2396E" href="sip:45.45.45.45:5060;transport=udp"><sip:45.45.45.45:5060;transport=udp></a></span>  </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <span style="font-family: Calibri, Arial, Helvetica, sans-serif;
          background-color: rgb(255, 255, 255); display: inline
          !important">-----------------------------------------------------------------------------------------------------------</span><br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <span style="font-family: Calibri, Arial, Helvetica, sans-serif;
          background-color: rgb(255, 255, 255); display: inline
          !important"><br>
        </span></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        When I register the phone with Freeswitch instead and run the
        same test, the NOTIFY works and I get a much longer NOTIFY
        message</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <span style="font-family: Calibri, Arial, Helvetica, sans-serif;
          background-color: rgb(255, 255, 255); display: inline
          !important">-----------------------------------------------------------------------------------------------------------</span><br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <span>NOTIFY <a class="moz-txt-link-freetext" href="sip:100@192.168.1.123:5064">sip:100@192.168.1.123:5064</a> SIP/2.0<br>
        </span>
        <div>Via: SIP/2.0/UDP
          66.66.66.66;rport;branch=z9hG4bK1mXej9r2605UB<br>
        </div>
        <div>Route: <a class="moz-txt-link-rfc2396E" href="sip:55.55.55.55:5064"><sip:55.55.55.55:5064></a>;transport=udp<br>
        </div>
        <div>Max-Forwards: 70<br>
        </div>
        <div>From: <a class="moz-txt-link-rfc2396E" href="sip:102@66.66.66.66"><sip:102@66.66.66.66></a>;tag=xUoVghM5syHc<br>
        </div>
        <div>To: "100" <a class="moz-txt-link-rfc2396E" href="sip:100@66.66.66.66"><sip:100@66.66.66.66></a>;tag=1720892352<br>
        </div>
        <div>Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:2583553127@192.168.1.123">2583553127@192.168.1.123</a><br>
        </div>
        <div>CSeq: 1178415701 NOTIFY<br>
        </div>
        <div>Contact: <a class="moz-txt-link-rfc2396E" href="sip:102@66.66.66.66:5060"><sip:102@66.66.66.66:5060></a><br>
        </div>
        <div>User-Agent:
          FreeSWITCH-mod_sofia/1.10.1-release-12-f9990221e6~64bit<br>
        </div>
        <div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO,
          UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<br>
        </div>
        <div>Supported: timer, path, replaces<br>
        </div>
        <div>Event: dialog<br>
        </div>
        <div>Allow-Events: talk, hold, conference, presence,
          as-feature-event, dialog, line-seize, call-info, sla,
          include-session-description, presence.winfo, message-summary,
          refer<br>
        </div>
        <div>Subscription-State: active;expires=1800<br>
        </div>
        <div>Content-Type: application/dialog-info+xml<br>
        </div>
        <div>Content-Length: 149<br>
        </div>
        <div><br>
        </div>
        <div>xml version="1.0"?><br>
        </div>
        <div>dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
          version="0" state="full" entity=<a class="moz-txt-link-rfc2396E" href="sip:102@66.66.66.66">"sip:102@66.66.66.66"</a>><br>
        </div>
        <span>dialog-info></span><br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <span><span style="font-family: Calibri, Arial, Helvetica,
            sans-serif; background-color: rgb(255, 255, 255); display:
            inline !important">-----------------------------------------------------------------------------------------------------------</span><br>
        </span></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Should the message coming from Kamailio contain more data or is
        that not the issue. Should I be including other modules also?</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        All guidance would be appreciated.</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<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, Oct 21-23, 2019, Berlin, Germany -- <a class="moz-txt-link-freetext" href="https://asipto.com/u/kat">https://asipto.com/u/kat</a></pre>
  </body>
</html>