[asterisk-users] originate call in dial plan to join confbridge

Jerry Geis jerry.geis at gmail.com
Wed Sep 29 15:44:31 CDT 2021


On Wed, Sep 29, 2021 at 4:40 PM <asterisk at phreaknet.org> wrote:

> On 9/29/2021 4:38 PM, Jerry Geis wrote:
> >
> >
> > On Wed, Sep 29, 2021 at 4:31 PM <asterisk at phreaknet.org
> > <mailto:asterisk at phreaknet.org>> wrote:
> >
> >     On 9/29/2021 4:08 PM, Jerry Geis wrote:
> >     > I need to call 1 number and that number and bring 3 phones into a
> >     > confbridge.
> >     > I tried this:
> >     >
> >     > ; PHONE CONF   - Phone group Conf
> >
> >     >
> >     > exten => 63,1,Originate(SIP/401,exten,63,join_conf)
> >     > exten => 63,2,Originate(SIP/402,exten,63,join_conf)
> >     > exten => 63,3,Originate(SIP/404,exten,63,join_conf)
> >     > exten => 63(join_conf),n,ConfBridge(63,MyConfBridge,MyConfUser)
> >     >
> >     > The problem is this waits till 401 answers -before calling 402
> >     and so
> >     > forth.
> >     > I need to "call" each one "now" and bring into the conference.
> >     >
> >     > How do I do that ? I want all 3 ringing at the same time - and
> >     then as
> >     > they answer they are brought into the conference.
> >
> >     Use the "a" option for asynchronous operation.
> >     e.g. exten => 63,1,Originate(SIP/401,exten,63,join_conf,,a)
> >
> >     > Thanks
> >     >
> >     > Jerry
> >
> >
> > I tried this and got an error:
> > Originate("SIP/122-00000021", "SIP/401,exten,63,join_conf,,a") in new
> > stack
> > [Sep 29 16:35:48] NOTICE[49708][C-000027b0]: app_originate.c:222
> > originate_exec: Invalid timeout: 'a'. Setting timeout to 30 second
> Whoops, you need 2 commas actually, not 1, since you didn't specify a
> priority.
> Full usage explained here:
>
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Application_Originate


Awesome this does work.
Originate(SIP/401,exten,63,join_conf,,,a)

jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210929/1b272ccf/attachment.html>


More information about the asterisk-users mailing list