Changeset 5567
- Timestamp:
- 01/10/08 18:48:56 (5 years ago)
- Files:
-
- modules/branches/2.4/core/functions.inc.php (modified) (1 diff)
- modules/branches/2.4/core/page.trunks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/core/functions.inc.php
r5566 r5567 939 939 case 'SIP': 940 940 $trunkgroup = $trunkprops['globalvar']; 941 $trunkcontext = "from-trunk-". $trunkprops['name'];941 $trunkcontext = "from-trunk-".strtolower($trunkprops['tech'])."-".$trunkprops['name']; 942 942 $ext->add($trunkcontext, '_.', '', new ext_setvar('GROUP()',$trunkgroup)); 943 943 $ext->add($trunkcontext, '_.', '', new ext_goto('1','${EXTEN}','from-trunk')); modules/branches/2.4/core/page.trunks.php
r5566 r5567 360 360 if ($tech == "sip" || substr($tech,0,3) == "iax") { 361 361 ?> 362 <a href=# class="info"><?php echo _("Maximum Channels")?><span><?php echo sprintf(_("Controls the maximum number of outbound channels (simultaneous calls) that can be used on this trunk. To count inbound calls against this maximum, use the auto-generated context: %s as the inbound trunk's context. (see extensions_additional.conf) Leave blank to specify no maximum."),((isset($channelid) && trim($channelid)!="")?"from-trunk-$ channelid":"from-trunk-[trunkname]"))?></span></a>:362 <a href=# class="info"><?php echo _("Maximum Channels")?><span><?php echo sprintf(_("Controls the maximum number of outbound channels (simultaneous calls) that can be used on this trunk. To count inbound calls against this maximum, use the auto-generated context: %s as the inbound trunk's context. (see extensions_additional.conf) Leave blank to specify no maximum."),((isset($channelid) && trim($channelid)!="")?"from-trunk-$tech-$channelid":"from-trunk-[trunkname]"))?></span></a>: 363 363 <?php 364 364 } else {
