<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      iirc, there has to be a subscription for each event. Not sure it
      was amended by new RFC documents. Perhaps the best is to check
      with
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      RFC 4662 and/or RFC 4826 (they are indicated by RLS module README).<br>
      <br>
      Have you tried with two subscriptions, one for each event?<br>
      <br>
      Cheers,<br>
      Daniel<br>
      <br>
      On 15/04/14 17:15, Mihai Marin wrote:<br>
    </div>
    <blockquote
cite="mid:CACKuv4VEuEiLmvUzY36G1bGTNJ6=zwWh-Yfqaes7jzqc8j5+WQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div>Does anyone has a clue on this one bellow? I'm stuck on
          this part because I don't know if the rls publish should
          include the watcherinfo part in the body or I should subscribe
          twice with 2 different events: event presence and event
          precence.winfo.</div>
        <div><br>
        </div>
        <div>Could you give me a hint on this one please?<br>
          <br>
          Thank you.</div>
        <div><br>
        </div>
        <div>Best regards,</div>
        <div>Mihai M<br>
          <br>
          <div class="gmail_quote">---------- Forwarded message
            ----------<br>
            From: <b class="gmail_sendername">Mihai Marin</b> <span
              dir="ltr"><<a moz-do-not-send="true"
                href="mailto:marinmihai@gmail.com">marinmihai@gmail.com</a>></span><br>
            Date: Mon, Apr 14, 2014 at 10:20 PM<br>
            Subject: rls multipart body does not contain watcherinfo+xml<br>
            To: "Kamailio (SER) - Users Mailing List" <<a
              moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>><br>
            <br>
            <br>
            <div dir="ltr">Hello Sirs,
              <div>I'm trying to accomplish a rls subscribe but I have
                some miss-understandings regarding the multipart publish
                response that should come.</div>
              <div><br>
              </div>
              <div>I'm using the integrated xcap from the kamailio with
                all the xml files added. My problem is that event if I
                request a multipart containing application/pidf+xml,
                application/rlmi+xml, application/watcherinfo+xml I only
                get the first two.</div>
              <div><br>
              </div>
              <div>The request contains the following headers:</div>
              <div>Event: presence<br>
              </div>
              <div>Supported: eventlist<br>
              </div>
              <div>Accept: multipart/related, application/pidf+xml,
                application/rlmi+xml, application/watcherinfo+xml<br>
              </div>
              <div><br>
              </div>
              <div>The response only sends the first two:<br>
              </div>
              <div>
                <pre>--4kSPpRGyJQct4DIhyGnyobqO
Content-Transfer-Encoding: binary
Content-ID: <a class="moz-txt-link-rfc2396E" href="mailto:1397508890.sip:bob@93.187.138.214.681064155"><1397508890.sip:bob@93.187.138.214.681064155></a>
Content-Type: application/rlmi+xml;charset="UTF-8"

<?xml version="1.0"?>
<list uri="<a moz-do-not-send="true" href="mailto:sip%3Abob@93.187.138.214" target="_blank">sip:bob@93.187.138.214</a>" xmlns="urn:ietf:params:xml:ns:rlmi" version="4" fullState="false"><resource uri="<a moz-do-not-send="true" href="mailto:sip%3Aalice@93.187.138.214" target="_blank">sip:alice@93.187.138.214</a>"><instance id="Scf8UhwQ" state="active" cid=<a class="moz-txt-link-rfc2396E" href="mailto:1397508890.sip:alice@93.187.138.214.1552580371">"1397508890.sip:alice@93.187.138.214.1552580371"</a>/></resource></list>

--4kSPpRGyJQct4DIhyGnyobqO
Content-Transfer-Encoding: binary
Content-ID: <a class="moz-txt-link-rfc2396E" href="mailto:1397508890.sip:alice@93.187.138.214.1552580371"><1397508890.sip:alice@93.187.138.214.1552580371></a>
Content-Type: application/pidf+xml

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" entity="<a moz-do-not-send="true" href="mailto:sip%3Aalice@93.187.138.214" target="_blank">sip:alice@93.187.138.214</a>">
  <dm:person id="p6850">
    <rpid:activities/>
    <rpid:status-icon><a moz-do-not-send="true" href="http://93.187.138.214:5060/xcap-root/oma_status-icon/users/sip:alice@93.187.138.214/sip_communicator" target="_blank">http://93.187.138.214:5060/xcap-root/oma_status-icon/users/sip:alice@93.187.138.214/sip_communicator</a></rpid:status-icon>
  </dm:person>
  <tuple id="t7673">
    <status>
      <basic>open</basic>
    </status>
    <contact><a moz-do-not-send="true" href="mailto:sip%3Aalice@93.187.138.214" target="_blank">sip:alice@93.187.138.214</a></contact>
    <note>Online</note>
  </tuple>
</presence>

--4kSPpRGyJQct4DIhyGnyobqO--</pre>
                <pre>
</pre>
                <pre>What do I missing? I need the body part with the watchers info in oder to see the state of the watcher (active, pending) - to accomplish the authorization for users.</pre>
                <pre>Thank you in advance for you help.</pre>
                <pre>Best regards,</pre>
                <pre>Mihai M</pre>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<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>