<div class="gmail_quote">On Mon, Dec 27, 2010 at 11:26 AM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<div class="im"><br>
<br>
On 12/26/10 1:46 PM, Noa Resare wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Friends,<br>
<br>
I thought I&#39;d set up a SIP server during the holidays and kamailio seemed like a good choice. Since my setup won&#39;t be handling large amounts of users, a file based backend seemed like a good choice. Since I didn&#39;t find any &quot;new users, please start with these steps&quot; instruction on the web page I just installed the base package for Debian squeeze along with kamailio-berkeley-modules and proceded to try to configure the database.<br>

<br>
I set DBENGINE=DB_BERKELEY in /etc/kamailio/kamctlrc and ran &#39;kamdbctl create&#39;, which fails with this message:<br>
<br>
root@uma:/home/noa# kamdbctl create<br>
db4.6_load: /usr/share/kamailio//db_berkeley/kamailio/lcr_gw: reopen: No such file or directory<br>
ERROR: Creating standard tables failed!<br>
<br>
I tried DBENGINE=DBTEXT, and the command failed similarly:<br>
<br>
INFO: creating DBTEXT tables at: /usr/local/etc/kamailio/dbtext ...<br>
cp: cannot stat `/usr/share/kamailio//dbtext/kamailio/lcr_gw&#39;: No such file or directory<br>
ERROR: Creating core tables failed!<br>
<br>
</blockquote></div>
the LCR module got refurbished and changed completely the database structure, but the scripts to create the tables for db_text and db_berkeley engines seem to be not maintained in this case.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Based on this I have a few questions:<br>
<br>
1) Is there a text somewhere outlining the recommended steps to get a basic server going using the .deb packages?<br>
</blockquote>
<br></div>
Just set your apt sources.list accordingly:<br>
<a href="http://www.kamailio.org/dokuwiki/doku.php/packages:debs" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/packages:debs</a><br>
<br>
Then install the packages you want to use.<br>
<br>
There is a tutorial to install from source, but if you skip first part about compilation &amp; install, and then work with new paths for files (configs and binaries are in /etc/kamailio and /usr/sbin when installing from debs), it should guide you pretty easy steps to get it work:<br>

<a href="http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git</a><div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2) What is the recommended backend for the least amount of install time trouble?<br>
</blockquote>
<br></div>
MySQL is the most used and for sure no troubles in handling db creation. Postgres should be fine as well.<br><br></blockquote></div><br>The MySQL integration seems to work without issues. Thanks!<br clear="all"><br><div>
/noa<br>-- <br>Everything is secret.<br>
</div>