X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=fs_selfservice%2Ffri%2FREADME.txt;fp=fs_selfservice%2Ffri%2FREADME.txt;h=2e3b9088f4515c64fff0461eae4dc5eca059904c;hp=0000000000000000000000000000000000000000;hb=3a17b276638200475d54201fa62566b7440e819a;hpb=46c6025ca0759b96e5bd16e7ce4b16d4df8a0988 diff --git a/fs_selfservice/fri/README.txt b/fs_selfservice/fri/README.txt new file mode 100644 index 000000000..2e3b9088f --- /dev/null +++ b/fs_selfservice/fri/README.txt @@ -0,0 +1,123 @@ +Developed by Dan Littlejohn of Littlejohn Consulting. + www.littlejohnconsulting.com + +Released under the GPL. + +Send bug reports, requests to dan@littlejohnconsulting.com + ++++ + +Misc notes + +ARI Project Page + www.littlejohnconsulting.com?q=ari + +Coding standard + * class - CamelCase (ie ClassName) + * method camelCase (ie methodName) + * variable underscore (ie variable_name) + * constant UNDERSCORE (ie CONSTANT_NAME) + +Requirements + PHP4 (but PHP5 is not yet supported) + PHP PEAR + asterisk 1.2 or later + apache or apache2 + asterisk manager - at a mininum need command access + +security + for security all the files in ./recordings/include should be locked down in the web browser + so they cannot be viewed. + +voicemail email links - For those who would like to include a link to ARI in the voicemail email and set the correct login (mailbox) you can do so as: + + http://< ip address >/recordings/index.php?login=< login > + + replace + < ip address > with the server dns or ip + < login > with the login or mailbox + ++++ + +Module API + +odules can be added or removed from ARI. + +API + +must include these methods. + +rank - weights were the module menu item will appear in the navigation window +init - initialize the module. Database access should first appear here and not in the constructor +navMenu - side navigation menu item +display - main module page content + +example + + +

" . _("new_module") . "

+ "; + + return $ret; + } + + /* + * Displays stats page + * + * @param $args + * Common arguments + */ + function display($args) { + + // build page content + $ret .= checkErrorMessage(); + + $ret .= $display->displayHeaderText("new_module"); + $ret .= $display->displayLine(); + + return $ret; + } + +} + + +?> + +