astpicotts/extensions-conference.conf

26 lines
903 B
Text
Raw Normal View History

2018-01-22 01:39:24 +01:00
[conference]
exten => s,1,GotoIf($[${CONF_EXT_CALL} == "1"]?extcall)
exten => s,n,AGI(/home/bn8/dev/astpicotts/conference.py,--cache,-d,--can-create)
exten => s,n,Goto(enterconf)
exten => s,n(extcall),AGI(/home/bn8/dev/astpicotts/conference.py,--cache)
exten => s,n,Goto(enterconf)
exten => s,n(enterconf),Verbose(Conf ID : ${CONFID})
exten => s,n,ExecIf($[${CONFID} == "None"]?Hangup())
exten => s,n,Goto(${CONFID},1)
exten => _.,1,Verbose(User is creator : ${CONF_CREATOR})
exten => _.,n,Set(CONFBRIDGE(user,marked)=no)
exten => _.,n,Set(CONFBRIDGE(user,announce_join_leave)=yes)
exten => _.,n,Set(CONFBRIDGE(user,music_on_hold_when_empty)=yes)
exten => _.,n,Set(CONFBRIDGE(user,music_on_hold_class)=default)
exten => _.,n,Set(CONFBRIDGE(user,end_marked)=yes)
exten => _.,n,ConfBridge(${CONFID})
; Macro(ext2conf)
[macro-ext2conf]
exten => s,1,Set(CONF_EXT_CALL=1)
exten => s,n,Macro(conference)