I have the following :-
exten => 7177585,1,Answer
exten => 7177585,n,Set(CONFBRIDGE_JOIN_SOUND=en/beep)
exten => 7177585,n,Set(CONFBRIDGE_LEAVE_SOUND=en/beep)
exten => 7177585,n,Wait(1)
exten => 7177585,n,Authenticate(/etc/asterisk/password,ma)
exten => 7177585,n,GotoIf($["${CDR(accountcode)}" = “5001”]?stduser)
exten => 7177585,n,GotoIf($["${CDR(accountcode)}" = “5101”]?superuser)
exten => 7177585,n(stduser),ConfBridge(8001,cswM)
exten => 7177585,n,Goto(finish)
exten => 7177585,n(superuser),ConfBridge(8001,casAM)
exten => 7177585,n,(finish)Playback(vm-goodbye)
exten => 7177585,n,Hangup
/etc/asterisk/password
5001:deb54ffb41e085fd7f69a75b6359c989
5101:ff7b58faf21f50da318a5e7cc4d1235b
What I’m trying to do is have standard users that get moh when entering the conference with a message saying waiting for the leader, then when the leader joins everybody goes into conference.
What happens is the first user gets the message and moh, but when a 2nd standard user joins, the moh stops even though the conference isn’t started yet. When the superuser joins, everybody goes into conference.
When the leader leaves, both the joined parties get told the leader has left and both get moh back.
If just a superuser joins then the conference is quiet (no moh).
Any Ideas ?