Changeset 9062

Show
Ignore:
Timestamp:
03/01/10 17:28:39 (3 years ago)
Author:
p_lindheimer
Message:

fixes #4093 by restoring CALLERID(number) to AMPUSER value when falling though to another trunk after a failed attempt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.7/core/functions.inc.php

    r9060 r9062  
    18791879      $ext->add($context, $exten, '', new ext_agi('${OUTFAIL_${ARG1}}')); 
    18801880      $ext->add($context, $exten, 'noreport', new ext_noop('TRUNK Dial failed due to ${DIALSTATUS} HANGUPCAUSE: ${HANGUPCAUSE} - failing through to other trunks')); 
     1881      $ext->add($context, $exten, '', new ext_set('CALLERID(number)', '${AMPUSER}'));  
    18811882       
    18821883      $ext->add($context, 'disabletrunk', '', new ext_noop('TRUNK: ${OUT_${DIAL_TRUNK}} DISABLED - falling through to next trunk')); 
     
    20012002      $ext->add($context, $exten, '', new ext_agi('${OUTFAIL_${ARG1}}')); 
    20022003      $ext->add($context, $exten, 'noreport', new ext_noop('TRUNK Dial failed due to ${DIALSTATUS} HANGUPCAUSE: ${HANGUPCAUSE} - failing through to other trunks')); 
     2004      $ext->add($context, $exten, '', new ext_set('CALLERID(number)', '${AMPUSER}'));  
    20032005       
    20042006      $ext->add($context, 'disabletrunk', '', new ext_noop('TRUNK: ${OUT_${DIAL_TRUNK}} DISABLED - falling through to next trunk')); 
     
    21682170      $ext->add($context, $exten, '', new ext_agi('${OUTFAIL_${ARG1}}')); 
    21692171      $ext->add($context, $exten, 'noreport', new ext_noop('TRUNK Dial failed due to ${DIALSTATUS} HANGUPCAUSE: ${HANGUPCAUSE} - failing through to other trunks')); 
     2172      $ext->add($context, $exten, '', new ext_set('CALLERID(number)', '${AMPUSER}'));  
    21702173       
    21712174      $ext->add($context, 'disabletrunk', '', new ext_noop('TRUNK: ${OUT_${DIAL_TRUNK}} DISABLED - falling through to next trunk')); 
  • modules/branches/2.7/core/module.xml

    r9061 r9062  
    1010  <canuninstall>no</canuninstall> 
    1111  <changelog> 
    12     *2.7.0.1* #4094, #4095 
     12    *2.7.0.1* #4093, #4094, #4095 
    1313    *2.7.0.0* minor tweaks 
    1414    *2.7.0RC1.5* #4075, #4078, #4080, #4053