<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi David,<br>
      <br>
      Are these cfg values static during runtime? if so, you can simple
      use the defines provided by the template'ing support ->
      <a class="moz-txt-link-freetext" href="https://www.opensips.org/Documentation/Templating-Config-Files-3-2">https://www.opensips.org/Documentation/Templating-Config-Files-3-2</a><br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 5-16 Dec 2022, online
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/">https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
    <div class="moz-cite-prefix">On 1/4/23 12:07 AM, David Villasmil
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFGRPVr+q-ppvWXQ+R6+4mwp0yCei+c0_bDdzw2SHtvgXJyjfg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Hey Bodgan!</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">It’s used to dynamically set constants, I.e.: a
        variable you use throughout the script.</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">You can set it initially like</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Myvar = 3</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Then via cli you can change it.</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">I finally did it in opensips with cfgutils, if
        there’s a better way to do it, please let me know.</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Many thanks!</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">David</div>
      <div><br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Tue, 3 Jan 2023 at 20:12,
            Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org"
              moz-do-not-send="true">bogdan@opensips.org</a>> wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
            <div> <font style="font-family:monospace;color:rgb(0,0,0)"
                face="monospace">Hi David,<br>
                <br>
                not sure what this cfg_get is suppose to do :(<br>
                <br>
                Regards,<br>
              </font>
              <pre cols="72" style="font-family:monospace">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank" style="font-family:monospace" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 5-16 Dec 2022, online
  <a href="https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/" target="_blank" style="font-family:monospace" moz-do-not-send="true">https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
            </div>
            <div>
              <div>On 12/27/22 1:35 PM, David Villasmil wrote:<br>
              </div>
            </div>
            <div>
              <blockquote type="cite">
                <div dir="ltr">Hello folks,
                  <div><br>
                  </div>
                  <div>Is there such a thing? cfgutils seems to be an
                    alternative, but looks like too much for such a
                    simple thing.</div>
                  <div><br clear="all">
                    <div>
                      <div dir="ltr" data-smartmail="gmail_signature">
                        <div dir="ltr">
                          <div>Regards,</div>
                          <div><br>
                          </div>
                          David Villasmil
                          <div>email: <a
                              href="mailto:david.villasmil.work@gmail.com"
                              target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a></div>
                          <div>phone: +34669448337</div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <br>
                <fieldset></fieldset>
              </blockquote>
            </div>
            <div>
              <blockquote type="cite">
                <pre style="font-family:monospace">_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" style="font-family:monospace" moz-do-not-send="true">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" style="font-family:monospace" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature"
        data-smartmail="gmail_signature">
        <div dir="ltr">
          <div>Regards,</div>
          <div><br>
          </div>
          David Villasmil
          <div>email: <a href="mailto:david.villasmil.work@gmail.com"
              target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a></div>
          <div>phone: +34669448337</div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>