[Help] Dynamic conference

hi there all …

there is a query …

I am using ‘d’ option for creating dynamic conference … the thing i want to achieve is that when a user dials an extension then s/he is prompted for room number and enters the room number and a enters dynamic conference and when second user comes in then should not be prompted for room number and enters the existing conference … and when the room exceeds the limit of 5 users and new user comes in then prompted for a new room number and the process repeats …

hope I explained my point clearly.

ThankX

why ask for a room number at all? I assume this is for some kind of party line system

(pseudocode- this may work but im not paying attention to syntax so it prolly wont, its just to give you the basic idea)
call comes in
1,set(confnumber=$[${confnumber}+1]) ; if there is no conf number it should start at 1
2,meetmecount(${confnumber},${currentusers}) ; writes number of people in conf to a var
3,execif($[${currentusers}<5]?meetme,${confnumber}) ; if there is less than 5 people in meetme conf, join it, else move on
4,Goto(1) ; else go back to the beginning.

the result is that when someone goes in it starts a variable confnumber as one. it then checks how many users are in that conf and writes it to current users. Then if there are less than 5 it joins the user to the conf. If there are more than 5 it goes back to the beginning, which adds 1 to confnumber and tries again. This will repeat as needed, which means as long as there is a steady stream of callers every conf thats open will be kept full.

hey thanks for the prompt reply … yes U got the point it is a party system… one thing wanted to ask do I have to change the meetme.conf … or should write nothing after [room]

no these rooms will be dynamically created, so you can leave meetme.conf alone…

one thing to add in you will need to set the ‘d’ flag ie

3,execif($[${currentusers}<5]?meetme,${confnumber},d)

but you get the idea right?

[quote=“IronHelix”]no these rooms will be dynamically created, so you can leave meetme.conf alone…

one thing to add in you will need to set the ‘d’ flag ie

3,execif($[${currentusers}<5]?meetme,${confnumber},d)

but you get the idea right?[/quote]

Yes dear I get it and thanks a lot its working … I really appreciate it …

CheerZ

I was facing the same problem and got rid of conference number input n each user visit but cannot solve the limit user option … does anyone know how to get this working for with limit of 5 users

my code should solve that. every time someone wants to join it starts at conf 1. It then sees how many people are in conf1, and if that number is less than 5 it joins them to it. If there are 5 people in conf1 it goes back to the beginning and adds 1, so the process repeats for conf2. this will cycle again for 3-4-5-6 etc until it finds one that is empty.

if you wnat people to be able to select their conference and still keep a limit of 5, then let them dial their conf #. when they dial it run part of my code above to meetmecount and execif, then if its not full with 5 ppl they can join it