Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ambiorixg12/ad220e54bf8e87fc14b69c192a1f1fcb to your computer and use it in GitHub Desktop.
Save ambiorixg12/ad220e54bf8e87fc14b69c192a1f1fcb to your computer and use it in GitHub Desktop.
confbridge kick all users if marked user leave the conference
exten => 1,1,Answer()
exten => 1,n,GotoIf($["${CALLERID(num)}"!="6000"]?end)
exten => 1,n,Set(CONFBRIDGE(user,admin)=yes)
exten => 1,n,Set(CONFBRIDGE(user,marked)=yes)
exten => 1,n,Goto(conf)
exten => 1,n(end),Set(CONFBRIDGE(user,end_marked)=yes)
exten => 1,n(conf),ConfBridge(1)
Device with CID 6000 is the marked user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment