Changeset 7768
- Timestamp:
- 05/28/09 17:31:16 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.5/amp_conf/htdocs/recordings/modules/VmX.module
r7235 r7768 592 592 global $asterisk_manager_interface; 593 593 594 $value_opt = ($vmx_play_instructions)?' s':'""';594 $value_opt = ($vmx_play_instructions)?'""':'"s"'; 595 595 596 596 $response = $asterisk_manager_interface->Command("Action: Command\r\nCommand: database put AMPUSER $exten/vmx/$mode/vmxopts/timeout $value_opt\r\n\r\n"); … … 614 614 615 615 if (preg_match("/s/",$response)) { 616 $response=' checked';616 $response=''; 617 617 } 618 618 else { 619 $response=' ';619 $response='checked'; 620 620 } 621 621
