Hello,
registrar has "append_branches" parameter, if set to 0 (default is 1)
then registrar will use only contact with the highest q value. I created
a patch for 0.8.10 which orders contacts according to the modification
time so that only the most recently update contact will be used. What
version of ser do you use ?
regards, Jan.
On 19-03 00:25, Ricardo Villa wrote:
Hi,
When we have a situation in which a PC changes IP addresses (like on
dialup), we end up with multiple registrations (see below). Is it possible
to configure SER so that it only has the latest registration?
[root@maui ser]# serctl ul show rvilla
<sip:rvilla@200.58.193.72:5060;transport=udp>;q=0.00;expires=2773
<sip:rvilla@200.58.203.236:5060;transport=udp>;q=0.00;expires=3194
<sip:rvilla@200.58.203.61:5060;transport=udp>;q=0.00;expires=3544
On a related note, the registrar README says:
"Name: lookup
Params: table - Name of table that should be used for the lookup
Desc: The functions extracts username from Request-URI and tries to find all
contacts
for the username in usrloc. If there are no such contacts, -1 will be
returned.
If there are such contacts, Request-URI will be overwritten with the contact
that
has the highest q value and optionally the rest will be appended to the
message
(depending on append_branches parameter value)."
....but as you can see all 3 contacts have the same "q value" (whatever that
stands for).
How does one resolve such an issue?
Thanks,
Ricardo
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers