Changeset 8469

Show
Ignore:
Timestamp:
01/04/10 17:24:11 (2 years ago)
Author:
p_lindheimer
Message:

reverts r8391, r8460, r8462 re #3934 and re #3889 and re #3993 changes break outbound dialplan, need to revisit this to get a dialplan that does not break exiting code (the pri 1 instruction in each outbound route was not getting executed with the last changes)

Files:

Legend:

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

    r8467 r8469  
    15151515      $outrts = sql($sql,"getAll",DB_FETCHMODE_ASSOC); 
    15161516      $ext->addInclude('from-internal-additional','outbound-allroutes'); 
    1517       $ext->add('outbound-allroutes', '_!', '', new ext_macro('user-callerid,SKIPTTL')); 
     1517      $ext->add('outbound-allroutes', 'foo', '', new ext_noop('bar')); 
    15181518      foreach($outrts as $outrt) { 
    15191519        $ext->addInclude('outbound-allroutes',$outrt['application']); 
     
    15381538              // destinations. 
    15391539              // 
     1540              // Then do one call to user-callerid and record-enable instead of each time as in the past 
     1541              // 
     1542              $ext->add($outrt['application'], $exten['extension'], '', new ext_macro('user-callerid,SKIPTTL')); 
    15401543              $ext->add($outrt['application'], $exten['extension'], '', new ext_setvar("_NODEST","")); 
    15411544              $ext->add($outrt['application'], $exten['extension'], '', new ext_macro('record-enable,${AMPUSER},OUT')); 
  • modules/branches/2.6/core/page.routing.php

    r8391 r8469  
    367367   <strong>.</strong>&nbsp;&nbsp;&nbsp; <?php echo _("wildcard, matches one or more characters")?> <br> 
    368368   <strong>|</strong>&nbsp;&nbsp;&nbsp; <?php echo _("separates a dialing prefix from the number (for example, 9|NXXXXXX would match when some dialed \"95551234\" but would only pass \"5551234\" to the trunks)")?> 
    369    <br/><strong>/</strong>&nbsp;&nbsp;&nbsp; <?php echo _("appended to a dial pattern, matches a callerid or callerid pattern (for example, NXXXXXX/104 would match only if dialed by extension \"104\")")?>       
    370369        </span></a> 
    371370      </td>