Fanvil x6 softkey (#3944)

* Add intial Fanvil X6 softkey settings

* Map 'programmable' key to dssSoft internal keys
This commit is contained in:
Killsudo
2018-12-12 10:09:07 -07:00
committed by FusionPBX
parent accb89fc21
commit 143a7537ab
2 changed files with 52 additions and 53 deletions
@@ -1192,9 +1192,11 @@
<DateSeparator>{if isset($fanvil_date_separator)}{$fanvil_date_separator}{else}0{/if}</DateSeparator>
</timeDisplay>
<softkey>
<DesktopSoftkey>history;contact;dnd;menu;</DesktopSoftkey>
<TalkingSoftkey>hold;xfer;conf;end;</TalkingSoftkey>
<RingingSoftkey>accept;none;forward;reject;</RingingSoftkey>
<SoftkeyMode>0</SoftkeyMode>
<SoftKeyExitStyle>{if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}1{/if}</SoftKeyExitStyle>
<DesktopSoftkey>{if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if}</DesktopSoftkey>
<TalkingSoftkey>{if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if}</TalkingSoftkey>
<RingingSoftkey>{if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if}</RingingSoftkey>
<AlertingSoftkey>end;none;none;none;</AlertingSoftkey>
<XAlertingSoftkey>end;none;none;none;</XAlertingSoftkey>
<ConferenceSoftkey>hold;none;split;end;</ConferenceSoftkey>
@@ -1204,7 +1206,7 @@
<DialerCallSoftkey>repeat;2aB;delete;exit;</DialerCallSoftkey>
<DialerXferSoftkey>repeat;2aB;delete;exit;</DialerXferSoftkey>
<DialerCfwdSoftkey>repeat;2aB;delete;exit;</DialerCfwdSoftkey>
<DesktopClick>history;status;none;none;none;</DesktopClick>
<DesktopClick>{if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if}</DesktopClick>
<DailerClick>none;none;none;none;none;</DailerClick>
<CallClick>none;none;voldown;volup;none;</CallClick>
<DesktopLongPress>status;none;none;none;reset;</DesktopLongPress>
@@ -1837,56 +1839,13 @@
{/if}
{/foreach}
</internal>
<dssSoft index="1">
<Type>0</Type>
<Value></Value>
<Title></Title>
</dssSoft>
<dssSoft index="2">
<Type>0</Type>
<Value></Value>
<Title></Title>
</dssSoft>
<dssSoft index="3">
<Type>0</Type>
<Value></Value>
<Title></Title>
</dssSoft>
<dssSoft index="4">
<Type>0</Type>
<Value></Value>
<Title></Title>
</dssSoft>
<dssSoft index="5">
<Type>0</Type>
<Value></Value>
<Title></Title>
</dssSoft>
<dssSoft index="6">
<Type>0</Type>
<Value></Value>
<Title></Title>
</dssSoft>
<dssSoft index="7">
<Type>0</Type>
<Value></Value>
<Title></Title>
</dssSoft>
<dssSoft index="8">
<Type>0</Type>
<Value></Value>
<Title></Title>
</dssSoft>
<dssSoft index="9">
<Type>0</Type>
<Value></Value>
<Title></Title>
</dssSoft>
<dssSoft index="10">
<Type>0</Type>
<Value></Value>
<Title></Title>
{foreach $keys["programmable"] as $row}
<dssSoft index="{$row.device_key_id}">
<Type>1</Type>
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
<Title>{$row.device_key_label}</Title>
</dssSoft>
{/foreach}
{strip}{*-- Each External Index contains 20 keys --*}{/strip}
<external index="1">
{foreach $keys["expansion"] as $row}