[asterisk-dev] Audio to/from Asterisk

Joshua C. Colp jcolp at digium.com
Wed Aug 7 08:05:45 CDT 2019


On Wed, Aug 7, 2019, at 10:00 AM, George Joseph wrote:
> Thinking more about code organization and taxonomy... It might make 
> sense to make ExternalMedia a first-class object in it's own right. 
> Rather than calling "POST /channels/<channel_id>/externalMedia" or 
> "POST /bridges/<brdge_id>/externalMedia" to create a new external media 
> session, you'd call "POST /externalMedias" and pass in the bridge or 
> channel id you want to act on. This prevents having to have external 
> media code in both the channels and bridges modules.

Would it make sense to just make it a first class unspecial channel so it can be treated everywhere as such?

Want it in a bridge, add it to the bridge. That kinda thing.

-- 
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



More information about the asterisk-dev mailing list