Ticket #3423: core-functions.inc.php-patch-enum.diff

File core-functions.inc.php-patch-enum.diff, 0.9 kB (added by drmessano, 3 years ago)
  • /var/www/html/admin/modules/core/functions.inc.php

    old new  
    16741674      $ext->add($context, $exten, 'dialloop', new ext_gotoif('$["foo${DIALARR}"="foo"]', 'end')); 
    16751675      $ext->add($context, $exten, '', new ext_set('TRYDIAL', '${CUT(DIALARR,%,1)}')); 
    16761676      $ext->add($context, $exten, '', new ext_set('DIALARR', '${CUT(DIALARR,%,2-)}')); 
    1677       $ext->add($context, $exten, '', new ext_dial('${TRYDIAL}', '')); 
     1677      $ext->add($context, $exten, '', new ext_dial('${TRYDIAL}')); 
    16781678      $ext->add($context, $exten, '', new ext_noop('Dial exited in macro-enum-dialout with ${DIALSTATUS}')); 
    16791679      // Now, if we're still here, that means the Dial failed for some reason.  
    16801680      // If it's CONGESTION or CHANUNAVAIL we want to try again on a different