Hi everyone,
I’m currently working with Asterisk ARI and trying to use channel.play()
to play a media file hosted on Google Cloud Storage (GCS). The media URL is HTTPS and publicly accessible. Example:
(https://storage.googleapis.com/my-bucket-name/hello-world.wav)
However, when I try to use this in:
channel.play({ media: 'https://storage.googleapis.com/my-bucket-name/hello-world.wav' });
…it doesn’t seem to work. There’s no playback, and no error is thrown directly in ARI logs. When I switch to a local sound file like sound:hello-world
, it works fine.
Questions:
- Does Asterisk natively support HTTPS playback via
channel.play()
? - Is there a workaround for playing HTTPS audio?
- Any special format or headers required for remote file playback?