Changeset 7768

Show
Ignore:
Timestamp:
05/28/09 17:31:16 (3 years ago)
Author:
p_lindheimer
Message:

fixes #3698 Voicemail Instctions in vmx and voicemail

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.5/amp_conf/htdocs/recordings/modules/VmX.module

    r7235 r7768  
    592592  global $asterisk_manager_interface; 
    593593 
    594   $value_opt = ($vmx_play_instructions)?'s':'""'; 
     594  $value_opt = ($vmx_play_instructions)?'""':'"s"'; 
    595595 
    596596  $response = $asterisk_manager_interface->Command("Action: Command\r\nCommand: database put AMPUSER $exten/vmx/$mode/vmxopts/timeout $value_opt\r\n\r\n"); 
     
    614614 
    615615  if (preg_match("/s/",$response)) { 
    616       $response='checked'; 
     616      $response=''; 
    617617  }  
    618618    else { 
    619       $response=''; 
     619      $response='checked'; 
    620620    } 
    621621