Changeset 7769
- Timestamp:
- 05/28/09 18:33:13 (4 years ago)
- Files:
-
- modules/branches/2.5/voicemail/functions.inc.php (modified) (3 diffs)
- modules/branches/2.5/voicemail/module.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/voicemail/functions.inc.php
r7265 r7769 62 62 global $astman; 63 63 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'); 65 65 } else { 66 66 return false; … … 71 71 global $astman; 72 72 if ($astman && ($mode == "unavail" || $mode == "busy")) { 73 $val = $opts ? ' s' : '';73 $val = $opts ? '' : 's'; 74 74 $astman->database_put("AMPUSER", $this->exten."/vmx/$mode/vmxopts/timeout", $val); 75 75 return true; … … 792 792 } 793 793 794 if (isset($vmx_play_instructions) && $vmx_play_instructions != '') {794 if (isset($vmx_play_instructions) && $vmx_play_instructions== 'checked') { 795 795 $vmxobj->setVmPlay(true,'unavail'); 796 796 $vmxobj->setVmPlay(true,'busy'); modules/branches/2.5/voicemail/module.xml
r7403 r7769 6 6 <canuninstall>no</canuninstall> 7 7 <changelog> 8 *2.5.1.7* #3698 8 9 *2.5.1.6* localization updates 9 10 *2.5.1.5* #3399 and language updates
