From 33fb2b6d75df860ca3be53f79090352a8d15b5f1 Mon Sep 17 00:00:00 2001 From: Stephen Ayotte Date: Thu, 12 Jan 2006 04:15:04 +0000 Subject: [PATCH] Adding the file lib/shoutAtts.php, which describes those LDAP attributes/values that are unique to Shout that should be manipulable through the Congregation "Edit User" dialogue. git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@230 06cd67b6-e706-0410-b29e-9de616bca6e9 --- lib/shoutAtts.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 lib/shoutAtts.php diff --git a/lib/shoutAtts.php b/lib/shoutAtts.php new file mode 100644 index 000000000..cc70a9094 --- /dev/null +++ b/lib/shoutAtts.php @@ -0,0 +1,29 @@ + + * + * See the enclosed file COPYING for license information (GPL). If you + * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. + */ + +$shoutAttributes = array(); +$shoutAttributes['description'] = 'Phone System Options'; +$shoutAttributes['permsNode'] = 'shout:contexts:somethingOrOther'; +$shoutAttributes['attributes']['extension']['description'] = 'Internal Phone Extension'; +$shoutAttributes['attributes']['extension']['type'] = 'integer'; +$shoutAttributes['attributes']['extension']['size'] = 3; // max length for this particular string +$shoutAttributes['attributes']['extension']['ldapKey'] = 'voiceextensionsomethingIhavenoidea'; + +$shoutAttributes['attributes']['mailboxpin']['description'] = 'Mailbox PIN'; +$shoutAttributes['attributes']['mailboxpin']['type'] = 'integer'; +$shoutAttributes['attributes']['mailboxpin']['size'] = 4; +$shoutAttributes['attributes']['mailboxpin']['ldapKey'] = 'voicemailboxpin'; + +$shoutAttributes['attributes']['phonenumbers']['description'] = 'Phone Numbers'; +$shoutAttributes['attributes']['phonenumbers']['type'] = 'array'; +$shoutAttributes['attributes']['phonenumbers']['size'] = 1; +$shoutAttributes['attributes']['phonenumbers']['arrayType'] = 'string'; +$shoutAttributes['attributes']['phonenumbers']['ldapKey'] = 'asteriskuserphonenumbers'; + +?> -- 2.11.0