[Kamailio-Users] How to prevent - Same username used on multiple sip phones

Ali Jawad ali.jawad at splendor.net
Mon Sep 29 09:48:31 CEST 2008


Hi

 

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. 

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.

 

With Regards

 

Ali Jawad

System Administrator

Splendor Telecom (www.splendor.net)

Beirut, Lebanon

Phone: +961 1 373725

Fax: + 961 1 375554

 

________________________________

From: Gustavo Mistrinelli [mailto:gmistrinelli at gmail.com] 
Sent: 2008-09-26 18:16
To: Ali Jawad
Cc: users at lists.kamailio.org; users at lists.openser.org
Subject: Re: [Kamailio-Users] How to prevent - Same username used on
multiple sip phones

 

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. 

 
  modparam("registrar", "max_contacts", 1)

You may experiment problems if the user put 2 devices trying to register
at the same time.

Regards,

Gustavo

On Fri, Sep 26, 2008 at 8:32 AM, Ali Jawad <ali.jawad at splendor.net>
wrote:

Hi

 

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.

 

 

With Regards

 

 


_______________________________________________
Users mailing list
Users at lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users




-- 
Gustavo Mistrinelli


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is

believed to be clean. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080929/f5513f17/attachment.htm 


More information about the Users mailing list