Hello,

Maybe you can use htable to store Dynamic configuration. And change value of htable value from kamcmd.

Le 16 mars 2022 15:29, Joshua Young <jyoung@sangoma.com> a écrit :
#!define MYSECTION"
    route("1");
    #!ifdef MYSECTION
    route("2");
    #!endif

I have declarations like this in my kamailio.cfg file, and was curious if there was a way to use kamctl or kamcmd to enable or disable the defined value in a live system. Or if there is another approach/mechanism I'm unaware of the "Serial Forking Based on Q Value" stuff and use it in other parts, but I am looking for a general way to manually manipulate routing on live system using cli commands if possible...

Thanks,
Joshua