Comments (2)
I'm guessing the underlying Playback application hasnt been loaded into Asterisk. Can you go into the Asterisk console and do a core show applications
and see if Playback is listed?
from node-ari-client.
From the example above it doesn't look like that playback object was used to play a sound on a channel. What was done was create an object with a placeholder ID but Asterisk doesn't know about it yet. You'll need to use that object to play a sound on a channel or bridge first:
channel.play({ media: 'sound:some-sound' }, playback, function (err, updatedPlayback) {});
The goal of creating the playback object is so you have an ID ahead of time for registering events and controlling the playback.
from node-ari-client.
Related Issues (20)
- PlaybackFinished does not differentiate between file playback complete or there is an error while playing HOT 5
- ARI Feature Request "BackGroundDetect"
- BridgeDestroyed event not captured
- Trying to connect to an unreachable host doesn't always throw an error
- Upgrading swagger HOT 4
- ari.recordings.getStoredFile(): SyntaxError: Unexpected token R in JSON at position 0 HOT 1
- Unable to received dtmf input after certain level
- Final dialstatus of dialed channel
- Client disconnection without warnings
- Can i use originate for outbound call using sip trunk HOT 1
- can't read swagger JSON HOT 4
- Can i add member to queue? HOT 1
- Warnings on deprecated libraries and dependencies when installed on Node V12.22.09 HOT 1
- How to remove sound of connection from person listened with snoopChannel?
- setChannelVar HOT 3
- Error: Channel not found on hangup HOT 4
- EventEmitter(catch like 'StasisStart') HOT 1
- Asterisk ARI Issue HOT 24
- snoopChannel - Channel not in Stasis application
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ari-client.