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:5...@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:5...@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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users