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@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(a)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(a)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.