CONFBRIDGE require admin for join

Joined: Tue 15 of Sep, 2015

CONFBRIDGE require admin for join

Posted:Tue 15 of Sep, 2015 (14:24 UTC)

I'm having an issue with my conference bridges.

When two users (using the User PIN) join a conference bridge, they are placed into the bridge without the admin being present.
I need to have it so that users are not placed into the bridge until the Admin user joins the bridge (with the admin pin).

Here is an example of a configured bridge:

; confbridge 92202
exten => 92202,1,Macro(user-callerid,)
exten => 92202,n,Set(MEETME_ROOMNUM=92202)
exten => 92202,n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?READPIN)
exten => 92202,n,Answer
exten => 92202,n,Wait(1)
exten => 92202,n,Set(PINCOUNT=0)
exten => 92202,n(READPIN),Read(PIN,enter-conf-pin-number,,,,)
exten => 92202,n,GotoIf($[x${PIN} = x2202]?USER)
exten => 92202,n,GotoIf($[x${PIN} = x8702]?ADMIN)
exten => 92202,n,Set(PINCOUNT=$[${PINCOUNT}+1])
exten => 92202,n,GotoIf($[${PINCOUNT}>3]?h)
exten => 92202,n,Playback(conf-invalidpin)
exten => 92202,n,Goto(READPIN)
exten => 92202,n(ADMIN),Noop(Admin user enter bridge)
exten => 92202,n,Set(CONFBRIDGE(user,admin)=yes)
exten => 92202,n,Goto(STARTMEETME, 1)
exten => 92202,n(USER),Noop(Normal user enter bridge)
exten => 92202,n,Goto(STARTMEETME, 1)

Any help would be greatly appreciated.