Changeset 6209
- Timestamp:
- 07/26/08 22:13:28 (1 month ago)
- Files:
-
- modules/branches/2.4 (modified) (1 prop)
- modules/branches/2.4/blacklist/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4
- Property svnmerge-integrated changed from /modules/branches/2.3:1-5233,5245,5333,5336 /modules/branches/2.5:1-5852,5880,5930,5995,6016-6017,6030-6031,6142 to /modules/branches/2.3:1-5233,5245,5333,5336 /modules/branches/2.5:1-5852,5880,5930,5995,6016-6017,6030-6031,6142,6208
modules/branches/2.4/blacklist/functions.inc.php
r5388 r6209 140 140 if (is_array($didlist)) { 141 141 foreach ($didlist as $item) { 142 $did = core_did_get($item['extension'],$item['cidnum'] ,$item['channel']);142 $did = core_did_get($item['extension'],$item['cidnum']); 143 143 $exten = $item['extension']; 144 144 $cidnum = $item['cidnum']; 145 $channel = $item['channel'];146 145 147 146 $exten = (empty($exten)?"s":$exten); 148 147 $exten = $exten.(empty($cidnum)?"":"/".$cidnum); //if a CID num is defined, add it 149 148 150 if (empty($channel)) 151 $context = "ext-did"; 152 else 153 $context = "macro-from-zaptel-{$channel}"; 154 149 $context = "ext-did"; 155 150 $ext->splice($context, $exten, 1, new ext_gosub('1', 's', 'app-blacklist-check')); 156 151 }
