I use the plugin ari-client. I found all the necessary functions, except for one - channel volume control. Team

ari.channels.setChannelVar( { channelId: message.call_id, variable: "VOLUME(TX)", value: "2" }, function( err, res ) { } ); 

does not work. I found the code node-confbridge ( https://github.com/asterisk/node-confbridge ), tried to pull out the volume control code from there:

 var LISTEN_VOLUME = 'VOLUME(TX)'; var setVar = Q.denodeify( channel.setChannelVar.bind( channel ) ); setVar( { variable: LISTEN_VOLUME, value: "1" } ).catch( function( err ) { console.log( err ); } ).done(); 

But also to no avail. Tell me, please, if anyone has encountered a similar problem - how can it be solved?

    0