-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi there,
today I have tried you lib, but it seems that channel.play doesn't work. I have managed to sniff HTTP request to asterisk http api and it looks like this:
3459 266.198305756 127.0.0.1 → 127.0.0.1 HTTP/JSON 458 POST /ari/channels/1744378993.3/play/5e3fabc0-5168-46e5-b83d-e0a4a6e0c793 HTTP/1.1 , JavaScript Object Notation (application/json)
According to this: [link]https://docs.asterisk.org/Latest_API/API_Documentation/Asterisk_REST_Interface/Channels_REST_API/#playl) the api call shoul look like this:
HTTP/JSON 458 POST /ari/channels/1744378993.3/play?media=sound:demo-congrats`
I have even tried this from curl, and it is working. So I can conclude that you are missing query parameters in your api call....
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels