Re: [Asterisk-java-users] asteriskjava.live - GetMeetMeRooms
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2007-07-27 18:35:46
|
Hi Henrik, 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. For now the best workaround would be to check them for emptyness in your code. > 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... >=20 > 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? =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |