<!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"> &lt;&lt;2-PUBLISH.pcap&gt;&gt; </FONT><FONT FACE="SimSun" SIZE=2 COLOR="#000000"> &lt;&lt;2-NOTIFY.pcap&gt;&gt; </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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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">&nbsp;</FONT>

<BR><FONT SIZE=2 FACE="Verdana">Tel&nbsp; : (+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: &nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Zhao, Lin 2. (NSN - CN/Beijing)&nbsp; </FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Sent:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Wednesday, October 14, 2009 11:55 AM</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">'devel@lists.opensips.org'</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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 &quot;meaning less&quot; - there's no item of &quot;pdm:person&quot; but only &quot;tuple&quot; with parameter &quot;xmlns&quot; and &quot;id&quot;. I attached the trace and could you tell me what's happening there? Thanks.</FONT></P>
<BR>

<P><FONT SIZE=2 FACE="Verdana">&nbsp;&lt;&lt; File: A-publish+unpublish.pcap &gt;&gt;&nbsp; &lt;&lt; File: B-notify.pcap &gt;&gt; </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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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">&nbsp;</FONT>

<BR><FONT SIZE=2 FACE="Verdana">Tel&nbsp; : (+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: &nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Zhao, Lin 2. (NSN - CN/Beijing)&nbsp; </FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Sent:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Tuesday, October 13, 2009 12:29 PM</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">devel@lists.opensips.org</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Cc:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Zhao, Lin 2. (NSN - CN/Beijing)</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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 &quot;unpublish&quot; message with &quot;Expires=0&quot;, then I can get only one &quot;NOTIFY&quot; 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 &quot;NOTIFY&quot; 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 &quot;PUBLISH&quot; messages: one is to publish with status &quot;invisible&quot; and the other with &quot;Expires=0&quot; for unpublish purpose. Server OpenSIPS is expected to send 2 &quot;NOTIFY&quot; messages out to all my subscribers and it works well in most cases. But sometimes OpenSIPS only send one &quot;NOTIFY&quot; with &quot;Content-Length=0&quot; out and it causes the behavior wrong in my subscribers clients. After investigation I found the &quot;Cseq&quot; in this &quot;NOTIFY&quot; 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 &quot;NOTIFY&quot; 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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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">&nbsp;</FONT>

<BR><FONT SIZE=2 FACE="Verdana">Tel&nbsp; : (+86)-10-84358717</FONT>

<BR><FONT SIZE=2 FACE="Verdana">E-mail: lin.2.zhao@nsn.com</FONT>
</P>

</BODY>
</HTML>