<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi, Stefan!<br>
      <br>
      What is the mode[1] you are using for db_virtual? Are you sure the
      query is not ran on a different database/URL?<br>
      <br>
      [1]
      <a class="moz-txt-link-freetext"
href="http://www.opensips.org/html/docs/modules/2.3.x/db_virtual.html#idp4722368">http://www.opensips.org/html/docs/modules/2.3.x/db_virtual.html#idp4722368</a><br>
      <br>
      Best regards,</tt>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 10/09/2017 06:24 PM, Stefan Tobé
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAA7e_we_7W9-y_saS9OinTKUD02CM3HUNoPBL3wPXYLYrMzBTQ@mail.gmail.com">
      <div dir="auto">
        <div dir="ltr">
          <div>
            <div>
              <div>Hi Razvan<br>
              </div>
              Interesting detail is that the flushing of binding works
              OK<br>
            </div>
            when I use real backend mysql instead of virtual_db<br>
            <br>
          </div>
          so when I put the following snippet in place in opensips.cfg
          it does work correctly/as expected<br>
          modparam("usrloc", "db_url","mysql://opensips:<wbr>opensipsrw@XXXXXXX/opensips")<br>
          ### TEMP MOD<br>
          #modparam("usrloc", "db_url","virtual://pmset")</div>
        <div dir="ltr"><br>
        </div>
        <div dir="ltr">So the virtdb module does something wrong or at
          least delays flushing queries in this case<br>
        </div>
      </div>
    </blockquote>
  </body>
</html>