[OpenSIPS-Users] OpenSIPS Equivalent to Kamailio's cfg_get
bogdan at opensips.org
Thu Jan 5 08:55:36 UTC 2023
Are these cfg values static during runtime? if so, you can simple use
the defines provided by the template'ing support ->
OpenSIPS Founder and Developer
OpenSIPS Bootcamp 5-16 Dec 2022, online
On 1/4/23 12:07 AM, David Villasmil wrote:
> Hey Bodgan!
> It’s used to dynamically set constants, I.e.: a variable you use
> throughout the script.
> You can set it initially like
> Myvar = 3
> Then via cli you can change it.
> I finally did it in opensips with cfgutils, if there’s a better way to
> do it, please let me know.
> Many thanks!
> On Tue, 3 Jan 2023 at 20:12, Bogdan-Andrei Iancu <bogdan at opensips.org
> <mailto:bogdan at opensips.org>> wrote:
> Hi David,
> not sure what this cfg_get is suppose to do :(
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com <https://www.opensips-solutions.com>
> OpenSIPS Bootcamp 5-16 Dec 2022, online
> https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/ <https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/>
> On 12/27/22 1:35 PM, David Villasmil wrote:
>> Hello folks,
>> Is there such a thing? cfgutils seems to be an alternative, but
>> looks like too much for such a simple thing.
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> <mailto:david.villasmil.work at gmail.com>
>> phone: +34669448337
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
> David Villasmil
> email: david.villasmil.work at gmail.com
> <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users