Hi everybody,
I actually use ARI with nodejs.
During a call I play some audio files. For all the audio files I have the line:
<PJSIP/yyyy-00000006> Playing '/sound/xxx.slin' (language 'en')
and in my code I have:
mychannel.play({media: 'sound:xxx'})
.then(function(playback) {
playback.on('PlaybackStarted', (event, playback) => {console.log(event)}
playback.on('PlaybackFinished', (event, playback) => {console.log(event)}
}
For some audio file I receive the event on the ASTERISK CLI + the event from ARI
And sometimes I only receive the event on the ASTERISK CLI and not from ARI PLAYBACKSTARTED.
Someone faced this kind of issu?
Thanks a lot!