<!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>I need this:</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>steps:</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>1 - one user register from your
house, and not close.</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>2 - then go to the office, and
register with the same acount from the office.</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>3 - like a msn, that in this case,
<STRONG>close automatic the soft in the house of the user</STRONG>.</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>I need thar openser send a sip
message, that close the soft.</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<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=jvr_78@yahoo.com.ar
href="mailto:jvr_78@yahoo.com.ar">Javier</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=blairs@isc.upenn.edu
href="mailto:blairs@isc.upenn.edu">Steve Blair</A> ; <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 2:34
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Users] UN-REGISTER</DIV>
<DIV><BR></DIV>Javier,<BR><BR>not sure what you are trying to achieve
here:<BR> 1) to have only one phone per account and to try
to deal with IP <BR>changing<BR> 2) multiple phones per
account<BR><BR>regards,<BR>bogdan<BR><BR>Javier wrote:<BR><BR>> the
parameter desc_time_order ( set to 1) order the conctact in <BR>>
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), <BR>>
and more later register from address 2 (work)<BR>> (the REGISTER is sent
every minute from two address)<BR>> and the soft re-send the register from
address 1<BR>> <BR>> how recognize openser that address 2 is the
valid address?<BR>> I attach the doc from this two
parameters.<BR>> <BR>> <BR>> <BR>> 1.3.12.
desc_time_order (integer)<BR>> If set to 1 then all contacts will be
ordered in descending <BR>> modification time order. In this case the most
recently <BR>> updated/created contact will be used.<BR>> <BR>>
Default value is 0.<BR>> <BR>> Example 1-12. Set desc_time_order
parameter<BR>> <BR>> ...<BR>> modparam("registrar",
"desc_time_order", 1)<BR>> <BR>><BR>> 1.3.9. append_branches
(integer)<BR>> The parameter controls how lookup function processes
multiple <BR>> contacts. If there are multiple contacts for the given
username in <BR>> usrloc and this parameter is set to 1, Request-URI will
be overwritten <BR>> with the highest-q rated contact and the rest will be
appended to <BR>> sip_msg structure and can be later used by tm for
forking. If the <BR>> parameter is set to 0, only Request-URI will be
overwritten with the <BR>> highest-q rated contact and the rest will be
left unprocessed.<BR>> <BR>> Default value is 1.<BR>>
<BR>> Example 1-9. Set append_branches parameter<BR>> <BR>>
...<BR>> modparam("registrar", "append_branches", 0)<BR>> ...<BR>>
----- Original Message -----<BR>><BR>> *From:*
Bogdan-Andrei Iancu <<A
href="mailto:bogdan@voice-system.ro">mailto:bogdan@voice-system.ro</A>><BR>>
*To:* Steve Blair <<A
href="mailto:blairs@isc.upenn.edu">mailto:blairs@isc.upenn.edu</A>><BR>>
*Cc:* users <<A
href="mailto:users@openser.org">mailto:users@openser.org</A>><BR>>
*Sent:* Thursday, September 28, 2006 10:52 AM<BR>>
*Subject:* Re: [Users] UN-REGISTER<BR>><BR>> of
course there is contact timeout as each contact is
registered<BR>> 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<BR>> 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<BR>> manipulate<BR>>
> as you want) specific registrations. If these moves happen
often<BR>> 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<BR>>
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>><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>>
>> <<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<BR>>
client<BR>> >>
should<BR>> >>
> automatically un-register. If not, then the user
will<BR>> have two<BR>>
>> >
contacts<BR>> >>
> and both phones will
ring.<BR>> >>
><BR>> >>
> If you want to limit the number of
registered<BR>> 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<BR>>
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<BR>>
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,<BR>> 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> <<A
href="mailto:Users@openser.org">mailto: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><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>