Re: [Asterisk-java-users] asteriskjava.live - GetMeetMeRooms
Brought to you by:
srt
From: Henrik <hen...@fr...> - 2007-07-27 19:28:07
|
ast...@li... wrote: > Asterisk allows to retrieve active rooms with active defined as "room > with at least one participant". > Asterisk-Java provides a getMeetMeRoom(roomName) method that returns a > room object even if the room is empty. This allows you to register a > listener on the room to be notified if someone enters the room even if > the room was inactive before. The room object is then stored > internally. The same thing happens with rooms that were active and > became inactive later on. Therefore you see a mixture of active and > inactive > rooms when > calling getMeetMeRooms(). > A better implementation would be to only return active rooms. I have > created http://jira.reucon.org/browse/AJ-80 to track this enhancement. Hi Stefan thanks for your answer. Ok, I can do a workaround as you described. >> In addition to that I now sometimes don't get any rooms from >> getMeetMeRooms, even if there is an active one. But - when all users >> have left the room or have been kicked out - getMeetMeRooms returns >> the now unused room as described above... >> >> I can't really reproduce this, it happens sometimes and sometimes >> everything works. > > Thats really strange. Can you try to reproduce it and open a > bug in Jira > for this one? Yup, I'll try to produce an example for this if it happens again. Probably sometimes next week.. Thank you Henrik |