<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    if you work with large data records that you want to get via kamcmd,
    then you have to increase the buffer sizes of ctl module -- see the
    readme of that module to identify the parameters to adjust.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 11/01/16 20:22, Vik Killa wrote:<br>
    </div>
    <blockquote
cite="mid:CAC-LwPPUUSunsmUat1VQ_3MOA2Qv60cj9dmoDbkNW7MLeuUM0A@mail.gmail.com"
      type="cite">
      <div dir="ltr">It seems dialplan module does not work with that
        many records (<span style="font-size:12.8px">35326 records to be
          exact)</span>
        <div>After i increased memory to kamailio, the module could load
          the data (kamcmd dialplan.reload), but is unable to 'dump'</div>
        <div><br>
          <div># /usr/local/sbin/kamcmd dialplan.dump 1 </div>
          error: 500 - Internal error root reply </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Jan 11, 2016 at 1:49 PM, Vik
          Killa <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hi Daniel,
              <div>We are experimenting with the dialplan module.</div>
              <div>I have a question about the reload of records. </div>
              <div>We will have 35326 rows in our dialplan table. I
                expect this would take a while to load into memory. Does
                the reload interrupt routing? or does the module save
                new data in a new hash and then change the pointer to
                the new hash? <br>
              </div>
              <div>Thanks,</div>
              <div>V</div>
              <div><br>
              </div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Mon, Jan 11, 2016 at 11:42
                    AM, Daniel-Constantin Mierla <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:miconda@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a></a>></span>
                    wrote:<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>
                        short note to add that one can use dialplan
                        module for doing per/sed-like substitutions with
                        rules stored in database. Reloading of records
                        from database can be done via mi/rpc command,
                        thus without restarting kamailio.<br>
                        <br>
                        dialplan module is particularly useful when
                        needing to deal with lot of substitutions
                        specific for groups of users.<br>
                        <br>
                        Cheers,<br>
                        Daniel
                        <div>
                          <div><br>
                            <br>
                            <div>On 08/01/16 22:45, Vik Killa wrote:<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="ltr">Hi Alex,
                                <div>Thank you! Your suggestion will
                                  most likely fit our solution.</div>
                                <div>/V</div>
                              </div>
                              <div class="gmail_extra"><br>
                                <div class="gmail_quote">On Fri, Jan 8,
                                  2016 at 4:42 PM, Alex Balashov <span
                                    dir="ltr"><<a
                                      moz-do-not-send="true"
                                      href="mailto:abalashov@evaristesys.com"
                                      target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a></a>></span>
                                  wrote:<br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex"><span>On
                                      01/08/2016 04:40 PM, Vik Killa
                                      wrote:<br>
                                      <br>
                                      <blockquote class="gmail_quote"
                                        style="margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex"> That
                                        last statement was in-accurate.
                                        Im not trying to modify the
                                        R-URI<br>
                                        at all actually.<br>
                                        I'd like to create a variable.<br>
                                      </blockquote>
                                      <br>
                                    </span> Right, you're trying to
                                    extract a value from the RURI,
                                    transform it, and copy the
                                    transformed value into something
                                    else.<br>
                                    <br>
                                    I think my last suggestion would
                                    serve that aim, if I understood the
                                    objective correctly.
                                    <div>
                                      <div><br>
                                        <br>
                                        -- Alex<br>
                                        <br>
                                        -- <br>
                                        Alex Balashov | Principal |
                                        Evariste Systems LLC<br>
                                        303 Perimeter Center North,
                                        Suite 300<br>
                                        Atlanta, GA 30346<br>
                                        United States<br>
                                        <br>
                                        Tel: <a moz-do-not-send="true"
                                          href="tel:%2B1-800-250-5920"
                                          value="+18002505920"
                                          target="_blank">+1-800-250-5920</a>
                                        (toll-free) / <a
                                          moz-do-not-send="true"
                                          href="tel:%2B1-678-954-0671"
                                          value="+16789540671"
                                          target="_blank">+1-678-954-0671</a>
                                        (direct)<br>
                                        Web: <a moz-do-not-send="true"
href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>,
                                        <a moz-do-not-send="true"
                                          href="http://www.csrpswitch.com/"
                                          target="_blank">http://www.csrpswitch.com/</a><br>
                                        <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"
                                          target="_blank">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"
                                          rel="noreferrer"
                                          target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                                <br>
                              </div>
                              <br>
                              <fieldset></fieldset>
                              <br>
                              <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>
</pre>
                            </blockquote>
                            <br>
                          </div>
                        </div>
                        <span><font color="#888888">
                            <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>
Book: SIP Routing With Kamailio - <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a moz-do-not-send="true" href="http://miconda.eu" target="_blank">http://miconda.eu</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"
                        target="_blank">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"
                        rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </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>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
  </body>
</html>