| 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 |
|
|