<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Have in mind that changes of records (and reload commands) are
      not expected (and not designed) to be done often. This applies to
      most of the modules (permissions, dispatcher, ...) offering such
      commands.</p>
    <p>If you have a very dynamic logic of getting next hop address, you
      better use rtjson module for routing.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 04.07.22 16:04, Marat Gareev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGBFc1XyeOHbPa3tzEAV+0xM+i8Jf7eSH4hn51Qpg5OoBoEQZQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Thanks!
        <div><br>
        </div>
        <div>Seems that jsonrpc_exec is what I need.</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">пн, 4 июл. 2022 г. в 17:09,
          Barry Flanagan <<a href="mailto:barry@flantel.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">barry@flantel.com</a>>:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <div style="font-family:sans-serif"> <span dir="ltr"
                style="margin-top:0px;margin-bottom:0px">4 Jul 2022
                12:30:41 Marat Gareev <<a
                  href="mailto:maratkin94@gmail.com" target="_blank"
                  moz-do-not-send="true" class="moz-txt-link-freetext">maratkin94@gmail.com</a>>:</span>
              <br>
              <br>
              <span dir="ltr" style="margin-top:0px;margin-bottom:0px">>
                Hello!</span> <br>
              <span dir="ltr" style="margin-top:0px;margin-bottom:0px">></span>
              <br>
              <span dir="ltr" style="margin-top:0px;margin-bottom:0px">>
                Is it possible to call RPC functions from script?</span>
              <br>
              <span dir="ltr" style="margin-top:0px;margin-bottom:0px">>
                In particular, I'm interested in the ability to add new
                groups to the dispatcher.</span> <br>
              <span dir="ltr" style="margin-top:0px;margin-bottom:0px">>
                <a
href="https://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.r.add"
                  target="_blank" moz-do-not-send="true"
                  class="moz-txt-link-freetext">https://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.r.add</a></span>
              <br>
              <br>
              <span dir="ltr" style="margin-top:0px;margin-bottom:0px">kamcli
                might do the trick for you. </span> <br>
              <br>
              <span dir="ltr" style="margin-top:0px;margin-bottom:0px">-Barry
              </span> <br>
            </div>
          </div>
          __________________________________________________________<br>
          Kamailio - Users Mailing List - Non Commercial Discussions<br>
            * <a href="mailto:sr-users@lists.kamailio.org"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">sr-users@lists.kamailio.org</a><br>
          Important: keep the mailing list in the recipients, do not
          reply only to the sender!<br>
          Edit mailing list options or unsubscribe:<br>
            * <a
            href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<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></pre>
  </body>
</html>