Changeset 9288
- Timestamp:
- 03/19/10 16:43:52 (2 years ago)
- Files:
-
- modules/branches/2.7/core/etc/extensions.conf (modified) (1 diff)
- modules/branches/2.7/core/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.7/core/etc/extensions.conf
r8900 r9288 193 193 exten => DONTCALL,n,Playback(ss-noservice) 194 194 exten => DONTCALL,n,Macro(hangupcall) 195 exten => ANSWER,1,Noop(Call successfully answered - Hanging up now) 196 exten => ANSWER,n,Macro(hangupcall,) 195 197 196 198 ; make sure hungup calls go here so that proper cleanup occurs from call confirmed calls and the like modules/branches/2.7/core/functions.inc.php
r9120 r9288 2942 2942 $ext->add($mcontext,$exten,'', new ext_return('')); 2943 2943 2944 /* 2945 * There are reported bugs in Asterisk Blind Trasfers that result in Dial() returning and continuing 2946 * execution with a status of ANSWER. So we hangup at this point 2947 */ 2948 $exten = 's-ANSWER'; 2949 $ext->add($context, $exten, '', new ext_noop('Call successfully answered - Hanging up now')); 2950 $ext->add($context, $exten, '', new ext_macro('hangupcall')); 2951 2944 2952 $exten = 's-TORTURE'; 2945 2953 $ext->add($mcontext,$exten,'', new ext_goto('1','musiconhold','app-blackhole'));
