Changeset 9288

Show
Ignore:
Timestamp:
03/19/10 16:43:52 (2 years ago)
Author:
p_lindheimer
Message:

closes #4148 work around Asterisk bug returning transferer to dialplan since it is present in several reelases

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.7/core/etc/extensions.conf

    r8900 r9288  
    193193exten => DONTCALL,n,Playback(ss-noservice) 
    194194exten => DONTCALL,n,Macro(hangupcall) 
     195exten => ANSWER,1,Noop(Call successfully answered - Hanging up now) 
     196exten => ANSWER,n,Macro(hangupcall,) 
    195197 
    196198; 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  
    29422942        $ext->add($mcontext,$exten,'', new ext_return('')); 
    29432943 
     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 
    29442952        $exten = 's-TORTURE'; 
    29452953        $ext->add($mcontext,$exten,'', new ext_goto('1','musiconhold','app-blackhole'));