[asterisk-dev] Audio to/from Asterisk

George Joseph gjoseph at digium.com
Thu Aug 1 09:54:58 CDT 2019


On Thu, Aug 1, 2019 at 7:36 AM Joshua C. Colp <jcolp at digium.com> wrote:

> On Thu, Aug 1, 2019, at 10:28 AM, George Joseph wrote:
> > So here's where we're at with adding this capability...
> >
> > Initial release:
> >  * Two new ARI endpoints, one on channel and one on bridge:
> >    * /channels/<channel_id>/externalMedia
> >    * /bridges/<bridge_id>/externalMedia
>
> What do these return? How do you stop external media at a future time?
>

They'd return an ExternalMedia object which would contain an ID along with
other pertinent data that can be gleaned from the underlying provider.  For
chan_rtp, it could be the local IP address and local port.  To stop the
streaming, you'd make a DELETE  request on the ExternalMedia resource.

This is similar to how we do Playback and Record today.




>
> --
> Joshua C. Colp
> Digium - A Sangoma Company | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev



-- 
*George Joseph*
Digium - A Sangoma Company | Software Developer | Software Engineering
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct/fax: +1 256 428 6012
Check us out at: https://digium.com ยท https://sangoma.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20190801/c0c3a868/attachment.html>


More information about the asterisk-dev mailing list