ARI Dial play sound and disconnect

Hello, please, how could I run ARI Web so that it makes a call to a certain number via the PJSIP/Trunk trunk and plays an audio immediately after disconnecting the call.

To which party do you want to play a file after disconnecting the call ?

@jcolp discusses iyou likely problems nicely at

I would like to play any audio that is in an asterisk folder, but I don’t understand ARI. I think I should first make an external call, but I need to add the destination number to the web link, I don’t know how to start.

call an example number 551299999999 and play audio in /var/lib/asterisk/sounds

In the link I posted you will find a link to

https://docs.asterisk.org/Configuration/Interfaces/Asterisk-REST-Interface-ARI/#enter-ami-and-agi

will that help you better understand ?

If it doesn’t, then you need to be more specific about what you don’t understand.

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