Changeset 7769

Show
Ignore:
Timestamp:
05/28/09 18:33:13 (4 years ago)
Author:
p_lindheimer
Message:

fixes #3698 Voicemail Instctions in vmx and voicemail

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/voicemail/functions.inc.php

    r7265 r7769  
    6262    global $astman; 
    6363    if ($astman && ($mode == "unavail" || $mode == "busy")) { 
    64       return (trim($astman->database_get("AMPUSER",$this->exten."/vmx/$mode/vmxopts/timeout")) == 's'); 
     64      return (trim($astman->database_get("AMPUSER",$this->exten."/vmx/$mode/vmxopts/timeout")) != 's'); 
    6565    } else { 
    6666      return false; 
     
    7171    global $astman; 
    7272    if ($astman && ($mode == "unavail" || $mode == "busy")) { 
    73       $val = $opts ? 's' : ''; 
     73      $val = $opts ? '' : 's'; 
    7474      $astman->database_put("AMPUSER", $this->exten."/vmx/$mode/vmxopts/timeout", $val); 
    7575      return true; 
     
    792792    } 
    793793 
    794     if (isset($vmx_play_instructions) && $vmx_play_instructions!= '') { 
     794    if (isset($vmx_play_instructions) && $vmx_play_instructions== 'checked') { 
    795795      $vmxobj->setVmPlay(true,'unavail'); 
    796796      $vmxobj->setVmPlay(true,'busy'); 
  • modules/branches/2.5/voicemail/module.xml

    r7403 r7769  
    66  <canuninstall>no</canuninstall> 
    77  <changelog> 
     8    *2.5.1.7* #3698 
    89    *2.5.1.6* localization updates 
    910    *2.5.1.5* #3399 and language updates