Changeset 5320
- Timestamp:
- 11/28/07 11:57:56 (1 year ago)
- Files:
-
- modules/branches/2.4/core/functions.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/core/functions.inc.php
r5304 r5320 446 446 /* user extensions */ 447 447 $ext->addInclude('from-internal-additional','ext-local'); 448 449 // If running in Dynamic mode, this will insert the hints through an Asterisk #exec call. 450 // which require "execincludes=yes" to be set in the [options] section of asterisk.conf 451 // 452 if ($amp_conf['DYNAMICHINTS']) { 453 $ext->addExec('ext-local',$amp_conf['AMPBIN'].'/generate_hints.php'); 454 } 448 455 $userlist = core_users_list(); 449 456 if (is_array($userlist)) { … … 469 476 } 470 477 471 $hint = core_hint_get($exten['extension']); 472 if (!empty($hint)) { 473 $ext->addHint('ext-local', $exten['extension'], $hint); 478 // Create the hints if running in normal mode 479 // 480 if (!$amp_conf['DYNAMICHINTS']) { 481 $hint = core_hint_get($exten['extension']); 482 if (!empty($hint)) { 483 $ext->addHint('ext-local', $exten['extension'], $hint); 484 } 474 485 } 475 486 if ($exten['sipname']) {
