Hey, i have now this conference dialplan, but i dont like the while loop, there mus tbe another way? Below , 7000 is the “marked user” and i have video set on “first_marked”
In the “default_user” profile, i already set this : “wait_marked=yes” , but that doesnt help…
Whoever calls to 1234 needs to hear the ringtone, until i do an originate to 7000 and he is in the confbridge…
How can i make this better?
exten => 1234,1,Ringing()
same => n,Originate(PJSIP/7000,exten,default,710,1,,aC(ulaw,h264))
same => n,Set(i=1)
same => n,While($[${i} < 60])
same => n,NoOp(Confbridge number of participants : ${CONFBRIDGE_INFO(parties,1)})
same => n,GotoIf($["${CONFBRIDGE_INFO(parties,1)}" >= "1"]?startconf)
same => n,Wait(1)
same => n,Set(i=$[${i} + 1]
same => n,EndWhile()
same => n(startconf),ConfBridge(1,myconferenceroom,default_user)
same => n,Hangup()