mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-03 10:23:50 +00:00
Change dssSide instead of SidekeyConfig1 (#5446)
This commit is contained in:
@@ -2626,16 +2626,14 @@
|
||||
<DSSExtend4IP></DSSExtend4IP>
|
||||
<DSSExtend5MAC></DSSExtend5MAC>
|
||||
<DSSExtend5IP></DSSExtend5IP>
|
||||
<dssSide index="1">
|
||||
{foreach $keys["line"] as $row}
|
||||
<Fkey index="{$row.device_key_id}">
|
||||
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
|
||||
<Value>{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}</Value>
|
||||
<Title>{$row.device_key_label}</Title>
|
||||
<ICON>{$row.device_key_icon}</ICON>
|
||||
</Fkey>
|
||||
{/foreach}
|
||||
</dssSide>
|
||||
{foreach $keys["line"] as $row}
|
||||
<SidekeyConfig1 index="{$row.device_key_id}">
|
||||
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
|
||||
<Value>{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}</Value>
|
||||
<Title>{$row.device_key_label}</Title>
|
||||
<ICON>{$row.device_key_icon}</ICON>
|
||||
</SidekeyConfig1>
|
||||
{/foreach}
|
||||
|
||||
{strip}{*-- Each Internal Index contains 6 keys --*}{/strip}
|
||||
<internal index="1">
|
||||
|
||||
Reference in New Issue
Block a user