App_Originate For Over Dynamic Conference Bridge
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@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@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.