<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: Mmissing one notification from server after unpulish.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">Change the enclosed content to avoid exceeding limitation on size.</FONT>
</P>
<BR>
<P><FONT FACE="SimSun" SIZE=2 COLOR="#000000"> <<2-PUBLISH.pcap>> </FONT><FONT FACE="SimSun" SIZE=2 COLOR="#000000"> <<2-NOTIFY.pcap>> </FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Verdana">Best Regards,</FONT>
<BR><FONT SIZE=2 FACE="Verdana">Lin Zhao</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Verdana">NOKIA-SIEMENS NETWORK</FONT></B>
<BR><FONT SIZE=2 FACE="Verdana"> </FONT>
<BR><FONT SIZE=2 FACE="Verdana">No. 14, Jiu Xian Qiao Road, Chaoyang Dist.</FONT>
<BR><FONT SIZE=2 FACE="Verdana">Beijing 100016, P.R. China</FONT>
<BR><FONT SIZE=2 FACE="Verdana"> </FONT>
<BR><FONT SIZE=2 FACE="Verdana">Tel : (+86)-10-84358717</FONT>
<BR><FONT SIZE=2 FACE="Verdana">E-mail: lin.2.zhao@nsn.com</FONT>
</P>
<BR>
<P><FONT SIZE=1 FACE="Tahoma">______________________________________________ </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">From: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Zhao, Lin 2. (NSN - CN/Beijing) </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Sent: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Wednesday, October 14, 2009 11:55 AM</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">To: </FONT></B> <FONT SIZE=1 FACE="Tahoma">'devel@lists.opensips.org'</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Subject: </FONT></B> <FONT SIZE=1 FACE="Tahoma">FW: Ask help for missing one notification from server.</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">Hi,</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">One more question when I try only unpublish action for signing out purpose: I expect that the unpublish will remove the existing status and others who subscribe my presence receive empty notify, but unfortunately they receive something "meaning less" - there's no item of "pdm:person" but only "tuple" with parameter "xmlns" and "id". I attached the trace and could you tell me what's happening there? Thanks.</FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Verdana"> << File: A-publish+unpublish.pcap >> << File: B-notify.pcap >> </FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Verdana">Best Regards,</FONT>
<BR><FONT SIZE=2 FACE="Verdana">Lin Zhao</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Verdana">NOKIA-SIEMENS NETWORK</FONT></B>
<BR><FONT SIZE=2 FACE="Verdana"> </FONT>
<BR><FONT SIZE=2 FACE="Verdana">No. 14, Jiu Xian Qiao Road, Chaoyang Dist.</FONT>
<BR><FONT SIZE=2 FACE="Verdana">Beijing 100016, P.R. China</FONT>
<BR><FONT SIZE=2 FACE="Verdana"> </FONT>
<BR><FONT SIZE=2 FACE="Verdana">Tel : (+86)-10-84358717</FONT>
<BR><FONT SIZE=2 FACE="Verdana">E-mail: lin.2.zhao@nsn.com</FONT>
</P>
<BR>
<P><FONT SIZE=1 FACE="Tahoma">_____________________________________________ </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">From: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Zhao, Lin 2. (NSN - CN/Beijing) </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Sent: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Tuesday, October 13, 2009 12:29 PM</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">To: </FONT></B> <FONT SIZE=1 FACE="Tahoma">devel@lists.opensips.org</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Cc: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Zhao, Lin 2. (NSN - CN/Beijing)</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Subject: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Ask help for missing one notification from server.</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">Hello, </FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">I am a developer on client, meet a problem and hope you could give some help. Thanks in advance.</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">After I publish a presence status message I publish another "unpublish" message with "Expires=0", then I can get only one "NOTIFY" from subscriber side, but this doesn't happen always. Is there any restriction on sending publish or unpublish messages in server view? Or is there an easy way to reproduce the scenario that sending single "NOTIFY" only?</FONT></P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">The case is used as follow:</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">When I sign off from the server OpenSIPS as a client user, I send two "PUBLISH" messages: one is to publish with status "invisible" and the other with "Expires=0" for unpublish purpose. Server OpenSIPS is expected to send 2 "NOTIFY" messages out to all my subscribers and it works well in most cases. But sometimes OpenSIPS only send one "NOTIFY" with "Content-Length=0" out and it causes the behavior wrong in my subscribers clients. After investigation I found the "Cseq" in this "NOTIFY" is incontinuous with the previous so I guess OpenSIPS misses sending another NOTIFY. Does anybody have any idea on this? Or could you tell me how to find the help info? I will appreciate your help very much.</FONT></P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">My OpenSIPS is 1.4.2-notls (i386/linux), which I get from "NOTIFY" trace.</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Verdana">Best Regards,</FONT>
<BR><FONT SIZE=2 FACE="Verdana">Lin Zhao</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Verdana">NOKIA-SIEMENS NETWORK</FONT></B>
<BR><FONT SIZE=2 FACE="Verdana"> </FONT>
<BR><FONT SIZE=2 FACE="Verdana">No. 14, Jiu Xian Qiao Road, Chaoyang Dist.</FONT>
<BR><FONT SIZE=2 FACE="Verdana">Beijing 100016, P.R. China</FONT>
<BR><FONT SIZE=2 FACE="Verdana"> </FONT>
<BR><FONT SIZE=2 FACE="Verdana">Tel : (+86)-10-84358717</FONT>
<BR><FONT SIZE=2 FACE="Verdana">E-mail: lin.2.zhao@nsn.com</FONT>
</P>
</BODY>
</HTML>