<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Tito,<br>
      <br>
      You can check the in-memory watchers (subscribers) via
      subs_phtable_list MI function:<br>
         
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/presence.html#id294364">http://www.opensips.org/html/docs/modules/2.2.x/presence.html#id294364</a><br>
      <br>
      Do you see any changes in the listed subscription after the un-subscribe
      is received ?<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 01/26/2017 01:33 AM, Tito Cumpen
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANZPVB51xzcCMe_T7JM8Xp6KBUzBzW24-SKD=t6_kHV83SE-AA@mail.gmail.com"
      type="cite">
      <div dir="ltr">the previously subscribed address. The UA will
        respond will respond with a 481 but opensips just continues to
        send the notifies although they are no longer subscribed. Is
        there any reason for this behavior?    I am seeing this from
        opensips logs WARNING:presence:p_tm_callback: completed with
        status [481] and to_tag [688612044cccea408f6da88d48100390-629d],
        cseq [CSeq: 1] Does anyone have any idea why ?</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Jan 25, 2017 at 6:30 PM, Tito
          Cumpen <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:tito@xsvoce.com" target="_blank">tito@xsvoce.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Group,
              <div><br>
              </div>
              <div>I am having issues handling the removal of
                subscriptions in presence. I am using opensips 2.2.2 git
                revision b0fbe60. My UA is sending subscription with an
                expire 0 and opensips responds with 200 ok like this </div>
              <div>
                <div>SIP/2.0 200 OK</div>
                <div>Via: SIP/2.0/WSS 192.0.2.67;received=xx.xx.xxx.<wbr>xx;rport=49679;branch=<wbr>z9hG4bK4495443</div>
                <div>To: <<a moz-do-not-send="true"
                    href="mailto:sip%3Auil5297@domain.org"
                    target="_blank">sip:uil5297@domain.org</a>>;tag=<wbr>688612044cccea408f6da88d481003<wbr>90-629d</div>
                <div>From: "Dave Drummond, MD" <<a
                    moz-do-not-send="true"
                    href="mailto:sip%3Addrummond.blah@domain.org"
                    target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:sip:ddrummond.blah@domain.org">sip:ddrummond.blah@domain.org</a></a><wbr>>;tag=j58ltmkvo3</div>
                <div>Call-ID: 2oc1fhb8h11j4qupkd4n</div>
                <div>CSeq: 4305 SUBSCRIBE</div>
                <div>Expires: 0</div>
                <div>Contact: <sip:serveriphere:5060;<wbr>transport=wss></div>
                <div>Server: <a moz-do-not-send="true"
                    href="http://domain.org" target="_blank">domain.org</a></div>
                <div>Content-Length: 0</div>
              </div>
              <div><br>
              </div>
              <div>opensips continues to send notifies on reference to
                address th</div>
              <div><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>