/[drupal]/contributions/modules/asterisk/drupal_integration/asterisk_common.inc
ViewVC logotype

Diff of /contributions/modules/asterisk/drupal_integration/asterisk_common.inc

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

revision 1.13, Mon Jun 2 08:27:31 2008 UTC revision 1.14, Mon Jun 2 08:36:33 2008 UTC
# Line 164  function asterisk_write_call_file($user, Line 164  function asterisk_write_call_file($user,
164    
165    $result = asterisk_write_file($callfile, $tmpfname);    $result = asterisk_write_file($callfile, $tmpfname);
166    if ($result === TRUE) {    if ($result === TRUE) {
167      chmod($tmpfname, 0644);      chmod($tmpfname, 0777);
168      $outgoing = CALL_SPOOL_DIR . DIRECTORY_SEPARATOR . basename($tmpfname);      $outgoing = CALL_SPOOL_DIR . DIRECTORY_SEPARATOR . basename($tmpfname);
169      // Move (NOT copy or create in) to outgoing spool.      // Move (NOT copy or create in) to outgoing spool.
170      if (rename($tmpfname, $outgoing)) {      if (rename($tmpfname, $outgoing)) {

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.2