Hello Juha,

o Juha Heinanen [02/17/09 21:46]:
ok, i read the description, but the model that web conference currently
implements does not match mine.

i want to to this:

- user creates a conference in advance that starts at some given time
  and stops at some other given time

  or

- user creates a conference that starts immediately and stays until it
  is explicitly removed

that latter might be possible to implement using existing web conference
application, but in order to easily implement the former, i would need
roomCreate with a duration argument and automatic roomDelete with
kick-all-out when duration expires.  roomDelete would also be needed as
a new explicit function.
I will be away next week so not be able to work on this, but it should be fairly straightforward to implement. there is some things to changes at a few places though: - add conference_model=[open|booked_rooms] config parameter, so same code can be used for both models, with tweaks at some places:
- roomCreate
   - add conference id to timed conferences list
   - set timer with id from list (timer does only take int parameter),
     session_link 'webconference'
- add WebconfereceFactory::onTimer function
   - look for conf id in list
   - send kickout event to all participants
   - set room password to <disabled>
- getRoom/dialout function
  - check for adminpin==disabled
- onInvite incoming
  - check for adminpin==disabled
- WebConferenceDiaog::onDtmf
 - check for adminpin==disabled
- cleanExpired
   - remove entry from timed conferences list

reason for disabling the room (instead of removing) is that rooms are automatically reopened if the status of a session changes (e.g. disconnected).

Regards
Stefan


-- juha

--
Stefan Sayer
VoIP Services

[email protected]
www.iptego.com

IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to