On Thu, Jun 15, 2023 at 6:08 PM TTT <li...@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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to