Hi All
I've found a bug in the presence messaging XML reporting when a Jitsi client goes off-line (or the Jitsi client is closed)
Using Windows X64 version 2.5.5216
On the receiving client: the XML in the presence message received is showing as the last presence state.
This seems due to the fact that the sending client does not issue any XML in the OffLine presence messages being sent out.
Here are my tests with a Bria client (that works) and a Jitsi client that does not using Wireshark.
Bria Presence XML Message "Offline"
<?xml version='1.0' encoding='UTF-8'?><presence xmlns='urn:ietf:params:xml:ns:pidf' xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model' xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid' xmlns:c='urn:ietf:params:xml:ns:pidf:cipid' xmlns:lt='urn:ietf:params:xml:ns:location-type' entity='sip:4417437702531253@srv02.vipe-x.co.uk'><tuple id='tc04eeb21'><status><basic>closed</basic></status></tuple><dm:person id='pb468801f'><dm:note>Offline</dm:note></dm:person></presence>
Bria Presence XML Message "Online"
<?xml version='1.0' encoding='UTF-8'?><presence xmlns='urn:ietf:params:xml:ns:pidf' xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model' xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid' xmlns:c='urn:ietf:params:xml:ns:pidf:cipid' xmlns:lt='urn:ietf:params:xml:ns:location-type' entity='sip:4417437702531253@srv02.vipe-x.co.uk'><tuple id='tc04eeb21'><status><basic>open</basic></status></tuple><dm:person id='pb468801f'><dm:note>Available</dm:note></dm:person></presence>
Jitsi Presence XML Message "OnLine"
<?xml version="1.0" encoding="UTF-8" standalone="no"?><presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" entity="sip:4417437702531253@srv02.vipe-x.co.uk"><dm:person id="p8060"><rpid:activities/></dm:person><tuple id="t931"><status><basic>open</basic></status><contact>sip:4417437702531253@srv02.vipe-x.co.uk</contact><note>Online</note></tuple></presence>
Jitsi Presence Message "OffLine" (No XML)
l;?BE@8Mku@8NOTIFY sip:4417437702531253@85.159.128.29:37708;transport=udp;registering_acc=srv02_vipe-x_co_uk SIP/2.0
Via: SIP/2.0/UDP 77.107.117.165:5060;branch=z9hG4bK-524287-1---a3164c2d2b6c4b60;rport
Via: SIP/2.0/UDP 77.107.117.165:5065;branch=z9hG4bK-524287-1---0835bd3f5817e804;rport=5065
Max-Forwards: 69
Contact: <sip:4417437702501260@77.107.117.165:5065>
Call-ID: 5056ee0bc72eaeabb7aeb064f6c67f2d@0:0:0:0:0:0:0:0
CSeq: 3 NOTIFY
Subscription-State: terminated;reason=timeout
Event: presence
Content-Length: 0
Hope this is clear
Regards
Rob
Rob Braiden
Engineer
+44 8444 439 640
Rob.Braiden@gcicom.net<mailto:Rob.Braiden@gcicom.net>
gcicom.net<http://www.gcicom.net>
<http://milespub.circdata-solutions.co.uk/Forms/CBUS/CSS.aspx?source=GCICom> [cid:image9a1390.JPG@b9d96056.48a2f0e5] <http://www.comms-dealer.com/industry-news/fast-growing-gci-ranked-investec-hot-100-listing> [cid:image9b661a.JPG@97ec3f70.479833fc] <http://www.fasttrack.co.uk/fasttrack/leagues/dbtechDetails.asp?siteID=3&compID=3722&yr=2013>
[See the GCI Website]<http://www.gcicom.net>
GCI Shrewsbury
Global House Sitka Drive
Shrewsbury Business Park
Shrewsbury SY2 6LG GCI Registered Office
Global House
2 Crofton Close
Lincoln
LN3 4NT [cid:image77c525.JPG@d5ed7846.428f81ac] <https://www.facebook.com/gcitelecom> [cid:image0f8be6.JPG@90ea32ac.48a45f2b] <https://twitter.com/GCI_Com> [cid:image6b2ed2.PNG@46937b2d.449c1bb1] [See the GCI Website] <http://www.linkedin.com/company/gci-com?trk=cp_followed_name_gci-com>
Please consider the environment and don't print this e-mail unless you really need to.
GCI is a trading name of the GCI Group of companies. The GCI Group includes: GCI Telecom Group Limited (Company registration number 5396496) Edge Telecommunications Limited (Company registration number 5748740) Edge Telecom Limited (Company registration number 3101247) IP Infrastructures Limited (Company registration number 04657026) Invomo Limited (Company registration number 06267056) Netservices UK Limited (Company registration number 07118768) Wan Services Limited (Company registration number 04082862) Centrinet Limited (Company registration number 03897687) Orchid Business Computing Limited (Company registration number 03337756) and Digital IP Limited (Company registration number 02868515). Place of registration is England and Wales and registered office address is Global House, 2 Crofton Close, Lincoln LN3 4NT.
···
To: "253"<sip:4417437702531253@srv02.vipe-x.co.uk>;tag=f2fd3d9a
From: <sip:4417437702501260@srv02.vipe-x.co.uk>;tag=c8e75425