<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.63636302947998px">After delete the entry </span><span style="font-family:arial,sans-serif;font-size:13.63636302947998px">by the time </span><span style="font-family:arial,sans-serif;font-size:13.63636302947998px;color:rgb(0,0,255)">17:14:42 </span><span style="font-family:arial,sans-serif;font-size:13.63636302947998px">manually from the sql database</span>,I can operate the presence status correctly again.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/31 hong sun <span dir="ltr"><<a href="mailto:sunhongskyworth@gmail.com" target="_blank">sunhongskyworth@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><div dir="ltr"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">hong sun</b> <span dir="ltr"><<a href="mailto:sunhongskyworth@gmail.com" target="_blank">sunhongskyworth@gmail.com</a>></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" target="_blank">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><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="<a href="mailto:sip%3A155@172.22.198.172" target="_blank">sip:155@172.22.198.172</a>"></div>
<div> <tuple id="pjVwalYvPLAv4DbMOIY9FY-Q8xpvSyfrik"></div><div> <status></div><div> <basic>open</basic></div><div> </status></div><div> <timestamp>2013-05-29T<font color="#0000ff">17:15:51</font>.751Z</timestamp></div>
<div> </tuple></div><div> <dm:person id="pjmGu9nSuinwsmH7O1KhTOi.p.pDKqWLem"></div><div> <rpid:activities></div><div> <rpid:busy/></div><div> </rpid:activities></div><div> </dm:person></div>
<div></presence></div><div> | | |</div><div>| 7683 | 155 | 172.22.198.172 | presence | a.1369700773.2319.357.5 | 1369822476 | 1369818876 | <?xml version="1.0" encoding="UTF-8"?></div>
<div><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="<a href="mailto:sip%3A155@172.22.198.172" target="_blank">sip:155@172.22.198.172</a>"></div>
<div> <tuple id="pjdLoDiY9ArvSs3JLEm8rLtjSSqZ.yHvGe"></div><div> <status></div><div> <basic>open</basic></div><div> </status></div><div> <timestamp>2013-05-29T<font color="#0000ff">17:14:42</font>.305Z</timestamp></div>
<div> </tuple></div><div> <dm:person id="pjCZk6TrQ40yRipOpuVLpN434K9vRnSiFn"></div><div> <rpid:activities></div><div> <rpid:busy/></div><div> </rpid:activities></div><div> </dm:person></div>
<div></presence></div></div><div><br></div><div><br></div><div>Best Regards,</div><div><br></div></div>
</div><br></div>
</div></div></blockquote></div><br></div>