Hi Duane,<br><br>Sure looks like a Bria problem.. If it sends publishes with status closed, the presence server doesn't have what else to do but to believe that is the real state that it wants to publish. Maybe something in Bria's configuration leads to this...<br>
<br>Regards,<br>Anca Vamanu<br><br><div class="gmail_quote">On Mon, Jun 20, 2011 at 5:10 AM, <span dir="ltr"><<a href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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 <a href="http://108.67.136.231:31194" target="_blank">108.67.136.231:31194</a> -> <a href="http://173.203.93.107:5060" target="_blank">173.203.93.107:5060</a>
<br>PUBLISH sip:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@<a href="http://irock.com" target="_blank">irock.com</a> 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:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@108.67.136.231:31194;transport=udp>.
<br>To: "<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>"<sip:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@<a href="http://irock.com" target="_blank">irock.com</a>>.
<br>From: "<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>"<sip:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@<a href="http://irock.com" target="_blank">irock.com</a>>;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:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@<a href="http://irock.com" target="_blank">irock.com</a>'><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 <a href="http://173.203.93.107:5060" target="_blank">173.203.93.107:5060</a> -> <a href="http://108.67.136.231:31194" target="_blank">108.67.136.231:31194</a>
<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:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@<a href="http://irock.com" target="_blank">irock.com</a>>;tag=31ec65e482de21ae66d7d44df69d3d8c-c4ef.
<br>From: "<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>"<sip:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@<a href="http://irock.com" target="_blank">irock.com</a>>;tag=b5e76db3.
<br>Call-ID: ZGI1OTA4NmEyYjAzZjFiY2VhNDY4OWY1Njk5MWIwZDA..
<br>CSeq: 1 SUBSCRIBE.
<br>Expires: 3600.
<br>Contact: <<a href="http://sip:sa@173.203.93.107:5060" target="_blank">sip:sa@173.203.93.107:5060</a>>.
<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 | <a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a> | <a href="http://irock.com" target="_blank">irock.com</a> | 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:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@<a href="http://irock.com" target="_blank">irock.com</a>'><tuple id='t1f9e4914'><status><basic>closed</basic></status></tuple><dm:person id='pf69e3d57'></dm:person></presence> | | |
<br>| 2916 | <a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a> | <a href="http://irock.com" target="_blank">irock.com</a> | 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:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@<a href="http://irock.com" target="_blank">irock.com</a>'><tuple id='tb1de818c'><status><basic>closed</basic></status></tuple><dm:person id='p43342606'></dm:person></presence> | | |
<br>| 2915 | <a href="tel:9013349019" value="+19013349019" target="_blank">9013349019</a> | <a href="http://irock.com" target="_blank">irock.com</a> | 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:<a href="tel:9013349019" value="+19013349019" target="_blank">9013349019</a>@<a href="http://irock.com" target="_blank">irock.com</a>'><tuple id='t5762491b'><status><basic>open</basic></status></tuple><dm:person id='pb4ae929f'><dm:note>Available</dm:note></dm:person></presence> | | |
<br>| 2917 | <a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a> | <a href="http://irock.com" target="_blank">irock.com</a> | 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:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@<a href="http://irock.com" target="_blank">irock.com</a>'><tuple id='t4246cfbe'><status><basic>closed</basic></status></tuple><dm:person id='p49e1604e'></dm:person></presence> | | |
<br>| 2918 | <a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a> | <a href="http://irock.com" target="_blank">irock.com</a> | 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:<a href="tel:9013349018" value="+19013349018" target="_blank">9013349018</a>@<a href="http://irock.com" target="_blank">irock.com</a>'><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???<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>