<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5700.7" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Tahoma color=#0000ff size=2>the parameter desc_time_order ( set
to 1) order the conctact in descending time order, and use the most recently
updated/created user.<BR>and, if I understand, if the user A register from
address 1 (Home), and more later register from address 2 (work) <BR>(the
REGISTER is sent every minute from two address)</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>and the soft re-send the register
from address 1</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>how recognize openser that address
2 is the valid address?<BR>I attach the doc from this two
parameters.</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>1.3.12. desc_time_order
(integer)<BR>If set to 1 then all contacts will be ordered in descending
modification time order. In this case the most recently updated/created contact
will be used. </FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>Default value is 0. </FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>Example 1-12. Set desc_time_order
parameter</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>...<BR>modparam("registrar",
"desc_time_order", 1)</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV><FONT face=Tahoma
color=#0000ff size=2>
<DIV><BR>1.3.9. append_branches (integer)<BR>The parameter controls how lookup
function processes multiple contacts. If there are multiple contacts for the
given username in usrloc and this parameter is set to 1, Request-URI will be
overwritten with the highest-q rated contact and the rest will be appended to
sip_msg structure and can be later used by tm for forking. If the parameter is
set to 0, only Request-URI will be overwritten with the highest-q rated contact
and the rest will be left unprocessed. </DIV>
<DIV> </DIV>
<DIV>Default value is 1. </DIV>
<DIV> </DIV>
<DIV>Example 1-9. Set append_branches parameter</DIV>
<DIV> </DIV>
<DIV>...<BR>modparam("registrar", "append_branches", 0)<BR>...<BR></FONT>-----
Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=bogdan@voice-system.ro
href="mailto:bogdan@voice-system.ro">Bogdan-Andrei Iancu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=blairs@isc.upenn.edu
href="mailto:blairs@isc.upenn.edu">Steve Blair</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=users@openser.org
href="mailto:users@openser.org">users</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 28, 2006 10:52
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Users] UN-REGISTER</DIV>
<DIV><BR></DIV>of course there is contact timeout as each contact is
registered for a <BR>limited time period.<BR><BR>a more elegant solution is to
use the "desc_time_order" and <BR>"append_branches" module parameter in order
to retrieve from usrloc only <BR>the latest contact.
See:<BR> <A
href="http://openser.org/docs/modules/1.1.x/registrar.html">http://openser.org/docs/modules/1.1.x/registrar.html</A><BR><BR>regards,<BR>bogdan<BR><BR>Steve
Blair wrote:<BR><BR>><BR>> You could also get creative and upon
successful registration exec a <BR>> script that will examine the location
table and remove (or manipulate <BR>> as you want) specific registrations.
If these moves happen often this <BR>> approach will not scale well. If you
only need one registration per <BR>> user then setting the max_contacts
parameter is the easiest way to <BR>> accomplish this goal.<BR>><BR>>
_Steve<BR>><BR>> Max Gregorian wrote:<BR>><BR>>> Perhaps
implement Registration Timeouts.<BR>>> <BR>>> If the aim is
to stop the user from connecting using that IP address, <BR>>> then you
could, on OpenSER, do something along the lines of:<BR>>>
<BR>>><BR>>> if(src_ip==192.168.0.55 <<A
href="http://192.168.0.55/">http://192.168.0.55/</A>>)<BR>>>
{<BR>>> sl_send_reply("404", "User
not found..");<BR>>><BR>>>
};<BR>>><BR>>> <BR>>><BR>>><BR>>>
<BR>>> On 9/28/06, *Bogdan-Andrei Iancu* <<A
href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</A> <BR>>>
<<A
href="mailto:bogdan@voice-system.ro">mailto:bogdan@voice-system.ro</A>>>
wrote:<BR>>><BR>>> Hi
Javier,<BR>>><BR>>> that must be done by
the phone.<BR>>><BR>>>
regards,<BR>>>
bogdan<BR>>><BR>>> Javier
wrote:<BR>>><BR>>> > can I unregister
the the firsth register ?<BR>>>
><BR>>>
><BR>>> > -----
Original Message -----<BR>>>
> *From:* Daniel-Constantin
Mierla<BR>>> <<A
href="mailto:daniel@voice-system.ro">mailto:daniel@voice-system.ro</A> <<A
href="mailto:daniel@voice-system.ro">mailto:daniel@voice-system.ro</A>>><BR>>>
> *To:* Javier Ramirez <mailto: <A
href="mailto:jvr_78@yahoo.com.ar">jvr_78@yahoo.com.ar</A><BR>>>
<<A
href="mailto:jvr_78@yahoo.com.ar">mailto:jvr_78@yahoo.com.ar</A>>><BR>>>
> *Cc:* users <<A
href="mailto:users@openser.org">mailto:users@openser.org</A><BR>>>
<<A
href="mailto:users@openser.org">mailto:users@openser.org</A>>><BR>>>
> *Sent:* Saturday, September 23, 2006 5:36
PM<BR>>> > *Subject:*
Re: [Users] UN-REGISTER<BR>>>
><BR>>> > If the
user closes the sip client on 0.55, then the
client<BR>>>
should<BR>>> >
automatically un-register. If not, then the user will have
two<BR>>> >
contacts<BR>>> > and
both phones will ring.<BR>>>
><BR>>> > If you
want to limit the number of registered contacts,
you<BR>>> can do
it<BR>>> > via
max_contacts parameter of registrar
module:<BR>>>
><BR>>> >
<BR>>> <A
href="http://www.openser.org/docs/modules/1.1.x/registrar.html#AEN233">http://www.openser.org/docs/modules/1.1.x/registrar.html#AEN233</A><BR>>>
><BR>>> >
Cheers,<BR>>> >
Daniel<BR>>>
><BR>>>
><BR>>> > On
09/22/06 23:47, Javier Ramirez wrote:<BR>>>
> > Hi, I have a
question:<BR>>> >
><BR>>> > > the
user A is register, the ip of register is
192.168.0.55<BR>>> <<A
href="http://192.168.0.55">http://192.168.0.55</A>>.<BR>>>
> > the user change PC, and this PC have the ip
192.168.0.66<BR>>> <<A
href="http://192.168.0.66">http://192.168.0.66</A>><BR>>>
> ><BR>>>
> > the user register again, in the new machine,
but, how to<BR>>>
unregister<BR>>> >
> the firsth registration from
192.168.0.55<BR>>> <<A
href="http://192.168.0.55">http://192.168.0.55</A>>
?<BR>>> >
><BR>>> > >
best regards<BR>>> >
> Javier<BR>>> >
><BR>><BR><BR><BR>_______________________________________________<BR>Users
mailing list<BR><A href="mailto:Users@openser.org">Users@openser.org</A><BR><A
href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</A><BR><BR>__________
NOD32 1.1776 (20060926) Information __________<BR><BR>This message was checked
by NOD32 antivirus system.<BR><A
href="http://www.eset.com">http://www.eset.com</A><BR><BR></BLOCKQUOTE></BODY></HTML>