Changeset 5024

Show
Ignore:
Timestamp:
09/11/07 14:00:15 (6 years ago)
Author:
p_lindheimer
Message:

#2376 take ext-intercom out of from-internal-additional, create ext-intercom-users for all users/extensions on the system so *80nnnn style patterns can be used in outbound routes to intercom remote offices when properly configured

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.3/paging/functions.inc.php

    r4767 r5024  
    3939        $ext->add('ext-intercom', '_'.$code.'.', '', new ext_congestion()); 
    4040 
    41         $ext->addInclude('from-internal-additional', 'ext-intercom'); 
     41        $userlist = core_users_list(); 
     42        if (is_array($userlist)) { 
     43          foreach($userlist as $item) { 
     44            $intercom_code = $code.$item[0]; 
     45            $ext->add('ext-intercom-users', '_'.$intercom_code, '', new ext_goto('ext-intercom,${EXTEN},1')); 
     46          } 
     47        } 
     48        $ext->addInclude('from-internal-additional', 'ext-intercom-users'); 
    4249       
    4350        $fcc = new featurecode('paging', 'intercom-on'); 
  • modules/branches/2.3/paging/module.xml

    r4824 r5024  
    22  <rawname>paging</rawname> 
    33  <name>Paging and Intercom</name> 
    4   <version>1.6.5.2</version> 
     4  <version>1.6.6</version> 
    55  <type>setup</type> 
    66  <category>Internal Options &amp; Configuration</category> 
    77  <changelog> 
     8    *1.6.6* #2376 only interecept *80nnn for local extensions so branch offices can be intercomed 
    89    *1.6.5.2* bump for rc1 
    910    *1.6.5.1* #1861 create intercom dialplan always when enabled