<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I just added a note in the readme of the function inside the sqlops
    module.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 11/02/15 08:13, davy van de moere
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALoCozsavt+_wk4VdD07-Lf2OY+HH1XmQT__SPLA5iadHq=KOQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Nope, and that was exactly the issue! With the
        async module added to it, it just works. It wasn't clear out of
        the documentation for me, but it makes a whole lot of sense now
        ;)
        <div><br>
          <div>Thank you Daniel, for being our light in our dark moments
            ;)</div>
          <div><br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-02-10 19:57 GMT+01:00
          Daniel-Constantin Mierla <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:miconda@gmail.com"
              target="_blank">miconda@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
              <br>
              have you set the core async workers parameter?<br>
              <br>
                - <a moz-do-not-send="true"
                href="http://www.kamailio.org/wiki/cookbooks/4.2.x/core#async_workers"
                target="_blank">http://www.kamailio.org/wiki/cookbooks/4.2.x/core#async_workers</a><br>
              <br>
              Cheers,<br>
              Daniel
              <div>
                <div class="h5"><br>
                  <br>
                  <div>On 10/02/15 19:44, davy van de moere wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">Does anyone know if the async queries
                      of kamailio work with mariadb? I'm on kamailio
                      4.2.3, and I can't get the async way of querying
                      to work. I don't get any errors, but I don't see
                      the queries to be executed.
                      <div><br>
                      </div>
                      <div>the relevant part of my config is:</div>
                      <div><br>
                      </div>
                      <div>
                        <p><span>loadmodule "db_mysql.so"</span></p>
                        <p><span>loadmodule "sqlops.so"</span></p>
                        <p><span> </span></p>
                        <p><span>modparam("sqlops","sqlcon","ca=>mysql://kamailio:kamailiorw@localhost/kamailio")</span></p>
                        <p><span> </span></p>
                        <p><span>sql_query_async("ca", "insert into
                            cdr_events (callid) values ('$ci') ");</span></p>
                        <p><br>
                        </p>
                        <p>When just replace sql_query_async with
                          sql_query, I do see inserts passing by.<br>
                        </p>
                        <p><br>
                        </p>
                        <p>Do I just bluntly miss something? Or does
                          someone have some good pointers?</p>
                        <p><br>
                        </p>
                        <p>Thx!</p>
                        <p>Davy</p>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
                <span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
              <span class="HOEnZb"><font color="#888888"> <br>
                  <pre cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a moz-do-not-send="true" href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
                </font></span></div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
              target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<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, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>