asterisk / node-ari-client

Node.js client for ARI. This library is best effort with limited support.
Other
249 stars 98 forks source link

Playback example is incorrect #126

Open MattRiddell opened 5 years ago

MattRiddell commented 5 years ago

The playback example has this:

playback.control({operation: 'stop'}, function(err) {});

but that results in an error:

{"message":"Invalid operation stop"}

The correct way to do it is:

playback.stop(function(err) {});