[OpenSER-Devel] [presence] delay notify?

Reinhold Buchinger reinhold.buchinger at gmail.com
Thu Nov 29 17:38:41 UTC 2007


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




More information about the Devel mailing list