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

2021-09-29 Thread asterisk
On 9/29/2021 4:38 PM, Jerry Geis wrote:
>
>
> On Wed, Sep 29, 2021 at 4:31 PM  > 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-0021", "SIP/401,exten,63,join_conf,,a") in new
> stack
> [Sep 29 16:35:48] NOTICE[49708][C-27b0]: 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

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

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

2021-09-29 Thread asterisk
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


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

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

2021-09-29 Thread Jerry Geis
On Wed, Sep 29, 2021 at 4:40 PM  wrote:

> On 9/29/2021 4:38 PM, Jerry Geis wrote:
> >
> >
> > On Wed, Sep 29, 2021 at 4:31 PM  > > 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-0021", "SIP/401,exten,63,join_conf,,a") in new
> > stack
> > [Sep 29 16:35:48] NOTICE[49708][C-27b0]: 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
-- 
_
-- 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

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

2021-09-29 Thread Jerry Geis
On Wed, Sep 29, 2021 at 4:31 PM  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-0021", "SIP/401,exten,63,join_conf,,a") in new stack
[Sep 29 16:35:48] NOTICE[49708][C-27b0]: app_originate.c:222
originate_exec: Invalid timeout: 'a'. Setting timeout to 30 second


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

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

2021-09-29 Thread Doug Lytle
>>> 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.

I'd use call files,

Others I'm sure would use AMI.

Doug

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

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

2021-09-29 Thread Jerry Geis
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.

Thanks

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