[OGo-Developer] extending ogo with bundles
Helge Hess
developer@opengroupware.org
Tue, 24 Apr 2007 09:41:12 +0200
On Apr 24, 2007, at 07:06, Sebastian Reitenbach wrote:
> The conference configuration itself is stored completely in the
> asterisk DB
Whats the Asterisk DB? Is it stored in an RDBMS?
>> Well you could enhance the team editor page component to embed
>> additional sub-components based on an NGBundeManager search (on the
>> bundle-info.plist's). Thats what I would do if it was a frequent
>> requirement to enhance the team editor.
> I have no clue how to do this, do you have any examples where I
> could take a
> look in the source to figure out how this would work?
I suppose the way the mail viewer works would be closest. But I guess
its too difficult.
>> If not, I would probably just add the option to the team editor.
>> Thats the UI part. Then you would still need to trigger the
>> additional backend operation.
> Ah, OK, so enhancing the team editor so that it can detect whether the
> AsteriskUI bundle is available, and if so, it just add the pieces
> to allow
> handling of team conference rooms.
Yes.
> Is there some Classes/methods available that could be used to
> detect whether
> a given bundle is available on runtime? Or should I define a
> Default like
> this EnableAsteriskConferenceRoomHandlingInTeamsUI?
There should be some places left where this is done (checks for the
mailer?), search for 'has' and 'bundlemanager'.
Be careful not to link the teams application against Asterisk
specific bundles. If you need to access code in optional parts, you
need to resort to 'NSClassFromString' to lookup classes.
>> Another option would be to create the 'team conference room' on
>> demand - if the user tries to enter it, but it doesn't exist yet. You
>> could autocreate it then.
> This might or might not work, but if someone just calls the
> conference rooms
> before creation... Also password PIN's to the conference rooms have
> to be
> set, this would have to be done automatically too.
OK.
Greets,
Helge
--
Helge Hess
http://www.helgehess.eu/