< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[repro-devel] Problem in registrar of repro


 

Hi,

 

I am using Repro as a registrar. As repro does not provide persistence for registrations, I am storing the registration bindings in a flat file.

 

 I have observed an issue in the Registrar functionality of repro (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:  On the GUI web interface of repro, under the section “STATISTICS – REGISTRATION” section it will be evident that alice is registered with expires= 60sec.

Step 3: 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, in the web interface repro is deleting alice’s registration. But 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 are removed from the GUI, they are still available in my flat file.

 

Please help me out.

 

Thanks and Regards,

-Sandeep A