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
Now I should be able to call between the SIP clients with the subscribers, correct?
But when I try nothing happens. I also found out that no matter what I use for username and password on the clients, they WILL register successfully.
What is wrong?
You are using the default configuration for Kamailio, which is very open and insecure. In order to get some NAT support there's a flag in the kamailio.cfg file to turn on NAt support, which means that Kamailio will store the sender's IP address in the registration, not the address in the SIP message.
Good luck. If you have any further questions, I recommend the Kamailio user mailing list, which you can find on http://www.kamailio.org
/O