Merge pull request #4167 from jazmin-communications/fanvil-fixes-x6template
Fanvil fixes x6template
This commit is contained in:
commit
a487d3e958
|
|
@ -55,7 +55,7 @@
|
||||||
<RTPKeepAlive>0</RTPKeepAlive>
|
<RTPKeepAlive>0</RTPKeepAlive>
|
||||||
<RTCPCNAMEUser></RTCPCNAMEUser>
|
<RTCPCNAMEUser></RTCPCNAMEUser>
|
||||||
<RTCPCNAMEHost></RTCPCNAMEHost>
|
<RTCPCNAMEHost></RTCPCNAMEHost>
|
||||||
<SelectYourTone>11</SelectYourTone>
|
<SelectYourTone>{if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if}</SelectYourTone>
|
||||||
<SidetoneGAIN>1</SidetoneGAIN>
|
<SidetoneGAIN>1</SidetoneGAIN>
|
||||||
<DialTone>350+440/0</DialTone>
|
<DialTone>350+440/0</DialTone>
|
||||||
<RingbackTone>440+480/2000,0/4000</RingbackTone>
|
<RingbackTone>440+480/2000,0/4000</RingbackTone>
|
||||||
|
|
@ -1060,12 +1060,12 @@
|
||||||
<EnableEOneSixFour>0</EnableEOneSixFour>
|
<EnableEOneSixFour>0</EnableEOneSixFour>
|
||||||
</basic>
|
</basic>
|
||||||
<alertInfo index="1">
|
<alertInfo index="1">
|
||||||
<Text></Text>
|
<Text>External</Text>
|
||||||
<RingType>Type 1</RingType>
|
<RingType>{if isset($fanvil_default_ringtone_ext)}{$fanvil_default_ringtone_ext}{else}Type 1{/if}</RingType>
|
||||||
</alertInfo>
|
</alertInfo>
|
||||||
<alertInfo index="2">
|
<alertInfo index="2">
|
||||||
<Text></Text>
|
<Text>External2</Text>
|
||||||
<RingType>Type 1</RingType>
|
<RingType>{if isset($fanvil_default_ringtone_ext2)}{$fanvil_default_ringtone_ext2}{else}Type 4{/if}</RingType>
|
||||||
</alertInfo>
|
</alertInfo>
|
||||||
<alertInfo index="3">
|
<alertInfo index="3">
|
||||||
<Text></Text>
|
<Text></Text>
|
||||||
|
|
@ -1778,8 +1778,8 @@
|
||||||
{foreach $keys["memory"] as $row}
|
{foreach $keys["memory"] as $row}
|
||||||
{if $row.device_key_id <= 12}
|
{if $row.device_key_id <= 12}
|
||||||
<Fkey index="{$row.device_key_id}">
|
<Fkey index="{$row.device_key_id}">
|
||||||
<Type>1</Type>
|
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
|
||||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
<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>
|
<Title>{$row.device_key_label}</Title>
|
||||||
<ICON>{$row.device_key_icon}</ICON>
|
<ICON>{$row.device_key_icon}</ICON>
|
||||||
</Fkey>
|
</Fkey>
|
||||||
|
|
@ -1788,10 +1788,10 @@
|
||||||
</internal>
|
</internal>
|
||||||
<internal index="2">
|
<internal index="2">
|
||||||
{foreach $keys["memory"] as $row}
|
{foreach $keys["memory"] as $row}
|
||||||
{if $row.device_key_id > 12 && $row.device_key_id < 24}
|
{if $row.device_key_id > 12 && $row.device_key_id <= 24}
|
||||||
<Fkey index="{$row.device_key_id}">
|
<Fkey index="{$row.device_key_id-12}">
|
||||||
<Type>1</Type>
|
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
|
||||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
<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>
|
<Title>{$row.device_key_label}</Title>
|
||||||
<ICON>{$row.device_key_icon}</ICON>
|
<ICON>{$row.device_key_icon}</ICON>
|
||||||
</Fkey>
|
</Fkey>
|
||||||
|
|
@ -1800,10 +1800,10 @@
|
||||||
</internal>
|
</internal>
|
||||||
<internal index="3">
|
<internal index="3">
|
||||||
{foreach $keys["memory"] as $row}
|
{foreach $keys["memory"] as $row}
|
||||||
{if $row.device_key_id > 24 && $row.device_key_id < 36}
|
{if $row.device_key_id > 24 && $row.device_key_id <= 36}
|
||||||
<Fkey index="{$row.device_key_id}">
|
<Fkey index="{$row.device_key_id-24}">
|
||||||
<Type>1</Type>
|
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
|
||||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
<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>
|
<Title>{$row.device_key_label}</Title>
|
||||||
<ICON>{$row.device_key_icon}</ICON>
|
<ICON>{$row.device_key_icon}</ICON>
|
||||||
</Fkey>
|
</Fkey>
|
||||||
|
|
@ -1812,10 +1812,10 @@
|
||||||
</internal>
|
</internal>
|
||||||
<internal index="4">
|
<internal index="4">
|
||||||
{foreach $keys["memory"] as $row}
|
{foreach $keys["memory"] as $row}
|
||||||
{if $row.device_key_id > 35 && $row.device_key_id < 48}
|
{if $row.device_key_id > 36 && $row.device_key_id <= 48}
|
||||||
<Fkey index="{$row.device_key_id}">
|
<Fkey index="{$row.device_key_id-36}">
|
||||||
<Type>1</Type>
|
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
|
||||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
<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>
|
<Title>{$row.device_key_label}</Title>
|
||||||
<ICON>{$row.device_key_icon}</ICON>
|
<ICON>{$row.device_key_icon}</ICON>
|
||||||
</Fkey>
|
</Fkey>
|
||||||
|
|
@ -1824,10 +1824,10 @@
|
||||||
</internal>
|
</internal>
|
||||||
<internal index="5">
|
<internal index="5">
|
||||||
{foreach $keys["memory"] as $row}
|
{foreach $keys["memory"] as $row}
|
||||||
{if $row.device_key_id > 47 && $row.device_key_id < 61}
|
{if $row.device_key_id > 48 && $row.device_key_id <= 62}
|
||||||
<Fkey index="{$row.device_key_id}">
|
<Fkey index="{$row.device_key_id-48}">
|
||||||
<Type>1</Type>
|
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
|
||||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
<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>
|
<Title>{$row.device_key_label}</Title>
|
||||||
<ICON>{$row.device_key_icon}</ICON>
|
<ICON>{$row.device_key_icon}</ICON>
|
||||||
</Fkey>
|
</Fkey>
|
||||||
|
|
@ -1836,8 +1836,8 @@
|
||||||
</internal>
|
</internal>
|
||||||
{foreach $keys["programmable"] as $row}
|
{foreach $keys["programmable"] as $row}
|
||||||
<dssSoft index="{$row.device_key_id}">
|
<dssSoft index="{$row.device_key_id}">
|
||||||
<Type>1</Type>
|
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
|
||||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
<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>
|
<Title>{$row.device_key_label}</Title>
|
||||||
</dssSoft>
|
</dssSoft>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue