[contributions:thehunmonkgroup] /modules/asterisk asterisk.module asterisk_common.inc /modules/asterisk/scripts asterisk_config.inc asterisk_xmlrpc.php
User: thehunmonkgroup Branch: HEAD Date: Sun, 10 Sep 2006 22:58:04 +0000 Modified files: /modules/asterisk asterisk.module asterisk_common.inc /modules/asterisk/scripts asterisk_config.inc asterisk_xmlrpc.php Log message: first major rework of the module to a complete push model. If you want to test a working module, you might want to get the cvs revision previous to this one. :) completely removed the site list feature. added a perm for admin of call logs. updated the help text--it's going to need filled out again with new instructions. converted asterisk_call function to use a single array for an argument--more flexible. also, calls are now passed directly from asterisk_call to the Asterisk server if they are marked 'dispatched' (which is the default). converted all support functions to work w/ asterisk_call. removed asterisk_link. moved the record processing code to the record submit function. removed all of the old xmlrpc functions, and added a single ping function--this is how the Asterisk server will alert the Drupal site that it has messages waiting. Drupal will then query Asterisk for the messages, which is more secure if the Asterisk XML-RPC server is set up as recommended. remove d asterisk_validate_user. added callback for the check messages XML-RPC call. removed asterisk_error. converted asterisk_upload_file to asterisk_save_file. converted asterisk_get_file_info to hand info directly to the call file code. removed asterisk_get_site_list. reworked asterisk_getnextinqueue. removed _asterisk_is_user_valid, asterisk_user_validate, and asterisk_authenticate_user. reworked the parameters for connection--user is now an automatically generated string based on the base url of the site, and the server parameter is gone. made url of the drupal xmlrpc server configurable. move the check for a user's phone number, and for access to node files, to asterisk_page. removed the instant upload recording code, and the old instant notification approach. removed asterisk_call_self_page. consolidated all user calls through asterisk_call_number. removed old cron code. moved creation of call files to the asterisk module--this now happens on the drupal side. commented ou t all of the user creation code on the asterisk side--not working. reworked the fetch_file function. reworked the asterisk_config.inc file to use defines, removed the auto directory generation, and added code doc. reworked asterisk_xmlrpc.php, added code doc and support functions for the xmlrpc call to write the call file. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/asterisk/asterisk.... http://cvs.drupal.org/diff.php?path=contributions/modules/asterisk/asterisk_... http://cvs.drupal.org/diff.php?path=contributions/modules/asterisk/scripts/a... http://cvs.drupal.org/diff.php?path=contributions/modules/asterisk/scripts/a...
participants (1)
-
drupal-cvs@drupal.org