ARI Set Multiple Channels Vars At Once

Home » Asterisk Users » ARI Set Multiple Channels Vars At Once
Asterisk Users No Comments

Hi all,

we were wondering if there is a possibility to set multiple channels vars using ARI at once. Docu says it is not, but usually you need to set more than one variable. according docu:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Channels+REST+API#Asterisk16ChannelsRESTAPI-setChannelVar

If you use non staged channel Create it is possible to attach a set of variables. If you use staged dial, you first create a channel than you set the variables one at a time. It would be much easier if you could attach the channel vars to the channel create or to set multiple variables in one command.

is there a way to do this and we haven’t found it yet?

many Thanks Jöran vinzens