If you have your kamailio.cfg in /etc/kamailio/ you could get a closer reason 
why kamailio isn’t starting by:

kamailio -cf /etc/kamailio/kamailio.cfg

and do a tail -n100 /var/log/syslog 



Op 28-jan.-2014, om 14:49 heeft Gertjan Wolzak <g.wol...@foize.com> het 
volgende geschreven:

> 
> 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.de...@rxhost.co.uk>
> Aan: sr-users@lists.sip-router.org
> Verzonden: Maandag 27 januari 2014 20:33:42
> Onderwerp: [SR-Users] Kamailio with Asterisk
> 
> 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
> 
> _______________________________________________
> 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
> 
> _______________________________________________
> 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

_______________________________________________
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

Reply via email to