Re: [repro-devel] Problem in registrar of repro
- From: "Alexander Altshuler" <alt@xxxxxxxxx>
- Date: Thu, 10 Apr 2008 11:19:39 +0400
Hi
1. Repro does provide persistence.
2. "onRemove" and "onRemoveAll" callbacks are called when UA explicitly
remove binding(s).
3. In most cases your application will have a chance to remove obsolete
binding from persistence.
For example I do it during any database update for given aor.
If your application definitely must remove obsolete bindings in time you
may post a timer - IMHO not productive solution.
Cannot say anything about repro's UI - never use it.
Please, don't cross post!
Regards
Alexander Altshuler
http://xeepe.com
-----Original Message-----
From: repro-devel-bounces@xxxxxxxxxxxxxxx
[mailto:repro-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Sandeep
Ammaladinna
Sent: Thursday, April 10, 2008 9:27 AM
To: repro-devel@xxxxxxxxxxxxxxx
Subject: [repro-devel] Problem in registrar of repro
Importance: High
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