Tag Archives: sip

Kamailio SIP server

Today I wanted to test kamailio SIP server but I didn’t have prior experience on this software
and I experienced several problems.

After following the installation manual I created the username rtoo.

so far so good. Then I tried to connect to this server but I got
403 Not relaying” then I put the server in debug mode by adding

on top of /usr/local/etc/kamailio/kamailio.cfg file and restarted the server

then I have found that I must add my domain name somewhere in the config.
After this, I added sip.rtoodtoo.net domain as follows in the same config file
and restarted the server again.

Then it worked. However at the very beginning I even got an authentication error like

I don’t know how this error occurred after adding username via CLI. Then I
found the description of the authentication table of kamailio which is subscriber.

At the URL http://kamailio.org/docs/db-tables/kamailio-db-3.2.x.html#AEN429,
you can see that ha1 and ha1b is an MD5 of some values. According to the
ha1 description, I got the MD5, and updated the subscriber table than it worked.

You may not have this error as I didn’t receive it again.

I have found kamailio server quite powerful so far. I hope I will do some test with SRX as well.