<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 05.07.17 15:24, Jonathan Hunter
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:DB4PR02MB03366D5EA9F26F4852AE8BB8BDD40@DB4PR02MB0336.eurprd02.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
        dir="ltr">
        <div>Hi Guys,</div>
        <div><br>
        </div>
        <div>We are currently building a wholesale platform to route
          numbers to particular carriers, and we are looking to do this
          with hash tables.</div>
        <div><br>
        </div>
        <div><span style="font-size: 12pt;">We will potentially have
            100s of thousands of numbers we will need to lookup and
            query as to where to route them, and one idea is to populate
            them in a database, we would then load these values into a
            hash table which will be defined in the kamailio
            configuration file for us to query in realtime when an
            Invite arrives.</span><br>
        </div>
        <div><br>
        </div>
        <div>The backend database will be modified constantly, so we
          would have the need to reload the hash table on demand.</div>
        <div><br>
        </div>
        <div>I can see there is the ability to reload a whole hash
          table, sht_reload, but is there an option to reload for an
          individual entry which has been added to the database, and we
          therefore want it in the hash table?</div>
        <div><br>
        </div>
        <div>I dont see anything in documentation (forgive me if I have
          missed it), is there an option to reload just an individual
          key entry from the database into cache?</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    loading an individual record from database is not available now,
    however, there is a rpc command to set the value of a record in
    memory, see htable.seti/s rpc commands.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>