<div dir="ltr"><div>Hi,<br></div> Check if you have created opensips databases, you need to modify the opensipsctl scrip in opensips directory, uncomment Engine to MySQL, give access and then try to create a database through 'opensipsdbctl create' command, after successful creation you should be able to add user through opensipsctl (you can also use opensips.subscriber table to add a user)<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 2, 2014 at 6:02 PM, Per Jarle Sæther - Elotec AS <span dir="ltr"><<a href="mailto:PerJarle@elotec.no" target="_blank">PerJarle@elotec.no</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="NO-BOK"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">Dear Salman<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">Thank you for your reply.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">When trying to run sudo opensipsctl add per per<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">I got the following message:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">ERROR: This command requires a database engine – none was loaded<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Best regards<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Per-Jarle Sæther<u></u><u></u></span></b></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Salman Zafar<br>
<b>Sent:</b> 2. april 2014 14:46<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] Newbie question<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div>
<div><div><p class="MsoNormal">Hi,<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt"> Unless you are on the same host trying to connect with clients, else you should have an IP accessible to your clients.<u></u><u></u></p>
</div><div><p class="MsoNormal" style="margin-bottom:12.0pt">For a start you can use opensipsctl script to create users with default opensips script, and try to connect your clients.<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">
Use xlog in opensips.cfg for each statement to understand the basic packet flow in opensips.<br><br><u></u><u></u></p></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">
On Wed, Apr 2, 2014 at 5:38 PM, Per Jarle Sæther - Elotec AS <<a href="mailto:PerJarle@elotec.no" target="_blank">PerJarle@elotec.no</a>> wrote:<u></u><u></u></p><div><div><p class="MsoNormal"><span lang="EN-US">Hello</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I have followed an installation video for installing OpenSIPS on Ubuntu.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US">When I run: sudo opensips</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">I get “Listening on udp: <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">What is my next step?</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US">My first goal is to develop a simple Android app that connects to the OpenSIPS server.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">I guess I need to somehow register at least two users.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">But how do I do this?</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Thankful for any tips</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"" lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"" lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"" lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Best regards</span><u></u><u></u></p><p class="MsoNormal"><span style="color:#888888" lang="EN-US"> </span><span style="color:#888888"><u></u><u></u></span></p><p class="MsoNormal">
<b><span style="color:#888888" lang="EN-US">Per-Jarle</span></b><span style="color:#888888"><u></u><u></u></span></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>
Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></p>
</div><p class="MsoNormal"><br><br clear="all"><br>-- <u></u><u></u></p><div><p class="MsoNormal">Regards<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p><div><pre><span style="font-family:"Times New Roman","serif"">M. Salman Zafar<br>
<br><u></u><u></u></span></pre><pre style="margin-bottom:12.0pt"><span style="font-family:"Times New Roman","serif"">VoIP Professional</span><u></u><u></u></pre></div></div></div></div></div></div></div>
</div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><font face="'times new roman', serif">Regards</font><div><font face="'times new roman', serif"><br></font><div><pre cols="72"><font face="'times new roman', serif">M. Salman Zafar<br>
VoIP Professional<br></font><br></pre></div></div></div>
</div>