Announce audio for channels connected in the bridges

Can someone help to understand why I am getting below error?

[2021-02-19 07:25:39] ERROR[15059]: res_stasis_playback.c:367 play_on_channel: Attempted to play URI 'AUTIO_PATH.wav' on channel 'Announcer/ARI-00000011;1' but scheme is unsupported

I have taken example from below URL to my application, which will announce audio for channels connected in the bridges.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Bridges+REST+API#Asterisk16BridgesRESTAPI-play

From the linked page:

Currently sound:, recording:, number:, digits:, characters:, and tone: URI's are supported.

That means they have to be one of those URIs. Depending on how you have placed the file “sound:AUTIO_PATH” may work.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.