[SR-Users] rls multipart body does not contain watcherinfo+xml

Mihai Marin marinmihai at gmail.com
Mon Apr 14 21:20:24 CEST 2014

Hello Sirs,
I'm trying to accomplish a rls subscribe but I have some
miss-understandings regarding the multipart publish response that should

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.

The request contains the following headers:
Event: presence
Supported: eventlist
Accept: multipart/related, application/pidf+xml, application/rlmi+xml,

The response only sends the first two:

Content-Transfer-Encoding: binary
Content-ID: <1397508890.sip:bob at>
Content-Type: application/rlmi+xml;charset="UTF-8"

<?xml version="1.0"?>
<list uri="sip:bob at" xmlns="urn:ietf:params:xml:ns:rlmi"
version="4" fullState="false"><resource
uri="sip:alice at"><instance id="Scf8UhwQ" state="active"
cid="1397508890.sip:alice at"/></resource></list>

Content-Transfer-Encoding: binary
Content-ID: <1397508890.sip:alice at>
Content-Type: application/pidf+xml

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf"
entity="sip:alice at">
  <dm:person id="p6850">
  <tuple id="t7673">
    <contact>sip:alice at</contact>


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.

Thank you in advance for you help.

Best regards,

Mihai M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140414/c7694373/attachment.html>

More information about the sr-users mailing list