I need to install Digium G729 codec licences on multiple Asterisk PBX’s, 300-400 to be more precise. I am comfortable with using the register utility and installing the codec itself however i need to speed up the licence registration process somehow as it is not feasible to install the codec licences on this many systems using manually using the registration utility.
Is there some way i can run the Digium register utility in a bash script so i can script the inputs ?
This will loop you over each key id in the list, spawn the register program, select “Digium Products” and “G.729 Codec” menu options, and then enter the key id.
You’ll need to modify the script suit your needs of course, and possibly add more lines to the loop based on what’s expected. This hopefully will get you started though.