<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Traditional Arabic";
        panose-1:2 1 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Century Gothic","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Hello Daniel,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks for your quick reply. You&#8217;re right it&#8217;s shell but got this<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>MySQL password for root:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>INFO: test server charset<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>INFO: creating database kamailio ...<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>INFO: granting privileges to database kamailio ...<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>INFO: creating standard tables into kamailio ...<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Warning: Using a password on the command line interface can be insecure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D;background:yellow;mso-highlight:yellow'>ERROR 1101 (42000) at line 2: BLOB/TEXT column 'body' can't have a default value<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D;background:yellow;mso-highlight:yellow'>ERROR: Creating core tables failed at msilo!</span><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>I&#8217;ve followed wiki installation for Kamailio git 4.0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>There is something I couldn&#8217;t do you said in the wiki <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>If you changed the password for the 'kamailio' user of MySQL, you have to update the value for 'db_url' parameters.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>In Fact I couldn&#8217;t change it because I don&#8217;t know what to put if I&#8217;ve change the db password @ kamdbctl<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'>Amr<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] <b>On Behalf Of </b>Daniel-Constantin Mierla<br><b>Sent:</b> Tuesday, March 12, 2013 10:53 AM<br><b>To:</b> Kamailio (SER) - Users Mailing List<br><b>Subject:</b> Re: [SR-Users] Kamailio MySQL DB Creation<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hello,<br><br>could be sh (shell) constrain issue. Can you execute the script with bash?<br><br>Cheers,<br>Daniel<o:p></o:p></p><div><p class=MsoNormal>On 3/12/13 7:53 AM, Amr Elsharqawi wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>Hello Kamailio Community!!<br><br>I am newbie to Kamailio &amp; SIP. And I am interested in Kamailio. I've used asterisk for some time then I heard about FreeSWITCH unfortunately FreeSWITCH was not good enough for me like Asterisk. I've found NAT problem with Asterisk Finally I've decided to work with Kamailio as SIP server &amp; Asterisk as PBX. to be fair I need to learn more about FreeSWICH to test it well.<br><br>&nbsp;My Question is about Kamailio installation; I am using FreeBSD 9 attached my <b><u>uname -a</u></b><br><br>FreeBSD PBX.XXXXX 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec&nbsp; 4 06:55:39 UTC 2012&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC">root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC</a>&nbsp; i386<br><br>I've used <b><u>gmake</u></b> for building, compiling and installation. Everything goes smooth EXCEPT mysql db installation when I use <b><u>sh /usr/local/sbin/kamdbctl create</u></b><br><br>I am getting the following error:<br><br><b><u>/usr/local/lib/kamailio//kamctl/kamdbctl.base: 36: Syntax error: Missing '}'</u></b><br><br>Thanks a lot for your valuable time and that amazing project (Kamailio).<br><br>Amr<o:p></o:p></p></div><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<o:p></o:p></pre><pre><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><o:p></o:p></pre><pre><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></pre></blockquote><p class=MsoNormal><br><br><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>Daniel-Constantin Mierla - <a href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></pre><pre><a href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a><o:p></o:p></pre><pre>Kamailio World Conference, April 16-17, 2013, Berlin<o:p></o:p></pre><pre> - <a href="http://conference.kamailio.com">http://conference.kamailio.com</a> -<o:p></o:p></pre></div></body></html>