[OpenSIPS-Devel] [ opensips-Bugs-3035600 ] usrloc:db_mode=2 causes register:max_contacts=1 to fail
SourceForge.net
noreply at sourceforge.net
Sun Aug 1 20:43:49 CEST 2010
Bugs item #3035600, was opened at 2010-07-28 01:08
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3035600&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.6.x
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: takeshi (mayamatakeshi)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: usrloc:db_mode=2 causes register:max_contacts=1 to fail
Initial Comment:
I'm testing with r. 7059 to confirm register:max_contacts=1 is always enforced (I'm using save("location", "f"'). If I set usrloc:db_mode=0, it seems to be working fine: I keep two terminal re-registering and I can see the contact of the most recent REGISTER always replaces the previous contact.
However, if I just set usrloc:db_mode=2, then this starts to fail and I can see 2 contacts present in both db and by querying contact info using fifo.
This is easily recreated by using 2 instances of SIPp to simulate 2 terminals.
----------------------------------------------------------------------
>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2010-08-01 21:43
Message:
Just tested with the latest 1.6 SVN branch and it worked perfectly with the
following cfg:
modparam("registrar", "max_contacts", 1)
modparam("registrar", "max_expires", 30)
modparam("registrar", "min_expires", 30)
modparam("registrar", "default_expires", 30)
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "cseq_delay", 10)
modparam("usrloc", "use_domain", 1)
save("location","f");
I used 2 kphones with the same user to register.
Regards,
Bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3035600&group_id=232389
More information about the Devel
mailing list