[asterisk-users] Add user to conference via ReST/ARI

Joshua C. Colp jcolp at sangoma.com
Thu Jun 15 16:32:24 CDT 2023


On Thu, Jun 15, 2023 at 6:08 PM TTT <lists at telium.io> wrote:

> I’m trying to join a user (at SIP/99) into a conference via REST/ARI.  I
> want the PBX to call the user, and then join him into an existing
> conference.
>
>
>
> I have created a conference in FreePBX with number 1234, and name "conf".
> Conceptually the steps I have so far:
>
>
>
> 1. Call Application_Dial(SIP/99) (via REST)
>
> 2. Wait for user to answer (via ARI)
>
> 3. Add the channel to a bridge (via REST)
>
>
>
> I'm getting stuck on step #3.  Should I call
> Application_BridgeAdd(channel),  where channel is provided via ARI event?
> Or do I use Application_ConfBridge(1234)?
>
>
>
> I'm not sure with the latter option if "conference" parameter is the
> conference number (1234), or name ("conf"), or some other value.
>

You can't. The channel has to be sent into the dialplan using continue, and
then invoke the ConfBridge dialplan application.

-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230615/6e2b3a42/attachment.html>


More information about the asterisk-users mailing list