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

Ali Jawad ali.jawad at splendor.net
Fri Sep 26 14:06:30 CEST 2008


Hi

 

I did try

 

        if(is_method("REGISTER"))

        {

        if(lookup("location")){

        sl_send_reply("401","Unautorized");

        exit;

        }

        }

 

 

 

With Regards

 

Ali Jawad

System Administrator

Splendor Telecom (www.splendor.net)

Beirut, Lebanon

Phone: +961 1 373725

Fax: + 961 1 375554

 

________________________________

From: Sergio Gutierrez [mailto:saguti at gmail.com] 
Sent: 2008-09-26 14:38
To: Ali Jawad
Subject: Re: [Kamailio-Users] How to prevent - Same username used on
multiple sip phones

 

 

Hi Ali.

 

Maybe you could use the function registered() of the module registrar,
to check whether the user is already registered.

 

http://kamailio.org/docs/modules/1.4.x/registrar.html#id2506815

 

Best regards.

 

Sergio G.

 

On 9/26/08, 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



-- 
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.sip-router.org/pipermail/sr-users/attachments/20080926/d7b348ec/attachment.htm>


More information about the sr-users mailing list