<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>OK, great it was sorted out.</p>
    <p>Btw, did you see any example using unixODBC for kamalio modules
      URLs? If yes, let us know, we need to correct that.<br>
    </p>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 29/04/16 12:54, Nagorny, Dimitry
      wrote:<br>
    </div>
    <blockquote
      cite="mid:9f91cf5bf6ef4ae8b59b2c1668aca401@r5prod-exchange.robot5.de"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;
        mso-fareast-language:DE;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;
        mso-fareast-language:DE;}
span.E-MailFormatvorlage19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Consolas",serif;
        color:black;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:windowtext">Thanks a lot
            Daniel, that was the culprit.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><span
              style="color:windowtext;mso-fareast-language:DE">Best
              Regards<o:p></o:p></span></p>
          <p class="MsoNormal"><b><span
                style="color:windowtext;mso-fareast-language:DE">Dimitry
                Nagorny<o:p></o:p></span></b></p>
          <p class="MsoNormal"><span
              style="font-size:8.0pt;color:windowtext;mso-fareast-language:DE">Trainee</span><span
style="font-size:8.0pt;color:#7F7F7F;mso-fareast-language:DE"
              lang="EN-US"><o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div style="border:none;border-left:solid blue 1.5pt;padding:0cm
          0cm 0cm 4.0pt">
          <div>
            <div style="border:none;border-top:solid #E1E1E1
              1.0pt;padding:3.0pt 0cm 0cm 0cm">
              <p class="MsoNormal"><b><span
                    style="color:windowtext;mso-fareast-language:DE">Von:</span></b><span
                  style="color:windowtext;mso-fareast-language:DE">
                  sr-users
                  [<a class="moz-txt-link-freetext" href="mailto:sr-users-bounces@lists.sip-router.org">mailto:sr-users-bounces@lists.sip-router.org</a>]
                  <b>Im Auftrag von </b>Daniel-Constantin Mierla<br>
                  <b>Gesendet:</b> Freitag, 29. April 2016 12:30<br>
                  <b>An:</b> Kamailio (SER) - Users Mailing List
                  <a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.sip-router.org"><sr-users@lists.sip-router.org></a><br>
                  <b>Betreff:</b> Re: [SR-Users] unixODBC failure/bug?<o:p></o:p></span></p>
            </div>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p>Hello,<span
              style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
          <p>can try with ODBC written with lowercase letters in DBURL?
            File names should be case sensitive on Linux OS.<o:p></o:p></p>
          <p>Cheers,<br>
            Daniel<o:p></o:p></p>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <p class="MsoNormal">On 29/04/16 11:45, Nagorny, Dimitry
              wrote:<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal">Hi all,<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">I am trying to use the unixODBC module
              to connect to MariaDB as a first step and then to test it
              to connect to MSSQL (please don’t blame me on MSSQL...). I
              am using Kamailio 4.3.5 on CentOS7.2 fully patched. Here
              info about installed unixODBC:<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"><i>[root@r5dev-KAM1 ~]# yum list
                installed | grep unix</i><o:p></o:p></p>
            <p class="MsoNormal"><i>unixODBC.x86_64                      
                2.3.1-11.el7                    @base</i><o:p></o:p></p>
            <p class="MsoNormal"><i>unixODBC-devel.x86_64           
                2.3.1-11.el7                    @base</i><o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">Which leads me to my possible problem
              that I can’t start Kamailio with db_unixodbc.so because it
              is giving me this error:<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"><i>r5dev-KAM1
                /usr/local/kamailio/sbin/kamailio[16307]: ERROR:
                <core> [db.c:203]: db_bind_mod(): Module
                db_unixODBC not found. Missing loadmodule?</i><o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">Followed by errors from modules
              depending on the DBURL are failing as well. Here my
              modules part:<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"><i>...</i><o:p></o:p></p>
            <p class="MsoNormal"><i>#!define DBURL
                "unixODBC://root:<passw>@localhost/MARIADB"</i><o:p></o:p></p>
            <p class="MsoNormal"><i>...</i><o:p></o:p></p>
            <p class="MsoNormal"><i># Module Path</i><o:p></o:p></p>
            <p class="MsoNormal"><i>mpath="/usr/local/kamailio/lib64/kamailio/modules/"</i><o:p></o:p></p>
            <p class="MsoNormal"><i> </i><o:p></o:p></p>
            <p class="MsoNormal"><i>loadmodule "tls.so"</i><o:p></o:p></p>
            <p class="MsoNormal"><i># ----- tls params -----</i><o:p></o:p></p>
            <p class="MsoNormal"><i>modparam("tls", "config",
                "/usr/local/kamailio/etc/kamailio/tls.cfg")</i><o:p></o:p></p>
            <p class="MsoNormal"><i> </i><o:p></o:p></p>
            <p class="MsoNormal"><i>#loadmodule "db_mysql.so"</i><o:p></o:p></p>
            <p class="MsoNormal"><i>loadmodule "db_unixodbc.so"</i><o:p></o:p></p>
            <p class="MsoNormal"><i>...</i><o:p></o:p></p>
            <p class="MsoNormal"><i> </i><o:p></o:p></p>
            <p class="MsoNormal">I doublechecked that the module was
              compiled and is present:<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"><i>[root@r5dev-KAM1 ~]# ls -ll
                /usr/local/kamailio/lib64/kamailio/modules/ | grep unix</i><o:p></o:p></p>
            <p class="MsoNormal"><i>-rwxr-xr-x. 1 root root  184451 28.
                Apr 08:56 db_unixodbc.so</i><o:p></o:p></p>
            <p class="MsoNormal"><i> </i><o:p></o:p></p>
            <p class="MsoNormal">I tried to check the db.c and
              db_unixodbc.c but I am not familiar with the c-syntax.
              <o:p></o:p></p>
            <p class="MsoNormal">I somehow suspect that the error is
              related to Linux case sensitivity if db.c is trying to
              check if „unixODBC“ is installed and then trying to match
              it with the „db_unixodbc.so“ but I’m am not sure.
              <o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">Can someone please give further advice?<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"><span style="mso-fareast-language:DE">Respectfully</span><o:p></o:p></p>
            <p class="MsoNormal"><b><span
                  style="mso-fareast-language:DE">Dimitry Nagorny</span></b><o:p></o:p></p>
            <p class="MsoNormal"><span
                style="font-size:8.0pt;mso-fareast-language:DE">Trainee</span><o:p></o:p></p>
            <p class="MsoNormal"><span
                style="font-size:12.0pt;font-family:"Times New
                Roman",serif;mso-fareast-language:DE"><br>
                <br>
                <br>
                <o:p></o:p></span></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 moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><o:p></o:p></pre>
            <pre><a moz-do-not-send="true" 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"><span
              style="font-size:12.0pt;font-family:"Times New
              Roman",serif;mso-fareast-language:DE"><br>
              <br>
              <o:p></o:p></span></p>
          <pre>-- <o:p></o:p></pre>
          <pre>Daniel-Constantin Mierla<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a><o:p></o:p></pre>
          <pre>Kamailio World Conference, Berlin, May 18-20, 2016 - <a moz-do-not-send="true" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a><o:p></o:p></pre>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>