[reSIProcate] Problem in registrar functionality of DUM

Sandeep Ammaladinna sammaladinna at velankani.com
Thu Apr 10 00:34:28 CDT 2008


 
Hi,
 
I have written a basic REGISTRAR using DUM's Registrar.cxx file. The
call backs that are available are "onAdd", "onRefresh", "onQuery",
"onRemove" and "onRemoveAll".
For the registration to be persistent, I am storing the bindings in a
flat file.
 
 I have observed an issue in the Registrar functionality (in the file
Registrar.cxx file). The problem description is as follows:
 
Step 1: Register a soft phone with user name "alice" and with expires
value = 60 seconds.
Step 2: Verify that the bindings of alice are stored in the flat file.
Step 2: Don't refresh the registration expiry value and wait till 60
seconds for the registration to get expired explicitly.
 
 
So my issue is, when the expiry value becomes 0 the call backs that are
mentioned in the Registrar.cxx file is not getting called, for example,
either "onRemove" or "onRemoveAll" is not getting called. So even if
Alice's bindings got expired, they are still available in my flat file. 
 
So is an additional call back is required in the Registrar.cxx of DUM,
to keep track of the expires timer? Or am I doing anything wrong?
 
Please help me out.
 
 
Thanks and Regards,
-Sandeep A
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080410/77883498/attachment.htm>


More information about the resiprocate-devel mailing list