Simon Austin
2006-Aug-27 09:19 UTC
[asterisk-users] detecting a users number using the dialplan or AGI
Hi All, I was hoping someone could help me with a problem I'm having determining a users number. Is there any way in the dialplan or with an AGI to detect what a users number is for use in a meetme conference? I am using the MeetMeAdmin function from within the dialplan. I would like one of my admins to be able to drop out of the conference and be able to kick the last user that joined the conference. I believe that I can do this using: MeetMeAdmin("confno"|k|"userno") keeping track of the confno is easy since I created it, but I don't know how to determine the user number of the last person that joined the conference. Is there a way to store this in a variable before they join the conference? Or perhaps a way to detect the last user to join the conferences number? Any help is appreciated. Cheers, - Simon Austin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060827/c91c9cfa/attachment.htm
Time Bandit
2006-Aug-27 13:31 UTC
[asterisk-users] detecting a users number using the dialplan or AGI
> keeping track of the confno is easy since I created it, > but I don't know how to determine the user number of the last person that > joined the conference. > > Is there a way to store this in a variable before they join the conference? > Or perhaps a way to detect the last user to join the conferences number?Maybe by listing the users in the conference and parsing the output something like : "meetme list 87004" you will get an output like : User #: 1 Channel: SIP/7004-1d3f (Admin) hope this help