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
_______________________________________________
asterisk-app-dev mailing list
[email protected]
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to