<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>If you compiled FS with --enable-core-odbc-support so you can use</p>
    <p><param name="odbc-dsn" value="pgsql://hostaddr=xx.xx.xx.xx
      port=xxxx dbname=xxx user=xxx password='xxxx' options='-c
      client_min_messages=NOTICE' application_name='freeswitch'" /></p>
    <p>you must set odbc.ini<br>
    </p>
    <div class="moz-cite-prefix">On 1/3/2018 1:02 PM, Geoff Mina wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1944BE5E-4ADB-4EFA-B444-55E16D824DA1@connectfirst.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      I think the param is db-dsn. Not the underscore version. <br>
      <div><br>
        On Jan 3, 2018, at 12:59 PM, Sergey Safarov <<a
          href="mailto:s.safarov@gmail.com" moz-do-not-send="true">s.safarov@gmail.com</a>>
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <div dir="ltr">I used connection string<br>
            <p class="inbox-inbox-p1"><span class="inbox-inbox-s1"><font
                  color="#0000ff"><span
                    class="inbox-inbox-Apple-converted-space"> </span><param
                  name="db_dsn" value="pgsql://hostaddr=127.0.0.1
                  dbname=******* user=******* password=*******"/></font></span></p>
            <p class="inbox-inbox-p1"><span class="inbox-inbox-s1">Sergey</span></p>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr">ср, 3 янв. 2018 г. в 22:06, <<a
                href="mailto:igor.potjevlesch@gmail.com"
                moz-do-not-send="true">igor.potjevlesch@gmail.com</a>>:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div link="#0563C1" vlink="#954F72" lang="FR">
                <div class="m_4254228560822409932WordSection1">
                  <p class="MsoNormal">Hello !</p>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal"><span lang="EN-GB">I try to
                      connect Nibblebill directly to PostgreSQL but it
                      still fails.</span></p>
                  <p class="MsoNormal"><span lang="EN-GB">I follow the
                      documentation and setup the param like this:
                      <param name="odbc_dsn" value="pgsql://A.B.C.D
                      dbname=prepaid user=prepaid
                      password=<hidden>"/></span></p>
                  <p class="MsoNormal"><span lang="EN-GB"> </span></p>
                  <p class="MsoNormal"><span lang="EN-GB">When I hangup
                      a call, the logs report the following:
                      52c8b77c-f0b8-11e7-8d19-5566a3fb77f6 2018-01-03
                      20:00:19.037333 [CRIT] mod_nibblebill.c:604 Failed
                      to log to database!</span></p>
                  <p class="MsoNormal"><span lang="EN-GB"> </span></p>
                  <p class="MsoNormal"><span lang="EN-GB">Any idea on
                      how to proceed with FS 1.6? Thank you!</span></p>
                  <p class="MsoNormal"><span lang="EN-GB"> </span></p>
                  <p class="MsoNormal"><span lang="EN-GB">Regards,</span></p>
                  <p class="MsoNormal"><span lang="EN-GB"> </span></p>
                  <p class="MsoNormal"><span lang="EN-GB">Igor.</span></p>
                  <p class="MsoNormal"><span lang="EN-GB"> </span></p>
                </div>
              </div>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a href="mailto:consulting@freeswitch.org" target="_blank"
                moz-do-not-send="true">consulting@freeswitch.org</a><br>
              <a href="http://www.freeswitchsolutions.com"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.freeswitchsolutions.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a href="http://www.freeswitch.org" rel="noreferrer"
                target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
              <a href="http://confluence.freeswitch.org"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://confluence.freeswitch.org</a><br>
              <a href="http://www.cluecon.com" rel="noreferrer"
                target="_blank" moz-do-not-send="true">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                target="_blank" moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a href="http://www.freeswitch.org" rel="noreferrer"
                target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a></blockquote>
          </div>
        </div>
      </blockquote>
      <blockquote type="cite">
        <div><span>_________________________________________________________________________</span><br>
          <span>Professional FreeSWITCH Consulting Services:</span><br>
          <span><a href="mailto:consulting@freeswitch.org"
              moz-do-not-send="true">consulting@freeswitch.org</a></span><br>
          <span><a href="http://www.freeswitchsolutions.com"
              moz-do-not-send="true">http://www.freeswitchsolutions.com</a></span><br>
          <span></span><br>
          <span>Official FreeSWITCH Sites</span><br>
          <span><a href="http://www.freeswitch.org"
              moz-do-not-send="true">http://www.freeswitch.org</a></span><br>
          <span><a href="http://confluence.freeswitch.org"
              moz-do-not-send="true">http://confluence.freeswitch.org</a></span><br>
          <span><a href="http://www.cluecon.com" moz-do-not-send="true">http://www.cluecon.com</a></span><br>
          <span></span><br>
          <span>FreeSWITCH-users mailing list</span><br>
          <span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org"
              moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
          <span><a
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br>
          <span>UNSUBSCRIBE:<a
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
          <span><a href="http://www.freeswitch.org"
              moz-do-not-send="true">http://www.freeswitch.org</a></span></div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>