Changeset 12434
- Timestamp:
- 08/22/11 00:45:22 (2 years ago)
- Files:
-
- modules/branches/2.9/core/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.9/core/functions.inc.php
r12424 r12434 3730 3730 $ext->add($mcontext,$exten,'', new ext_macro('hangupcall')); 3731 3731 3732 /* 3733 If an endpoint is offline, app_dial returns with CHANUNAVAIL, we deal with this the same way 3734 * as we do with NOANSWER 3735 */ 3736 $exten = 's-CHANUNAVAIL'; 3737 $ext->add($mcontext,$exten,'', new ext_macro('vm','${SCREEN_EXTEN},BUSY,${IVR_RETVM}')); 3738 $ext->add($mcontext,$exten,'', new ext_execif('$["${IVR_RETVM}"!="RETURN" | "${IVR_CONTEXT}"=""]','Hangup')); 3739 $ext->add($mcontext,$exten,'', new ext_return('')); 3740 3732 3741 /* macro-dial-one */ 3733 3742 }
