[SR-Users] Kamailio with Asterisk

Chirag Desai c.desai at rxhost.co.uk
Mon Jan 27 20:33:42 CET 2014


Hi all,

I'm wondering if someone can help me get a little unstuck.

I followed the guide here:
http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb

And I now have kamailio running, but I have two problems.

Number 1
When I do kamctl add user password and make two users, they register fine.
But any attempt to call between the users times out.

Number 2
Anytime I have my kamailo.cfg file begin as

#!KAMAILIO
 #!define WITH_MYSQL#!define WITH_AUTH#!define WITH_USRLOCDB#!define
WITH_ASTERISK

I am unable to start kamctl. I get the following error.

ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start
failed

If I run kamailio I get
ERROR: bad config file (3 errors)

The moment I remove the define lines at the start, kamctl starts fine, but
I can't authenticate with asterisk.

Any ideas?

Thanks

Chirag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140127/918e1e3a/attachment.html>


More information about the sr-users mailing list