[SR-Users] update max_while_loops in config
Daniel-Constantin Mierla
miconda at gmail.com
Mon Apr 12 14:45:23 CEST 2021
On 12.04.21 14:42, Daniel-Constantin Mierla wrote:
> Hello,
>
> On 12.04.21 12:40, Juha Heinanen wrote:
>> It is possible to update value of max_while_loops dynamically in config
>> file?
>>
>> For example, there could be a need to increase the max in some while
>> loop, but after the loop is done, decrease it again for other loops.
>>
>> There exists an rpc command to do that, but I haven't found how to do it
>> in config file.
>>
>> I tried
>>
>> @cfg_seti.core.max_while_loops = 200;
>>
>> but got syntax error.
> the jsonrpcs module exports a function that executes rpc commands from
> command line,
Obviously above I wanted to write: from config file
> jsonrpcs_exec() iirc.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online
> May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
> * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
* https://www.asipto.com/sw/kamailio-advanced-training-online/
More information about the sr-users
mailing list