Hello,

A new feature has just landed in the SOGo code:  resources planning.

It's now possible to tell SOGo how to identify resources (conference rooms, projectors, etc.) and apply constraints on them to avoid double-bookings and to automatically accept the "invitation" for them.

This works right now only over LDAP and you can identify resources using either :

a- the "calendarresource" objectClass (see http://tools.ietf.org/html/draft-cal-resource-schema-03) b- a specific LDAP attribute (specified by the "KindFieldName" parameter in your SOGoUserSources) which must hold either "location", "thing" or "group" (also see the URL above)

Then, you must also set how many simultaneous bookings are allowed for this resource. A value of "0" means no limit. This limit is also read from a LDAP attribute specified by "MultipleBookingsFieldName".

If SOGo can't determine it's a resource, the code will work just like it did before - meaning that someone must accept/decline the invitation for the resource. If it can, the following scenarios are possible:

1- automatically accept the invitation for the resource if there's no conflict 2- prevent save operations if there's a conflict (ie., someone tries to use a resource already scheduled for an other meeting)

A SOGoUserSources entry which can handle resources might look like :

    {
        CNFieldName = cn;
        IDFieldName = uid;
        KindFieldName = description;
        MultipleBookingsFieldName = multiplebook;
        UIDFieldName = uid;
        baseDN = "dc=inverse,dc=ca";
        bindDN = "cn=sogo,ou=services,dc=inverse,dc=ca";
        bindPassword = zot;
        canAuthenticate = YES;
        displayName = "Partag\U00E9";
        hostname = "127.0.0.1";
        id = public;
        isAddressBook = YES;
        port = 389;
    },

while a resource defined in LDAP *could* look like :

dn: uid=room103,ou=resources,dc=inverse,dc=ca
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
uid: room103
mail: room...@inverse.ca
cn: room103
sn: room103
multiplebook: 1
description: location

Nightly builds are being regenerated and should be available in less than 30 mins with that code in.

Regards,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to