<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Royee,<br>
      <br>
      You may take a look at the db_cachedb module which converts the a
      nosSQL to an SQL interface:<br>
         
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.3.x/db_cachedb.html">http://www.opensips.org/html/docs/modules/2.3.x/db_cachedb.html</a><br>
      <br>
      Still, it mainly works only with MongoDB, not with Redis.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>

OpenSIPS Bootcamp 2017, Houston, US
  <a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html">http://opensips.org/training/OpenSIPS_Bootcamp_2017.html</a>
</pre>
    <div class="moz-cite-prefix">On 06/27/2017 12:38 PM, Royee Tichauer
      via Users wrote:<br>
    </div>
    <blockquote
cite="mid:CAFrVV=xEVAHr1YhJ7noHWoeMG9kTNBHYiiwsncVXwd53kPV5eA@mail.gmail.com"
      type="cite">
      <div dir="ltr">I was wondering if it was all possible, and if it
        is which is what I'm understanding from your answer, then how
        should the data in redis look like? 
        <div>If you have an example for a rediscli command to add a
          dispatcher table to it that would be great.</div>
        <div><br>
        </div>
        <div>Royee</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Mon, Jun 26, 2017 at 6:57 PM <<a
            moz-do-not-send="true" href="mailto:jarrod@unixc.org"><a class="moz-txt-link-abbreviated" href="mailto:jarrod@unixc.org">jarrod@unixc.org</a></a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">OpenSIPS
          loads the entire dispatcher structure into memory from the
          underlying (typically SQL) database so it is not querying a
          database for every look up.  Does that alleviate your concern
          for using redis for dispatcher?<br>
          <br>
          Jarrod<br>
          <br>
          > On Jun 26, 2017, at 10:39 AM, Royee Tichauer via Users
          <<a moz-do-not-send="true"
            href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>>
          wrote:<br>
          ><br>
          > Hi all,<br>
          ><br>
          > I wanted to know whether its possible to use redis cache
          as a db for the dispatcher table? If so how would something
          like that look like in redis? What would be the structure
          needed in redis for this?<br>
          ><br>
          > Thanks,<br>
          > Royee<br>
          > _______________________________________________<br>
          > Users mailing list<br>
          > <a moz-do-not-send="true"
            href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
          > <a moz-do-not-send="true"
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
          <br>
          <br>
          _______________________________________________<br>
          Users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>