On Demand Recording

asterisk
Tags: #<Tag:0x00007f702c96d6f8>

(Tsaleem) #1

Hi, does anyone know if there is a way to do a bulk change for the ‘On Demand Recording’ option to ‘enable’? I have about 300 extensions that need this change and would rather enter a command or anything to avoid going through each individual extension.


(Andrew) #2

It’s stored in ASTDB, so you would have to programmatically update. To get you started, this can be accomplished via the CLI, so if your extension is 100:

asterisk -x "database put AMPUSER/100/recording ondemand enabled"