Adding the file lib/shoutAtts.php, which describes those LDAP attributes/values
authorStephen Ayotte <stephen.ayotte@gmail.com>
Thu, 12 Jan 2006 04:15:04 +0000 (04:15 +0000)
committerStephen Ayotte <stephen.ayotte@gmail.com>
Thu, 12 Jan 2006 04:15:04 +0000 (04:15 +0000)
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 [new file with mode: 0644]

diff --git a/lib/shoutAtts.php b/lib/shoutAtts.php
new file mode 100644 (file)
index 0000000..cc70a90
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+/* 
+ *
+ * Copyright 2005 Ben Klang <ben@alkaloid.net>
+ *
+ * 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';
+
+?>