The default config file does not use authentication. See /etc/kamailio/kamailio.cfg and read it - it is self-explanatory, just configure the "define" parameters to activate certain features.
regards Klaus
Am 24.07.2011 19:18, schrieb Henrik Aagaard Sørensen:
I've installed Kamailio on Ubuntu 10.04 LTS via:http://www.kamailio.org/dokuwiki/doku.php/packages:debs
Updated /etc/kamailio/kamctlrc with: SIP_DOMAIN=MY-IP DBENGINE=MYSQL
I've also installed the kamailio-mysql-modules via apt-get.
Then I've run kamdbctl create and created the MySQL database.
After that I've started Kamailio via kamctl start. Success.
At last I've added two users: kamctl add 100 PASS1 kamctl add 101 PASS2
Everything seems to work, but I've found out that everyone can register and call via the server. Not only the two users/subscribers I've added.
How come authorization isn't working?
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users