Hello,
You have to change the config as below:
#!define WITH_MYSQL
#!define WITH_AUTH
Regards,
Huy Nguyen
www.htk-inc.com
From: kmullen(a)practical-pc.com
To: users(a)lists.kamailio.org
Date: Fri, 3 Dec 2010 17:16:28 -0600
Subject: [SR-Users] Kamailio Authentication
I have Kamailio up and running and passing calls between users. However, it is not
authenticating. Therefore any one can access without user/password. Kamailio.cfg #!-
define WITH_MYSQL## *** To enable authentication execute:#!- enable mysql#!- define
WITH_AUTH#!- add users using 'kamctl'## *** To enable IP authentication
execute:#!- enable mysql#!- enable authentication#!- define WITH_IPAUTH#!- add IP
addresses with group id '1' to 'address' table Kurt A. MullenPractical
PC, LLC(O) 830.542.4102 x204(F) 210.767.3912
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users