Re: [Asterisk-java-users] getMeetMeRooms() Problem
Brought to you by:
srt
From: Michael Y. <mic...@i9...> - 2007-11-07 21:14:50
|
Martin, In this case I am utilizing the Live API only. I am not catching raw manager events. If I do what you suggested getMeetMeRooms() works as it should. What I really don't understand is in my original example how does Asterisk-Java know instantly about the other MeetMe users when only one is firing a manager MeetMeLeaveEvent? Is it parsing the MeetMe command? If so why cant it do this on connection? Mike Martin Smith wrote: > Hello, > > Are you mixing the Live API and the Manager API? Also, can you try > having the 3 extensions call into the meetme room AFTER you connect to > the server but BEFORE you use getMeetMeRooms()? > > I think the reason you're not seeing anything is that Asterisk-Java > internally tracks MeetMe rooms as it sees events, and it hasn't seen an > event yet about your MeetMe room. I know for things like channels that > exist, fetching a list of channels will take care of this -- I don't > know if there's a way to trigger the creation of some MeetMe events so > that AJ knows about the rooms. > > Martin Smith, Systems Developer > ma...@be... > Bureau of Economic and Business Research > University of Florida > (352) 392-0171 Ext. 221 > > > > >> -----Original Message----- >> From: ast...@li... >> [mailto:ast...@li...] On >> Behalf Of Michael Yara >> Sent: Wednesday, November 07, 2007 1:12 PM >> To: ast...@li... >> Subject: [Asterisk-java-users] getMeetMeRooms() Problem >> >> Hello, >> >> Ive been having a strange problem with using getMeetMeRooms() >> from the >> Live implementation of AsteriskServer. I am attempting to get >> the state >> of the conference rooms after I have connected to the manager, but I >> always get an empty collection. >> I have tried both 0.3.0 and 0.3.1 and they both have the same >> behavior. >> Here is an example: >> >> -3 extensions(100,101,102) Call into the static MeetMe room 1234 >> -I start my application which connects to the manager and queries the >> MeetMe rooms via getMeetMeRooms() which returns an empty collection. >> -I then hang up extension 100 when I do this 3 onNewMeetMeUser events >> fire for all 3 extensions and then a Leave state event fires for the >> extension that was hung up. >> >> I have tried restarting my asterisk server with no effect. Is >> Asterisk-Java unable to query MeetMe state on connect? If so >> is there a >> way I can modify Asterisk-Java to do this? >> >> Thank You, >> Mike >> >> >> -------------------------------------------------------------- >> ----------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and >> a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |