Update the polycom templates.

This commit is contained in:
markjcrane
2016-08-26 14:09:56 -06:00
parent 1e0c722cb7
commit b078990f97
2 changed files with 34 additions and 32 deletions

View File

@@ -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"

View File

@@ -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}