CyCoreSystems / ari

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

Return playback id from play.Play #154

Open Naapperas opened 1 year ago

Naapperas commented 1 year ago

There should be a way for a playback Session to expose the underlying playback id to clients.

Ulexus commented 12 months ago

This seems reasonable. Feel free to PR, if you wish.

The intention of the ext/play, though, was to handle the lifecycle of the playback.

For low-level control, you can use ch.Play() or br.Play()