<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The solution below does work in deed the
only problem is that if I use it and I am logged in at work and I want to use
the service at home it wont let me. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>What I am trying to achieve is that the
same user can not be online with two sip phones at any one time. Is there a way
to force a logout a user at Location A, when a user at Location B logs in.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>With Regards<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>Ali Jawad<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>System Administrator<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>Splendor Telecom (<a href="www.splendor.net">www.splendor.net</a>)<o:p></o:p></span></font></p>
<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=2
color=navy face="Times New Roman"><span style='font-size:11.0pt;color:navy'>Beirut</span></font></st1:City><font
size=2 color=navy><span style='font-size:11.0pt;color:navy'>, <st1:country-region
w:st="on">Lebanon</st1:country-region></span></font></st1:place><font size=2
color=navy><span style='font-size:11.0pt;color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>Phone: +961 1 373725<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>Fax: + 961 1 375554<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Gustavo
Mistrinelli [mailto:gmistrinelli@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 2008-09-26 18:16<br>
<b><span style='font-weight:bold'>To:</span></b> Ali Jawad<br>
<b><span style='font-weight:bold'>Cc:</span></b> users@lists.kamailio.org;
users@lists.openser.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Kamailio-Users] How
to prevent - Same username used on multiple sip phones</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi Ali, I don't know what you really are looking for but you can limit
registration of the same user using max_contacts parameter. Setting it to 1,
only the last registration will be active. <o:p></o:p></span></font></p>
<pre><font size=2 face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> modparam("registrar", "max_contacts", 1)</span></font><o:p></o:p></pre>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>You may experiment
problems if the user put 2 devices trying to register at the same time.<br>
<br>
Regards,<br>
<br>
Gustavo<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Fri, Sep 26, 2008 at 8:32 AM, Ali Jawad <<a
href="mailto:ali.jawad@splendor.net">ali.jawad@splendor.net</a>> wrote:<o:p></o:p></span></font></p>
<div link=blue vlink=purple>
<div>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hi</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>On
my openser I can logon with the same username on two different softphones. How
can I prevent the same username from being used on multiple devices.</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>With
Regards</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'> </span></font><o:p></o:p></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Gustavo Mistrinelli<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a href="http://www.mailscanner.info/"><b><span
style='font-weight:bold'>MailScanner</span></b></a>, and is <br>
believed to be clean. <o:p></o:p></span></font></p>
</div>
</body>
</html>