/[drupal]/contributions/modules/asterisk/asterisk.module
ViewVC logotype

Log of /contributions/modules/asterisk/asterisk.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.108 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 2 08:36:32 2008 UTC (17 months, 3 weeks ago) by thehunmonkgroup
Branch: MAIN
CVS Tags: HEAD
Changes since 1.107: +4 -3 lines
Diff to previous 1.107
more lax file perms. fixing playback file debugging code.

Revision 1.107 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 2 03:01:33 2008 UTC (17 months, 3 weeks ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.106: +17 -10 lines
Diff to previous 1.106
finish up initial error handling code.

Revision 1.106 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 31 23:06:48 2008 UTC (17 months, 3 weeks ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.105: +3 -3 lines
Diff to previous 1.105
first steps at some intelligent debugging messages.  small file perm change in install instructions.

Revision 1.105 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 11 05:43:39 2007 UTC (2 years ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104
update node_access() call for drupal 6.

Revision 1.104 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 11 05:07:29 2007 UTC (2 years ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103
fixing bad variable name.

Revision 1.103 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 11 04:56:25 2007 UTC (2 years ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.102: +6 -3 lines
Diff to previous 1.102
missing closing tag. fix variable notice.

Revision 1.102 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 11 04:28:22 2007 UTC (2 years ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.101: +5 -5 lines
Diff to previous 1.101
missing  in a few places.

Revision 1.101 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 10 21:12:53 2007 UTC (2 years ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.100: +26 -37 lines
Diff to previous 1.100
fix some warnings. code style cleanup. fix broken content display on user pages.

Revision 1.100 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 10 03:18:38 2007 UTC (2 years ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.99: +105 -156 lines
Diff to previous 1.99
more 6.x updates: hook_help(), hook_user(), hook_block(), .info file, file handling, rip out dead direct leap code, rip out dead call queue code.

Revision 1.99 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 9 23:39:34 2007 UTC (2 years ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.98: +10 -10 lines
Diff to previous 1.98
watchdog conversion for D6.

Revision 1.98 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 9 23:08:21 2007 UTC (2 years ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.97: +3 -3 lines
Diff to previous 1.97
l() and url() conversions for drupal 6.

Revision 1.97 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 9 22:10:44 2007 UTC (2 years ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.96: +126 -269 lines
Diff to previous 1.96
Initial step for 6.x conversion: FAPI, schema API, menu. dropped dead table. added and admin perm.

Revision 1.96 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 16 07:37:11 2007 UTC (2 years, 9 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.95: +4 -3 lines
Diff to previous 1.95
added missing return in record attachment form. fixed misnamed validate/submit functions. module is now tested as working Drupal 5.

Revision 1.95 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 16 06:08:39 2007 UTC (2 years, 9 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.94: +8 -5 lines
Diff to previous 1.94
remove collapsible fieldset from server connection parameters. make asterisk server username a form item. small layout change to test server link.

Revision 1.94 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 16 05:18:04 2007 UTC (2 years, 9 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.93: +124 -74 lines
Diff to previous 1.93
update to Drupal 5 -- untested. Note that there will be no DRUPAL-4-7 branch for this module.

Revision 1.93 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 27 18:12:44 2006 UTC (3 years, 1 month ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92
temporary solution for wrong caller on audio block bug.  not using the play for multiple users feature at the moment anyways, so i'll fully solve this issue when i refactor the code to properly support it via a form, probably.

Revision 1.92 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 24 04:44:22 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.91: +16 -10 lines
Diff to previous 1.91
replace record filename validation with required form field. added callee number option to asterisk record file feature--allows call to be bridged to another number and optionally recorded.

Revision 1.91 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 24 03:04:24 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.90: +6 -5 lines
Diff to previous 1.90
extended asterisk_call_number so that other variables in the call array can be passed. adjusted call block and user call feature to use new drupal-bridge context.

Revision 1.90 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 22 15:44:21 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.89: +27 -17 lines
Diff to previous 1.89
fixed validation for the call block and the record attachment form. added file naming check for record attachment form.

Revision 1.89 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 21 17:23:07 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.88: +11 -1 lines
Diff to previous 1.88
add permissions validation to call block and record forms.

Revision 1.88 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 20 13:39:05 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87
call log should default sort by newest call first.

Revision 1.87 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 20 13:36:24 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.86: +6 -6 lines
Diff to previous 1.86
fix pager for call log table.

Revision 1.86 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 20 04:14:48 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.85: +19 -2 lines
Diff to previous 1.85
added record enable per node type feature. users w/ proper permissions who own a node(or call admins)  whose type is enabled for recordings will be allowed to record.

Revision 1.85 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 17 23:45:36 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84
get rid of <em> on recording help text.

Revision 1.84 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 17 23:44:07 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.83: +6 -1 lines
Diff to previous 1.83
added some help text and a user message for recording of messages.

Revision 1.83 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 17 23:19:39 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.82: +2 -1 lines
Diff to previous 1.82
fixed missing base_url declaration in asterisk_send_calls.

Revision 1.82 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 17 22:15:28 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.81: +426 -379 lines
Diff to previous 1.81
cleanup/updating of code doc. move caller/callee validation from asterisk_call to asterisk_send_calls. fixed bug in optional listing of recordings. moved the call block execution to fapi. added asterisk_user_has_number--helper function which checks to make sure that the current user has a number. changed asterisk_validate_playback_files to use fids instead of the asterisk server filename. fixed bad args in asterisk_call_user_page and asterisk_record_message.

Revision 1.81 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 16 05:48:20 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.80: +23 -31 lines
Diff to previous 1.80
removed cruft and fixed bad variable assignment in asterisk_get_file_info. finished converting message playback to new push model--automatic uploading of uncached messages still untested. changes to asterisk_create_call_file to make it more universal and efficient.

Revision 1.80 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 16 04:27:23 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.79: +9 -1 lines
Diff to previous 1.79
added asterisk_process_new_message, which routes the incoming message to the proper function based on message type.  fixed bad file name in move from recording dir to cache. automatic upload of recordings is now working.

Revision 1.79 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 15 23:17:57 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.78: +25 -16 lines
Diff to previous 1.78
hashed out the rest of the initial code for uploading recorded files, and picking up waiting messages for the new push model, including the first AGI script which handles that process--totally untested.

Revision 1.78 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 15 20:09:41 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.77: +13 -1 lines
Diff to previous 1.77
some of write_ini_file got deleted along the way--restoring it here.

Revision 1.77 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 15 19:35:06 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.76: +18 -14 lines
Diff to previous 1.76
fid->drupal_fid, nid->drupal_nid. added list option functionality to recording code--enables user to have the recording listed automatically (or not) upon file upload.

Revision 1.76 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 15 05:13:16 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.75: +11 -16 lines
Diff to previous 1.75
added doc for placement of DRUPAL_INTEGRATION and DRUPAL_ACCOUNTS global variables. removed error messages from asterisk_record_submit--redundant. filename->drupal_filename. updated asterisk_record_message to the new push model. replaced periods with underscores for the asterisk username--periods conflict w/ filenaming. user->drupal_user. changed filepath for recorded file to user's recordings directory.

Revision 1.75 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 14 15:28:36 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.74: +19 -2 lines
Diff to previous 1.74
moved drupal-extensions.conf to a new conf directory, and updated doc accordingly.

Revision 1.74 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 13 16:23:09 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.73: +68 -20 lines
Diff to previous 1.73
added most of the code to support playback of files in the new push model--completely untested. changed xmlrpc name for passing calls to plural, since multiple calls can be passed now.

Revision 1.73 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 13 03:19:18 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.72: +5 -5 lines
Diff to previous 1.72
fixed broken messages in asterisk_send_calls.

Revision 1.72 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 13 03:01:26 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.71: +112 -60 lines
Diff to previous 1.71
completely revamped asterisk_call and related xmlrpc functions. calls are now put into an associative array by type, and each type can have multiple calls. integrated filename parameter into call array. fixed dispatch_time bugs. added write_ini_file function. added some initial code for processing of playback messages.

Revision 1.71 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 20:49:47 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.70: +11 -11 lines
Diff to previous 1.70
whoops--can't use php line feed. rolling back to chr(10) in relevant places.

Revision 1.70 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 20:41:50 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69
bad args in xml-rpc call in asterisk_call.

Revision 1.69 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 20:30:58 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.68: +12 -12 lines
Diff to previous 1.68
replaced all chr(10)'s w/ php newline.

Revision 1.68 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 20:25:30 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.67: +14 -7 lines
Diff to previous 1.67
asterisk_call and asterisk_write_call_file each missing a parameter. fixed error in determining default call status. added xmlrpc call to asterisk_call, and corrected the return value. asterisk_call had wrong args in asterisk_call_number. fixed missing error declaration in asterisk_call_number. changed 'host' to 'user' for file variables in call file--more consistent. is_dir requires full path name, and parse_ini_file needed sections arg in asterisk_validate_host. added asterisk_validate_user_directories, which checks for existence of a user's management dirs, and creates them if not found. asterisk_write_call_file missing doc, and proper defines for temp dir and call spool--also the unlink in that function was in the wrong place, which was generating a php error and causing malformed xmlrpc responses. added doxygen for asterisk_test_connection.

Revision 1.67 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 17:46:18 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66
added missing error declaration.

Revision 1.66 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 17:42:54 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.65: +40 -23 lines
Diff to previous 1.65
added test function for connection to Asterisk XML-RPC server. corrected doc and bad variable in asterisk_xmlrpc.php. coding style corrections in asterisk.module.

Revision 1.65 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 16:31:17 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64
more clarification on connection parameter doc on settings page.

Revision 1.64 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 16:28:03 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.63: +3 -3 lines
Diff to previous 1.63
clarify connection parameter doc on settings page.

Revision 1.63 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 16:22:42 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.62: +4 -4 lines
Diff to previous 1.62
clarify title and descriptions on settings page.

Revision 1.62 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 16:19:01 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61
fixed bad variable in _asterisk_create_username().

Revision 1.61 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 10 22:58:03 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.60: +368 -553 lines
Diff to previous 1.60
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. removed 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 out 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.

Revision 1.60 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 9 18:35:10 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.59: +4 -4 lines
Diff to previous 1.59
temporarily disabling the system calls.  they don't appear to be working, and are causing problems with the current work on instant notification.

Revision 1.59 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 8 17:13:32 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.58: +9 -19 lines
Diff to previous 1.58
added a 'call me' link to user's own user page--calls user and plays demo. removed all the automatic telephone number/pin stuff in the user edit form--seems unnecessary, and can result in faulty numbers being entered and called.

Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 8 14:31:00 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57
replaced header with bold text for audio block.

Revision 1.57 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 7 21:22:53 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56
upload xmlrpc call missing connection parameters.

Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 7 21:15:54 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.55: +29 -20 lines
Diff to previous 1.55
bad logic for upload notifications--this should work.

Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 7 21:02:29 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.54: +2 -3 lines
Diff to previous 1.54
fix bug in record attachment form--upload button was overwriting submit button. for now, made filename field not required--will fix up validation later.

Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 7 20:53:53 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.53: +27 -5 lines
Diff to previous 1.53
finished initial debugging of instant notification feature.  working, but the xmlrpc responses to the drupal site still need work. reorganized how all the helper files are included on the asterisk server. added an instant notification button that allows users to upload recorded files right away--untested.

Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 7 07:24:08 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.52: +10 -4 lines
Diff to previous 1.52
fixed the instant notification function, and a call to it. instant notification still isn't working, though.

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 7 06:54:04 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.51: +2 -6 lines
Diff to previous 1.51
remove redundant drupal_goto() calls in asterisk_page.

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 6 21:58:15 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.50: +47 -1 lines
Diff to previous 1.50
first crack at an xml-rpc instant notification feature.  very alpha.

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 3 13:31:36 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49
commenting out the link function for now--i think the node view option is a better implementation.

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 3 13:30:28 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.48: +20 -15 lines
Diff to previous 1.48
added a fieldset around the recording form in node view.

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 3 13:22:04 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.47: +39 -36 lines
Diff to previous 1.47
commented out all CiviCRM/Direct Leap functionality. this hasn't really gone anywhere, so it will probably either be removed in the future, or broken out into a seperate module.

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 2 16:50:00 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46
clarifying recording message.

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 2 15:14:19 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.45: +35 -1 lines
Diff to previous 1.45
added a basic recording form for users own nodes that have the 'make calls' permission. this is very basic, and will need to be expanded/refactored probably.

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 2 05:39:58 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44
fixed bad variable names and code placement in playback queue code.

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 2 05:34:31 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43
strip the destination query from the fid before putting it in the call queue--it's screwing up the filenaming code.

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 2 03:36:01 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
fixed bad query in file upload code.

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 2 03:30:20 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.41: +16 -10 lines
Diff to previous 1.41
added watchdog entry. fixed file uploads--missing the file revisions update.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 31 06:25:22 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.40: +13 -12 lines
Diff to previous 1.40
fixed fatal bug in .install file. get rid of USING clauses in favor on ON syntax. fixed return value for hook_user view op. fixed form/theme code for delete server table. fixed bad query build and cleaned up table display for call logs.

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 31 01:46:04 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.39: +132 -41 lines
Diff to previous 1.39
converted to form API. added output check. initial conversion of the module to 4.7 is complete--untested.

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 30 06:53:26 2006 UTC (3 years, 2 months ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.38: +53 -54 lines
Diff to previous 1.38
conversion of module from drupal 4.6 -> 4.7.  fapi conversion still remains--all other items should be complete.

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 4 04:56:56 2005 UTC (4 years ago) by malthus
Branch: MAIN
Changes since 1.37: +11 -1 lines
Diff to previous 1.37
Add a link beneath nodes to attach a voice recording via phone.

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 20 15:40:03 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Branch point for: DRUPAL-4-6
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
Modified Direct leap link

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 19 19:38:44 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35
Increase the maximum input length of the textfield in the call number block

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 18 17:38:29 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
Return to 4.6 vs HEAD battle briefly

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 17 14:09:38 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
Increased the form length of the phone number field

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 16 22:06:30 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.32: +14 -1 lines
Diff to previous 1.32
Added directleap xmlrpc methods

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 14 22:01:04 2005 UTC (4 years, 1 month ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.31: +5 -2 lines
Diff to previous 1.31
added code so that empty groups are not returned

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 14 13:26:35 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30
Properly remove our form items from $edit in _user(insert and _user(update

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 14 13:15:50 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.29: +8 -4 lines
Diff to previous 1.29
Fixed incorrect permission code for form items

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 12 23:42:48 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.28: +33 -18 lines
Diff to previous 1.28
Fixed up the xmlrpc functions for directleap. It loads the global user based on the account id.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 12 22:35:03 2005 UTC (4 years, 1 month ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.27: +6 -2 lines
Diff to previous 1.27
with permission from malthus. added urlencoding to acct number. included xmlrpc path in query string.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 12 04:59:11 2005 UTC (4 years, 1 month ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.26: +9 -7 lines
Diff to previous 1.26
with permission from malthus. moved direct_leap_account_number into asterisk_users table

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 12 02:47:46 2005 UTC (4 years, 1 month ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.25: +20 -3 lines
Diff to previous 1.25
with permission from malthus. added user field for direct leap account number. added direct leap perm. added direct leap menu link and goto function

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 12 02:25:02 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.24: +134 -1 lines
Diff to previous 1.24
Request from Directleap

Functions:
grab_groups (account_id)
       returns (group_id, group_name)
grab_numbers (account_id, group_id)
       returns (numbers)

This patch exposes the requested data via the xmlrpc server.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 10 12:57:41 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.23: +21 -14 lines
Diff to previous 1.23
Fixed an SQL error as pointed out by Chad Philips

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 9 03:07:15 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.22: +49 -4 lines
Diff to previous 1.22
Merged contributions from Leo Burd. Added functions to facilitate authenticating a user in a phone application by uid and telephone pin.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 9 02:45:32 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.21: +182 -29 lines
Diff to previous 1.21
Added support for becoming a master asterisk/drupal site. If this feature is enabled, users will be able to input details of their drupal website that also uses the asterisk module. Thus this central site will maintain a list of sites to be queried for calls. In turn this is exported via an xmlrpc method which is called by the asterisk server that will actually make the calls.

There are also some assorted bugfixes.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 6 12:13:58 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.20: +39 -9 lines
Diff to previous 1.20
Adding asterisk configuration of drupal users

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 5 21:46:04 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
Small syntax error :(

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 5 21:44:56 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
Changed the call user page from asterisk_calluser to asterisk_call. asterisk_calluser() should be used when connecting a user to an IVR

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 5 20:50:22 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
*** empty log message ***

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 5 20:28:24 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.16: +14 -32 lines
Diff to previous 1.16
Need to load the user's phone number manually

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 2 07:40:48 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.15: +29 -10 lines
Diff to previous 1.15
Merged some more minor changes

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 2 07:12:41 2005 UTC (4 years, 1 month ago) by malthus
Branch: MAIN
Changes since 1.14: +111 -23 lines
Diff to previous 1.14
Added to implementation of hook_user. User creation and updates are forwarded to the aserisk server as well. This means that drupal users can reigster (via iax) to the asterisk server that is querying the call queue of the drupal installation. User can thus use iax://username as their phone number. They will need to install and configure a iax client. The username is their drupal username and their pass is their configured telephone pin. This probably won't work with distributed auth users (eg, username@example.com). This will be investigated and fixed if necessary.


Several small fixes.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 23 23:24:05 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.13: +11 -3 lines
Diff to previous 1.13
Made it compatible with drupal 4.6 again. The asterisk_cron.php is _not_ currertly compatible with common.inc from 4.6

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 23 21:53:59 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.12: +8 -8 lines
Diff to previous 1.12
fixed access code in asterisk_menu()

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 21 19:30:44 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.11: +118 -13 lines
Diff to previous 1.11
Added 2 blocks
 1. List audio files. When clicked calls user and plays audio file.
 2. Call number. Input number and click to call.

General bugfixing.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 20 13:55:14 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.10: +63 -2 lines
Diff to previous 1.10
Added a call log at admin/logs/calls and a per user log as a (my calls) tab on each users page

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 20 04:55:50 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.9: +8 -3 lines
Diff to previous 1.9
Very small bugfixes and modifications

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 19 20:05:29 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.8: +18 -5 lines
Diff to previous 1.8
Added an API group 'Asterisk call API'

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 19 19:38:09 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.7: +556 -550 lines
Diff to previous 1.7
Improved the docblock comments. PS I finally won the war with api.module.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 19 17:34:49 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6
Added missing $Id

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 19 17:03:26 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.5: +0 -1 lines
Diff to previous 1.5
Removed debug comment

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 19 16:52:00 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.4: +391 -186 lines
Diff to previous 1.4
Code cleanup. Improved/added message playback and recording

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 15 00:00:48 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.3: +0 -12 lines
Diff to previous 1.3
tidied up the module a tad

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 14 19:08:47 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
Do not show a 'call user' link if the (to be called) user does not have a phone number configured

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 14 18:55:00 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Various bug fixes.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 13 23:28:07 2005 UTC (4 years, 2 months ago) by malthus
Branch: MAIN
Initial commit of the asterisk module

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2