<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    there were some workarounds to store bigint as a string in avps,
    probably done in modules such as sqlops. The DB api itself supports
    this type, but the AVP can store inside only string or integer
    values. In this case, auth_db has to be updated to deal with this
    case.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 6/3/13 9:18 PM, Jayesh Nambiar
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANAYozv+3iG-SyHRqN-BYj70WAUnnsUYtpYuXmQDOL_HtbEfQw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div style="">I am using Kamailio with Postgres and I get this
          error while using the load_credentials parameter in the
          auth_db module. Basically I am loading a column whose datatype
          is BIGINT or int8 in postgres. Kamailio shows up with this
          error in syslog when authorization is done:</div>
        <div style="">NOTICE: <core> [db_ut.c:485]: unknown field
          type: 2, setting value to null<br>
        </div>
        <div style="">And it sets the value of AVP as null.</div>
        <div style=""><br>
        </div>
        <div style="">When I change the datatype to int4 and put a
          smaller value it works. I googled a little and figured that
          kamailio supports bigint, but I still get this error. I am
          using Kamailio 4.0.1 to test. Any pointers or directions that
          I should look at?? </div>
        <div style=""><br>
        </div>
        <div style="">Would really appreciate the response.</div>
        <div style=""><br>
        </div>
        <div style="">Thanks,</div>
        <div style=""><br>
        </div>
        <div style="">--- Jayesh</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 Advanced Training, San Francisco, USA - June 24-27, 2013
  * <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *</pre>
  </body>
</html>