<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi all,<br><br></div>I'm wondering if someone can help me get a little unstuck.<br><br></div>I followed the guide here: <a href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb">http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a><br>
<br></div>And I now have kamailio running, but I have two problems.<br><br>Number 1<br></div>When I do kamctl add user password and make two users, they register fine. But any attempt to call between the users times out.<br>
<br></div>Number 2<br></div>Anytime I have my kamailo.cfg file begin as<br><pre class=""><span class="">#!KAMAILIO</span>
 
<span class="">#!define WITH_MYSQL</span>
<span class="">#!define WITH_AUTH</span>
<span class="">#!define WITH_USRLOCDB</span>
<span class="">#!define WITH_ASTERISK<br><br></span></pre><pre class=""><span class="">I am unable to start kamctl. I get the following error.<br></span></pre>ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed<br>
<br></div>If I run kamailio I get<br>ERROR: bad config file (3 errors)<br><br></div>The moment I remove the define lines at the start, kamctl starts fine, but I can't authenticate with asterisk.<br><br></div>Any ideas?<br>
<br>Thanks<br><br>Chirag<br></div>