[OpenSER-Devel] [presence] delay notify?

Anca Vamanu anca at voice-system.ro
Fri Nov 30 09:18:31 UTC 2007


Hello,

A solution to this problem would be to not to send a reply to a Notify 
for which you don't find a matching dialog, just to drop the message. 
This will force retransmission and eventually, the processing for the 
Subscribe reply will be finished and the record will be found.

regards,
Anca Vamanu

Reinhold Buchinger wrote:
> Hi,
>
> I have the following scenario:
> On the one side there is an OpenSer Presence Server using the presence 
> and presence_xml modules.
> On the other side there is my own module which uses the pua module to 
> send SUBSCRIBE requests. The incoming NOTIFY
> requests are handled by my module.
>
> The problem is that the 200 OK and the immediate NOTIFY arrive very 
> shortly after each other. One OpenSER process handles the incoming 200 
> OK and another process the incoming NOTIFY. But before the pua module 
> saves the established dialog my module handles the NOTIFY already and 
> tries to check if there exists a fitting dialog. Of course, this check 
> fails. I could delay my NOTIFY handling a little bit (for all NOTIFIES) 
> but I would prefer if I could delay only the first immediate NOTIFY sent 
> by the presence module a little bit.
>
> I highly appreciate any suggestion how to handle this situation.
> Thank you!
>
> Regards,
> Reinhold
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>
>   




More information about the Devel mailing list