[OpenSIPS-Users] pua/rls modules pidf-diff+xml support

Patrice Dalle patdalle at gmail.com
Tue Mar 9 15:46:00 CET 2010


Hi,

Does pua/rls modules properly support pidf-diff+xml?

When subscribing to a rls service (that contains an embedded resource list)
I am able to get presence state notifications for buddies that publish their
state using pidf full (pidf+xml).
PUBLISH request is as below:

PUBLISH sip:5905 at raftman SIP/2.0
...
Event: presence
Content-Type: application/pidf+xml
Content-Length: 253

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<pidf:presence xmlns:pidf="urn:ietf:params:xml:ns:pidf">
    <pidf:tuple id="a87667b">
        <pidf:status>
            <pidf:basic>open</pidf:basic>
        </pidf:status>
        <pidf:note/>
    </pidf:tuple>
</pidf:presence>

But when buddies use pidf-diff such as below I cannot get presence
notification updates.

PUBLISH sip:5905 at raftman SIP/2.0
...
Event: presence
Content-Type: application/pidf-diff+xml
Content-Length: 301

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<diff:pidf-full xmlns:pidf="urn:ietf:params:xml:ns:pidf"
xmlns:diff="urn:ietf:params:xml:ns:pidf-diff">
    <pidf:tuple id="aab0fa2">
        <pidf:status>
            <pidf:basic>open</pidf:basic>
        </pidf:status>
        <pidf:note/>
    </pidf:tuple>
</diff:pidf-full>

According to RFC5262 it is legal to have a pidf-full XML element within an
"application/pidf-diff+xml" payload.
Is it a bug or it is simply not supported?

Thanks
Patrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100309/fade8aba/attachment.htm 


More information about the Users mailing list