[OpenSIPS-Users] Fwd: self-presence was incorrect when application exited abnormally

hong sun sunhongskyworth at gmail.com
Fri May 31 02:50:30 CEST 2013


---------- Forwarded message ----------
From: hong sun <sunhongskyworth at gmail.com>
Date: 2013/5/29
Subject: self-presence was incorrect when application exited abnormally
To: devel at lists.opensips.org


Hi list,

When the sip user agent corrupt or exit abnomally.
After register again, the presence see by buddy is not correct,it will show
as the previous state permanently,and the state can not modify anymore by
himself.
Observe the state within presentity table:
I found the previous state still in the table,Is this correct?

<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:155 at 172.22.198.172
">
 <tuple id="pjVwalYvPLAv4DbMOIY9FY-Q8xpvSyfrik">
  <status>
   <basic>open</basic>
  </status>
  <timestamp>2013-05-29T17:15:51.751Z</timestamp>
 </tuple>
 <dm:person id="pjmGu9nSuinwsmH7O1KhTOi.p.pDKqWLem">
  <rpid:activities>
   <rpid:busy/>
  </rpid:activities>
 </dm:person>
</presence>
 |            |        |
| 7683 | 155      | 172.22.198.172 | presence | a.1369700773.2319.357.5 |
1369822476 |    1369818876 | <?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" entity="sip:155 at 172.22.198.172
">
 <tuple id="pjdLoDiY9ArvSs3JLEm8rLtjSSqZ.yHvGe">
  <status>
   <basic>open</basic>
  </status>
  <timestamp>2013-05-29T17:14:42.305Z</timestamp>
 </tuple>
 <dm:person id="pjCZk6TrQ40yRipOpuVLpN434K9vRnSiFn">
  <rpid:activities>
   <rpid:busy/>
  </rpid:activities>
 </dm:person>
</presence>


Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130531/1fb93d7c/attachment.htm>


More information about the Users mailing list