CyCoreSystems / ari

Golang Asterisk REST Interface (ARI) library
Apache License 2.0
191 stars 73 forks source link

Allow multiple media URIs for playback #142

Closed serfreeman1337 closed 1 year ago

serfreeman1337 commented 1 year ago

This PR will allow to use https://github.com/asterisk/asterisk/commit/03d88b56565301d0552676ceb72f059b9267bca7 commit to queue multiple media URIs for playback:

h.StagePlay("myPlaybackID", "sound:your", "sound:extension", "sound:number", "sound:is", "digits:123")

Although it breaks Asterisk v13 compatibility, but its EOL is 2021-10-24.


This change is Reviewable

Ulexus commented 1 year ago

Interesting. I didn't know the feature had been around so long! Here, ext/play has been serving this role nicely, so it's lack has not generally been felt.

Anyway, this looks good, thanks!