I have OpenSIPS set up with Presence and am using Counterpath's Bria Client. In the past I was able to get Bria/OpenSIPS/OpenXCAP to all work. Now I am trying to get it to work again and I'm having problems. When two users agree to view each others presence it doesn't work. I see that each user is recieving NOTIFY messages about the other users presence but the Bria client doesn't update the users status. I see that every time a Bria client starts up it is Publishing its presence but it always has <basic>closed</basic> in the xml
<br />
<br />U 2011/06/19 21:00:12.240159 108.67.136.231:31194 -> 173.203.93.107:5060
<br />PUBLISH sip:9013349018@irock.com SIP/2.0.
<br />Via: SIP/2.0/UDP 108.67.136.231:31194;branch=z9hG4bK-d8754z-96515b7ec527b151-1---d8754z-;rport.
<br />Max-Forwards: 70.
<br />Contact: <sip:9013349018@108.67.136.231:31194;transport=udp>.
<br />To: "9013349018"<sip:9013349018@irock.com>.
<br />From: "9013349018"<sip:9013349018@irock.com>;tag=71799813.
<br />Call-ID: NTJkNzgyYmMwMDQ1ZWUwMzExMzkyM2Y1OTgxNDgwN2U..
<br />CSeq: 1 PUBLISH.
<br />Expires: 3600.
<br />Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.
<br />Content-Type: application/pidf+xml.
<br />User-Agent: Bria 3 release 3.2.1 stamp 62387.
<br />Event: presence.
<br />Content-Length: 469.
<br />.
<br /><?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' xmlns:caps='urn:ietf:params:xml:ns:pidf:caps' entity='sip:9013349018@irock.com'><tuple id='td9cbb9c2'><status><basic>closed</basic></status></tuple><dm:person id='p0f48c387'></dm:person></presence>
<br />#
<br />U 2011/06/19 21:00:12.244401 173.203.93.107:5060 -> 108.67.136.231:31194
<br />SIP/2.0 200 OK.
<br />Via: SIP/2.0/UDP 108.67.136.231:31194;branch=z9hG4bK-d8754z-72b75f4a63995f60-1---d8754z-;rport=31194.
<br />To: <sip:9013349018@irock.com>;tag=31ec65e482de21ae66d7d44df69d3d8c-c4ef.
<br />From: "9013349018"<sip:9013349018@irock.com>;tag=b5e76db3.
<br />Call-ID: ZGI1OTA4NmEyYjAzZjFiY2VhNDY4OWY1Njk5MWIwZDA..
<br />CSeq: 1 SUBSCRIBE.
<br />Expires: 3600.
<br />Contact: <sip:sa@173.203.93.107:5060>.
<br />Server: Aethercommunications SIP Proxy.
<br />Content-Length: 0.
<br />
<br />
<br />
<br />
<br />Then in the Presentity table I have the following
<br />
<br />mysql> select * from presentity;
<br />+------+------------+-----------+----------+--------------------------+------------+---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+--------+
<br />| id | username | domain | event | etag | expires | received_time | body | extra_hdrs | sender |
<br />+------+------------+-----------+----------+--------------------------+------------+---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+--------+
<br />| 2914 | 9013349018 | irock.com | presence | a.1308527728.29011.36.15 | 1308537940 | 1308534340 | <?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' xmlns:caps='urn:ietf:params:xml:ns:pidf:caps' entity='sip:9013349018@irock.com'><tuple id='t1f9e4914'><status><basic>closed</basic></status></tuple><dm:person id='pf69e3d57'></dm:person></presence> | | |
<br />| 2916 | 9013349018 | irock.com | presence | a.1308527728.29010.37.2 | 1308538423 | 1308534823 | <?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' xmlns:caps='urn:ietf:params:xml:ns:pidf:caps' entity='sip:9013349018@irock.com'><tuple id='tb1de818c'><status><basic>closed</basic></status></tuple><dm:person id='p43342606'></dm:person></presence> | | |
<br />| 2915 | 9013349019 | irock.com | presence | a.1308527728.29012.38.7 | 1308538476 | 1308534876 | <?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' xmlns:caps='urn:ietf:params:xml:ns:pidf:caps' entity='sip:9013349019@irock.com'><tuple id='t5762491b'><status><basic>open</basic></status></tuple><dm:person id='pb4ae929f'><dm:note>Available</dm:note></dm:person></presence> | | |
<br />| 2917 | 9013349018 | irock.com | presence | a.1308527728.29013.33.2 | 1308538770 | 1308535170 | <?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' xmlns:caps='urn:ietf:params:xml:ns:pidf:caps' entity='sip:9013349018@irock.com'><tuple id='t4246cfbe'><status><basic>closed</basic></status></tuple><dm:person id='p49e1604e'></dm:person></presence> | | |
<br />| 2918 | 9013349018 | irock.com | presence | a.1308527728.29012.42.1 | 1308538823 | 1308535223 | <?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' xmlns:caps='urn:ietf:params:xml:ns:pidf:caps' entity='sip:9013349018@irock.com'><tuple id='td9cbb9c2'><status><basic>open</basic></status></tuple><dm:person id='p0f48c387'><dm:note>Available</dm:note></dm:person></presence> | | |
<br />+------+------------+-----------+----------+--------------------------+------------+---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+--------+
<br />
<br />
<br />If I delete all the Presentity records in the presentity table that have the <basic>closed</basic> in them then Presence status updates start working like they should. Then when the Bria client is shut down it updates the record in Presentity with <basic>closed</basic>.
<br />
<br />Where is the issue? What do I need to fix or is this a Counterpath Bria issue???