[OpenSIPS-Devel] Mmissing one notification from server after unpulish.

Zhao, Lin 2. (NSN - CN/Beijing) lin.2.zhao at nsn.com
Wed Oct 14 07:57:50 CEST 2009


Change the enclosed content to avoid exceeding limitation on size.


 <<2-PUBLISH.pcap>>  <<2-NOTIFY.pcap>> 


Best Regards,
Lin Zhao

NOKIA-SIEMENS NETWORK
                                           
No. 14, Jiu Xian Qiao Road, Chaoyang Dist.
Beijing 100016, P.R. China
 
Tel  : (+86)-10-84358717
E-mail: lin.2.zhao at nsn.com


> ______________________________________________ 
> From: 	Zhao, Lin 2. (NSN - CN/Beijing)  
> Sent:	Wednesday, October 14, 2009 11:55 AM
> To:	'devel at lists.opensips.org'
> Subject:	FW: Ask help for missing one notification from server.
> 
> Hi,
> 
> 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.
> 
> 
>  << File: A-publish+unpublish.pcap >>  << File: B-notify.pcap >> 
> 
> 
> Best Regards,
> Lin Zhao
> 
> NOKIA-SIEMENS NETWORK
>                                            
> No. 14, Jiu Xian Qiao Road, Chaoyang Dist.
> Beijing 100016, P.R. China
>  
> Tel  : (+86)-10-84358717
> E-mail: lin.2.zhao at nsn.com
> 
> 
> _____________________________________________ 
> From: 	Zhao, Lin 2. (NSN - CN/Beijing)  
> Sent:	Tuesday, October 13, 2009 12:29 PM
> To:	devel at lists.opensips.org
> Cc:	Zhao, Lin 2. (NSN - CN/Beijing)
> Subject:	Ask help for missing one notification from server.
> 
> Hello, 
> 
> I am a developer on client, meet a problem and hope you could give
> some help. Thanks in advance.
> 
> 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?
> 
> The case is used as follow:
> 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.
> 
> My OpenSIPS is 1.4.2-notls (i386/linux), which I get from "NOTIFY"
> trace.
> 
> 
> Best Regards,
> Lin Zhao
> 
> NOKIA-SIEMENS NETWORK
>                                            
> No. 14, Jiu Xian Qiao Road, Chaoyang Dist.
> Beijing 100016, P.R. China
>  
> Tel  : (+86)-10-84358717
> E-mail: lin.2.zhao at nsn.com
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/devel/attachments/20091014/e9b72898/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-PUBLISH.pcap
Type: application/octet-stream
Size: 4114 bytes
Desc: 2-PUBLISH.pcap
Url : http://lists.opensips.org/pipermail/devel/attachments/20091014/e9b72898/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-NOTIFY.pcap
Type: application/octet-stream
Size: 2825 bytes
Desc: 2-NOTIFY.pcap
Url : http://lists.opensips.org/pipermail/devel/attachments/20091014/e9b72898/attachment-0001.obj 


More information about the Devel mailing list