Add Yealink T40G Template (#2940)

* Add new Yealink MWI Subscribe Variable

Adds new variable in Yealink provisioning templates to allow control of MWI subscribe setting behavior on all accounts. Setting the new variable once affects all accounts.

New variable:
yealink_subscribe_mwi_to_vm.

Setting affected:
account.X.subscribe_mwi_to_vm setting

Phones affected:
T1x
T2x
T3x
T4x

May affect MWI subscription behavior. Yealink default is 0, many of the old templates hard coded 1. This change may affect MWI behavior for some users, so check to make sure the variable is added in FusionPBX to match your previous settings before upgrading.

* Add Yealink alert_info Distinctive Ring Variables

Adds new variables in Yealink provisioning templates to allow control of distinctive ring text and distinctive ringtone options.

New variables:
yealink_ring_text_X
yealink_ring_file_X

Setting affected:
distinctive_ring_tones.alert_info.X.text
distinctive_ring_tones.alert_info.X.ringer

Phones affected:
T1x
T2x
T3x
T4x
T5x

User Effect
This should not have any effect on existing provisioning settings unless the new variables are defined.

* Add files via upload

* Fix yealink_firmware_url
This commit is contained in:
emaktech
2017-12-02 17:11:49 -05:00
committed by FusionPBX
parent 9e8039b18a
commit faeb5e3578
7 changed files with 4794 additions and 2 deletions

View File

@@ -0,0 +1,74 @@
<YealinkIPPhoneDirectory>
{foreach $contacts as $row}
{if $smarty.get.contacts == "users" && $row.category == "users"}
<DirectoryEntry>
{if $row.contact_name_given != ""}
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
{else}
<Name>{$row.effective_caller_id_name}</Name>
{/if}
{foreach $row.numbers as $number}
{if $number.phone_number != ""}
<Telephone>{$number.phone_number}</Telephone>
{else}
<Telephone>{$number.phone_extension}</Telephone>
{/if}
{/foreach}
</DirectoryEntry>
{elseif $smarty.get.contacts == "groups" && $row.category == "groups"}
<DirectoryEntry>
{if $row.contact_name_given != ""}
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
{else}
<Name>{$row.effective_caller_id_name}</Name>
{/if}
{foreach $row.numbers as $number}
{if $number.phone_number != ""}
<Telephone>{$number.phone_number}</Telephone>
{else}
<Telephone>{$number.phone_extension}</Telephone>
{/if}
{/foreach}
</DirectoryEntry>
{elseif $smarty.get.contacts == "extensions" && $row.category == "extensions"}
<DirectoryEntry>
{if $row.contact_name_given != ""}
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
{else}
<Name>{$row.effective_caller_id_name}</Name>
{/if}
{if $row.phone_number != ""}
<Telephone>{$row.phone_number}</Telephone>
{else}
<Telephone>{$row.phone_extension}</Telephone>
{/if}
</DirectoryEntry>
{elseif $smarty.get.contacts == "all"}
<DirectoryEntry>
{if $row.contact_name_given != ""}
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
{else}
<Name>{$row.effective_caller_id_name}</Name>
{/if}
{if $row.category == "extensions"}
{if $row.phone_number != ""}
<Telephone>{$row.phone_number}</Telephone>
{else}
<Telephone>{$row.phone_extension}</Telephone>
{/if}
{else}
{foreach $row.numbers as $number}
{if $number.phone_number != ""}
<Telephone>{$number.phone_number}</Telephone>
{else}
<Telephone>{$number.phone_extension}</Telephone>
{/if}
{/foreach}
{/if}
</DirectoryEntry>
{/if}
{/foreach}
</YealinkIPPhoneDirectory>

View File

@@ -0,0 +1,8 @@
<root_favorite_set>
<item id_name="localdirectory" display_name="Local Directory" priority="2" enable="0" />
<item id_name="history" display_name="History" priority="3" enable="1" />
<item id_name="networkcalllog" display_name="Network CallLog" priority="4" enable="0" />
<item id_name="remotedirectory" display_name="Remote Phone Book" priority="5" enable="1" />
<item id_name="ldap" display_name="LDAP" priority="1" enable="0" />
<item id_name="networkdirectory" display_name="Network Directory" priority="6" enable="0" />
</root_favorite_set>

View File

@@ -0,0 +1,4 @@
#!version:1.0.0.1
## The header above must appear as-is in the first line
#overwrite_mode = 1

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1583,5 +1583,5 @@ directory_setting.url = https://{if isset($http_auth_username)}{$http_auth_usern
## Configure the access URL of firmware ##
#######################################################################################
#Before using this parameter, you should store the desired firmware (x.71.x.x.rom) to the provisioning server.
firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t41p}
firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t40p}

View File

@@ -276,7 +276,7 @@ static.redirect.password =
#######################################################################################
## Firmware Update ##
#######################################################################################
static.firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t46s}
static.firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t42s}
#######################################################################################