[Serusers] REGISTER problem

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Sat Dec 6 10:03:13 CET 2003


On Dec 05, 2003 at 16:24, Chris Monahan <chris at loudpacket.com> wrote:
> Guys, please help me out here.
> 
> When I uncomment this in my ser.cfg:
> ?
> ??????????????????????? if (!www_authorize("telepacket.com", "subscriber")) {
> ??????????????????????????????? www_challenge("telepacket.com", "0");
> ??????????????????????????????? break;
> ??????????????????????? };
> my Cisco 7960 phones are unable to register with the ser Server.
> ?
> Basically, the phone sends a REGISTER, and the ser server sends back 401 Unauthorized. How do I allow the phones to be authorized? If I comment these lines, the ser works great and my two phones can call each other.
> ?
> I am using a mysql database...? Is there a command to add a registered device?
You can add a new user with "serctl add username password email" or a
permanent contact with "serctl ul add" (just run serctl without any
 parameters to see the help message).

Andrei




More information about the sr-users mailing list