[asterisk-users] App_Originate for over dynamic conference bridge
Ahmed Chohan
ahmedmunir007 at gmail.com
Wed Sep 18 10:14:04 CDT 2019
Hi,
I would like to know for App_Originate that how I can pass the argument to
next dialplan as listed below partial dialplan;
same => n,GotoIf($[${COUNT} > 0 ]?bridge_conference,1)
same => n,Set(__TMPEXTEN=${EXTEN}1)
same => n,ExecIf($[0${CONFBRIDGE_INFO(parties,${EXTEN})} ==
0]?Originate(Local/bridge_conference at main_con,app,ConfBridge,${TMPEXTEN}))
same => n(defaultBridge),ConfBridge(${EXTEN},,,user_menu)
same => n,HangUp()
exten => bridge_conference,1,NoOp(argeument: ${TMPEXTEN})
same => n,ConfBridge(${TMPEXTEN},,,user_menu)
While executing above dialplan the value (argument) in ${TMPEXTE} is not
passing through when moved to dial pattern. However when I use below
dialplan it works good.
same => n,GotoIf($[${COUNT} > 0 ]?bridge_conference,1)
same => n,ExecIf($[0${CONFBRIDGE_INFO(parties,${EXTEN})} ==
0]?Originate(Local/bridge_conference at main_con,app,ConfBridge,${EXTEN}))
same => n(defaultBridge),ConfBridge(${EXTEN},,,user_menu)
same => n,HangUp()
exten => bridge_conference,1,NoOp()
same => n,ConfBridge(${EXTEN},,,user_menu)
My main objective is to create dynamic conference bridge instead of static
conference bridge if the number of participants increased to 1/10/100.. n.
--
Regards,
Ahmed Munir Chohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190918/994885f8/attachment.html>
More information about the asterisk-users
mailing list