Hello Chirag,
Ad 1. When making a test call do an ngrep on the kamailio: ngrep -d any -qt -W byline port 5060
That information can help you to do more troubleshooting.
Ad 2. Enable the debug in the kamailion config : #!define WITH_DEBUG
Then start kamailio again, you will see a lot of information that will show why kamailio wont start.
You could also show the config as you have it now, it's hard to provide any guidance with just the info you are providing...
Yes, I know, there are kamailio guru's that have enough on just two words, but there are only a few guru's.
Good luck.
Gertjan
Van: "Chirag Desai" <c.desai@rxhost.co.uk>
Aan: sr-users@lists.sip-router.org
Verzonden: Maandag 27 januari 2014 20:33:42
Onderwerp: [SR-Users] Kamailio with Asterisk
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
_______________________________________________
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