Closed mpbanna closed 7 years ago
ok, then how to get argument value in ari.on('StasisStart',function(){});
Hello,
channel.originate( {endpoint: 'SIP/1000', app: 'application', appArgs: 'yourargument'}, function (err, channel) {} );
ari.on('StasisStart',function(event, channel){ var arg = event.args; });
(sorry I sent the comment by error on the first time)
Thanks, it working.
Thanks for the quick reply @lucassoler
hello, How to set argument value in channel.orginate() and how to get argument value in ari.on('StasisStart',function(){});