[asterisk-app-dev] Asterisk 13 ARI Playback of audio via HTTP
Matt Riddell
lists at venturevoip.com
Mon Feb 18 10:23:01 CST 2019
Hey, trying to use ARI with NodeJS - this doesn't work:
play(channel, 'sound:http://www.nch.com.au/acm/8k16bitpcm.wav');
should it?
https://wiki.asterisk.org/wiki/display/AST/ARI+and+Channels%3A+Simple+Media+Manipulation says:
A sound file located on the Asterisk system. You can use the /sounds resource to query for available sounds on the system. You can also use specify a media file which is consumed via HTTP (e.g sound:http://foo.com/sound.wav)
But I get
[2019-02-18 11:18:29] WARNING[23860][C-0002f9e3]: file.c:774 ast_openstream_full: File http://www.nch.com.au/acm/8k16bitpcm.wav does not exist in any format
Cheers,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20190218/2e125b3b/attachment.html>
More information about the asterisk-app-dev
mailing list