Presence>status>xml>Wireshark

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

We're testing PJSIP on an OpenSER server.
There seems to be a problem with presence functionality.
Out of the box PJSIP says the status is "closed" eventhough it should 
say "open".

The generated XPIDF document looks like this (taken with wireshark):
<?xml version="1.0" encoding="UTF-8"?>
<presence entity="sip:test2 at test.com" xmlns="urn:ietf:params:xml:ns:pidf">
 <tuple id="ortoneRSqGQM8n5lclZB6pHPUvpPMnk1">
  <status>
   *<basic>closed</basic>*
  </status>
  <timestamp>2010-09-06T16:07:57.063Z</timestamp>
 </tuple>
</presence>


For reference - other SIP implementation (that works):
<?xml version="1.0"?>
<!DOCTYPE presence
PUBLIC "-//IETF//DTD RFCxxxx XPIDF 1.0//EN" "xpidf.dtd">
<presence>
<presentity uri="sip:testcde1 at im.detel.eu;method=SUBSCRIBE" />
<atom atomid="459473578">
<address uri="sip:test1 at test.com;user=ip">
*<status status="open" />
*<msnsubstatus substatus="online" />
</address>
</atom>
</presence>

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100907/caf8e9c2/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux