Originate Call In Dial Plan To Join Confbridge
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
5 thoughts on - Originate Call In Dial Plan To Join Confbridge
I’d use call files,
Others I’m sure would use AMI.
Doug
—
Use the “a” option for asynchronous operation. e.g. exten => 63,1,Originate(SIP/401,exten,63,join_conf,,a)
—
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
Jerry
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