[asterisk-users] Newbie MeetMe: How to control max users in conference?

Tony Mountifield tony at softins.clara.co.uk
Fri Mar 7 04:01:09 CST 2008


In article <136A969E54082648AD45F9228A75F53C0345C308 at apac-syd-ex001.apac.cpwr.corp>,
Lee, John (Sydney) <John.Lee at compuware.com> wrote:
> I was successful to control the max users (10) if I hardcode the
> conference room number (in this case 101) as follows:
> exten => 8600,1,Playback(conf-thereare)
> exten => 8600,2,MeetMeCount(101)
> exten => 8600,3,Playback(conf-peopleinconf)
> exten => 8600,4,MeetMeCount(101,CONFCOUNT)
> exten => 8600,5,GotoIf($[${CONFCOUNT} <= 10]?6:9)
> exten => 8600,6,MeetMe(101,i)
> exten => 8600,7,Playback(vm-goodbye)
> exten => 8600,8,Hangup()
> exten => 8600,9,Playback(conf-full)
> exten => 8600,10,Playback(vm-goodbye)
> exten => 8600,11,Hangup()
> 
> On the other hand, I thought it would be a better idea if I just allow
> user to enter their conf number when they dial a generic meetme
> extension.  
> exten => 8600,1,MeetMe(,ciMps)
> exten => 8600,2,Playback(vm-goodbye)
> exten => 8600,3,Hangup()
> 
> However, if I choose the 2nd option, I do not seem to be able to control
> the max number of users.
> 
> Any thoughts on how I can achieve this?

Yes, use your first solution, but precede it with a call to the Read()
application for the user to enter their conference number. This will put
it into a channel variable, e.g. ${CONF}, which you can then put in place
of the hard coded number.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list