Changeset 6238

Show
Ignore:
Timestamp:
07/31/08 14:34:47 (2 months ago)
Author:
p_lindheimer
Message:

closes #2962 report hangupcause on trunks that report CHANUNAVAIL

Files:

Legend:

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

    r6228 r6238  
    13451345                        $ext->add($context, $exten, '', new ext_playtones('congestion')); 
    13461346                        $ext->add($context, $exten, '', new ext_congestion(20)); 
     1347 
     1348                        $exten = 's-CHANUNAVAIL'; 
     1349                        $ext->add($context, $exten, '', new ext_gotoif('$["x${OUTFAIL_${ARG1}}" = "x"]', 'noreport')); 
     1350                        $ext->add($context, $exten, '', new ext_agi('${OUTFAIL_${ARG1}}')); 
     1351                        $ext->add($context, $exten, 'noreport', new ext_noop('TRUNK Dial failed due to ${DIALSTATUS} (hangupcause: ${HANGUPCAUSE}) - failing through to other trunks')); 
    13471352                 
    13481353                        $exten = '_s-.'; 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads