mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Add additional Polycom key types.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<PHONE>
|
||||
<REGISTRATION
|
||||
{foreach $lines as $row}reg.{$row.line_number}.displayName="{$row.user_id}"
|
||||
{foreach $lines as $row}reg.{$row.line_number}.displayName="{$row.display_name}"
|
||||
reg.{$row.line_number}.address="{$row.user_id}"
|
||||
reg.{$row.line_number}.label="{$row.user_id}"
|
||||
reg.{$row.line_number}.label="{$row.display_name}"
|
||||
reg.{$row.line_number}.type="private"
|
||||
reg.{$row.line_number}.auth.userId="{$row.user_id}"
|
||||
reg.{$row.line_number}.auth.password="{$row.password}"
|
||||
@@ -57,12 +57,26 @@
|
||||
attendant.behaviors.display.remoteCallerID.normal="1"
|
||||
attendant.behaviors.display.spontaneousCallAppearances.automata="1"
|
||||
attendant.behaviors.display.spontaneousCallAppearances.normal="0"
|
||||
{foreach $keys as $row}{if $row.device_key_category == "line"}{if $row.device_key_type != "line"}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}"
|
||||
{/if}{/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}
|
||||
{/if}
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
/>
|
||||
<MULTICAST_PAGING
|
||||
@@ -79,5 +93,6 @@
|
||||
voice.volume.persist.handset="1"
|
||||
{if $headset_mode != ''}up.handsfreeMode="1"
|
||||
up.headsetMode="{$headset_mode}"{/if}
|
||||
{if $analog_headset_option != ''}up.analogHeadsetOption="{$analog_headset_option}"{/if}
|
||||
/>
|
||||
</PHONE>
|
||||
Reference in New Issue
Block a user