<div dir="ltr"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">hong sun</b> <span dir="ltr">&lt;<a href="mailto:sunhongskyworth@gmail.com">sunhongskyworth@gmail.com</a>&gt;</span><br>
Date: 2013/5/29<br>Subject: self-presence was incorrect when application exited abnormally<br>To: <a href="mailto:devel@lists.opensips.org">devel@lists.opensips.org</a><br><br><br><div dir="ltr"><div>Hi list,</div><div><br>
</div><div>When the sip user agent corrupt or exit abnomally.</div><div>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.</div>

<div>Observe the state within presentity table:</div><div>I found the previous state still in the table,Is this correct?</div><div> </div><div><div>&lt;presence xmlns=&quot;urn:ietf:params:xml:ns:pidf&quot; xmlns:dm=&quot;urn:ietf:params:xml:ns:pidf:data-model&quot; xmlns:rpid=&quot;urn:ietf:params:xml:ns:pidf:rpid&quot; entity=&quot;<a href="mailto:sip%3A155@172.22.198.172" target="_blank">sip:155@172.22.198.172</a>&quot;&gt;</div>

<div> &lt;tuple id=&quot;pjVwalYvPLAv4DbMOIY9FY-Q8xpvSyfrik&quot;&gt;</div><div>  &lt;status&gt;</div><div>   &lt;basic&gt;open&lt;/basic&gt;</div><div>  &lt;/status&gt;</div><div>  &lt;timestamp&gt;2013-05-29T<font color="#0000ff">17:15:51</font>.751Z&lt;/timestamp&gt;</div>

<div> &lt;/tuple&gt;</div><div> &lt;dm:person id=&quot;pjmGu9nSuinwsmH7O1KhTOi.p.pDKqWLem&quot;&gt;</div><div>  &lt;rpid:activities&gt;</div><div>   &lt;rpid:busy/&gt;</div><div>  &lt;/rpid:activities&gt;</div><div> &lt;/dm:person&gt;</div>

<div>&lt;/presence&gt;</div><div> |            |        |</div><div>| 7683 | 155      | 172.22.198.172 | presence | a.1369700773.2319.357.5 | 1369822476 |    1369818876 | &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</div>

<div>&lt;presence xmlns=&quot;urn:ietf:params:xml:ns:pidf&quot; xmlns:dm=&quot;urn:ietf:params:xml:ns:pidf:data-model&quot; xmlns:rpid=&quot;urn:ietf:params:xml:ns:pidf:rpid&quot; entity=&quot;<a href="mailto:sip%3A155@172.22.198.172" target="_blank">sip:155@172.22.198.172</a>&quot;&gt;</div>

<div> &lt;tuple id=&quot;pjdLoDiY9ArvSs3JLEm8rLtjSSqZ.yHvGe&quot;&gt;</div><div>  &lt;status&gt;</div><div>   &lt;basic&gt;open&lt;/basic&gt;</div><div>  &lt;/status&gt;</div><div>  &lt;timestamp&gt;2013-05-29T<font color="#0000ff">17:14:42</font>.305Z&lt;/timestamp&gt;</div>

<div> &lt;/tuple&gt;</div><div> &lt;dm:person id=&quot;pjCZk6TrQ40yRipOpuVLpN434K9vRnSiFn&quot;&gt;</div><div>  &lt;rpid:activities&gt;</div><div>   &lt;rpid:busy/&gt;</div><div>  &lt;/rpid:activities&gt;</div><div> &lt;/dm:person&gt;</div>

<div>&lt;/presence&gt;</div></div><div><br></div><div><br></div><div>Best Regards,</div><div><br></div></div>
</div><br></div>