mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update the polycom templates.
This commit is contained in:
@@ -85,22 +85,20 @@
|
||||
attendant.behaviors.display.spontaneousCallAppearances.normal="0"
|
||||
{/if}
|
||||
feature.enhancedFeatureKeys.enabled="1"
|
||||
{foreach $keys as $row}
|
||||
{if $row.device_key_category == "line"}
|
||||
{if $row.device_key_type == "automata" || $row.device_key_type == "normal"}
|
||||
attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}"
|
||||
attendant.resourceList.{$row.device_key_id}.callAddress=""
|
||||
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"
|
||||
attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0"
|
||||
attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}"
|
||||
{else}
|
||||
{if $row.device_key_type != "line"}
|
||||
{if $row.device_key_type == "URL"}
|
||||
key.{$row.device_key_id}.function.prim="{$row.device_key_value}"
|
||||
{else}
|
||||
key.{$row.device_key_id}.function.prim="{$row.device_key_type}"
|
||||
key.{$row.device_key_id}.subPoint.prim="{$row.device_key_value}"
|
||||
{/if}
|
||||
{foreach $keys["line"] as $row}
|
||||
{if $row.device_key_type == "automata" || $row.device_key_type == "normal"}
|
||||
attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}"
|
||||
attendant.resourceList.{$row.device_key_id}.callAddress=""
|
||||
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"
|
||||
attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0"
|
||||
attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}"
|
||||
{else}
|
||||
{if $row.device_key_type != "line"}
|
||||
{if $row.device_key_type == "URL"}
|
||||
key.{$row.device_key_id}.function.prim="{$row.device_key_value}"
|
||||
{else}
|
||||
key.{$row.device_key_id}.function.prim="{$row.device_key_type}"
|
||||
key.{$row.device_key_id}.subPoint.prim="{$row.device_key_value}"
|
||||
{/if}
|
||||
{/if}
|
||||
{/if}
|
||||
@@ -124,6 +122,12 @@
|
||||
{if $headset_mode != ''}up.handsfreeMode="1"
|
||||
up.headsetMode="{$headset_mode}"{/if}
|
||||
{if $analog_headset_option != ''}up.analogHeadsetOption="{$analog_headset_option}"{/if}
|
||||
{if isset($polycom_onetouchvoicemail)}
|
||||
up.oneTouchVoiceMail="{$polycom_onetouchvoicemail}"
|
||||
{else}
|
||||
up.oneTouchVoiceMail="0"
|
||||
{/if}
|
||||
|
||||
/>
|
||||
<SOFT_KEYS
|
||||
softkey.1.label="VMTransfer"
|
||||
|
||||
@@ -85,22 +85,20 @@
|
||||
attendant.behaviors.display.spontaneousCallAppearances.normal="0"
|
||||
{/if}
|
||||
feature.enhancedFeatureKeys.enabled="1"
|
||||
{foreach $keys as $row}
|
||||
{if $row.device_key_category == "line"}
|
||||
{if $row.device_key_type == "automata" || $row.device_key_type == "normal"}
|
||||
attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}"
|
||||
attendant.resourceList.{$row.device_key_id}.callAddress=""
|
||||
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"
|
||||
attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0"
|
||||
attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}"
|
||||
{else}
|
||||
{if $row.device_key_type != "line"}
|
||||
{if $row.device_key_type == "URL"}
|
||||
key.{$row.device_key_id}.function.prim="{$row.device_key_value}"
|
||||
{else}
|
||||
key.{$row.device_key_id}.function.prim="{$row.device_key_type}"
|
||||
key.{$row.device_key_id}.subPoint.prim="{$row.device_key_value}"
|
||||
{/if}
|
||||
{foreach $keys["line"] as $row}
|
||||
{if $row.device_key_type == "automata" || $row.device_key_type == "normal"}
|
||||
attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}"
|
||||
attendant.resourceList.{$row.device_key_id}.callAddress=""
|
||||
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"
|
||||
attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0"
|
||||
attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}"
|
||||
{else}
|
||||
{if $row.device_key_type != "line"}
|
||||
{if $row.device_key_type == "URL"}
|
||||
key.{$row.device_key_id}.function.prim="{$row.device_key_value}"
|
||||
{else}
|
||||
key.{$row.device_key_id}.function.prim="{$row.device_key_type}"
|
||||
key.{$row.device_key_id}.subPoint.prim="{$row.device_key_value}"
|
||||
{/if}
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user