I am trying to create a conference which offers (uses) CONFBRIDGE features from the ARI. Based on various posts I’ve gotten this far:
Create bridge (type mixing)
Create channels
Add channels to bridge
Dial channels (Users are all in a bridge now)
Now I have a simple conference with no CONFBRIDGE features. How do I now make this a CONFBRIDGE conference? And then identify one of my channels as admin/marked?
Or am I going about this the wrong way? I feel like I need to add a CONFBRIDGE channel to this bridge to listen and provide the nice features.
Yeah, I had a feeling I was going about this wrong.
Is it possible to create the conference dynamically from an API, and then add channels (which dial users)? I’m trying to programmatically create a CONFBRIDGE and have 3 people answer their phones and end up in a conference.
Basically an automated CONFBRIDGE initiated by my app. I don’t care if I need to use AMI/ARI or mix of them.
If it’s possible, what’s the wright way to do this?
There is no explicit “creation” of a ConfBridge. The act of a channel going into it creates it. You can specify a bridge profile and/or user profile for that channel. AMI provides Originate[1] to make outgoing calls and direct them to a location upon answer, as does ARI[2].
I feel like my question is about to get a stupid slap…but…I’m missing something.
I THINK you are saying that I should originate a channel from the ARI, but instead of sending the channel back to my stasis app, I send it to a CONFBRIDGE (with a bridge profile and user profile, or if none dynamically created). And at that point my app/stasis has nothing more to do with the channel or conference as Asterisk owns the CONFBRIDGE.
If I got that right, ARI channel originate shows how to send the channel to an app (is that where I specify CONFBRIDGE?), or do I have to send the channel into context/extension/priority in the dialplan which runs the CONFBRIDGE command (not ideal)?