<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 11/18/11 9:46 AM, Stephen Dodge (Bistech) wrote:
    <blockquote
cite="mid:63C98A4100A7D34C9D3B85021AA8F0EA14880A5123@BIS-EXS01-VIC-V.office.bistech.co.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 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";
        mso-fareast-language:EN-US;}
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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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">Hello,<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">I thought I&#8217;d
            post this again just in case anyone has some suggestions.&nbsp;&nbsp;
            Apologies if this is a basic question!!<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal">We are using Kamailio 3.1.5 in production.
          &nbsp;We use the sqlops module to run a mysql function to return
          parameters.&nbsp;&nbsp; In the logs I am seeing the flowing warnings. &nbsp;<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">/usr/sbin/kamailio[3991]: WARNING: db_mysql
          [km_res.c:143]: unhandled data type column (diallednumber)
          type id (6), use DB1_STRING as default
          <o:p></o:p></p>
        <p class="MsoNormal">/usr/sbin/kamailio[3991]: WARNING: db_mysql
          [km_res.c:143]: unhandled data type column (ringtime) type id
          (6), use DB1_STRING as default<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="">I think these are generated
            when we return a null value,&nbsp; although this is not causing
            us a problem can anyone advise how to eliminate these
            warnings.</span></p>
      </div>
    </blockquote>
    what are the definitions of the columns diallednumber and ringtime
    in the database table?<br>
    <br>
    The log message is not related to value, but to the column's data
    type, which is not recognized by db_mysql, thus the value is stored
    as string in the result array.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <blockquote
cite="mid:63C98A4100A7D34C9D3B85021AA8F0EA14880A5123@BIS-EXS01-VIC-V.office.bistech.co.uk"
      type="cite">
    </blockquote>
    <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>
Kamailio Advanced Training, Dec 5-8, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>