Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Mar 10, 2008 11:55 pm    Post subject: [asterisk-users] Newbie MeetMe: How to control max users in Reply with quote

Quote:
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
Quote:
it into a channel variable, e.g. ${CONF}, which you can then put in
place
Quote:
of the hard coded number.

Thanks Tony for your advice.
Below is a working version of a Meetme extension which a) check the
conference room number and b) restrict the max size of the attendees of
each conference room.
The good thing is that we only need to program one extension for all
conference room instead of one for each.
The down side is that I have to hard code the conference room numbers
and the max size (which is not good from a good programmer's point of
view).

exten => 8101,1,Answer()
exten => 8101,n(L8101A),Playback(enter-conf-call-number)
exten => 8101,n,Read(ConfNumber,,3)
exten => 8101,n,GotoIf($[${ConfNumber} = 101]?L8101D:L8101B)
exten => 8101,n(L8101B),GotoIf($[${ConfNumber} = 102]?L8101D:L8101C)
exten => 8101,n(L8101C),Playback(conf-invalid)
exten => 8101,n,Wait(1.5)
exten => 8101,n,Goto(L8101A)
exten => 8101,n(L8101D),Playback(conf-thereare)
exten => 8101,n,MeetMeCount(${ConfNumber},ConfCount)
exten => 8101,n,SayNumber(${ConfCount})
exten => 8101,n,Playback(conf-peopleinconf)
exten => 8101,n,GotoIf($[${ConfCount} < 10]?L8101E:L8101F)
exten => 8101,n(L8101E),MeetMe(${ConfNumber},ciMps)
exten => 8101,n,Playback(vm-goodbye)
exten => 8101,n,Hangup()
exten => 8101,n(L8101F),Playback(conf-full)
exten => 8101,n,Playback(vm-goodbye)
exten => 8101,n,Hangup()
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services