Nevermind. The problem was solved by calling this function: "pjsua_acc_set_online_status" after subscribing to presence. Tine Ur?i? wrote: > 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? -- Tine Ur?i? Razvojni in?enir CDE nove tehnologije d.o.o. Tehnolo?ki park 24 1000 Ljubljana, Slovenija GSM: +386 0 30 600 619 E-mail: tine at cde.si www.cde.si -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100907/c5bb8074/attachment.html>