<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    as memcached has no kind of persistence, you can also use the
    dialplan module - it is able to do any string transformations
    (including replacements for alias like functionality), by reading
    data from DB and having it cached into memory during runtime:<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
    <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.7.x/dialplan.html">http://www.opensips.org/html/docs/modules/1.7.x/dialplan.html</a><br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 12/29/2011 10:53 PM, Matt Hamilton wrote:
    <blockquote cite="mid:BAY170-W140E4DA66CAAAE142BF5BD9B3AD0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        That will work for me. Thanks a lot.<br>
        <br>
        <div>
          <hr id="stopSpelling">From: <a class="moz-txt-link-abbreviated" href="mailto:brett@nemeroff.com">brett@nemeroff.com</a><br>
          Date: Thu, 29 Dec 2011 12:47:56 -0600<br>
          To: <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
          Subject: Re: [OpenSIPS-Users] cached lookup table<br>
          <br>
          I use memcache regularly for stuff like this<br>
          <br>
          <div class="ecxgmail_quote">On Thu, Dec 29, 2011 at 12:12 PM,
            Matt Hamilton <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:mistral9999@hotmail.com">mistral9999@hotmail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="ecxgmail_quote" style="border-left: 1px
              solid rgb(204, 204, 204); padding-left: 1ex;">
              <div>
                <div dir="ltr">
                  I would like to rewrite the uri for an incoming call
                  before I send it to Asterisk. Is there a cached lookup
                  table that I can use? <br>
                  <br>
                </div>
              </div>
            </blockquote>
            <div><br>
              I use memcache regularly for stuff like this. It's pretty
              easy to setup<br>
              &nbsp;</div>
          </div>
          <br>
          _______________________________________________
          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></div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"</pre>
  </body>
</html>