/[drupal]/contributions/modules/asterisk/drupal_integration/scripts/save_recording_message.agi
ViewVC logotype

Diff of /contributions/modules/asterisk/drupal_integration/scripts/save_recording_message.agi

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

revision 1.6, Mon Jun 2 08:36:33 2008 UTC revision 1.7, Tue Jun 3 16:03:11 2008 UTC
# Line 81  if (file_exists($asterisk_filepath)) { Line 81  if (file_exists($asterisk_filepath)) {
81      if (write_ini_file($message_file, $message)) {      if (write_ini_file($message_file, $message)) {
82        // Make sure the webserver user can read the message file.        // Make sure the webserver user can read the message file.
83        chmod($message_file, 0777);        chmod($message_file, 0777);
84          chmod($asterisk_filepath, 0770);
85    
86        if (xmlrpc($drupal_xmlrpc_url, 'asterisk.notify.NewMessages', array(basename($message_file)))) {        if (xmlrpc($drupal_xmlrpc_url, 'asterisk.notify.NewMessages', array(basename($message_file)))) {
87    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.2