From c409e04472ed82bed4ab0309e5cfd125713ad9a8 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 28 Sep 2020 13:19:25 -0400 Subject: [PATCH 001/677] Update {$mac}.xml --- .../provision/grandstream/ht802/{$mac}.xml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml index 1478b0aedc..00362b1e70 100644 --- a/resources/templates/provision/grandstream/ht802/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml @@ -1013,13 +1013,13 @@ 1 - - + + {if isset($grandstream_dial_plan) } -{$grandstream_dial_plan} + {$grandstream_dial_plan} {else} -{literal}{x+|*x+|*++|\p\a\r\k\+*x+| \f\l\o\w\+*x+}{/literal} + {literal}{x+|*x+|*++|\p\a\r\k\+*x+| \f\l\o\w\+*x+}{/literal} {/if} @@ -1896,7 +1896,12 @@ - { x+ | \+x+ | *x+ | *xx*x+ } + +{if isset($grandstream_dial_plan) } + {$grandstream_dial_plan} +{else} + {literal}{x+|*x+|*++|\p\a\r\k\+*x+| \f\l\o\w\+*x+}{/literal} +{/if} From f5d85a808668a74e3ed3a8f8ffea48e241e41aa8 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 28 Sep 2020 14:17:46 -0400 Subject: [PATCH 002/677] Use updated phonebook code --- .../grandstream/grp2615/phonebook.xml | 196 +++++++++++++----- 1 file changed, 149 insertions(+), 47 deletions(-) diff --git a/resources/templates/provision/grandstream/grp2615/phonebook.xml b/resources/templates/provision/grandstream/grp2615/phonebook.xml index 62c745db9f..deb211d001 100644 --- a/resources/templates/provision/grandstream/grp2615/phonebook.xml +++ b/resources/templates/provision/grandstream/grp2615/phonebook.xml @@ -1,49 +1,151 @@ - + + -1 -{foreach $contacts as $contact} -{if $contact.contact_type == "group"} - -{$contact.id} -{$contact.group_description|truncate:10} - -{/if} -{/foreach} -{$i=0} -{foreach $contacts as $contact} -{if $contact.contact_name_given != "" && $contact.contact_type == "contact"} - -{$contact.contact_name_given} -{$contact.contact_name_family} -{if $contact.contact_role != "" } -{$contact.contact_role} -{/if} -{if $contact.contact_category != "" } -{$contact.contact_category} -{/if} - -{$contact.contact_work} -1 - -{if $contact.contact_home != "" } - -{$contact.contact_home} -1 - -{/if} -{if $contact.contact_cell != "" } - -{$contact.contact_cell} -1 - -{/if} -{if $contact.contact_organization != "" } -{$contact.contact_organization} -{/if} -{foreach $contact.groups as $group} -{$group} -{/foreach} - -{/if} -{/foreach} + + + 1 + Users + default ringtone + + + 2 + Groups + default ringtone + + + 3 + Extensions + system + + + {$start_id=0} + {foreach $contacts as $row} + {if $row.category == "users"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + 0 + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {if $number.phone_label == "work"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "home"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "mobile"} + + {$number.phone_number} + 0 + + {/if} + {/if} + {/foreach} + 1 + 0 + + + + + {elseif $row.category == "groups"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + + 0 + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {if $number.phone_label == "work"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "home"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "mobile"} + + {$number.phone_number} + 0 + + {/if} + {/if} + {/foreach} + 2 + 0 + + + + + {elseif $row.category == "extensions"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + 0 + {if $row.phone_number != ""} + + {$row.phone_number} + 0 + + {else} + + {$row.phone_extension} + 0 + + {/if} + 3 + 0 + + + + + {/if} + {/foreach} + From 36a433fcb0386699aa4994d150dbdf033cc8feb5 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 28 Sep 2020 14:19:05 -0400 Subject: [PATCH 003/677] Updated phonebook code --- .../grandstream/grp2616/phonebook.xml | 196 +++++++++++++----- 1 file changed, 149 insertions(+), 47 deletions(-) diff --git a/resources/templates/provision/grandstream/grp2616/phonebook.xml b/resources/templates/provision/grandstream/grp2616/phonebook.xml index 62c745db9f..deb211d001 100644 --- a/resources/templates/provision/grandstream/grp2616/phonebook.xml +++ b/resources/templates/provision/grandstream/grp2616/phonebook.xml @@ -1,49 +1,151 @@ - + + -1 -{foreach $contacts as $contact} -{if $contact.contact_type == "group"} - -{$contact.id} -{$contact.group_description|truncate:10} - -{/if} -{/foreach} -{$i=0} -{foreach $contacts as $contact} -{if $contact.contact_name_given != "" && $contact.contact_type == "contact"} - -{$contact.contact_name_given} -{$contact.contact_name_family} -{if $contact.contact_role != "" } -{$contact.contact_role} -{/if} -{if $contact.contact_category != "" } -{$contact.contact_category} -{/if} - -{$contact.contact_work} -1 - -{if $contact.contact_home != "" } - -{$contact.contact_home} -1 - -{/if} -{if $contact.contact_cell != "" } - -{$contact.contact_cell} -1 - -{/if} -{if $contact.contact_organization != "" } -{$contact.contact_organization} -{/if} -{foreach $contact.groups as $group} -{$group} -{/foreach} - -{/if} -{/foreach} + + + 1 + Users + default ringtone + + + 2 + Groups + default ringtone + + + 3 + Extensions + system + + + {$start_id=0} + {foreach $contacts as $row} + {if $row.category == "users"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + 0 + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {if $number.phone_label == "work"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "home"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "mobile"} + + {$number.phone_number} + 0 + + {/if} + {/if} + {/foreach} + 1 + 0 + + + + + {elseif $row.category == "groups"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + + 0 + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {if $number.phone_label == "work"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "home"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "mobile"} + + {$number.phone_number} + 0 + + {/if} + {/if} + {/foreach} + 2 + 0 + + + + + {elseif $row.category == "extensions"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + 0 + {if $row.phone_number != ""} + + {$row.phone_number} + 0 + + {else} + + {$row.phone_extension} + 0 + + {/if} + 3 + 0 + + + + + {/if} + {/foreach} + From 844c43d9f8aad34fac131b411690bb325cbc6ba4 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 28 Sep 2020 14:19:48 -0400 Subject: [PATCH 004/677] Update phonebook.xml --- .../grandstream/grp2614/phonebook.xml | 196 +++++++++++++----- 1 file changed, 149 insertions(+), 47 deletions(-) diff --git a/resources/templates/provision/grandstream/grp2614/phonebook.xml b/resources/templates/provision/grandstream/grp2614/phonebook.xml index 62c745db9f..deb211d001 100644 --- a/resources/templates/provision/grandstream/grp2614/phonebook.xml +++ b/resources/templates/provision/grandstream/grp2614/phonebook.xml @@ -1,49 +1,151 @@ - + + -1 -{foreach $contacts as $contact} -{if $contact.contact_type == "group"} - -{$contact.id} -{$contact.group_description|truncate:10} - -{/if} -{/foreach} -{$i=0} -{foreach $contacts as $contact} -{if $contact.contact_name_given != "" && $contact.contact_type == "contact"} - -{$contact.contact_name_given} -{$contact.contact_name_family} -{if $contact.contact_role != "" } -{$contact.contact_role} -{/if} -{if $contact.contact_category != "" } -{$contact.contact_category} -{/if} - -{$contact.contact_work} -1 - -{if $contact.contact_home != "" } - -{$contact.contact_home} -1 - -{/if} -{if $contact.contact_cell != "" } - -{$contact.contact_cell} -1 - -{/if} -{if $contact.contact_organization != "" } -{$contact.contact_organization} -{/if} -{foreach $contact.groups as $group} -{$group} -{/foreach} - -{/if} -{/foreach} + + + 1 + Users + default ringtone + + + 2 + Groups + default ringtone + + + 3 + Extensions + system + + + {$start_id=0} + {foreach $contacts as $row} + {if $row.category == "users"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + 0 + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {if $number.phone_label == "work"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "home"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "mobile"} + + {$number.phone_number} + 0 + + {/if} + {/if} + {/foreach} + 1 + 0 + + + + + {elseif $row.category == "groups"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + + 0 + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {if $number.phone_label == "work"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "home"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "mobile"} + + {$number.phone_number} + 0 + + {/if} + {/if} + {/foreach} + 2 + 0 + + + + + {elseif $row.category == "extensions"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + 0 + {if $row.phone_number != ""} + + {$row.phone_number} + 0 + + {else} + + {$row.phone_extension} + 0 + + {/if} + 3 + 0 + + + + + {/if} + {/foreach} + From 07454571459b511dbeddf10e76fd3e4be8fbea0c Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 28 Sep 2020 14:20:33 -0400 Subject: [PATCH 005/677] Uses updated phonebook code --- .../grandstream/grp2613/phonebook.xml | 196 +++++++++++++----- 1 file changed, 149 insertions(+), 47 deletions(-) diff --git a/resources/templates/provision/grandstream/grp2613/phonebook.xml b/resources/templates/provision/grandstream/grp2613/phonebook.xml index 62c745db9f..deb211d001 100644 --- a/resources/templates/provision/grandstream/grp2613/phonebook.xml +++ b/resources/templates/provision/grandstream/grp2613/phonebook.xml @@ -1,49 +1,151 @@ - + + -1 -{foreach $contacts as $contact} -{if $contact.contact_type == "group"} - -{$contact.id} -{$contact.group_description|truncate:10} - -{/if} -{/foreach} -{$i=0} -{foreach $contacts as $contact} -{if $contact.contact_name_given != "" && $contact.contact_type == "contact"} - -{$contact.contact_name_given} -{$contact.contact_name_family} -{if $contact.contact_role != "" } -{$contact.contact_role} -{/if} -{if $contact.contact_category != "" } -{$contact.contact_category} -{/if} - -{$contact.contact_work} -1 - -{if $contact.contact_home != "" } - -{$contact.contact_home} -1 - -{/if} -{if $contact.contact_cell != "" } - -{$contact.contact_cell} -1 - -{/if} -{if $contact.contact_organization != "" } -{$contact.contact_organization} -{/if} -{foreach $contact.groups as $group} -{$group} -{/foreach} - -{/if} -{/foreach} + + + 1 + Users + default ringtone + + + 2 + Groups + default ringtone + + + 3 + Extensions + system + + + {$start_id=0} + {foreach $contacts as $row} + {if $row.category == "users"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + 0 + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {if $number.phone_label == "work"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "home"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "mobile"} + + {$number.phone_number} + 0 + + {/if} + {/if} + {/foreach} + 1 + 0 + + + + + {elseif $row.category == "groups"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + + 0 + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {if $number.phone_label == "work"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "home"} + + {$number.phone_number} + 0 + + {/if} + {if $number.phone_label == "mobile"} + + {$number.phone_number} + 0 + + {/if} + {/if} + {/foreach} + 2 + 0 + + + + + {elseif $row.category == "extensions"} + + {$start_id++} + {if $row.contact_name_given != ""} + {if $row.contact_organization != ""} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_organization} + {else} + {$row.contact_name_given} + {$row.contact_name_family} + {/if} + {else} + {$row.effective_caller_id_name} + {/if} + + 0 + {if $row.phone_number != ""} + + {$row.phone_number} + 0 + + {else} + + {$row.phone_extension} + 0 + + {/if} + 3 + 0 + + + + + {/if} + {/foreach} + From 541bd4dd6f9535a4e6e7107371ee9aae01d5f286 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 29 Sep 2020 14:38:15 -0600 Subject: [PATCH 006/677] Device Edit: Restore ability to unset the current Device Profile. --- app/devices/device_edit.php | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index b9adc6d69d..3040b537a9 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -120,7 +120,6 @@ $device_firmware_version = $_POST["device_firmware_version"]; $device_enabled = $_POST["device_enabled"]; $device_template = $_POST["device_template"]; - $device_profile_uuid = $_POST["device_profile_uuid"]; $device_description = $_POST["device_description"]; //lines $device_lines = $_POST["device_lines"]; @@ -273,8 +272,8 @@ if (permission_exists('device_template')) { $array['devices'][0]['device_template'] = $device_template; } - if (permission_exists('device_profile_edit') && is_uuid($device_profile_uuid)) { - $array['devices'][0]['device_profile_uuid'] = $device_profile_uuid; + if (permission_exists('device_profile_edit')) { + $array['devices'][0]['device_profile_uuid'] = is_uuid($device_profile_uuid) ? $device_profile_uuid : null; } if (permission_exists('device_description')) { $array['devices'][0]['device_description'] = $device_description; @@ -1174,16 +1173,11 @@ echo " \n"; echo " \n"; - if (is_array($device_lines) && @sizeof($device_lines) > 1 && permission_exists('device_line_delete')) { - if (is_uuid($row['device_line_uuid'])) { - echo " \n"; - echo " \n"; - echo " \n"; - } - else { - echo " \n"; - } - echo " \n"; + if (is_array($device_lines) && @sizeof($device_lines) > 1 && permission_exists('device_line_delete') && is_uuid($row['device_line_uuid'])) { + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; } echo "\n"; From 85e9be8148c140e0a695e8e7f726cc7bd0ad6a3a Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 29 Sep 2020 14:57:00 -0600 Subject: [PATCH 007/677] VM Scripts: Restore recording beep tone for add intro on vm forward. --- .../app/voicemail/resources/functions/forward_add_intro.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/forward_add_intro.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/forward_add_intro.lua index cb0526115d..9ba01371e2 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/forward_add_intro.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/forward_add_intro.lua @@ -48,8 +48,9 @@ --record your message at the tone press any key or stop talking to end the recording if (session:ready()) then - --session:sayPhrase("voicemail_record_greeting", "", "en") session:execute("playback", "phrase:voicemail_record_greeting"); + session:execute("sleep", "1000"); + session:streamFile("tone_stream://L=1;%(1000, 0, 640)"); end --set the file full path From b2d0bc504a98c1faa01885bfb5670b6aae1bbeef Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 29 Sep 2020 16:33:44 -0600 Subject: [PATCH 008/677] Group - Copy: Fix duplicate permissions issue. --- core/groups/group_edit.php | 20 +++++++++++++++++++- core/groups/group_permissions.php | 31 ++++++++++++++++--------------- 2 files changed, 35 insertions(+), 16 deletions(-) diff --git a/core/groups/group_edit.php b/core/groups/group_edit.php index 20c46742ed..a47fb1e3cd 100644 --- a/core/groups/group_edit.php +++ b/core/groups/group_edit.php @@ -56,6 +56,7 @@ if (is_array($_POST)) { $group_uuid = $_POST["group_uuid"]; $group_name = $_POST["group_name"]; + $group_name_previous = $_POST["group_name_previous"]; $domain_uuid = $_POST["domain_uuid"]; $group_level = $_POST["group_level"]; $group_protected = $_POST["group_protected"]; @@ -136,6 +137,22 @@ $database->app_uuid = '2caf27b0-540a-43d5-bb9b-c9871a1e4f84'; $database->save($array); + //update group name in group permissions if group name changed + if ($group_name != $group_name_previous) { + $sql = "update v_group_permissions "; + $sql .= "set group_name = :group_name "; + $sql .= "where group_name = :group_name_previous "; + $sql .= "and group_uuid = :group_uuid "; + $parameters['group_name'] = $group_name; + $parameters['group_name_previous'] = $group_name_previous; + $parameters['group_uuid'] = $group_uuid; + $database = new database; + $database->app_name = 'Group Manager'; + $database->app_uuid = '2caf27b0-540a-43d5-bb9b-c9871a1e4f84'; + $database->execute($sql, $parameters); + unset($sql, $parameters, $database); + } + //redirect the user if (isset($action)) { if ($action == "add") { @@ -147,7 +164,7 @@ header('Location: group_edit.php?id='.urlencode($group_uuid)); return; } - } //(is_array($_POST) && strlen($_POST["persistformvar"]) == 0) + } //pre-populate the form if (is_array($_GET) && $_POST["persistformvar"] != "true") { @@ -227,6 +244,7 @@ echo "\n"; echo "\n"; echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-group_name']."\n"; echo "\n"; diff --git a/core/groups/group_permissions.php b/core/groups/group_permissions.php index 8fb203056f..b8c92f8729 100644 --- a/core/groups/group_permissions.php +++ b/core/groups/group_permissions.php @@ -122,11 +122,13 @@ $sql .= " v_group_permissions as g \n"; $sql .= " on p.permission_name = g.permission_name \n"; $sql .= " and group_name = :group_name \n"; + $sql .= " and g.group_uuid = :group_uuid \n"; if (isset($sql_search)) { $sql .= "where ".$sql_search; } $sql .= " order by p.application_name, p.permission_name asc "; $parameters['group_name'] = $group_name; + $parameters['group_uuid'] = $group_uuid; $database = new database; $group_permissions = $database->select($sql, $parameters, 'all'); @@ -321,21 +323,20 @@ echo " "; echo " ".escape($label_application_name)."\n"; echo " "; - echo "\n"; + echo " \n"; if (permission_exists('group_permission_add') || permission_exists('group_permission_edit') || permission_exists('group_permission_delete')) { - echo " \n"; - echo " \n"; - echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; } echo th_order_by('group_name', $text['label-group_name'], $order_by, $order); - if (permission_exists('group_permission_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') { - echo "  \n"; + if (permission_exists('group_permission_add') || permission_exists('group_permission_edit') || permission_exists('group_permission_delete')) { + echo th_order_by('group_permission_protected', $text['label-group_protected'], $order_by, $order, null, "style='text-align: right;'"); + echo " \n"; + echo " \n"; + echo " \n"; } - echo " \n"; - echo " \n"; - echo " \n"; - echo th_order_by('group_permission_protected', $text['label-group_protected'], $order_by, $order, null, "class=''"); - echo "\n"; + echo " \n"; } echo "\n"; @@ -346,15 +347,15 @@ echo " \n"; echo " \n"; } - echo " ".escape($row['permission_name'])."\n"; + echo " "; + echo " ".escape($row['permission_name']); + echo " \n"; if (permission_exists('group_permission_add') || permission_exists('group_permission_edit') || permission_exists('group_permission_delete')) { + echo "  \n"; echo " \n"; echo " \n"; echo " \n"; } - echo " \n"; - echo " "; - echo " \n"; echo "\n"; //set the previous category From 15408eee7340a57f7efabd7c4011450781bf5fea Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 29 Sep 2020 18:05:37 -0600 Subject: [PATCH 009/677] Recordings: Additional sanitation on file rename. --- app/recordings/recording_edit.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/app/recordings/recording_edit.php b/app/recordings/recording_edit.php index d6c8ddb329..a12897f999 100644 --- a/app/recordings/recording_edit.php +++ b/app/recordings/recording_edit.php @@ -55,10 +55,18 @@ $recording_name = $_POST["recording_name"]; $recording_description = $_POST["recording_description"]; - //clean the recording filename and name - $recording_filename = str_replace(" ", "_", $recording_filename); - $recording_filename = str_replace("'", "", $recording_filename); - $recording_name = str_replace("'", "", $recording_name); + //sanitize recording filename and name + $recording_filename_ext = strtolower(pathinfo($recording_filename, PATHINFO_EXTENSION)); + if (!in_array($recording_filename_ext, ['wav','mp3','ogg'])) { + $recording_filename = pathinfo($recording_filename, PATHINFO_FILENAME); + $recording_filename = str_replace('.', '', $recording_filename); + } + $recording_filename = str_replace("\\", '', $recording_filename); + $recording_filename = str_replace('/', '', $recording_filename); + $recording_filename = str_replace('..', '', $recording_filename); + $recording_filename = str_replace(' ', '_', $recording_filename); + $recording_filename = str_replace("'", '', $recording_filename); + $recording_name = str_replace("'", '', $recording_name); } if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { From e3f36157d3a8ed6544d729b3adb831aa78708edc Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Thu, 1 Oct 2020 16:22:05 -0400 Subject: [PATCH 010/677] Allow flexible defaults for ivr failure and timeout (#5502) * Allow flexible defaults for ivr failure and timeout * Allow flexible defaults for ivr failure and timeout * Fix default setting description --- app/ivr_menus/app_config.php | 32 +++++++++++++++++++++++++++++ app/ivr_menus/ivr_menu_edit.php | 36 +++++++++++++++++++++++++++++---- 2 files changed, 64 insertions(+), 4 deletions(-) diff --git a/app/ivr_menus/app_config.php b/app/ivr_menus/app_config.php index b5b4229262..bb7b813c09 100644 --- a/app/ivr_menus/app_config.php +++ b/app/ivr_menus/app_config.php @@ -149,6 +149,38 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "1012fd92-acf9-4ce9-89da-f02d4cd0e794"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "ivr_menu"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "confirm_attempts"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "1"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "028bab4e-60e3-48d0-8892-4f678c8b72af"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "ivr_menu"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "inter_digit_timeout"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "2000"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Digit timeout in milliseconds"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f5829fb7-8bd6-4c42-af16-565882fad7ca"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "ivr_menu"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "max_failures"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "1"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "46dc3c7b-8a8d-4957-b4bd-27708c933af9"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "ivr_menu"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "max_timeouts"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "1"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "26984efd-2445-4ac9-b459-bb7bda4217c6"; $apps[$x]['default_settings'][$y]['default_setting_category'] = "limit"; $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "ivr_menus"; diff --git a/app/ivr_menus/ivr_menu_edit.php b/app/ivr_menus/ivr_menu_edit.php index a45b7c0a94..093d49138a 100644 --- a/app/ivr_menus/ivr_menu_edit.php +++ b/app/ivr_menus/ivr_menu_edit.php @@ -536,10 +536,38 @@ if (strlen($ivr_menu_voice) == 0) { $ivr_menu_voice = 'callie'; } if (strlen($ivr_menu_tts_engine) == 0) { $ivr_menu_tts_engine = 'flite'; } if (strlen($ivr_menu_tts_voice) == 0) { $ivr_menu_tts_voice = 'rms'; } - if (strlen($ivr_menu_confirm_attempts) == 0) { $ivr_menu_confirm_attempts = '1'; } - if (strlen($ivr_menu_inter_digit_timeout) == 0) { $ivr_menu_inter_digit_timeout = '2000'; } - if (strlen($ivr_menu_max_failures) == 0) { $ivr_menu_max_failures = '1'; } - if (strlen($ivr_menu_max_timeouts) == 0) { $ivr_menu_max_timeouts = '1'; } + if (strlen($ivr_menu_confirm_attempts) == 0) { + if (strlen($_SESSION['ivr_menu']['confirm_attempts']['numeric']) > 0) { + $ivr_menu_confirm_attempts = $_SESSION['ivr_menu']['confirm_attempts']['numeric']; + } + else { + $ivr_menu_confirm_attempts = '1'; + } + } + if (strlen($ivr_menu_inter_digit_timeout) == 0) { + if (strlen($_SESSION['ivr_menu']['inter_digit_timeout']['numeric']) > 0) { + $ivr_menu_inter_digit_timeout = $_SESSION['ivr_menu']['inter_digit_timeout']['numeric']; + } + else { + $ivr_menu_inter_digit_timeout = '2000'; + } + } + if (strlen($ivr_menu_max_failures) == 0) { + if (strlen($_SESSION['ivr_menu']['max_failures']['numeric']) > 0) { + $ivr_menu_max_failures = $_SESSION['ivr_menu']['max_failures']['numeric']; + } + else { + $ivr_menu_max_failures = '1'; + } + } + if (strlen($ivr_menu_max_timeouts) == 0) { + if (strlen($_SESSION['ivr_menu']['max_timeouts']['numeric']) > 0) { + $ivr_menu_max_timeouts = $_SESSION['ivr_menu']['max_timeouts']['numeric']; + } + else { + $ivr_menu_max_timeouts = '1'; + } + } if (strlen($ivr_menu_digit_len) == 0) { $ivr_menu_digit_len = '5'; } if (strlen($ivr_menu_direct_dial) == 0) { $ivr_menu_direct_dial = 'false'; } if (!isset($ivr_menu_context)) { $ivr_menu_context = $_SESSION['domain_name']; } From 73e9136344a300ab2795e848fbc7decf15bca69c Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Thu, 1 Oct 2020 19:08:53 -0400 Subject: [PATCH 011/677] Fix faxing to multiple numbers (#5503) --- app/fax/fax_send.php | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/app/fax/fax_send.php b/app/fax/fax_send.php index 867d24e57f..85e23333ca 100644 --- a/app/fax/fax_send.php +++ b/app/fax/fax_send.php @@ -768,16 +768,16 @@ if (!function_exists('fax_split_dtmf')) { //send the fax $fax_file = $dir_fax_temp."/".$fax_instance_uuid.".tif"; - $dial_string = "for_fax=1,"; - $dial_string .= "accountcode='" . $fax_accountcode . "',"; - $dial_string .= "sip_h_X-accountcode='" . $fax_accountcode . "',"; - $dial_string .= "domain_uuid=" . $_SESSION["domain_uuid"] . ","; - $dial_string .= "domain_name=" . $_SESSION["domain_name"] . ","; - $dial_string .= "origination_caller_id_name='" . $fax_caller_id_name . "',"; - $dial_string .= "origination_caller_id_number='" . $fax_caller_id_number . "',"; - $dial_string .= "fax_ident='" . $fax_caller_id_number . "',"; - $dial_string .= "fax_header='" . $fax_caller_id_name . "',"; - $dial_string .= "fax_file='" . $fax_file . "',"; + $tmp_dial_string = "for_fax=1,"; + $tmp_dial_string .= "accountcode='" . $fax_accountcode . "',"; + $tmp_dial_string .= "sip_h_X-accountcode='" . $fax_accountcode . "',"; + $tmp_dial_string .= "domain_uuid=" . $_SESSION["domain_uuid"] . ","; + $tmp_dial_string .= "domain_name=" . $_SESSION["domain_name"] . ","; + $tmp_dial_string .= "origination_caller_id_name='" . $fax_caller_id_name . "',"; + $tmp_dial_string .= "origination_caller_id_number='" . $fax_caller_id_number . "',"; + $tmp_dial_string .= "fax_ident='" . $fax_caller_id_number . "',"; + $tmp_dial_string .= "fax_header='" . $fax_caller_id_name . "',"; + $tmp_dial_string .= "fax_file='" . $fax_file . "',"; foreach ($fax_numbers as $fax_number) { $fax_number = trim($fax_number); @@ -803,6 +803,7 @@ if (!function_exists('fax_split_dtmf')) { } if ($fax_send_mode != 'queue') { + $dial_string = $tmp_dial_string; $dial_string .= $fax_variables; $dial_string .= "mailto_address='" . $mailto_address . "',"; $dial_string .= "mailfrom_address='" . $mailfrom_address . "',"; @@ -827,6 +828,7 @@ if (!function_exists('fax_split_dtmf')) { } else { // enqueue $wav_file = ''; //! @todo add custom message + $dial_string = $tmp_dial_string; $response = fax_enqueue($fax_uuid, $fax_file, $wav_file, $mailto_address, $fax_uri, $fax_dtmf, $dial_string); } } @@ -1185,4 +1187,4 @@ function showgrid($pdf) { } */ -?> \ No newline at end of file +?> From 2bbec3f38bdbaec2f9a7fa4624ef15e9eef374d2 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 1 Oct 2020 19:12:30 -0600 Subject: [PATCH 012/677] Add a missing comma. --- app/destinations/app_defaults.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/destinations/app_defaults.php b/app/destinations/app_defaults.php index 6b69b9c1f4..fbde451a8c 100644 --- a/app/destinations/app_defaults.php +++ b/app/destinations/app_defaults.php @@ -39,8 +39,7 @@ if (is_array($extensions) && @sizeof($extensions) != 0) { foreach($extensions as $row) { $sql = "update v_destinations "; - $sql .= "set destination_app = :destination_app "; - $sql .= "destination_data = :destination_data "; + $sql .= "set destination_app = :destination_app, destination_data = :destination_data "; $sql .= "where dialplan_uuid = :dialplan_uuid "; $parameters['destination_app'] = $row['destination_app']; $parameters['destination_data'] = $row['destination_data']; From d4ae16bce78238d9a718b96ff2306334a30b452b Mon Sep 17 00:00:00 2001 From: vivoras <60329535+vivoras@users.noreply.github.com> Date: Fri, 2 Oct 2020 07:39:31 +0200 Subject: [PATCH 013/677] Update {$mac}.xml Add phonebook options --- .../templates/provision/grandstream/gxp2130/{$mac}.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml index 3060319c5b..29c97ebad1 100644 --- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml @@ -6679,7 +6679,11 @@ +{if isset($grandstream_sort_phonebook_by)} + {$grandstream_sort_phonebook_by} +{else} 0 +{/if} @@ -6693,7 +6697,11 @@ +{if isset($grandstream_phonebook_search_mode)} + {$grandstream_phonebook_search_mode} +{else} 0 +{/if} From 477d411023c026577872c3d06964a39e29e3f3e2 Mon Sep 17 00:00:00 2001 From: vivoras <60329535+vivoras@users.noreply.github.com> Date: Fri, 2 Oct 2020 07:40:01 +0200 Subject: [PATCH 014/677] Update {$mac}.xml Add phonebook options --- .../templates/provision/grandstream/gxp2160/{$mac}.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml index 8db9185b49..9509a8f213 100644 --- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml @@ -6683,7 +6683,11 @@ +{if isset($grandstream_sort_phonebook_by)} + {$grandstream_sort_phonebook_by} +{else} 0 +{/if} @@ -6697,7 +6701,11 @@ +{if isset($grandstream_phonebook_search_mode)} + {$grandstream_phonebook_search_mode} +{else} 0 +{/if} From f93e0a8271ee00f25871cec3428468c23c8b82ca Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 2 Oct 2020 10:07:58 -0600 Subject: [PATCH 015/677] Voicemail: Additional steps to correct potential phrase/language issues. --- app/voicemails/app_defaults.php | 48 ++++++++++++++++++++++++++------- 1 file changed, 39 insertions(+), 9 deletions(-) diff --git a/app/voicemails/app_defaults.php b/app/voicemails/app_defaults.php index fb39d834a5..030df9415d 100644 --- a/app/voicemails/app_defaults.php +++ b/app/voicemails/app_defaults.php @@ -27,30 +27,60 @@ //process this only one time if ($domains_processed == 1) { - // process change from using macros to phrases - $languages_path = $_SESSION['switch']['phrases']['dir']; - if ($languages_path != '' && file_exists($languages_path)) { - $folder_contents = scandir($languages_path); + // define initial, get current, define correct languages folder paths + $switch_phrases_dir_initial = '/etc/freeswitch/lang'; + $switch_phrases_dir_current = $_SESSION['switch']['phrases']['dir']; + $switch_phrases_dir_correct = '/etc/freeswitch/languages'; + + // ensure switch using languages (not lang) folder + if ($switch_phrases_dir_current == $switch_phrases_dir_initial) { + // rename languages folder, if necessary + if (file_exists($switch_phrases_dir_current) && !file_exists($switch_phrases_dir_correct)) { + rename($switch_phrases_dir_current, $switch_phrases_dir_correct); + } + // update default setting value + if (file_exists($switch_phrases_dir_correct)) { + // session + $_SESSION['switch']['phrases']['dir'] = $switch_phrases_dir_correct; + // database + $sql = "update v_default_settings "; + $sql .= "set default_setting_value = '".$switch_phrases_dir_correct."', "; + $sql .= "default_setting_enabled = true "; + $sql .= "where default_setting_category = 'switch' "; + $sql .= "and default_setting_subcategory = 'phrases' "; + $sql .= "and default_setting_name = 'dir' "; + $database = new database; + $database->execute($sql); + unset($sql); + } + } + + // update language xml files to use switch phrases + if (file_exists($switch_phrases_dir_correct)) { + $folder_contents = scandir($switch_phrases_dir_correct); if (is_array($folder_contents) && @sizeof($folder_contents) != 0) { foreach ($folder_contents as $language_abbreviation) { if ($language_abbreviation == '.' || $language_abbreviation == '..') { continue; } - // adjust language xml to include all xml phrase files in the vm folder - $language_xml_path = $languages_path.'/'.$language_abbreviation.'/'.$language_abbreviation.'.xml'; + // adjust language xml file to include all xml phrase files in the vm folder + $language_xml_path = $switch_phrases_dir_correct.'/'.$language_abbreviation.'/'.$language_abbreviation.'.xml'; if (file_exists($language_xml_path)) { $language_xml_content = file_get_contents($language_xml_path); $language_xml_content = str_replace('data="vm/sounds.xml"', 'data="vm/*.xml"', $language_xml_content); @file_put_contents($language_xml_path, $language_xml_content); } - // copy voicemail.xml to language/xx/vm folders + // copy voicemail.xml to languages/xx/vm folders $voicemail_xml_source = $_SERVER['PROJECT_ROOT'].'/app/voicemails/resources/switch/languages/'.$language_abbreviation.'/vm/voicemail.xml'; - $voicemail_xml_target = $languages_path.'/'.$language_abbreviation.'/vm/voicemail.xml'; + $voicemail_xml_target = $switch_phrases_dir_correct.'/'.$language_abbreviation.'/vm/voicemail.xml'; if (!file_exists($voicemail_xml_target)) { copy($voicemail_xml_source, $voicemail_xml_target); } } } } - unset($languages_path, $folder_contents, $language_abbreviation, $language_xml_path, $language_xml_content, $voicemail_xml_source, $voicemail_xml_target); + + // clear variables + unset($switch_phrases_dir_initial, $switch_phrases_dir_current, $switch_phrases_dir_correct); + unset($folder_contents, $language_abbreviation, $language_xml_path, $language_xml_content, $voicemail_xml_source, $voicemail_xml_target); } From 0c6a066f8e69ba82098fab6afdad2160dcf51dd8 Mon Sep 17 00:00:00 2001 From: jamesorose Date: Fri, 2 Oct 2020 12:45:26 -0500 Subject: [PATCH 016/677] Update app_config.php (#5504) Change yealink_trust_certificates value false. When set to true this can make the phone not able to provision. If not using a trusted certificate. --- app/yealink/app_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/yealink/app_config.php b/app/yealink/app_config.php index 410d47d97b..3abd0d7140 100644 --- a/app/yealink/app_config.php +++ b/app/yealink/app_config.php @@ -859,7 +859,7 @@ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_trust_certificates"; $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; - $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "false"; $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "Required trusted certificate for provisioning."; $y++; From 4edb1d67ac3c117c4bbee6b195a4214f563a3156 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 2 Oct 2020 11:58:27 -0600 Subject: [PATCH 017/677] Update ivr.conf.lua This was added to send calls to the IVR menu exit action when it reaches the ivr_menu_max_failures. However it causes a bug when ivr_menu_max_failures = 1 and IVR Menu Option has a digits larger than 2 which gets interpreted as a failure and then sent to the fail destination. This code causes a worse issue than it solves. Commenting out the code until finding a better solution. --- .../xml_handler/resources/scripts/configuration/ivr.conf.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua index 851f951251..5492491ad5 100644 --- a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua +++ b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua @@ -279,9 +279,9 @@ --direct dial if (ivr_menu_direct_dial == "true") then table.insert(xml, [[ \n]]); - table.insert(xml, [[ \n]]); + --table.insert(xml, [[ \n]]); table.insert(xml, [[ \n]]); - table.insert(xml, [[ \n]]); + --table.insert(xml, [[ \n]]); table.insert(xml, [[ \n]]); end From bbe7c763a4f6bea505b9038dca229cfeebedeb97 Mon Sep 17 00:00:00 2001 From: PennyTone <47092923+pennytone@users.noreply.github.com> Date: Sat, 3 Oct 2020 14:57:32 -0700 Subject: [PATCH 018/677] Update {$mac}.xml line 6262 - auto upgrade based on hour of day. set to 2 line 6294 - Firmware Upgrade Confirmation set to 0 no this will allow unattended firmware upgrade. --- .../templates/provision/grandstream/gxp2135/{$mac}.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml index e27f59b922..5c17052baa 100644 --- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml @@ -6249,7 +6249,7 @@ - 1 + 0 @@ -6259,7 +6259,7 @@ - 0 + 2 @@ -6291,7 +6291,7 @@ - 1 + 0 From 729a2676b236e598216d2eccc986270d01d70294 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 5 Oct 2020 11:16:53 -0400 Subject: [PATCH 019/677] Update {$mac}.xml --- resources/templates/provision/grandstream/grp2613/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2613/{$mac}.xml b/resources/templates/provision/grandstream/grp2613/{$mac}.xml index 83980ee35a..74ee123c09 100644 --- a/resources/templates/provision/grandstream/grp2613/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2613/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From bca290615ef5b3d8ad3d8248c4eaa56fcad481d0 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 5 Oct 2020 11:19:36 -0400 Subject: [PATCH 020/677] Update {$mac}.xml --- resources/templates/provision/grandstream/grp2615/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2615/{$mac}.xml b/resources/templates/provision/grandstream/grp2615/{$mac}.xml index 1ca0654809..85b569de3d 100644 --- a/resources/templates/provision/grandstream/grp2615/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2615/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From 88a0061820fa35f6c46d28c78bf895a3e7d7c093 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 5 Oct 2020 11:20:31 -0400 Subject: [PATCH 021/677] Update {$mac}.xml --- resources/templates/provision/grandstream/grp2616/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2616/{$mac}.xml b/resources/templates/provision/grandstream/grp2616/{$mac}.xml index 43bf6d6cb7..ec271a349c 100644 --- a/resources/templates/provision/grandstream/grp2616/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2616/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From f95aec9d3e48e753ef5977e5b018d584b2bc9dd7 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 5 Oct 2020 11:22:28 -0400 Subject: [PATCH 022/677] Update {$mac}.xml --- resources/templates/provision/grandstream/gxp2130/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml index 3060319c5b..8c925b2c0b 100644 --- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From 4ed112feeb04ac3450942e3ee79fc7cd982ef420 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 5 Oct 2020 11:24:02 -0400 Subject: [PATCH 023/677] Update {$mac}.xml --- resources/templates/provision/grandstream/gxp2135/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml index e27f59b922..37d347d391 100644 --- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From aead31660022e0e31988c6b1ad2715808a160eef Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 5 Oct 2020 11:25:08 -0400 Subject: [PATCH 024/677] Update {$mac}.xml --- resources/templates/provision/grandstream/gxp2140/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml index e27f59b922..37d347d391 100644 --- a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From 6b74561730fd73052dc2e70d0bef1964c108210c Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 5 Oct 2020 11:26:03 -0400 Subject: [PATCH 025/677] Update {$mac}.xml --- resources/templates/provision/grandstream/gxp2160/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml index 8db9185b49..4245e77dcb 100644 --- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From 4618b8175433708fd1f46b387c37fafa654acf34 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 5 Oct 2020 11:27:15 -0400 Subject: [PATCH 026/677] Update {$mac}.xml --- resources/templates/provision/grandstream/gxp2170/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index 74d943b559..9af6a9d66f 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From b91ac5ba51d6a7538553481185c2aa94961bdde2 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 5 Oct 2020 11:28:35 -0400 Subject: [PATCH 027/677] Update {$mac}.xml --- resources/templates/provision/grandstream/grp26xx/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml index 765d517f9c..e233d17ed9 100644 --- a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml @@ -695,7 +695,7 @@ - + {$grandstream_dial_prefix} From 4a886ea1d230bdabee85f1fa112a63658329e18a Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 5 Oct 2020 09:49:23 -0600 Subject: [PATCH 028/677] Extension - Edit: Adjust permission check to mitigate warning. --- app/extensions/extension_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index e32e24f1ea..9144b45376 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -836,7 +836,7 @@ echo " document.iform.range_to.disabled = endis;\n"; echo "}\n"; echo "\n"; - if (permission_exists(extension_advanced)) { + if (permission_exists('extension_advanced')) { echo "function show_advanced_config() {\n"; echo " $('#show_advanced_box').slideToggle();\n"; echo " $('#show_advanced').slideToggle();\n"; From 0873e1d52c6562908001ab1e5af31cced2bbd63e Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 6 Oct 2020 02:12:41 -0400 Subject: [PATCH 029/677] Update {$mac}.xml (#5508) --- resources/templates/provision/grandstream/grp2612/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2612/{$mac}.xml b/resources/templates/provision/grandstream/grp2612/{$mac}.xml index 03122670b7..9a9f476388 100644 --- a/resources/templates/provision/grandstream/grp2612/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From d692003363fa5d7ba52f280dccd971bcad0676ad Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 6 Oct 2020 02:15:21 -0400 Subject: [PATCH 030/677] Update {$mac}.xml (#5509) Add grandstream_dial_prefix provisioning variable. --- resources/templates/provision/grandstream/grp2612w/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml index 10ecc89471..6be679650c 100644 --- a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From ac44e39700441281eab5ec48b6ce781f5073fc3b Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 6 Oct 2020 02:15:47 -0400 Subject: [PATCH 031/677] Update {$mac}.xml (#5511) Add grandstream_dial_prefix provisioning variable. --- resources/templates/provision/grandstream/grp2614/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2614/{$mac}.xml b/resources/templates/provision/grandstream/grp2614/{$mac}.xml index 2e4bba62af..53e722a66d 100644 --- a/resources/templates/provision/grandstream/grp2614/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2614/{$mac}.xml @@ -686,7 +686,7 @@ - + {$grandstream_dial_prefix} From 7932829ff025abb8a262426f20cfe5de8e6414ef Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 6 Oct 2020 14:58:00 -0600 Subject: [PATCH 032/677] Switch Variables: Enhance description. --- app/vars/app_languages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/vars/app_languages.php b/app/vars/app_languages.php index f58f1efa22..5770bac89a 100644 --- a/app/vars/app_languages.php +++ b/app/vars/app_languages.php @@ -274,8 +274,8 @@ $text['description-variables_advanced']['ru-ru'] = "Определите зде $text['description-variables_advanced']['sv-se'] = "Definiera preprocessor variabler här. Kan nås i xml konfigurationen med $."; $text['description-variables_advanced']['uk-ua'] = "Задайте змінні препроцесора тут. Вони будуть доступними в конфігурації XML з символом $."; -$text['description-variables']['en-us'] = "Define preprocessor variables here."; -$text['description-variables']['en-gb'] = "Define preprocessor variables here."; +$text['description-variables']['en-us'] = "Define preprocessor variables here. A switch restart is required for changes to take effect."; +$text['description-variables']['en-gb'] = "Define preprocessor variables here. A switch restart is required for changes to take effect."; $text['description-variables']['ar-eg'] = ""; $text['description-variables']['de-at'] = "Definieren Sie Preprozessor Variablen."; //copied from de-de $text['description-variables']['de-ch'] = "Definieren Sie Preprozessor Variablen."; //copied from de-de From 08de8d1f815123a5dcd7460957d319da302c5b0e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 7 Oct 2020 13:48:17 -0600 Subject: [PATCH 033/677] Remove code that caused an error. --- app/xml_cdr/resources/classes/xml_cdr.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index 840a17800e..2f7206ff99 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -186,7 +186,6 @@ if (!class_exists('xml_cdr')) { $this->fields(); $field_count = sizeof($this->fields); - $row_count = sizeof($this->array); //$field_count = sizeof($this->fields); $i = 0; if (isset($this->array)) { From 9207647fbe878c7001baa895e8886bae59372e0d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 7 Oct 2020 16:47:19 -0600 Subject: [PATCH 034/677] Default time_zone to UTC time. --- core/default_settings/app_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/default_settings/app_config.php b/core/default_settings/app_config.php index a5e72052f8..6953cc738d 100644 --- a/core/default_settings/app_config.php +++ b/core/default_settings/app_config.php @@ -82,7 +82,7 @@ $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain"; $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "time_zone"; $apps[$x]['default_settings'][$y]['default_setting_name'] = "name"; - $apps[$x]['default_settings'][$y]['default_setting_value'] = ""; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "UTC"; $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; $y++; From 55e1e2ea355530de4a2560eade97d4c3b231dbf7 Mon Sep 17 00:00:00 2001 From: Nate Date: Thu, 8 Oct 2020 15:13:45 -0600 Subject: [PATCH 035/677] Contacts - Import: Support multiple numbers per contact and ability to set number label. --- app/contacts/contact_import.php | 45 +++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/app/contacts/contact_import.php b/app/contacts/contact_import.php index 3dae4e74fb..2c415cfe99 100644 --- a/app/contacts/contact_import.php +++ b/app/contacts/contact_import.php @@ -172,21 +172,43 @@ echo "\n"; + //define phone label options + if (is_array($_SESSION["contact"]["phone_label"]) && @sizeof($_SESSION["contact"]["phone_label"]) != 0) { + sort($_SESSION["contact"]["phone_label"]); + foreach($_SESSION["contact"]["phone_label"] as $row) { + $label_options[] = ""; + } + } + //loop through user columns $x = 0; foreach ($line_fields as $line_field) { $line_field = trim(trim($line_field), $enclosure); echo "\n"; echo " \n"; echo " \n"; echo "\n"; $x++; @@ -251,8 +274,9 @@ exit; } - //user selected fields + //user selected fields, labels $fields = $_POST['fields']; + $labels = $_POST['labels']; //set the domain_uuid $domain_uuid = $_SESSION['domain_uuid']; @@ -312,6 +336,9 @@ if ($field_name != "username" && $field_name != "group_name") { $array[$parent][$row_id][$table_name][$y]['domain_uuid'] = $domain_uuid; $array[$parent][$row_id][$table_name][$y][$field_name] = $result[$key]; + if ($field_name == 'phone_number') { + $array[$parent][$row_id][$table_name][$y]['phone_label'] = $labels[$key]; + } } } @@ -337,11 +364,12 @@ } } } + if (is_array($array[$parent][$row_id])) { $y++; } } //process a chunk of the array if ($row_id === 1000) { - + //save to the data $database = new database; $database->app_name = 'contacts'; @@ -349,8 +377,8 @@ $database->save($array); //clear the array - unset($array); - + unset($array); + //set the row id back to 0 $row_id = 0; } @@ -359,6 +387,7 @@ $row_number++; $row_id++; } //end while + fclose($handle); //save to the data From c10d508ba8955ae6186ba31f6698a55fa9888fae Mon Sep 17 00:00:00 2001 From: Nate Date: Thu, 8 Oct 2020 16:18:02 -0600 Subject: [PATCH 036/677] Voicemail: Minor adjustment to play greeting script. --- .../app/voicemail/resources/functions/play_greeting.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/play_greeting.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/play_greeting.lua index e4a67f498d..935e61c834 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/play_greeting.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/play_greeting.lua @@ -85,17 +85,17 @@ if saved then --play the greeting - dtmf_digits = session:playAndGetDigits(min_digits, max_digits, tries, timeout, "#", voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav", "", ".*", max_timeout); + dtmf_digits = session:playAndGetDigits(0, max_digits, tries, timeout, "#", voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav", "", ".*", max_timeout); --session:execute("playback",voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav"); --delete the greeting (retain local for better responsiveness) --os.remove(voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav"); end elseif (storage_type == "http_cache") then - dtmf_digits = session:playAndGetDigits(min_digits, max_digits, tries, timeout, "#", voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav", "", ".*", max_timeout); + dtmf_digits = session:playAndGetDigits(0, max_digits, tries, timeout, "#", voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav", "", ".*", max_timeout); --session:execute("playback",storage_path.."/"..voicemail_id.."/greeting_"..greeting_id..".wav"); else - dtmf_digits = session:playAndGetDigits(min_digits, max_digits, tries, timeout, "#", voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav", "",".*", max_timeout); + dtmf_digits = session:playAndGetDigits(0, max_digits, tries, timeout, "#", voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav", "",".*", max_timeout); --session:execute("playback",voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav"); end From 325da538c30ceb2cbf4589fb03cba08c75afde6c Mon Sep 17 00:00:00 2001 From: Nate Date: Thu, 8 Oct 2020 18:05:20 -0600 Subject: [PATCH 037/677] Voicemail: Adjust default greeting to accept * for remote access. --- .../scripts/app/voicemail/resources/functions/play_greeting.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/play_greeting.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/play_greeting.lua index 935e61c834..43480ee639 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/play_greeting.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/play_greeting.lua @@ -110,7 +110,7 @@ else voicemail_id_say = voicemail_id; end - dtmf_digits = session:playAndGetDigits(0, 1, 1, 200, "#", "phrase:voicemail_play_greeting:" .. voicemail_id_say, "", "\\d+"); + dtmf_digits = session:playAndGetDigits(0, 1, 1, 200, "#", "phrase:voicemail_play_greeting:" .. voicemail_id_say, "", ".*"); end end end From 6cc97a45cc710d503e4ecb3564450b9cf8c8aefd Mon Sep 17 00:00:00 2001 From: Len Date: Fri, 9 Oct 2020 22:07:25 -0400 Subject: [PATCH 038/677] Update app_config.php --- app/grandstream/app_config.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/grandstream/app_config.php b/app/grandstream/app_config.php index cb735d8a6f..6071721f35 100644 --- a/app/grandstream/app_config.php +++ b/app/grandstream/app_config.php @@ -646,5 +646,13 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "IP Address Mode. 0 - DHCP, 1 - Static IP, 2 - PPPoE. Default is 0"; $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "6ab26457-fcc8-414e-8ac5-ae681f114974"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_speaker_ring_volume"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "5"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Number: 0-7. Default is 5."; + $y++; ?> From 324468c3fdd5c65b4c2a99974f5fc850c3ea83dc Mon Sep 17 00:00:00 2001 From: demonspork Date: Fri, 9 Oct 2020 23:15:31 -0500 Subject: [PATCH 039/677] Add grandstream_speaker_ring_volume to all templates Excludes the P8352 value if the default setting grandstream_speaker_ring_volume is unset. Depends on PR #5522 Before anyone asks, Mandatory just means that the variable must be valid, not that it must be included in every XML download. The phone already has a valid value in its internal settings, so as long as we stay safe from setting it to an empty value or outside of the range of 0-7, we are safe. Excluding it is a valid option, which is also true for all settings labelled Mandatory in the Grandstream templates. --- resources/templates/provision/grandstream/grp2612/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/grp2612w/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/grp2613/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/grp2614/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/grp2615/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/grp2616/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/grp26xx/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/gxp2130/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/gxp2135/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/gxp2140/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/gxp2160/{$mac}.xml | 4 +++- resources/templates/provision/grandstream/gxp2170/{$mac}.xml | 4 +++- 12 files changed, 36 insertions(+), 12 deletions(-) diff --git a/resources/templates/provision/grandstream/grp2612/{$mac}.xml b/resources/templates/provision/grandstream/grp2612/{$mac}.xml index 9a9f476388..813079b683 100644 --- a/resources/templates/provision/grandstream/grp2612/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612/{$mac}.xml @@ -4287,7 +4287,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml index 6be679650c..3a9f3d09cc 100644 --- a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml @@ -4382,7 +4382,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/grp2613/{$mac}.xml b/resources/templates/provision/grandstream/grp2613/{$mac}.xml index 74ee123c09..c5890b3ba7 100644 --- a/resources/templates/provision/grandstream/grp2613/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2613/{$mac}.xml @@ -5102,7 +5102,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/grp2614/{$mac}.xml b/resources/templates/provision/grandstream/grp2614/{$mac}.xml index 53e722a66d..29ca189204 100644 --- a/resources/templates/provision/grandstream/grp2614/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2614/{$mac}.xml @@ -6431,7 +6431,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/grp2615/{$mac}.xml b/resources/templates/provision/grandstream/grp2615/{$mac}.xml index 85b569de3d..7e37af59d2 100644 --- a/resources/templates/provision/grandstream/grp2615/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2615/{$mac}.xml @@ -7351,7 +7351,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/grp2616/{$mac}.xml b/resources/templates/provision/grandstream/grp2616/{$mac}.xml index ec271a349c..db7a8d83d9 100644 --- a/resources/templates/provision/grandstream/grp2616/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2616/{$mac}.xml @@ -8330,7 +8330,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml index e233d17ed9..c45fbbf183 100644 --- a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml @@ -7625,7 +7625,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml index 7562136f62..c240ea921f 100644 --- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml @@ -8263,7 +8263,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml index 37d347d391..efaf755057 100644 --- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml @@ -8256,7 +8256,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml index 37d347d391..efaf755057 100644 --- a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml @@ -8256,7 +8256,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml index b374ee697d..611dc4afc2 100644 --- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml @@ -8268,7 +8268,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index 9af6a9d66f..e350b82463 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -8256,7 +8256,9 @@ - 5 +{if isset($grandstream_speaker_ring_volume)} + {$grandstream_speaker_ring_volume} +{/if} From cd3ed425de533a5f331461f30fec4a0804902d9b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 10 Oct 2020 00:03:04 -0600 Subject: [PATCH 040/677] Update destinations.php Add to_regex method to the destinations class. --- .../resources/classes/destinations.php | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/app/destinations/resources/classes/destinations.php b/app/destinations/resources/classes/destinations.php index 10ca9ddab0..deeb656736 100644 --- a/app/destinations/resources/classes/destinations.php +++ b/app/destinations/resources/classes/destinations.php @@ -78,6 +78,83 @@ if (!class_exists('destinations')) { } } + /** + * Convert destination number to a regular expression + * @var string $array destination_prefix, destination_trunk_prefix, destination_area_code, destination_number + */ + public function to_regex($array) { + + if (isset($array['destination_prefix']) && isset($array['destination_trunk_prefix']) && isset($array['destination_area_code']) && isset($array['destination_number'])) { + $destination_regex = "(\+?".$array['destination_prefix'].$array['destination_area_code'].$array['destination_number']."\$|"; + $destination_regex .= "^".$array['destination_trunk_prefix'].$array['destination_area_code'].$array['destination_number']."\$|"; + $destination_regex .= "^".$array['destination_area_code'].$array['destination_number']."\$|"; + $destination_regex .= "^".$array['destination_number']."\$)"; + } + elseif (isset($array['destination_prefix']) && isset($array['destination_area_code']) && isset($array['destination_number'])) { + $destination_regex = "(\+?".$array['destination_prefix'].$array['destination_area_code'].$array['destination_number']."\$|"; + $destination_regex .= "^".$array['destination_area_code'].$array['destination_number']."\$|"; + $destination_regex .= "^".$array['destination_number']."\$)"; + } + elseif ((isset($array['destination_prefix']) && isset($array['destination_number'])) || isset($array['destination_number'])) { + + //set the variables + $destination_prefix = $array['destination_prefix']; + $destination_number = $array['destination_number']; + $destination_regex = $array['destination_number']; + + //escape the plus + if (substr($destination_number, 0, 1) == "+") { + $destination_regex = "^\\+(".substr($destination_number, 1).")$"; + } + + //add prefix + if (strlen($destination_prefix) > 0) { + if (strlen($destination_prefix) > 0 && strlen($destination_prefix) < 4) { + $plus = (substr($destination_prefix, 0, 1) == "+") ? '' : '\+?'; + $destination_prefix = $plus.$destination_prefix.'?'; + } + else { + $destination_prefix = '(?:'.$destination_prefix.')?'; + } + } + + //convert N,X,Z syntax to regex + $destination_regex = str_ireplace("N", "[2-9]", $destination_regex); + $destination_regex = str_ireplace("X", "[0-9]", $destination_regex); + $destination_regex = str_ireplace("Z", "[1-9]", $destination_regex); + + //add ^ to the start of the string if missing + if (substr($destination_regex, 0, 1) != "^") { + $destination_regex = "^".$destination_regex; + } + + //add $ to the end of the string if missing + if (substr($destination_regex, -1) != "$") { + $destination_regex = $destination_regex."$"; + } + + //add the round brackets + if (!strstr($destination_regex, '(')) { + if (strstr($destination_regex, '^')) { + $destination_regex = str_replace("^", "^".$destination_prefix."(", $destination_regex); + } + else { + $destination_regex = '^('.$destination_regex; + } + if (strstr($destination_regex, '$')) { + $destination_regex = str_replace("$", ")$", $destination_regex); + } + else { + $destination_regex = $destination_regex.')$'; + } + } + + } + + return $destination_regex; + + } + /** * Build the destination select list * @var string $destination_type can be ivr, dialplan, call_center_contact or bridge From 3283140022770771678d33ee614f0809e579117a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 10 Oct 2020 00:06:38 -0600 Subject: [PATCH 041/677] Update destination_edit.php Replace string_to_regex with destination to_regex method. --- app/destinations/destination_edit.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 5c440194fd..b3731dcf83 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -258,7 +258,21 @@ } //convert the number to a regular expression - $destination_number_regex = string_to_regex($destination_area_code.$destination_number, $destination_prefix); + if (isset($destination_prefix) && strlen($destination_prefix) > 0) { + $destination_numbers['destination_prefix'] = $destination_prefix; + } + if (isset($destination_trunk_prefix) && strlen($destination_trunk_prefix) > 0) { + $destination_numbers['destination_trunk_prefix'] = $destination_trunk_prefix; + } + if (isset($destination_area_code) && strlen($destination_area_code) > 0) { + $destination_numbers['destination_area_code'] = $destination_area_code; + } + if (isset($destination_number) && strlen($destination_number) > 0) { + $destination_numbers['destination_number'] = $destination_number; + } + $destination = new destinations; + $destination_number_regex = $destination->to_regex($destination_numbers); + unset($destination_numbers); //if empty then get new uuid if (!is_uuid($dialplan_uuid)) { From 7f870ea26ff8ad818d8a11a7679093ed74e51760 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 10 Oct 2020 12:46:56 -0600 Subject: [PATCH 042/677] Remove an extra line of code that causes no harm but is not needed. --- app/call_centers/app_config.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/call_centers/app_config.php b/app/call_centers/app_config.php index 2a0ebe4438..2bd9f542ec 100644 --- a/app/call_centers/app_config.php +++ b/app/call_centers/app_config.php @@ -121,7 +121,6 @@ $apps[$x]['permissions'][$y]['groups'][] = "admin"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; - $y++; $apps[$x]['permissions'][$y]['name'] = "call_center_outbound_caller_id_name"; //$apps[$x]['permissions'][$y]['groups'][] = "admin"; //$apps[$x]['permissions'][$y]['groups'][] = "superadmin"; From ce2a772720d42ac8aa2a39c3fddfe110553b2e12 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 10 Oct 2020 13:29:15 -0600 Subject: [PATCH 043/677] Update index.lua Remove trailing space. --- app/scripts/resources/scripts/app/ring_groups/index.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/resources/scripts/app/ring_groups/index.lua b/app/scripts/resources/scripts/app/ring_groups/index.lua index 1b9251b4a7..cfef10f1b4 100644 --- a/app/scripts/resources/scripts/app/ring_groups/index.lua +++ b/app/scripts/resources/scripts/app/ring_groups/index.lua @@ -305,7 +305,7 @@ if (missed_call_app == "email") then --prepare the email address mail_to = missed_call_data; - + --set the sounds path for the language, dialect and voice default_language = session:getVariable("default_language"); default_dialect = session:getVariable("default_dialect"); From a16fdcc437f43766ff52ca07a8517dde83f0b6ff Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 12 Oct 2020 09:54:50 -0600 Subject: [PATCH 044/677] Voicemail: Additional step to correct potential phrase/language issues. --- app/voicemails/app_defaults.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app/voicemails/app_defaults.php b/app/voicemails/app_defaults.php index 030df9415d..c40022f092 100644 --- a/app/voicemails/app_defaults.php +++ b/app/voicemails/app_defaults.php @@ -28,9 +28,10 @@ if ($domains_processed == 1) { // define initial, get current, define correct languages folder paths - $switch_phrases_dir_initial = '/etc/freeswitch/lang'; + $switch_configuration_dir = $_SESSION['switch']['conf']['dir'] != '' ? $_SESSION['switch']['conf']['dir'] : '/etc/freeswitch'; + $switch_phrases_dir_initial = $switch_configuration_dir.'/lang'; $switch_phrases_dir_current = $_SESSION['switch']['phrases']['dir']; - $switch_phrases_dir_correct = '/etc/freeswitch/languages'; + $switch_phrases_dir_correct = $switch_configuration_dir.'/languages'; // ensure switch using languages (not lang) folder if ($switch_phrases_dir_current == $switch_phrases_dir_initial) { @@ -53,10 +54,16 @@ if ($domains_processed == 1) { $database->execute($sql); unset($sql); } + } - // update language xml files to use switch phrases if (file_exists($switch_phrases_dir_correct)) { + // update language path in main switch xml file + if (file_exists($switch_configuration_dir.'/freeswitch.xml')) { + $switch_xml_content = file_get_contents($switch_configuration_dir.'/freeswitch.xml'); + $switch_xml_content = str_replace('data="lang/', 'data="languages/', $switch_xml_content); + @file_put_contents($switch_configuration_dir.'/freeswitch.xml', $switch_xml_content); + } $folder_contents = scandir($switch_phrases_dir_correct); if (is_array($folder_contents) && @sizeof($folder_contents) != 0) { foreach ($folder_contents as $language_abbreviation) { From 349f81ddd09709b813a6b69aeaa4079f485fe6dc Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 12 Oct 2020 09:56:49 -0600 Subject: [PATCH 045/677] Voicemail: Clear some vars. --- app/voicemails/app_defaults.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/voicemails/app_defaults.php b/app/voicemails/app_defaults.php index c40022f092..18c0433c58 100644 --- a/app/voicemails/app_defaults.php +++ b/app/voicemails/app_defaults.php @@ -86,8 +86,8 @@ if ($domains_processed == 1) { } // clear variables - unset($switch_phrases_dir_initial, $switch_phrases_dir_current, $switch_phrases_dir_correct); - unset($folder_contents, $language_abbreviation, $language_xml_path, $language_xml_content, $voicemail_xml_source, $voicemail_xml_target); + unset($switch_configuration_dir, $switch_phrases_dir_initial, $switch_phrases_dir_current, $switch_phrases_dir_correct); + unset($switch_xml_content, $folder_contents, $language_abbreviation, $language_xml_path, $language_xml_content, $voicemail_xml_source, $voicemail_xml_target); } From a770fd878cf089a4d7fbaf441a916d91eb5bfb4d Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 12 Oct 2020 11:46:51 -0600 Subject: [PATCH 046/677] Voicemail: Enhance recording playback options. --- .../functions/listen_to_recording.lua | 65 ++++++++++++------- 1 file changed, 43 insertions(+), 22 deletions(-) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/listen_to_recording.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/listen_to_recording.lua index 831202b0ad..821d9b75b2 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/listen_to_recording.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/listen_to_recording.lua @@ -46,27 +46,27 @@ session:execute("playback", "phrase:voicemail_say_message_number:" .. message_status .. ":" .. message_number); end end - --say the caller id number - if (session:ready() and caller_id_number ~= nil) then - if (vm_say_caller_id_number ~= nil) then - if (vm_say_caller_id_number == "true") then - session:streamFile(sounds_dir.."/"..default_language.."/"..default_dialect.."/"..default_voice.."/voicemail/vm-from.wav"); - session:say(caller_id_number, default_language, "name_spelled", "iterated"); - end - end + --say the caller id number first (default) + if ( + session:ready() and + caller_id_number ~= nil and ( + vm_say_caller_id_number == nil or + vm_say_caller_id_number == "true" + )) then + session:streamFile(sounds_dir.."/"..default_language.."/"..default_dialect.."/"..default_voice.."/voicemail/vm-from.wav"); + session:say(caller_id_number, default_language, "name_spelled", "iterated"); end - --say the message date - if (session:ready()) then - if (string.len(dtmf_digits) == 0) then - if (vm_say_date_time ~= nil) then - if (vm_say_date_time == "true") then - if (current_time_zone ~= nil) then - session:execute("set", "timezone="..current_time_zone..""); - end - session:say(created_epoch, default_language, "current_date_time", "pronounced"); - end - end + --say the message date first (default) + if ( + session:ready() and + string.len(dtmf_digits) == 0 and ( + vm_say_date_time == nil or + vm_say_date_time == "true" + )) then + if (current_time_zone ~= nil) then + session:execute("set", "timezone="..current_time_zone..""); end + session:say(created_epoch, default_language, "current_date_time", "pronounced"); end --get the recordings from the database if (storage_type == "base64") then @@ -156,10 +156,31 @@ os.remove(voicemail_dir.."/"..voicemail_id.."/intro_"..uuid.."."..vm_message_ext); os.remove(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext); end - + --say the caller id number last (optional) + if ( + session:ready() and + caller_id_number ~= nil and + vm_say_caller_id_number ~= nil and + vm_say_caller_id_number == "last" + ) then + session:streamFile(sounds_dir.."/"..default_language.."/"..default_dialect.."/"..default_voice.."/voicemail/vm-from.wav"); + session:say(caller_id_number, default_language, "name_spelled", "iterated"); + end + --say the message date last (optional) + if ( + session:ready() and + string.len(dtmf_digits) == 0 and + vm_say_date_time ~= nil and + vm_say_date_time == "last" + ) then + if (current_time_zone ~= nil) then + session:execute("set", "timezone="..current_time_zone..""); + end + session:say(created_epoch, default_language, "current_date_time", "pronounced"); + end --post listen options - if (session:ready()) then - if (string.len(dtmf_digits) == 0) then + if (session:ready()) then + if (string.len(dtmf_digits) == 0) then dtmf_digits = session:playAndGetDigits(1, 1, max_tries, digit_timeout, "#", "phrase:voicemail_listen_file_options:1:2:5:7:8:9:0", "", "\\d+"); end end From b8acae0afbd9645be5aad40a7f7f2645078d5742 Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 12 Oct 2020 14:55:07 -0600 Subject: [PATCH 047/677] Voicemail: Show assigned extension mailboxes if voicemail_domain permission not assigned. --- app/voicemails/voicemail_messages.php | 2 +- app/voicemails/voicemails.php | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/voicemails/voicemail_messages.php b/app/voicemails/voicemail_messages.php index 9a7ee5a80b..457514f7a6 100644 --- a/app/voicemails/voicemail_messages.php +++ b/app/voicemails/voicemail_messages.php @@ -178,7 +178,7 @@ $voicemails = $vm->messages(); //count messages - $new_messages = 0; + $new_messages = $num_rows = 0; if (is_array($voicemails) && @sizeof($voicemails) != 0) { foreach ($voicemails as $voicemail) { if (is_array($voicemail['messages'])) { diff --git a/app/voicemails/voicemails.php b/app/voicemails/voicemails.php index 17e1c6e838..18ef21370c 100644 --- a/app/voicemails/voicemails.php +++ b/app/voicemails/voicemails.php @@ -79,6 +79,16 @@ } } } + else { + $voicemail = new voicemail; + $rows = $voicemail->voicemails(); + if (is_array($rows) && @sizeof($rows) != 0) { + foreach ($rows as $row) { + $voicemail_uuids[]['voicemail_uuid'] = $row['voicemail_uuid']; + } + } + unset($voicemail, $rows, $row); + } //get order and order by $order_by = $_GET["order_by"]; From e1534289f5442b933ad1f3819909ef1e366ee206 Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 13 Oct 2020 09:56:35 -0400 Subject: [PATCH 048/677] Update app_config.php --- app/devices/app_config.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/devices/app_config.php b/app/devices/app_config.php index f6c613c9e5..b75dda8590 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -2152,6 +2152,13 @@ $vendors[$y]['functions'][$z]['value'] = "none"; $vendors[$y]['functions'][$z]['groups'][] = "superadmin"; $vendors[$y]['functions'][$z]['groups'][] = "admin"; + $z++; + $vendors[$y]['functions'][$z]['uuid'] = "5fab2239-b72c-404a-a392-251e22770ec5"; + $vendors[$y]['functions'][$z]['label'] = "label-phonebook"; + $vendors[$y]['functions'][$z]['name'] = "phonebook"; + $vendors[$y]['functions'][$z]['value'] = "phonebook"; + $vendors[$y]['functions'][$z]['groups'][] = "superadmin"; + $vendors[$y]['functions'][$z]['groups'][] = "admin"; //mitel $y++; $vendors[$y]['uuid'] = "03931359-917e-455b-b4fc-f875c530b79c"; From 69131255111dc67cb0ab2ce8a292fff118d5093f Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 13 Oct 2020 10:26:16 -0600 Subject: [PATCH 049/677] Device - Import: Hide file upload for now, as doesn't work properly. --- app/devices/device_imports.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/devices/device_imports.php b/app/devices/device_imports.php index 07fee12cc1..b361629819 100644 --- a/app/devices/device_imports.php +++ b/app/devices/device_imports.php @@ -441,6 +441,7 @@ echo "\n"; echo "\n"; + /* echo "\n"; echo "\n"; echo "\n"; + */ echo "
\n"; - //echo " ".$text['label-zzz']."\n"; echo $line_field; echo " \n"; - echo " \n"; echo " \n"; foreach($schema as $row) { echo " \n"; foreach($row['fields'] as $field) { + if ($field == 'phone_label') { continue; } $selected = ''; if ($field == $line_field) { $selected = "selected='selected'"; @@ -198,8 +220,9 @@ echo " \n"; } echo " \n"; - //echo "
\n"; - //echo $text['description-zzz']."\n"; + echo " \n"; echo "
\n"; echo " ".$text['label-import_file_upload']."\n"; @@ -450,6 +451,7 @@ echo "
\n"; echo "
\n"; echo "

"; From 54ae9e2e137051be7c17512a09d8a6e2f4c2cf62 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 13 Oct 2020 15:10:07 -0600 Subject: [PATCH 050/677] Login: Adjust Password Reset feature to support using a specific or dynamic domain in the reset link sent. --- core/default_settings/app_config.php | 8 ++++++++ resources/login.php | 16 +++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/core/default_settings/app_config.php b/core/default_settings/app_config.php index 6953cc738d..e53c918856 100644 --- a/core/default_settings/app_config.php +++ b/core/default_settings/app_config.php @@ -222,6 +222,14 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "Display a Reset Password link on the login box (requires smtp_host be defined)."; $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "a21a002c-c065-411c-ae56-3d33a09f64b4"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "login"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_reset_domain"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = ""; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the domain to use in the Password Reset link sent via email."; + $y++; $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "962ac32c-74ce-4cce-b1d9-89f4d921493d"; $apps[$x]['default_settings'][$y]['default_setting_category'] = "login"; $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "domain_name_visible"; diff --git a/resources/login.php b/resources/login.php index d8c0b0019d..2d4c21cd02 100644 --- a/resources/login.php +++ b/resources/login.php @@ -91,7 +91,18 @@ //generate reset link email and body variables $domain_uuid = $result['domain_uuid']; - $domain_name = $_SESSION['domains'][$domain_uuid]['domain_name']; + if ($_SESSION['login']['password_reset_domain']['text'] != '') { + $domain_name = $_SESSION['login']['password_reset_domain']['text']; + } + else { + foreach ($_SESSION['domains'] as $uuid => $domain) { + if (strtolower($domain['domain_name']) == strtolower($_SERVER['HTTP_HOST'])) { + $domain_name = $_SERVER['HTTP_HOST']; + break; + } + } + $domain_name = $domain_name ? $domain_name : $_SESSION['domains'][$domain_uuid]['domain_name']; + } $key = encrypt($_SESSION['login']['password_reset_key']['text'], $result['username'].'|'.$result['domain_uuid'].'|'.$result['password']); $reset_link = "https://".$domain_name.PROJECT_PATH."/login.php?action=define&key=".urlencode($key); $reset_button = email_button(strtoupper($text['label-reset_password']), $reset_link, '#2e82d0', '#fff'); @@ -160,6 +171,9 @@ $password_new = trim($_REQUEST['password_new']); $password_repeat = trim($_REQUEST['password_repeat']); + //strip off @domain if submitted with username, as the valid domain for the reset is already being provided in the where clause below + $username = substr_count($username, '@') != 0 ? explode('@', $username)[0] : $username; + if ($username !== '' && $username === $_SESSION['valid_username'] && $password_new !== '' && From 50f7bbebf86c376c67605151732ed056ac777c3a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 13 Oct 2020 16:08:49 -0600 Subject: [PATCH 051/677] Create {$mac}.cfg Add start of new Yealink T43u template. --- .../provision/yealink/t43u/{$mac}.cfg | 502 ++++++++++++++++++ 1 file changed, 502 insertions(+) create mode 100644 resources/templates/provision/yealink/t43u/{$mac}.cfg diff --git a/resources/templates/provision/yealink/t43u/{$mac}.cfg b/resources/templates/provision/yealink/t43u/{$mac}.cfg new file mode 100644 index 0000000000..0a14512de8 --- /dev/null +++ b/resources/templates/provision/yealink/t43u/{$mac}.cfg @@ -0,0 +1,502 @@ +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.1.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.1.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.1.anonymous_call.server_base_only = +account.1.send_anonymous_rejection_code = +account.1.anonymous_reject_offcode = +account.1.anonymous_reject_oncode = +account.1.reject_anonymous_call= +account.1.anonymous_call_offcode = +account.1.anonymous_call_oncode = +account.1.anonymous_call = +account.1.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.1.music_server_uri= +account.1.music_on_hold_type= +account.1.auto_label.rule= +account.1.auto_label.enable= +account.1.number_of_linekey= +account.1.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.1.codec.ilbc_15_2kbps.priority= +account.1.codec.ilbc_15_2kbps.enable= +account.1.codec.ilbc_13_33kbps.priority= +account.1.codec.ilbc_13_33kbps.enable = +account.1.codec.pcma.enable= +account.1.codec.pcma.priority= +account.1.codec.pcmu.enable= +account.1.codec.pcmu.priority= +account.1.codec.opus.priority = +account.1.codec.opus.enable= +account.1.codec.opus.para= +account.1.codec.g726_40.enable= +account.1.codec.g726_40.priority= +account.1.codec.g726_32.enable= +account.1.codec.g726_32.priority= +account.1.codec.g726_24.enable= +account.1.codec.g726_24.priority= +account.1.codec.g726_16.enable= +account.1.codec.g726_16.priority= +account.1.codec.g723_63.priority= +account.1.codec.g723_63.enable= +account.1.codec.g723_53.priority= +account.1.codec.g723_53.enable= +account.1.codec.g729.priority= +account.1.codec.g729.enable= +account.1.codec.g722.priority= +account.1.codec.g722.enable= +account.1.codec.G722_1_24kpbs.priority= +account.1.codec.G722_1_24kpbs.enable= +account.1.codec.G722_1c_24kpbs.priority= +account.1.codec.G722_1c_24kpbs.enable= +account.1.codec.G722_1c_32kpbs.priority= +account.1.codec.G722_1c_32kpbs.enable= +account.1.codec.G722_1c_48kpbs.priority= +account.1.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account Register ## +################################################################ +account.1.enable= +account.1.label= +account.1.display_name= +account.1.auth_name= +account.1.user_name= +account.1.password= +account.1.sip_server.1.address= +account.1.sip_server.1.port= +account.1.sip_server.1.transport_type= +account.1.sip_server.1.expires= +account.1.sip_server.1.retry_counts= + +account.1.sip_server.2.address= +account.1.sip_server.2.port= +account.1.sip_server.2.transport_type= +account.1.sip_server.2.expires= +account.1.sip_server.2.retry_counts= + +account.1.outbound_proxy_enable= +account.1.outbound_proxy.1.address= +account.1.outbound_proxy.1.port= +account.1.outbound_proxy.2.address= +account.1.outbound_proxy.2.port= +account.1.outbound_proxy_fallback_interval= +account.1.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.1.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.1.nat.udp_update_enable= +account.1.nat.udp_update_time= +account.1.nat.rport= + +account.1.dtmf.type= +account.1.dtmf.info_type= +account.1.dtmf.dtmf_payload= +account.1.100rel_enable= + +account.1.subscribe_register= +account.1.cid_source= +account.1.enable_user_equal_phone= +account.1.srtp_encryption= +account.1.ptime= +account.1.register_line= +account.1.register_mac= +account.1.reg_fail_retry_interval= +account.1.unregister_on_reboot= + +account.1.session_timer.refresher= +account.1.session_timer.expires= +account.1.session_timer.enable= + +account.1.conf_type= +account.1.sip_server_type= + +##V83 Add +account.1.srtp.unencrypted_rtcp.enable = +account.1.srtp.unencrypted_rtp.enable = +account.1.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.1.outbound_proxy.1.register_on_enable= +account.1.outbound_proxy.1.failback_timeout= +account.1.outbound_proxy.1.failback_mode= +account.1.outbound_proxy.1.retry_counts= +account.1.outbound_proxy.1.only_signal_with_registered= +account.1.outbound_proxy.1.failback_subscribe.enable= +account.1.outbound_proxy.1.invite_retry_counts= + +account.1.sip_server.1.register_on_enable= +account.1.sip_server.1.failback_timeout= +account.1.sip_server.1.failback_mode= +account.1.sip_server.1.failback_subscribe.enable= +account.1.sip_server.1.only_signal_with_registered= +account.1.sip_server.1.invite_retry_counts= + +account.1.outbound_proxy.2.register_on_enable= +account.1.outbound_proxy.2.failback_timeout= +account.1.outbound_proxy.2.failback_mode= +account.1.outbound_proxy.2.retry_counts= +account.1.outbound_proxy.2.only_signal_with_registered= +account.1.outbound_proxy.2.failback_subscribe.enable= +account.1.outbound_proxy.2.invite_retry_counts= + +account.1.sip_server.2.register_on_enable= +account.1.sip_server.2.failback_timeout= +account.1.sip_server.2.failback_mode= +account.1.sip_server.2.failback_subscribe.enable= +account.1.sip_server.2.only_signal_with_registered= +account.1.sip_server.2.invite_retry_counts= + +account.1.static_cache_pri= +account.1.dns_cache_type= +account.1.naptr_build= +account.1.fallback.timeout= +account.1.fallback.redundancy_type= +account.1.reg_failed_retry_max_time= +account.1.reg_failed_retry_min_time= +account.1.redundancy_with_reg_fail.enable = + +##V83 Add +account.1.sip_server.1.outbound_proxy_enable = +account.1.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.1.contact_take_line_param= +account.1.update_ack_while_dialing= +account.1.srtp_lifetime= +account.1.third_part_request_with_route.enable= +account.1.insert_outbound_in_route.enable= +account.1.path.enable= +account.1.sub_fail_retry_interval= +account.1.transfer_refer_to_contact_header.enable= +account.1.hold_use_inactive= +account.1.gruu.enable= +account.1.dial_tone= +account.1.call_id_mode= +account.1.subscribe_expires_overlap= +account.1.register_expires_overlap= +account.1.call_info= +account.1.custom_ua= +account.1.mwi_parse_terminated= +account.1.check_cseq.enable= +account.1.check_to_tag.enable= +account.1.vq_rtcpxr.collector_server_port= +account.1.vq_rtcpxr.collector_server_host= +account.1.vq_rtcpxr.collector_name= +account.1.compact_header_enable= +account.1.cp_source= +account.1.cid_source_ppi= +account.1.cid_source_privacy= +account.1.reg_with_pani_header.enable = +account.1.alert_info= +account.1.picture_info_enable= + +##V83 Add +account.1.invite_with_pani_header.enable = + +##V84 Add +account.1.invite_with_rpid_header.enable= + +account.1.auto_answer_mute_enable + +##V84 SP4 Add +account.1.share_line.enable_private_code = +account.1.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.1.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.1.timeout_fwd.off_code= +account.1.timeout_fwd.on_code= +account.1.timeout_fwd.timeout= +account.1.timeout_fwd.target= +account.1.timeout_fwd.enable= +account.1.busy_fwd.off_code= +account.1.busy_fwd.on_code= +account.1.busy_fwd.target= +account.1.busy_fwd.enable= +account.1.always_fwd.off_code= +account.1.always_fwd.on_code= +account.1.always_fwd.target= +account.1.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.1.dnd.enable= +account.1.dnd.off_code= +account.1.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= +account.1.subscribe_mwi= +account.1.subscribe_mwi_to_vm= +account.1.subscribe_mwi_expires= +account.1.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.1.auto_dial_enable= +account.1.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.1.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.1.dialplan.digitmap.enable= +account.1.dialplan.digitmap.string= +account.1.dialplan.digitmap.no_match_action= +account.1.dialplan.digitmap.interdigit_short_timer= +account.1.dialplan.digitmap.interdigit_long_timer= +account.1.dialplan.digitmap.apply_to.press_send= +account.1.dialplan.digitmap.apply_to.forward= +account.1.dialplan.digitmap.apply_to.history_dial= +account.1.dialplan.digitmap.apply_to.directory_dial= +account.1.dialplan.digitmap.apply_to.on_hook_dial= +account.1.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.1.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.1.blf.blf_list_uri= +account.1.blf_list_barge_in_code= +account.1.blf_list_code= +account.1.blf_list_retrieve_call_parked_code= +account.1.blf.subscribe_period= +account.1.blf.match_host.enable= +account.1.out_dialog_blf_enable= +account.1.blf.subscribe_event= + +##V84 Add +account.1.blf_list_call_parked_code= +account.1.blf_list_call_parked_list= + +##V84 SP4 ADD +account.1.blf_list_whisper_code= +account.1.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.1.shared_line= +account.1.line_seize.expires= +account.1.shared_line_one_touch_bargein.enable= +account.1.shared_line_one_touch_retrieve.enable= +account.1.sca_manage_interface_display_time= +account.1.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.1.bla_number= +account.1.bla_subscribe_period= +account.1.bla.notify_with_expire.enable= +account.1.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.1.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.1.acd.enable= +account.1.acd.available= +account.1.acd.unavailable_reason_enable= +account.1.acd.initial_state= +account.1.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.1.reason_code.1= +account.1.reason_code_name.1= +account.1.bw_disp_code.1= +account.1.bw_disp_code_name.1= +account.1.supervisor_info_code.1= +account.1.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.1.call_center.call_info_enable= +account.1.call_center.show_call_info_time= +account.1.call_center.disp_code_enable= +account.1.call_center.trace_enable= +account.1.call_center.emergency_enable= +account.1.call_center.queue_status_enable= +account.1.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.1.hoteling.enable= +account.1.hoteling.user_id= +account.1.hoteling.password= +account.1.hoteling.expires= +account.1.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.1.xsi.user = +account.1.xsi.password = +account.1.xsi.host = +account.1.xsi.server_type = +account.1.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.1.direct_pickup_code = +account.1.group_pickup_code = +account.1.dialoginfo_callpickup = +account.1.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.1.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.1.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.1.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.1.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.1.flexible_seating.enable= +account.1.hoteling.pin= +account.1.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.1.features.forward.feature_key_sync.local_processing.enable= +account.1.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.1.dnd.feature_key_sync.enable= +account.1.feature_key_sync.enable= +account.1.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.1.acd.available_url= +account.1.acd.away_url = +account.1.acd.refresh_url = +account.1.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +bw.virtual_user.1.enable= +bw.virtual_user.1.label= +bw.virtual_user.1.xsi.dnd.enable= +bw.virtual_user.1.xsi.host= +bw.virtual_user.1.xsi.password= +bw.virtual_user.1.xsi.port= +bw.virtual_user.1.xsi.server_type= +bw.virtual_user.1.xsi.user= From d61012fc425b7b222e520fa0b97cdbcb4736066c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 13 Oct 2020 16:19:46 -0600 Subject: [PATCH 052/677] Create y000000000107.cfg Add the common file for the Yealink t43u. --- .../provision/yealink/t43u/y000000000107.cfg | 1882 +++++++++++++++++ 1 file changed, 1882 insertions(+) create mode 100644 resources/templates/provision/yealink/t43u/y000000000107.cfg diff --git a/resources/templates/provision/yealink/t43u/y000000000107.cfg b/resources/templates/provision/yealink/t43u/y000000000107.cfg new file mode 100644 index 0000000000..63757f8502 --- /dev/null +++ b/resources/templates/provision/yealink/t43u/y000000000107.cfg @@ -0,0 +1,1882 @@ +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## + +####################################################################################### +## Network CDP ## +####################################################################################### +static.network.cdp.enable = +static.network.cdp.packet_interval = + + + +####################################################################################### +## Network IPv6 ## +####################################################################################### +static.network.ipv6_static_dns_enable = +static.network.ipv6_icmp_v6.enable = +static.network.ipv6_secondary_dns = +static.network.ipv6_primary_dns = +static.network.ipv6_internet_port.gateway = +static.network.ipv6_internet_port.ip = +static.network.ipv6_internet_port.type = +static.network.ipv6_prefix = + + + +####################################################################################### +## Network WiFi ## +####################################################################################### +##static.wifi.X.label= +##static.wifi.X.ssid= +##static.wifi.X.priority= +##static.wifi.X.security_mode= +##static.wifi.X.cipher_type= +##static.wifi.X.password= +##static.wifi.X.eap_type= +##static.wifi.X.eap_user_name= +##static.wifi.x.eap_password= +##(X ranges from 1 to 5) +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support these parameters. + +static.wifi.enable = +static.wifi.1.label = +static.wifi.1.ssid = +static.wifi.1.priority = +static.wifi.1.security_mode = +static.wifi.1.cipher_type = +static.wifi.1.password = +static.wifi.1.eap_type = +static.wifi.1.eap_user_name = +static.wifi.1.eap_password = +static.wifi.show_scan_prompt = + +##V83 Add +static.wifi.function.enable = + + +##V84 SP4 ADD +static.network.wifi.ip_address_mode= +static.network.wifi.preference = +static.network.wifi.internet_port.type = +static.network.wifi.internet_port.ip= +static.network.wifi.internet_port.mask= +static.network.wifi.internet_port.gateway= +static.network.wifi.static_dns_enable= +static.network.wifi.primary_dns= +static.network.wifi.secondary_dns= +static.network.wifi.ipv6_internet_port.type= +static.network.wifi.ipv6_internet_port.ip= +static.network.wifi.ipv6_prefix= +static.network.wifi.ipv6_internet_port.gateway= +static.network.wifi.ipv6_static_dns_enable= +static.network.wifi.ipv6_primary_dns= +static.network.wifi.ipv6_secondary_dns= +static.network.wifi.ipv6_icmp_v6.enable= + + +####################################################################################### +## Network Internet ## +####################################################################################### +static.network.ip_address_mode = +static.network.span_to_pc_port = +static.network.vlan.pc_port_mode = +static.network.static_dns_enable = +static.network.pc_port.enable = +static.network.primary_dns = +static.network.secondary_dns = +static.network.internet_port.gateway = +static.network.internet_port.mask = +static.network.internet_port.ip = +static.network.internet_port.type = + +##V83 Add +static.network.preference = + + +####################################################################################### +## Network Advanced ## +####################################################################################### +static.network.dhcp_host_name = +static.network.dhcp.option60type = +static.network.mtu_value = +static.network.qos.audiotos = +static.network.port.min_rtpport = +static.network.port.max_rtpport = +static.network.qos.signaltos = + +static.wui.http_enable = +static.wui.https_enable = +static.network.port.https = +static.network.port.http = + +static.network.pc_port.speed_duplex = +static.network.internet_port.speed_duplex = + +##V83 Add +static.network.redundancy.mode = +static.network.redundancy.failback.timeout = + + + +####################################################################################### +## Network LLDP ## +####################################################################################### +static.network.lldp.enable = +static.network.lldp.packet_interval = + + + +####################################################################################### +## Network VLAN ## +####################################################################################### +static.network.vlan.dhcp_enable = +static.network.vlan.dhcp_option = +static.network.vlan.vlan_change.enable = + + +static.network.vlan.pc_port_priority = +static.network.vlan.pc_port_vid = +static.network.vlan.pc_port_enable = + +static.network.vlan.internet_port_priority = +static.network.vlan.internet_port_vid = +static.network.vlan.internet_port_enable = + + +####################################################################################### +## Network VPN ## +####################################################################################### +static.network.vpn_enable = +static.openvpn.url = + + + +####################################################################################### +## Network 802.1x ## +####################################################################################### +static.network.802_1x.mode = +static.network.802_1x.identity = +static.network.802_1x.md5_password = +static.network.802_1x.client_cert_url = +static.network.802_1x.root_cert_url = +static.network.802_1x.eap_fast_provision_mode = +static.network.802_1x.anonymous_identity = +static.network.802_1x.proxy_eap_logoff.enable = + + +static.auto_provision.custom.protect = +static.auto_provision.custom.sync = +static.auto_provision.custom.sync.path = +static.auto_provision.custom.upload_method = + + + + +####################################################################################### +## ZERO Touch ## +####################################################################################### +static.zero_touch.enable = +static.zero_touch.wait_time = +static.features.hide_zero_touch_url.enable = +static.zero_touch.network_fail_delay_times = +static.zero_touch.network_fail_wait_times = + + +####################################################################################### +## Autop URL ## +####################################################################################### +static.auto_provision.server.url = +static.auto_provision.server.username = +static.auto_provision.server.password = + + +####################################################################################### +## Autop Weekly ## +####################################################################################### +static.auto_provision.weekly.enable = +static.auto_provision.weekly.dayofweek = +static.auto_provision.weekly.end_time = +static.auto_provision.weekly.begin_time = +static.auto_provision.weekly_upgrade_interval = + +####################################################################################### +## Autop Repeat ## +####################################################################################### +static.auto_provision.repeat.enable = +static.auto_provision.repeat.minutes = + +####################################################################################### +## Autop DHCP ## +####################################################################################### +static.auto_provision.dhcp_option.list_user_options = +static.auto_provision.dhcp_option.enable = + +##V83 Add +static.auto_provision.dhcp_option.list_user6_options = + +####################################################################################### +## Autop Mode ## +####################################################################################### +static.auto_provision.power_on = + + + +####################################################################################### +## Flexible Autop ## +####################################################################################### +static.auto_provision.flexible.end_time = +static.auto_provision.flexible.begin_time = +static.auto_provision.flexible.interval = +static.auto_provision.flexible.enable = + +####################################################################################### +## Autoprovision Other ## +####################################################################################### +static.auto_provision.prompt.enable = +static.auto_provision.attempt_expired_time = +static.auto_provision.attempt_before_failed = +static.network.attempt_expired_time = +static.auto_provision.update_file_mode = +static.auto_provision.retry_delay_after_file_transfer_failed= +static.auto_provision.inactivity_time_expire = +static.auto_provision.dns_resolv_timeout = +static.auto_provision.dns_resolv_nretry = +static.auto_provision.dns_resolv_nosys = +static.auto_provision.user_agent_mac.enable = +static.auto_provision.server.type = +features.action_uri_force_autop = +static.auto_provision.url_wildcard.pn = +static.auto_provision.reboot_force.enable = +static.auto_provision.dhcp_option.option60_value = +static.custom_mac_cfg.url = +static.auto_provision.aes_key_in_file = +static.auto_provision.aes_key_16.mac = +static.auto_provision.aes_key_16.com = +features.custom_version_info = +##V83 Add +static.auto_provision.authentication.expired_time = +static.auto_provision.connect.keep_alive = + +##V84 Add +static.auto_provision.config_version.mac= +static.auto_provision.config_version.com= + + +####################################################################################### +## Autop PNP ## +####################################################################################### +static.auto_provision.pnp_enable = + + + +####################################################################################### +## Autop Code ## +####################################################################################### +##static.autoprovision.X.name +##static.autoprovision.X.code +##static.autoprovision.X.url +##static.autoprovision.X.user +##static.autoprovision.X.password +##static.autoprovision.X.com_aes +##static.autoprovision.X.mac_aes +##Autop Code(X ranges from 1 to 50) + +static.autoprovision.1.name = +static.autoprovision.1.code = +static.autoprovision.1.url = +static.autoprovision.1.user = +static.autoprovision.1.password = +static.autoprovision.1.com_aes = +static.autoprovision.1.mac_aes = + + + +####################################################################################### +## TR069 ## +####################################################################################### + +static.managementserver.enable = +static.managementserver.username = +static.managementserver.password = +static.managementserver.url = +static.managementserver.periodic_inform_enable = +static.managementserver.periodic_inform_interval = +static.managementserver.connection_request_password = +static.managementserver.connection_request_username = + + + +####################################################################################### +## Firmware Update ## +####################################################################################### +static.firmware.url = + + +####################################################################################### +## Confguration ## +####################################################################################### +features.reset_by_long_press_enable = +features.factory_pwd_enable = +static.configuration.url = +static.features.custom_factory_config.enable = +static.custom_factory_configuration.url = + + +####################################################################################### +## SYSLOG ## +####################################################################################### +static.syslog.enable = +static.syslog.server = +static.syslog.level = +static.syslog.server_port = +static.syslog.transport_type = +static.syslog.facility = +static.syslog.prepend_mac_address.enable = +static.local_log.enable = +static.local_log.level = +static.local_log.max_file_size = + + + +####################################################################################### +## Log Backup ## +####################################################################################### +static.auto_provision.local_log.backup.enable = +static.auto_provision.local_log.backup.path = +static.auto_provision.local_log.backup.upload_period = +static.auto_provision.local_log.backup.append = +static.auto_provision.local_log.backup.bootlog.upload_wait_time= +static.auto_provision.local_log.backup.append.max_file_size = +static.auto_provision.local_log.backup.append.limit_mode= + + + +####################################################################################### +## User Mode ## +####################################################################################### +static.security.var_enable = +static.web_item_level.url = + + +####################################################################################### +## Quick Login ## +####################################################################################### +wui.quick_login = + + +####################################################################################### +## Security ## +####################################################################################### +static.phone_setting.reserve_certs_enable = +features.relog_offtime = +static.security.default_ssl_method = +static.security.cn_validation = +static.security.dev_cert = +static.security.ca_cert = +static.security.trust_certificates = +static.security.user_password = +static.security.user_name.var = +static.security.user_name.admin = +static.security.user_name.user = + +##V83 Add +static.security.default_access_level = +phone_setting.reserve_certs_config.enable = + + +####################################################################################### +## Watch Dog ## +####################################################################################### +static.watch_dog.enable = + +####################################################################################### +## Server Certificates ## +####################################################################################### +static.server_certificates.url = +static.server_certificates.delete = + +####################################################################################### +## Trusted Certificates ## +####################################################################################### +static.trusted_certificates.url = +static.trusted_certificates.delete = + + + +####################################################################################### +## Secure Domain List ## +####################################################################################### +wui.secure_domain_list = + + +####################################################################################### +## Encryption ## +####################################################################################### +static.auto_provision.encryption.directory = +static.auto_provision.encryption.call_log = +static.auto_provision.encryption.config = + + + + +####################################################################################### +## Trnasfer ## +####################################################################################### +dialplan.transfer.mode = +transfer.on_hook_trans_enable = +transfer.tran_others_after_conf_enable = +transfer.blind_tran_on_hook_enable = +transfer.semi_attend_tran_enable = +phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +features.conference.with_previous_call.enable = +features.local_conf.combine_with_one_press.enable= +phone_setting.call_appearance.conference_via_new_linekey= + + + +####################################################################################### +## Anonymous ## +####################################################################################### +features.anonymous_response_code= + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +phone_setting.incoming_call_when_dialing.priority= +phone_setting.hold_or_swap.mode= +features.play_held_tone.interval= +features.play_held_tone.delay= +features.play_held_tone.enable= +features.play_hold_tone.interval= +features.ignore_incoming_call.enable= +force.voice.ring_vol= +features.mute.autoanswer_mute.enable= +features.play_hold_tone.delay = +phone_setting.end_call_net_disconnect.enable = +features.custom_auto_answer_tone.enable= +default_input_method.dialing= +features.speaker_mode.enable= +features.headset_mode.enable= +features.handset_mode.enable= +features.conference.local.enable = +features.off_hook_answer.enable= +features.caller_name_type_on_dialing= +phone_setting.show_code403= +phone_setting.ring_for_tranfailed= +features.password_dial.length= +features.password_dial.prefix= +features.password_dial.enable= +features.group_listen_in_talking_enable= +phone_setting.call_info_display_method= +phone_setting.called_party_info_display.enable = +features.headset_training= +features.headset_prior= +features.dtmf.replace_tran = +features.dtmf.transfer = +phone_setting.ringing_timeout= +phone_setting.ringback_timeout= + +features.keep_mute.enable= +linekey.1.shortlabel= +features.config_dsskey_length.shorten = +transfer.dsskey_deal_type = +features.auto_linekeys.enable= +phone_setting.call_appearance.calls_per_linekey= +features.linekey_call_with_default_account= +##V83 Add +features.station_name.value = +features.station_name.scrolling_display = +voice.headset.autoreset_spk_vol = +voice.handset.autoreset_spk_vol = +voice.handfree.autoreset_spk_vol = +features.headset.ctrl_call.enable = +phone_setting.incoming_call.reject.enable = + +features.play_mute_tone.enable= +features.play_mute_tone.interval= + +features.call_out_directory_by_off_hook.enable= +features.congestion_tone.codelist= + + +##V84 Add +phone_setting.icon.delete= +phone_setting.icon.url= + +##V84 SP4 Add +voice.handset.tia4965.enable = +voice.headset.tia4965.enable = + +####################################################################################### +## Custom Softkey ## +####################################################################################### +phone_setting.custom_softkey_enable= +custom_softkey_talking.url= +custom_softkey_ring_back.url= +custom_softkey_dialing.url= +custom_softkey_connecting.url= +custom_softkey_call_in.url= +custom_softkey_call_failed.url= + +##V83 Add +features.homescreen_softkey.acd.enable = +features.homescreen_softkey.hoteling.enable = +phone_setting.custom_softkey.apply_to_states = +features.custom_softkey_dynamic.enable = + + +####################################################################################### +## Features Bluetooth ## +####################################################################################### +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support the parameter. +features.bluetooth_enable= +features.bluetooth_adapter_name= +##V83 Add +static.bluetooth.function.enable = + +##V84 Add +bluetooth.a2dp_sink= +bluetooth.connect_confirm.enable= + +####################################################################################### +## Features USB Record ## +####################################################################################### +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support the parameter. +features.usb_call_recording.enable = +features.auto_recording.enable = + +features.idle_recording.enable= + +####################################################################################### +## Features USB ## +####################################################################################### +##V83 Add +static.usb.power.enable = + +##V84 Add +static.usbdisk.function.enable= + +####################################################################################### +## Codec ## +####################################################################################### +voice.g726.aal2.enable= + + +####################################################################################### +## DTMF ## +####################################################################################### +features.dtmf.min_interval= +features.dtmf.volume= +features.dtmf.duration = + +####################################################################################### +## Tones ## +####################################################################################### +voice.tone.autoanswer = +voice.tone.message = +voice.tone.stutter = +voice.tone.info = +voice.tone.dialrecall = +voice.tone.callwaiting = +voice.tone.congestion = +voice.tone.busy = +voice.tone.ring = +voice.tone.dial = +voice.tone.country = +voice.side_tone = +features.partition_tone = +voice.tone.secondary_dial= +####################################################################################### +## Tones补充技术支持加V83中性的stutterdial应用,需配合以下dnd、fwd、vm场景使用 ## +####################################################################################### + +voice.tone.stutterdial= +voice.tone.stutter_dial_tone.apply_to_dnd.enable= +voice.tone.stutter_dial_tone.apply_to_fwd.enable= +voice.tone.stutter_dial_tone.apply_to_fwd.enable= + +####################################################################################### +## Jitter Buffer ## +####################################################################################### +voice.jib.normal= +voice.jib.max = +voice.jib.min = +voice.jib.adaptive = + +voice.jib.wifi.normal= +voice.jib.wifi.max= +voice.jib.wifi.min= +voice.jib.wifi.adaptive= + +####################################################################################### +## Echo Cancellation ## +####################################################################################### +voice.echo_cancellation = +voice.cng = +voice.vad = + +##V84 Add +voice.ans_nb.enable= +voice.tns.enable= + +################################################################ +# SIP Backup Server ## +################################################################ +static.network.dns.ttl_enable = +static.network.dns.last_cache_expired.enable= +static.network.dns.last_cache_expired +static.network.dns.query_timeout = +static.network.dns.retry_times = +sip.dns_transport_type= +sip.skip_redundant_failover_addr= + + +################################################################ +# SIP Basic Config ## +################################################################ +sip.use_out_bound_in_dialog= +sip.unreg_with_socket_close= +phone_setting.disable_account_without_username.enable= +features.auto_answer.first_call_only= + +##V84 Add +phone_setting.call_display_name.mode= + +################################################################ +# SIP Advanced config ## +################################################################ +sip.request_validation.event= +sip.sdp_early_answer_or_offer= +sip.cid_source.preference= +sip.request_validation.digest.realm= +sip.request_validation.digest.list= +sip.request_validation.source.list= +sip.send_keepalive_by_socket= +sip.reliable_protocol.timerae.enable= +sip.requesturi.e164.addglobalprefix= +sip.trust_ctrl= +sip.mac_in_ua= + +sip.timer_t1= +sip.timer_t2= +sip.timer_t4= + +sip.listen_mode= +sip.listen_port= +sip.tls_listen_port= +sip.tcp_port_random_mode= +sip.escape_characters.enable= +sip.notify_reboot_enable= +sip.send_response_by_request= +sip.disp_incall_to_info= +features.call_invite_format= +phone_setting.early_media.rtp_sniffer.timeout= +sip.reg_surge_prevention = + +################################################################ +# V84 new add 配合sip.escape_characters.enable=使用 ## +################################################################ +sip.reserve_characters= + + +##V83 Add +sip.dhcp.option120.mode = + +################################################################ +# NAT&ICE ## +################################################################ +static.sip.nat_turn.enable= +static.sip.nat_turn.username= +static.sip.nat_turn.password= +static.sip.nat_turn.server= +static.sip.nat_turn.port= + +static.sip.nat_stun.enable= +static.sip.nat_stun.server= +static.sip.nat_stun.port= + + +static.ice.enable= +static.network.static_nat.enable= +static.network.static_nat.addr= + +####################################################################################### +## DNS ## +####################################################################################### +dns_cache_a.1.name = +dns_cache_a.1.ip = +dns_cache_a.1.ttl = +dns_cache_srv.1.name = +dns_cache_srv.1.port = +dns_cache_srv.1.priority = +dns_cache_srv.1.target = +dns_cache_srv.1.weight = +dns_cache_srv.1.ttl = +dns_cache_naptr.1.name = +dns_cache_naptr.1.order = +dns_cache_naptr.1.preference = +dns_cache_naptr.1.replace = +dns_cache_naptr.1.service = +dns_cache_naptr.1.ttl = + +####################################################################################### +## RTP ## +####################################################################################### +features.rtp_symmetric.enable= + + +####################################################################################### +## RTCP-XR ## +####################################################################################### +voice.rtcp.enable= +voice.rtcp_cname= +voice.rtcp_xr.enable= +phone_setting.vq_rtcpxr_display_symm_oneway_delay.enable= +phone_setting.vq_rtcpxr_display_round_trip_delay.enable= +phone_setting.vq_rtcpxr_display_moscq.enable= +phone_setting.vq_rtcpxr_display_moslq.enable = +phone_setting.vq_rtcpxr_display_packets_lost.enable= +phone_setting.vq_rtcpxr_display_jitter_buffer_max.enable= +phone_setting.vq_rtcpxr_display_jitter.enable= +phone_setting.vq_rtcpxr_display_remote_codec.enable= +phone_setting.vq_rtcpxr_display_local_codec.enable= +phone_setting.vq_rtcpxr_display_remote_call_id.enable= +phone_setting.vq_rtcpxr_display_local_call_id.enable= +phone_setting.vq_rtcpxr_display_stop_time.enable= +phone_setting.vq_rtcpxr_display_start_time.enable= +phone_setting.vq_rtcpxr_interval_period= +phone_setting.vq_rtcpxr_delay_threshold_critical= +phone_setting.vq_rtcpxr_delay_threshold_warning= +phone_setting.vq_rtcpxr_moslq_threshold_critical= +phone_setting.vq_rtcpxr_moslq_threshold_warning= +phone_setting.vq_rtcpxr.interval_report.enable= +phone_setting.vq_rtcpxr.states_show_on_gui.enable= +phone_setting.vq_rtcpxr.states_show_on_web.enable= +phone_setting.vq_rtcpxr.session_report.enable= + + +####################################################################################### +## Contact ## +####################################################################################### +static.directory_setting.url= +super_search.url= + +local_contact.data.url= +local_contact.data.delete= + +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T46U/T48U Models support the parameter +phone_setting.contact_photo_display.enable= + +phone_setting.incoming_call.horizontal_roll_interval= + +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T5XW Models support the parameter +local_contact.data_photo_tar.url= +local_contact.photo.url= +local_contact.image.url= + +##Only T48G/S Models support the parameter +local_contact.icon_image.url= +local_contact.icon.url= + +search_in_dialing.local_directory.enable = +search_in_dialing.local_directory.priority = + +####################################################################################### +## Remote Phonebook ## +####################################################################################### +##remote_phonebook.data.X.url +##remote_phonebook.data.X.name +#remote_phonebook.data.X.username= +#remote_phonebook.data.X.password= +##(X ranges from 1 to 5) + +remote_phonebook.data.1.url= +remote_phonebook.data.1.name= +features.remote_phonebook.enter_update_enable= +features.remote_phonebook.flash_time= +features.remote_phonebook.enable= +remote_phonebook.display_name= + +directory_setting.remote_phone_book.enable = +directory_setting.remote_phone_book.priority = +search_in_dialing.remote_phone_book.enable = +search_in_dialing.remote_phone_book.priority = + +##V84 ADD +remote_phonebook.data.1.username= +remote_phonebook.data.1.password= + + +####################################################################################### +## LDAP ## +####################################################################################### +ldap.enable= +ldap.user= +ldap.password= +ldap.base= +ldap.port= +ldap.host= +ldap.customize_label= +ldap.incoming_call_special_search.enable= +ldap.tls_mode= +ldap.search_type= +ldap.numb_display_mode= +ldap.ldap_sort= +ldap.call_in_lookup= +ldap.version = +ldap.display_name= +ldap.numb_attr= +ldap.name_attr= +ldap.max_hits= +ldap.number_filter= +ldap.name_filter= +ldap.call_out_lookup= +directory_setting.ldap.enable = +directory_setting.ldap.priority = +search_in_dialing.ldap.enable = +search_in_dialing.ldap.priority = + +##V84 SP4 ADD +ldap.custom_extra_attr_name= +ldap.display_extra_attr= +ldap.extra_attr= + + + + +####################################################################################### +## History ## +####################################################################################### +static.auto_provision.local_calllog.write_delay.terminated= +static.auto_provision.local_calllog.backup.path= +static.auto_provision.local_calllog.backup.enable= +super_search.recent_call= +features.call_out_history_by_off_hook.enable= +features.save_call_history= +features.call_log_show_num= +search_in_dialing.history.enable= +search_in_dialing.history.priority= +directory_setting.history.enable= +directory_setting.history.priority +features.save_init_num_to_history.enable= +features.redial_via_local_sip_server.enable= + +##V83 Add +features.calllog_detailed_information = + +##V84 Add +features.call_log_merge.enable= + + +####################################################################################### +## Contact Backup ## +####################################################################################### +static.auto_provision.local_contact.backup.path = +static.auto_provision.local_contact.backup.enable= + + +####################################################################################### +## Contact Other ## +####################################################################################### +directory.search_type= +directory_setting.local_directory.enable = +directory_setting.local_directory.priority = + +##V83 Add +phone_setting.search.highlight_keywords.enable = + +####################################################################################### +## Favorites ## +####################################################################################### +##V83 Add +local_contact.favorite.enable = +phone_setting.favorite_sequence_type = + +####################################################################################### +## Programablekey ## +####################################################################################### +#programablekey.X.type +#programablekey.X.line +#programablekey.X.value +#programablekey.X.xml_phonebook +#programablekey.X.history_type +#programablekey.X.label(X ranges from 1 to 4) +#programablekey.X.extension +##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## + + +programablekey.1.type = +programablekey.1.label = +programablekey.1.value = +programablekey.1.line = +programablekey.1.history_type = +programablekey.1.xml_phonebook = +programablekey.1.extension = + +##V83 Add +programablekey.type_range.custom = + +####################################################################################### +## Linekey ## +####################################################################################### +##linekey.X.line +##linekey.X.value +##linekey.X.extension +##linekey.X.type +##linekey.X.xml_phonebook +##linekey.X.shortlabel +##linekey.X.label +##LineKeyX ranges(T48U/T57W/T48G/S: X ranges from 1 to 29. T53W/T54W/T54S/T46G/T46S/T29G/T46U: X ranges from 1 to 27. T42G/T42S/T41P/T41S/T41U: X ranges from 1 to 15. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T52S/T27P/T27G/T43U: X ranges from 1 to 21. T21(P) E2: X ranges from 1 to 2.)## +## Not support T19P_E2 + +linekey.1.label = +linekey.1.line = +linekey.1.value = +linekey.1.extension = +linekey.1.type = +linekey.1.xml_phonebook = + +##V83 Add +linekey.type_range.custom = + + +####################################################################################### +## Dsskey ## +####################################################################################### +features.block_linekey_in_menu.enable = +features.shorten_linekey_label.enable = +features.flash_url_dsskey_led.enable = +features.config_dsskey_length = +phone_setting.page_tip = +features.keep_switch_page_key.enable= + +##phone_setting.idle_dsskey_and_title.transparency(Only support T5XW/T54S/T52S/T48G/T48S/T48U) +phone_setting.idle_dsskey_and_title.transparency= + +##V83 Add +phone_setting.keytype_sequence = +phone_setting.dsskey_label.display_method = +local.dsskey_type_config.mode = + + +####################################################################################### +## Expansion Key ## +####################################################################################### +##expansion_module.X.key.Y.type +##expansion_module.X.key.Y.line +##expansion_module.X.key.Y.value +##expansion_module.X.key.Y.extension +##expansion_module.X.key.Y.label +##expansion_module.X.key.Y.xml_phonebook +## Expansion Key X ranges(SIP-T5XW/T54S/T52S/T43U/T46U/T48U: X ranges from 1 to 3, Y ranges from 1 to 60; SIP-T48G/T48S/T46G/T46S:X ranges from 1 to 6, Y ranges from 1 to 40; SIP-T29G/T27P/T27G:X ranges from 1 to 6, Y ranges from 1 to 20, 22 to 40 (Ext key 21 cannot be configured).)## +## Only SIP-T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T27P/T27G/T43U/T46U/T48U Models support the parameter. + +expansion_module.1.key.1.type = +expansion_module.1.key.1.label = +expansion_module.1.key.1.value = +expansion_module.1.key.1.line = +expansion_module.1.key.1.extension = +expansion_module.1.key.1.xml_phonebook = +expansion_module.page_tip.blf_call_in.led = +expansion_module.page_tip.blf_call_in.enable = + +##V83 Add +expkey.type_range.custom = + + +####################################################################################### +## EDK ## +####################################################################################### +##EDK Soft Keys(X ranges from 1 to 10) + +features.enhanced_dss_keys.enable= +edk.id_mode.enable= +softkey.1.position= +softkey.1.use.dialing= +softkey.1.softkey_id= +softkey.1.use.dialtone= +softkey.1.use.conferenced= +softkey.1.use.held= +softkey.1.use.hold= +softkey.1.use.transfer_ring_back= +softkey.1.use.ring_back= +softkey.1.use.call_failed= +softkey.1.use.on_talk= +softkey.1.use.transfer_connecting= +softkey.1.use.connecting= +softkey.1.use.incoming_call= +softkey.1.use.idle= +softkey.1.action= +softkey.1.label= +softkey.1.enable= +edk.edklist.1.action= +edk.edklist.1.mname= +edk.edklist.1.enable= +edk.edkprompt.1.enable= +edk.edkprompt.1.label= +edk.edkprompt.1.type= +edk.edkprompt.1.userfeedback= + +##V84 Add +##edk.edkprompt.X.title= +(X ranges from 1 to 9) +edk.edkprompt.1.title= + + +####################################################################################### +## XML ## +####################################################################################### +push_xml.server= +push_xml.sip_notify= +push_xml.block_in_calling= +default_input_method.xml_browser_input_screen= + +##V83 Add +hoteling.authentication_mode = +push_xml.phonebook.search.delay = +features.xml_browser.loading_tip.delay = +features.xml_browser.pwd = +features.xml_browser.user_name = +push_xml.password = +push_xml.username = + + +####################################################################################### +## Forward ## +####################################################################################### +features.fwd.allow= +features.fwd_mode= +forward.no_answer.enable= +forward.busy.enable= +forward.always.enable= +forward.no_answer.timeout= +forward.no_answer.on_code= +forward.no_answer.off_code= +forward.busy.off_code= +forward.busy.on_code= +forward.always.off_code= +forward.always.on_code= +forward.no_answer.target= +forward.busy.target= +forward.always.target= + +features.forward.emergency.authorized_number= +features.forward.emergency.enable= +forward.idle_access_always_fwd.enable= +features.forward_call_popup.enable= + +##V83 Add +features.forward.no_answer.show_ring_times = + +##V84 Add +features.no_answer_code= + + +####################################################################################### +## DND ## +####################################################################################### +features.dnd.allow= +features.dnd_mode= +features.dnd.enable= + +features.dnd.off_code= +features.dnd.on_code= + +features.dnd.emergency_authorized_number= +features.dnd.emergency_enable= +features.dnd.large_icon.enable= + +##V83 Add +features.keep_dnd.enable = + +####################################################################################### +## Phone Lock ## +####################################################################################### +phone_setting.phone_lock.enable= +phone_setting.phone_lock.lock_key_type= +phone_setting.phone_lock.unlock_pin= +phone_setting.emergency.number= +phone_setting.phone_lock.lock_time_out= + + + +####################################################################################### +## Hotdesking ## +####################################################################################### +phone_setting.logon_wizard= +phone_setting.logon_wizard_forever_wait= + +hotdesking.startup_register_name_enable= +hotdesking.startup_username_enable= +hotdesking.startup_password_enable= +hotdesking.startup_sip_server_enable= +hotdesking.startup_outbound_enable= + +hotdesking.dsskey_register_name_enable= +hotdesking.dsskey_username_enable= +hotdesking.dsskey_password_enable= +hotdesking.dsskey_sip_server_enable= +hotdesking.dsskey_outbound_enable= + + +####################################################################################### +## Voice Mail ## +####################################################################################### +features.voice_mail_alert.enable= +features.voice_mail_popup.enable= +features.voice_mail_tone_enable= +features.hide_feature_access_codes.enable= + + + +####################################################################################### +## Text Message ## +####################################################################################### +features.text_message.enable= +features.text_message_popup.enable= + + + + + +####################################################################################### +## Audio Intercom ## +####################################################################################### +features.intercom.mode= +features.intercom.subscribe.enable= +features.intercom.led.enable= +features.intercom.feature_access_code= +features.blf.intercom_mode.enable= +features.intercom.ptt_mode.enable= + +features.redial_tone= +features.key_tone= +features.send_key_tone= + +features.intercom.allow= +features.intercom.barge= +features.intercom.tone= +features.intercom.mute= + + +voice.handset_send= +voice.handfree_send = +voice.headset_send = +features.intercom.headset_prior.enable= +features.ringer_device.is_use_headset= +features.intercom.barge_in_dialing.enable= + + + +####################################################################################### +## Feature General ## +####################################################################################### +features.ip_call.auto_answer.enable= +features.show_default_account= +features.call.dialtone_time_out= +features.missed_call_popup.enable= +features.auto_answer_tone.enable= +features.play_hold_tone.enable= +features.key_as_send= +features.send_pound_key= +features.busy_tone_delay= +features.hotline_delay= +features.hotline_number= +features.direct_ip_call_enable= +features.call_num_filter= +features.call_completion_enable= +features.allow_mute= +features.auto_answer_delay= +features.normal_refuse_code= +features.dnd_refuse_code= +features.upload_server= +features.dtmf.repetition= +features.dtmf.hide_delay= +features.dtmf.hide= +features.play_local_dtmf_tone_enable = +features.reboot_in_talk_enable = +features.fwd_diversion_enable= + +call_waiting.enable= +call_waiting.tone= +call_waiting.off_code= +call_waiting.on_code= + +auto_redial.times= +auto_redial.interval= +auto_redial.enable= + +sip.rfc2543_hold= +sip.use_23_as_pound= +forward.international.enable= +phone_setting.headsetkey_mode= +phone_setting.is_deal180= +phone_setting.change_183_to_180= + +##V84 Add +features.touch_tone= + +####################################################################################### +## Action URL&URI ## +####################################################################################### +features.csta_control.enable= +features.action_uri.enable= +features.action_uri_limit_ip= +features.show_action_uri_option= +action_url.call_remote_canceled= +action_url.remote_busy= +action_url.cancel_callout= +action_url.handfree= +action_url.headset= +action_url.unheld= +action_url.held= +action_url.transfer_failed= +action_url.transfer_finished= +action_url.answer_new_incoming_call= +action_url.reject_incoming_call= +action_url.forward_incoming_call= +action_url.ip_change= +action_url.idle_to_busy= +action_url.busy_to_idle= +action_url.call_terminated= +action_url.missed_call= +action_url.unmute= +action_url.mute= +action_url.unhold= +action_url.hold= +action_url.always_fwd_off = +action_url.always_fwd_on = +action_url.attended_transfer_call = +action_url.blind_transfer_call = +action_url.busy_fwd_off = +action_url.busy_fwd_on = +action_url.call_established = +action_url.call_waiting_off = +action_url.call_waiting_on = +action_url.dnd_off = +action_url.dnd_on = +action_url.incoming_call = +action_url.no_answer_fwd_off = +action_url.no_answer_fwd_on = +action_url.off_hook = +action_url.on_hook = +action_url.outgoing_call = +action_url.register_failed = +action_url.registered = +action_url.setup_autop_finish = +action_url.setup_completed = +action_url.transfer_call = +action_url.unregistered = + +##V84 Add +action_url.peripheral_information= + + + +####################################################################################### +## Power LED ## +####################################################################################### +phone_setting.hold_and_held_power_led_flash_enable= +phone_setting.mute_power_led_flash_enable= +phone_setting.talk_and_dial_power_led_enable= +phone_setting.mail_power_led_flash_enable= +phone_setting.ring_power_led_flash_enable= +phone_setting.common_power_led_enable= +phone_setting.missed_call_power_led_flash.enable= + + +####################################################################################### +## Time&Date ## +####################################################################################### +lcl.datetime.date.format = +auto_dst.url = +local_time.manual_time_enable = +local_time.manual_ntp_srv_prior = +local_time.time_format = +local_time.date_format = +local_time.dhcp_time = + +local_time.summer_time = +local_time.dst_time_type = +local_time.start_time = +local_time.end_time = +local_time.offset_time = +local_time.interval = + +local_time.ntp_server1 = +local_time.ntp_server2 = +local_time.time_zone = +local_time.time_zone_name = + + + +####################################################################################### +## Multicast Paging ## +####################################################################################### +##multicast.listen_address.X.label +##multicast.paging_address.X.channel +##multicast.listen_address.X.ip_address +##multicast.paging_address.X.ip_address +##multicast.paging_address.X.label +##multicast.listen_address.X.channel +##multicast.listen_address.X.volume +##Multicast(X ranges from 1 to 31.) + +multicast.codec= + +multicast.paging_address.1.channel= +multicast.paging_address.1.label= +multicast.paging_address.1.ip_address= +multicast.receive_priority.enable= +multicast.receive_priority.priority= + +multicast.receive.use_speaker= +multicast.receive.enhance_volume= +multicast.receive.ignore_dnd.priority= + +multicast.listen_address.1.channel= +multicast.listen_address.1.label= +multicast.listen_address.1.ip_address= +multicast.listen_address.1.volume= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +##Not support T19P_E2 +static.features.default_account= + +##Logo File Format: .dob +##Resolution: SIP-T42G/T42S/T41P/T41S/T41U: <=192*64 2 gray scale;SIP-T43U/SIP-T27P/G: <=240*120 2 gray scale;SIP-T40P/T40G/T23P/T23G/T21(P) E2/T19(P) E2: <=132*64 2 gray scale## +phone_setting.lcd_logo.mode= +lcd_logo.delete= +lcd_logo.url= + +phone_setting.contrast= +phone_setting.backlight_time= +phone_setting.inactive_backlight_level= +phone_setting.active_backlight_level= +phone_setting.predial_autodial= + +ringtone.url= +ringtone.delete= +phone_setting.ring_type= +phone_setting.inter_digit_time= + +##Only T54S Model supports the parameter +phone_setting.idle_clock_display.enable = + +####################################################################################### +## Digitmap ## +####################################################################################### +dialplan.digitmap.enable= +dialplan.digitmap.string= +dialplan.digitmap.no_match_action= +dialplan.digitmap.interdigit_short_timer= +dialplan.digitmap.interdigit_long_timer= +dialplan.digitmap.apply_to.press_send= +dialplan.digitmap.apply_to.forward= +dialplan.digitmap.apply_to.history_dial= +dialplan.digitmap.apply_to.directory_dial= +dialplan.digitmap.apply_to.on_hook_dial= +dialplan.digitmap.active.on_hook_dialing= + +##V83 Add +dialplan.digitmap.apply_to.prefix_key = + +##V84 ADD +features.local_calllog.received.replace_rule= + + + + +####################################################################################### +## Emergency Dialplan ## +####################################################################################### +dialplan.emergency.enable= +dialplan.emergency.1.value= +dialplan.emergency.server.1.address= +dialplan.emergency.server.1.transport_type= +dialplan.emergency.server.1.port= +dialplan.emergency.1.server_priority= +dialplan.emergency.custom_asserted_id= +dialplan.emergency.asserted_id_source= +dialplan.emergency.asserted_id.sip_account= +dialplan.emergency.held.request_element.1.name= +dialplan.emergency.held.request_element.1.value= +dialplan.emergency.held.request_type= +dialplan.emergency.held.server_url= + + + +####################################################################################### +## Dialplan ## +####################################################################################### +dialplan_replace_rule.url= +dialplan.replace.line_id.1= +dialplan.replace.replace.1= +dialplan.replace.prefix.1= +phone_setting.dialnow_delay= +dialplan_dialnow.url= +dialplan.dialnow.line_id.1= +dialplan.dialnow.rule.1= +dialplan.block_out.line_id.1= +dialplan.block_out.number.1= +dialplan.area_code.line_id = +dialplan.area_code.max_len = +dialplan.area_code.min_len= +dialplan.area_code.code= + +####################################################################################### +## Rings Settings ## +####################################################################################### +distinctive_ring_tones.alert_info.1.ringer= +distinctive_ring_tones.alert_info.1.text= + +####################################################################################### +## IME Settings ## +####################################################################################### +directory.search_default_input_method= +directory.edit_default_input_method= +gui_input_method.url= + +##V83 Add +##Only T48G/T48S Models support the parameter +phone_setting.virtual_keyboard.enable = + +####################################################################################### +## Language Settings ## +####################################################################################### +wui_lang.url= +wui_lang_note.url= +wui_lang.delete= +gui_input_method.delete= +gui_lang.url= +gui_lang.delete= +lang.gui= +lang.wui= + + +####################################################################################### +## Screensaver ## +####################################################################################### +screensaver.type= +screensaver.delete= +screensaver.upload_url= +features.blf_active_backlight.enable= +screensaver.display_clock.enable= +screensaver.clock_move_interval= +screensaver.picture_change_interval= +screensaver.wait_time= +screensaver.xml_browser.url= + + + +####################################################################################### +## Power Saving ## +####################################################################################### +features.power_saving.enable= +features.power_saving.power_led_flash.on_time= +features.power_saving.power_led_flash.off_time= +features.power_saving.office_hour.monday= +features.power_saving.office_hour.tuesday= +features.power_saving.office_hour.wednesday= +features.power_saving.office_hour.thursday= +features.power_saving.office_hour.friday= +features.power_saving.office_hour.saturday= +features.power_saving.office_hour.sunday = +features.power_saving.user_input_ext.idle_timeout= +features.power_saving.off_hour.idle_timeout= +features.power_saving.office_hour.idle_timeout= +features.power_saving.intelligent_mode= + + +####################################################################################### +## Backgrounds Settings ## +####################################################################################### +##File Formate: +##SIP-T57W/T54W/T54S/T52S/T48S/T48G/T46G/T46S/T29G/T46U/T48U: .jpg/.png/.bmp/.jpeg; +##Resolution: +##SIP-T57W/T48S/T48G/T48U/T46U:<=2.0 megapixels; +##for SIP-T54W/T46G/T46S/T29G: <=1.8 megapixels;SIP-T54S/T52S:<=4.2 megapixels; +##Single File Size: <=5MB +##2MB of space should bereserved for the phone + +wallpaper_upload.url= +phone_setting.backgrounds= + +## phone_setting.backgrounds_with_dsskey_unfold(Only support T48U/T48G/S) +phone_setting.backgrounds_with_dsskey_unfold= + +##expansion_module.backgrounds(Only support T5XW/T54S/T52S/T43U/T46U/T48U) +expansion_module.backgrounds= + + +####################################################################################### +## BSFT Setting ## +####################################################################################### +bw.enable = + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +phone_setting.auto_blf_list_enable= +phone_setting.blf_list_sequence_type= + +blf.enhanced.parked.enable= +blf.enhanced.parked.led = +blf.enhanced.parked.talking.action = +blf.enhanced.parked.callin.action = +blf.enhanced.parked.idle.action = + +blf.enhanced.talking.enable= +blf.enhanced.talking.led= +blf.enhanced.talking.talking.action = +blf.enhanced.talking.callin.action = +blf.enhanced.talking.idle.action = + +blf.enhanced.callout.enable = +blf.enhanced.callout.led= +blf.enhanced.callout.talking.action = +blf.enhanced.callout.callin.action = +blf.enhanced.callout.idle.action = + +blf.enhanced.callin.enable = +blf.enhanced.callin.led= +blf.enhanced.callin.talking.action = +blf.enhanced.callin.callin.action= +blf.enhanced.callin.idle.action= + +blf.enhanced.idle.enable= +blf.enhanced.idle.led= +blf.enhanced.idle.talking.action= +blf.enhanced.idle.callin.action= +blf.enhanced.idle.idle.action= + +features.blf_list_version= +sip.sub_refresh_random= +sip.terminate_notify_sub_delay_time= + +features.blf_led_mode= +features.blf_pickup_only_send_code= + +##V84 Add +blf.enhanced.dnd.enable= +blf.enhanced.dnd.led= +blf.enhanced.hold.enable= +blf.enhanced.hold.led= + +features.blf.show_callinfo.enable= + +##V84 SP4 ADD +blf.normal_barge_in_code= +blf.whisper_barge_in_code= +blf.listen_barge_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +features.auto_release_bla_line= +features.barge_in_via_username.enable= + + + +####################################################################################### +## Call Park ## +####################################################################################### +features.call_park.enable= +features.call_park.park_mode= +features.call_park.park_code= +features.call_park.park_retrieve_code= +features.call_park.direct_send.enable= +features.call_park.park_visual_notify_enable= +features.call_park.park_ring= +features.call_park.group_enable= +features.call_park.group_park_code= +sip.call_park_without_blf= +features.call_park.line_restriction.enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +acd.enable= +acd.auto_available_timer= + + + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +bw.xsi.enable= +sip.authentication_for_xsi = +default_input_method.xsi_password= + + +####################################################################################### +## Broadsoft Network Directory ## +####################################################################################### +bw.xsi.directory.enable= +bw.calllog_and_dir = +bw.xsi.call_log.enable= +bw_phonebook.custom= +bw_phonebook.enterprise_common_enable= +bw_phonebook.enterprise_common_displayname= +bw_phonebook.enterprise_enable= +bw_phonebook.enterprise_displayname= +bw_phonebook.group_common_enable= +bw_phonebook.group_common_displayname= +bw_phonebook.personal_enable= +bw_phonebook.personal_displayname= +bw_phonebook.group_enable= +bw_phonebook.group_displayname = +directory.update_time_interval= +bw.xsi.directory.alphabetized_by_lastname.enable= +directory_setting.bw_directory.enable = +directory_setting.bw_directory.priority = +search_in_dialing.bw_directory.enable = +search_in_dialing.bw_directory.priority = +##V83 Add +bw.xsi.directory.update.enable = + +####################################################################################### +## Broadsoft Network Calllog ## +####################################################################################### +##V83 Add +bw.xsi.call_log.delete.enable = +bw.xsi.call_log.multiple_accounts.enable = +phone_setting.ring_duration = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +features.pickup.direct_pickup_enable = +features.pickup.group_pickup_enable = +features.pickup.direct_pickup_code = +features.pickup.group_pickup_code = +features.pickup.blf_audio_enable = +features.pickup.blf_visual_enable = +features.pickup_display.method = + +##V84 Add +features.pickup.blf_audio.list= +features.pickup.blf_visual.list= + + +####################################################################################### +## Alert Info ## +####################################################################################### +features.alert_info_tone = + + +####################################################################################### +## Broadsoft Visual Voice Mail ## +####################################################################################### +bw.voice_mail.visual.enable= +voice_mail.message_key.mode= +bw.voice_mail.visual.display_videomail.enable= + + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +bw.call_recording.mode = + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +features.call_decline.enable = + + +####################################################################################### +## BLF Ring Type ## +####################################################################################### +features.blf.ring_type = + + + +####################################################################################### +## Features Sync ## +####################################################################################### +features.feature_key_sync.enable = +features.forward.feature_key_sync.local_processing.enable = +features.forward.feature_key_sync.enable = +features.dnd.feature_key_sync.local_processing.enable = +features.dnd.feature_key_sync.enable = +call_waiting.mode = + + +####################################################################################### +## Broadsoft UC ## +####################################################################################### +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T46U/T48U Models support the parameter +bw.xmpp.enable = +features.uc_password = +features.uc_username = +bw.xmpp.presence_icon.mode = +bw.xmpp.change_presence.force_manual.enable = +bw.xmpp.change_presence.enable = +phone_setting.dsskey_directory_auto.enable = +features.uc_dir.match_tail_number= +directory_setting.bw_uc_buddies.enable = +directory_setting.bw_uc_buddies.priority = +search_in_dialing.bw_uc_buddies.enable = +search_in_dialing.bw_uc_buddies.priority = + +##V83 Add +phone_setting.uc_favorite_sequence_type = + +####################################################################################### +## Broadsoft Emergency Call ## +####################################################################################### +##V83 Add +bw.emergency_calling.enable = + + + +####################################################################################### +## Metaswitch Setting ## +####################################################################################### +meta.enable = +meta.login_mode = +meta.comm_portal.server.username = +meta.comm_portal.server.password = +meta.comm_portal.server.url = +meta.comm_portal.enable = +meta.comm_portal.contacts.update_interval = +meta.comm_portal.acd.enable= +meta.comm_portal.replace_local_call_list.enable= +meta.comm_portal.contacts.group.mlhgs.label= +meta.comm_portal.contacts.group.extensions.label= +meta.comm_portal.contacts.group.contacts.label= +meta.comm_portal.contacts.group.mlhgs.enable= +meta.comm_portal.contacts.group.extensions.enable= +meta.comm_portal.contacts.group.contacts.enable= +meta.comm_portal.call_list.enable= +meta.comm_portal.contacts.enable= +meta.comm_portal.message.enable= +meta.comm_portal.logout.enable = +meta.comm_portal.keep_alive_interval_time = + +##V83 Add +directory_setting.meta_directory.enable= +directory_setting.meta_directory.priority= +directory_setting.meta_call_log.enable= +directory_setting.meta_call_log.priority= +search_in_dialing.meta_call_log.priority = +search_in_dialing.meta_call_log.enable = +search_in_dialing.meta_directory.priority = +search_in_dialing.meta_directory.enable = + + + +####################################################################################### +## Genbend Setting ## +####################################################################################### +gb.sopi.enable= +gb.sopi.gab.enable= +gb.sopi.pab.enable= +features.pab.soupuser= +features.pab.enable= +gb.sopi.pab.match_in_calling.enable= +gb.sopi.gab.retain_search_filter= +gb.sopi.service_url= +gb.sopi.password= +gb.sopi.username= +directory_setting.gb_gab_directory.priority = +directory_setting.gb_gab_directory.enable = +directory_setting.gb_pab_directory.enable = +directory_setting.gb_pab_directory.priority = +search_in_dialing.gb_pab_directory.priority = +search_in_dialing.gb_pab_directory.enable = + + +####################################################################################### +## Loopback Call ## +####################################################################################### +##V83 Add +sip.loopback.enable = +sip.loopback_type = +sip.pkt_loopback_mode +sip.loopback.auto_answer.mode = +sip.pkt_loopback_encapsulated_payload = +sip.pkt_loopback_directed_payload = + + +####################################################################################### +## V84 add ## +####################################################################################### +google_contact_server.enable= + +static.features.network_test.check_policy= +static.features.network_test.enable= +static.features.network_test.host= +static.features.network_test.period= +static.features.network_unavailable_test.period= + +phone_setting.warnings_display.mode= + +bw.flexible_seating.remember_password.ldap.enable= + +vcaccount.enable= + +####################################################################################### +## V84 T5XW add VPM-Acoustic Shield ## +####################################################################################### +features.acoustic_shield.level = +features.acoustic_shield.mode = + + + +####################################################################################### +## V84 SP4 add ## +####################################################################################### + +phone_setting.search_t9.enable = +phone_setting.mail_power_led_flash_enable = +ldap.anonymous_bind_operation.enable = +google_contact_server.display_mode = +gb.presence.line = +gb.presence.enable = +gb.emergency_instant_messages.enable = +gb.emergency_instant_messages.displaytimeout = +features.transfer_keep_session2_after_failed.enable= +features.intercom.mode = +features.emergency_instant_messages.ring_type = +features.dtmf.transfer = +features.dtmf.replace_tran = +features.call_park.performby_holdhardkey.enable = +features.blf_extension.mode = +features.auto_answer.ring_type = +directory_setting.presence_list.priority = +directory_setting.presence_list.enable = +dialplan.transfer.mode = +dialplan.emergency.held.secondary.server_url = +custom.features.dsskey_lock_type = +blf.enhanced.dnd.led = +blf.enhanced.dnd.enable = +auto_provision.pnp_check_url.enable = + +acd.logout_fixed_display.enable= +acd.available_fixed_display.enable = +acd.disp_code_fixed_display.enable = +acd.trace_fixed_display.enable = + +features.parked_call_monitor.blf_visual_enable= +features.parked_call_monitor.blf_audio_enable= +features.parked_call_monitor.blf.ring_type= + From e56eab665e761e63908db3813efd8faa6b7f7856 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 13 Oct 2020 16:21:26 -0600 Subject: [PATCH 053/677] Create directory.xml Add the directory.xml for the Yealink t43u --- .../provision/yealink/t43u/directory.xml | 83 +++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 resources/templates/provision/yealink/t43u/directory.xml diff --git a/resources/templates/provision/yealink/t43u/directory.xml b/resources/templates/provision/yealink/t43u/directory.xml new file mode 100644 index 0000000000..297b9e4108 --- /dev/null +++ b/resources/templates/provision/yealink/t43u/directory.xml @@ -0,0 +1,83 @@ + +{foreach $contacts as $row} +{if $smarty.get.contacts == "users" && $row.category == "users"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} +{$row.effective_caller_id_name} +{/if} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} + +{elseif $smarty.get.contacts == "groups" && $row.category == "groups"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} + {$row.effective_caller_id_name} +{/if} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} + +{elseif $smarty.get.contacts == "extensions" && $row.category == "extensions"} + +{if $row.contact_name_given != ""} + {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.effective_caller_id_name} +{/if} +{if $row.phone_number != ""} + {$row.phone_number} +{else} + {$row.phone_extension} +{/if} + +{elseif $smarty.get.contacts == "all"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} + {$row.effective_caller_id_name} +{/if} +{if $row.category == "extensions"} +{if $row.phone_number != ""} + {$row.phone_number} +{else} + {$row.phone_extension} +{/if} +{else} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} +{/if} + +{/if} +{/foreach} + From bc3bde8c7517eabb8ffefe077081ad740192be1d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 13 Oct 2020 16:23:11 -0600 Subject: [PATCH 054/677] Create favorite_setting.xml Add the favorite_setting.xml file for the Yealink t43u. --- .../templates/provision/yealink/t43u/favorite_setting.xml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 resources/templates/provision/yealink/t43u/favorite_setting.xml diff --git a/resources/templates/provision/yealink/t43u/favorite_setting.xml b/resources/templates/provision/yealink/t43u/favorite_setting.xml new file mode 100644 index 0000000000..ba7275358e --- /dev/null +++ b/resources/templates/provision/yealink/t43u/favorite_setting.xml @@ -0,0 +1,8 @@ + + + + + + + + From b0c657a7de7853bb471cd0c29844e094f44ced87 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 13 Oct 2020 16:25:38 -0600 Subject: [PATCH 055/677] Create y000000000000.boot Add the y000000000000.boot file for the Yealink T43u. --- .../templates/provision/yealink/t43u/y000000000000.boot | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 resources/templates/provision/yealink/t43u/y000000000000.boot diff --git a/resources/templates/provision/yealink/t43u/y000000000000.boot b/resources/templates/provision/yealink/t43u/y000000000000.boot new file mode 100644 index 0000000000..25d2329b63 --- /dev/null +++ b/resources/templates/provision/yealink/t43u/y000000000000.boot @@ -0,0 +1,7 @@ +#!version:1.0.0.1 +## The header above must appear as-is in the first line + +include:config "y000000000107.cfg" +include:config "{$mac}.cfg" + +overwrite_mode = {$yealink_overwrite_mode} From 536559d11b4a8e5efe0add4deea4e47f505c21eb Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 13 Oct 2020 20:47:02 -0400 Subject: [PATCH 056/677] Update y000000000107.cfg --- .../provision/yealink/t43u/y000000000107.cfg | 380 +++++++++++------- 1 file changed, 225 insertions(+), 155 deletions(-) diff --git a/resources/templates/provision/yealink/t43u/y000000000107.cfg b/resources/templates/provision/yealink/t43u/y000000000107.cfg index 63757f8502..61328e6465 100644 --- a/resources/templates/provision/yealink/t43u/y000000000107.cfg +++ b/resources/templates/provision/yealink/t43u/y000000000107.cfg @@ -78,13 +78,13 @@ static.network.wifi.ipv6_icmp_v6.enable= ####################################################################################### ## Network Internet ## ####################################################################################### -static.network.ip_address_mode = +static.network.ip_address_mode = {$yealink_ip_address_mode} static.network.span_to_pc_port = static.network.vlan.pc_port_mode = static.network.static_dns_enable = static.network.pc_port.enable = -static.network.primary_dns = -static.network.secondary_dns = +{if isset($dns_server_primary)}static.network.primary_dns = {$dns_server_primary}{/if} +{if isset($dns_server_secondary)}static.network.secondary_dns = {$dns_server_secondary}{/if} static.network.internet_port.gateway = static.network.internet_port.mask = static.network.internet_port.ip = @@ -122,7 +122,7 @@ static.network.redundancy.failback.timeout = ####################################################################################### ## Network LLDP ## ####################################################################################### -static.network.lldp.enable = +static.network.lldp.enable = {$yealink_lldp_enable} static.network.lldp.packet_interval = @@ -134,22 +134,21 @@ static.network.vlan.dhcp_enable = static.network.vlan.dhcp_option = static.network.vlan.vlan_change.enable = - -static.network.vlan.pc_port_priority = -static.network.vlan.pc_port_vid = +static.network.vlan.pc_port_priority = {$yealink_vlan_pc_cos} +static.network.vlan.pc_port_vid = {$yealink_vlan_pc_id} static.network.vlan.pc_port_enable = -static.network.vlan.internet_port_priority = -static.network.vlan.internet_port_vid = -static.network.vlan.internet_port_enable = +static.network.vlan.internet_port_priority = {$yealink_vlan_cos} +static.network.vlan.internet_port_vid = {$yealink_vlan_id} + +{if isset($yealink_vlan_enable)}static.network.vlan.internet_port_enable = {$yealink_vlan_enable}{else}static.network.vlan.internet_port_enable = 0{/if} ####################################################################################### ## Network VPN ## ####################################################################################### -static.network.vpn_enable = -static.openvpn.url = - +static.network.vpn_enable = {$yealink_network_vpn_enable} +static.openvpn.url = {$yealink_openvpn_url} ####################################################################################### @@ -186,9 +185,9 @@ static.zero_touch.network_fail_wait_times = ####################################################################################### ## Autop URL ## ####################################################################################### -static.auto_provision.server.url = -static.auto_provision.server.username = -static.auto_provision.server.password = +static.auto_provision.server.url = {$yealink_provision_url} +static.auto_provision.server.username = {$http_auth_username} +static.auto_provision.server.password = {$http_auth_password} ####################################################################################### @@ -300,8 +299,8 @@ static.managementserver.enable = static.managementserver.username = static.managementserver.password = static.managementserver.url = -static.managementserver.periodic_inform_enable = -static.managementserver.periodic_inform_interval = +static.managementserver.periodic_inform_enable = 0 +static.managementserver.periodic_inform_interval = 60 static.managementserver.connection_request_password = static.managementserver.connection_request_username = @@ -310,7 +309,7 @@ static.managementserver.connection_request_username = ####################################################################################### ## Firmware Update ## ####################################################################################### -static.firmware.url = +static.firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t43u} ####################################################################################### @@ -370,15 +369,18 @@ wui.quick_login = ####################################################################################### static.phone_setting.reserve_certs_enable = features.relog_offtime = -static.security.default_ssl_method = +static.security.default_ssl_method = {$yealink_security_default_ssl_method} static.security.cn_validation = static.security.dev_cert = static.security.ca_cert = -static.security.trust_certificates = -static.security.user_password = -static.security.user_name.var = -static.security.user_name.admin = -static.security.user_name.user = +static.security.trust_certificates = {if $yealink_trust_certificates == "false"}0{elseif $yealink_trust_certificates == "true"}1{/if} + +static.security.user_password = {$var_name}:{$var_password} +static.security.user_password = {$admin_name}:{$admin_password} +static.security.user_password = {$user_name}:{$user_password} +static.security.user_name.var = {$var_name} +static.security.user_name.admin = {$admin_name} +static.security.user_name.user = {$user_name} ##V83 Add static.security.default_access_level = @@ -423,12 +425,12 @@ static.auto_provision.encryption.config = ####################################################################################### ## Trnasfer ## ####################################################################################### -dialplan.transfer.mode = -transfer.on_hook_trans_enable = -transfer.tran_others_after_conf_enable = -transfer.blind_tran_on_hook_enable = -transfer.semi_attend_tran_enable = -phone_setting.call_appearance.transfer_via_new_linekey= +dialplan.transfer.mode = {$yealink_transfer_mode} +transfer.on_hook_trans_enable = {$yealink_transfer_onhook} +transfer.tran_others_after_conf_enable = {$yealink_transfer_after_conf} +transfer.blind_tran_on_hook_enable = {$yealink_transfer_blind_on_hook} +transfer.semi_attend_tran_enable = {$yealink_transfer_semi_attended} +phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} ####################################################################################### @@ -475,8 +477,8 @@ features.password_dial.length= features.password_dial.prefix= features.password_dial.enable= features.group_listen_in_talking_enable= -phone_setting.call_info_display_method= -phone_setting.called_party_info_display.enable = +phone_setting.call_info_display_method = 0 +phone_setting.called_party_info_display.enable = 1 features.headset_training= features.headset_prior= features.dtmf.replace_tran = @@ -487,7 +489,7 @@ phone_setting.ringback_timeout= features.keep_mute.enable= linekey.1.shortlabel= features.config_dsskey_length.shorten = -transfer.dsskey_deal_type = +transfer.dsskey_deal_type = {$yealink_dsskey_transfer_mode} features.auto_linekeys.enable= phone_setting.call_appearance.calls_per_linekey= features.linekey_call_with_default_account= @@ -550,7 +552,7 @@ bluetooth.connect_confirm.enable= ## Features USB Record ## ####################################################################################### ##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support the parameter. -features.usb_call_recording.enable = +features.usb_call_recording.enable = {$yealink_usb_record_enable} features.auto_recording.enable = features.idle_recording.enable= @@ -595,7 +597,7 @@ voice.side_tone = features.partition_tone = voice.tone.secondary_dial= ####################################################################################### -## Tones补充技术支持加V83中性的stutterdial应用,需配合以下dnd、fwd、vm场景使用 ## +## Tones V83 stutterdial dnd fwd vm ## ####################################################################################### voice.tone.stutterdial= @@ -662,7 +664,7 @@ sip.request_validation.source.list= sip.send_keepalive_by_socket= sip.reliable_protocol.timerae.enable= sip.requesturi.e164.addglobalprefix= -sip.trust_ctrl= +sip.trust_ctrl = {$yealink_trust_ctrl} sip.mac_in_ua= sip.timer_t1= @@ -670,7 +672,9 @@ sip.timer_t2= sip.timer_t4= sip.listen_mode= -sip.listen_port= + +{if isset($yealink_sip_listen_port)}sip.listen_port = {$yealink_sip_listen_port}{else}sip.listen_port = 5060{/if} + sip.tls_listen_port= sip.tcp_port_random_mode= sip.escape_characters.enable= @@ -699,14 +703,17 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= -static.sip.nat_stun.port= +static.sip.nat_stun.enable={if isset($stun_server)}1{else}0{/if} + +static.sip.nat_stun.server= {$stun_server} +static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} static.ice.enable= -static.network.static_nat.enable= -static.network.static_nat.addr= + +static.network.static_nat.enable= {if isset($yealink_static_nat)}1{else}0{/if} + +static.network.static_nat.addr= {$yealink_static_nat} ####################################################################################### ## DNS ## @@ -766,7 +773,9 @@ phone_setting.vq_rtcpxr.session_report.enable= ####################################################################################### ## Contact ## ####################################################################################### -static.directory_setting.url= + +static.directory_setting.url= https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=favorite_setting.xml + super_search.url= local_contact.data.url= @@ -798,47 +807,71 @@ search_in_dialing.local_directory.priority = #remote_phonebook.data.X.password= ##(X ranges from 1 to 5) -remote_phonebook.data.1.url= -remote_phonebook.data.1.name= -features.remote_phonebook.enter_update_enable= -features.remote_phonebook.flash_time= -features.remote_phonebook.enable= -remote_phonebook.display_name= +{if isset($yealink_remote_phonebook_1_name) } +remote_phonebook.data.1.name = {$yealink_remote_phonebook_1_name} +{else} +remote_phonebook.data.1.name = Users +{/if} +{if isset($yealink_remote_phonebook_1_url) } +remote_phonebook.data.1.url = {$yealink_remote_phonebook_1_url} +{else} +remote_phonebook.data.1.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=users +{/if} -directory_setting.remote_phone_book.enable = -directory_setting.remote_phone_book.priority = -search_in_dialing.remote_phone_book.enable = -search_in_dialing.remote_phone_book.priority = +{if isset($yealink_remote_phonebook_2_name) } +remote_phonebook.data.2.name = {$yealink_remote_phonebook_2_name} +{else} +remote_phonebook.data.2.name = Groups +{/if} +{if isset($yealink_remote_phonebook_2_url) } +remote_phonebook.data.2.url = {$yealink_remote_phonebook_2_url} +{else} +remote_phonebook.data.2.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=groups +{/if} -##V84 ADD -remote_phonebook.data.1.username= -remote_phonebook.data.1.password= +{if isset($yealink_remote_phonebook_3_name) } +remote_phonebook.data.3.name = {$yealink_remote_phonebook_3_name} +{else} +remote_phonebook.data.3.name = Extensions +{/if} +{if isset($yealink_remote_phonebook_3_url) } +remote_phonebook.data.3.url = {$yealink_remote_phonebook_3_url} +{else} +remote_phonebook.data.3.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=extensions +{/if} +remote_phonebook.data.4.name = {$yealink_remote_phonebook_4_name} +remote_phonebook.data.4.url = {$yealink_remote_phonebook_4_url} + +remote_phonebook.data.5.name = {$yealink_remote_phonebook_5_name} +remote_phonebook.data.5.url = {$yealink_remote_phonebook_5_url} + +features.remote_phonebook.enable = {$yealink_remote_phonebook_enable} ####################################################################################### ## LDAP ## ####################################################################################### -ldap.enable= -ldap.user= -ldap.password= -ldap.base= -ldap.port= -ldap.host= +ldap.enable = {$ldap_enable} +ldap.user = {$ldap_user} +ldap.password = {$ldap_password} +ldap.base = {$ldap_base} +ldap.port = {$ldap_port} +ldap.host = {$ldap_host} ldap.customize_label= ldap.incoming_call_special_search.enable= ldap.tls_mode= ldap.search_type= ldap.numb_display_mode= -ldap.ldap_sort= -ldap.call_in_lookup= -ldap.version = -ldap.display_name= -ldap.numb_attr= -ldap.name_attr= -ldap.max_hits= -ldap.number_filter= -ldap.name_filter= -ldap.call_out_lookup= +ldap.ldap_sort = {$ldap_sort} +ldap.call_in_lookup = {$ldap_call_in_lookup} +ldap.version = {$ldap_version} +ldap.display_name = {$ldap_display_name} +ldap.numb_attr = {$ldap_numb_attr} +ldap.name_attr = {$ldap_name_attr} +ldap.max_hits = {$ldap_max_hits} +ldap.number_filter = {$ldap_number_filter} +ldap.name_filter = {$ldap_name_filter} +ldap.call_out_lookup = {$ldap_dial_lookup} directory_setting.ldap.enable = directory_setting.ldap.priority = search_in_dialing.ldap.enable = @@ -912,14 +945,19 @@ phone_setting.favorite_sequence_type = #programablekey.X.extension ##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## - -programablekey.1.type = -programablekey.1.label = -programablekey.1.value = -programablekey.1.line = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.xml_phonebook = -programablekey.1.extension = +{/foreach} ##V83 Add programablekey.type_range.custom = @@ -937,14 +975,21 @@ programablekey.type_range.custom = ##LineKeyX ranges(T48U/T57W/T48G/S: X ranges from 1 to 29. T53W/T54W/T54S/T46G/T46S/T29G/T46U: X ranges from 1 to 27. T42G/T42S/T41P/T41S/T41U: X ranges from 1 to 15. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T52S/T27P/T27G/T43U: X ranges from 1 to 21. T21(P) E2: X ranges from 1 to 2.)## ## Not support T19P_E2 -linekey.1.label = -linekey.1.line = -linekey.1.value = -linekey.1.extension = -linekey.1.type = -linekey.1.xml_phonebook = +{foreach $keys['line'] as $row} +#Configure Line Key {$row.device_key_id} +linekey.{$row.device_key_id}.line = {$row.device_key_line} +linekey.{$row.device_key_id}.value = {$row.device_key_value} +{if $row.device_key_type == "1" || $row.device_key_type == "16"} +linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension} +{else} +linekey.{$row.device_key_id}.extension = {$row.device_key_extension} +{/if} +linekey.{$row.device_key_id}.type = {$row.device_key_type} +linekey.{$row.device_key_id}.xml_phonebook = +linekey.{$row.device_key_id}.label = {$row.device_key_label} + +{/foreach} -##V83 Add linekey.type_range.custom = @@ -954,7 +999,7 @@ linekey.type_range.custom = features.block_linekey_in_menu.enable = features.shorten_linekey_label.enable = features.flash_url_dsskey_led.enable = -features.config_dsskey_length = +features.config_dsskey_length = {$yealink_dsskey_length} phone_setting.page_tip = features.keep_switch_page_key.enable= @@ -979,17 +1024,40 @@ local.dsskey_type_config.mode = ## Expansion Key X ranges(SIP-T5XW/T54S/T52S/T43U/T46U/T48U: X ranges from 1 to 3, Y ranges from 1 to 60; SIP-T48G/T48S/T46G/T46S:X ranges from 1 to 6, Y ranges from 1 to 40; SIP-T29G/T27P/T27G:X ranges from 1 to 6, Y ranges from 1 to 20, 22 to 40 (Ext key 21 cannot be configured).)## ## Only SIP-T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T27P/T27G/T43U/T46U/T48U Models support the parameter. -expansion_module.1.key.1.type = -expansion_module.1.key.1.label = -expansion_module.1.key.1.value = -expansion_module.1.key.1.line = -expansion_module.1.key.1.extension = -expansion_module.1.key.1.xml_phonebook = -expansion_module.page_tip.blf_call_in.led = -expansion_module.page_tip.blf_call_in.enable = +#expansion_module.1.key.1.type = +#expansion_module.1.key.1.label = +#expansion_module.1.key.1.value = +#expansion_module.1.key.1.line = +#expansion_module.1.key.1.pickup_value = +#expansion_module.1.key.1.extension = +#expansion_module.1.key.1.xml_phonebook = +#expansion_module.page_tip.blf_call_in.led = +#expansion_module.page_tip.blf_call_in.enable = -##V83 Add -expkey.type_range.custom = +{foreach $keys["expansion"] as $row} +expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.1.key.{$row.device_key_id}.xml_phonebook = +{/foreach} +{foreach $keys["expansion-1"] as $row} +expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.1.key.{$row.device_key_id}.xml_phonebook = +{/foreach} +{foreach $keys["expansion-2"] as $row} +expansion_module.2.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.2.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.2.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.2.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.2.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.2.key.{$row.device_key_id}.xml_phonebook = +{/foreach} ####################################################################################### @@ -1087,11 +1155,11 @@ features.dnd.allow= features.dnd_mode= features.dnd.enable= -features.dnd.off_code= -features.dnd.on_code= +features.dnd.off_code = *79 +features.dnd.on_code = *78 features.dnd.emergency_authorized_number= -features.dnd.emergency_enable= +features.dnd.emergency_enable = 1 features.dnd.large_icon.enable= ##V83 Add @@ -1100,12 +1168,11 @@ features.keep_dnd.enable = ####################################################################################### ## Phone Lock ## ####################################################################################### -phone_setting.phone_lock.enable= -phone_setting.phone_lock.lock_key_type= -phone_setting.phone_lock.unlock_pin= -phone_setting.emergency.number= -phone_setting.phone_lock.lock_time_out= - +phone_setting.phone_lock.enable = {$yealink_lock_enable} +phone_setting.phone_lock.lock_key_type = {$yealink_lock_key_type} +phone_setting.phone_lock.unlock_pin = {$yealink_lock_pin} +phone_setting.emergency.number = {$yealink_emergency_number} +phone_setting.phone_lock.lock_time_out = {$yealink_lock_timeout} ####################################################################################### @@ -1131,9 +1198,9 @@ hotdesking.dsskey_outbound_enable= ## Voice Mail ## ####################################################################################### features.voice_mail_alert.enable= -features.voice_mail_popup.enable= +features.voice_mail_popup.enable = {$yealink_voice_mail_popup_enable} features.voice_mail_tone_enable= -features.hide_feature_access_codes.enable= +features.hide_feature_access_codes.enable = {$yealink_hide_feature_access_codes_enable} @@ -1182,7 +1249,7 @@ features.intercom.barge_in_dialing.enable= features.ip_call.auto_answer.enable= features.show_default_account= features.call.dialtone_time_out= -features.missed_call_popup.enable= +features.missed_call_popup.enable = {$yealink_missed_call_popup_enable} features.auto_answer_tone.enable= features.play_hold_tone.enable= features.key_as_send= @@ -1190,7 +1257,7 @@ features.send_pound_key= features.busy_tone_delay= features.hotline_delay= features.hotline_number= -features.direct_ip_call_enable= +features.direct_ip_call_enable = {$yealink_direct_ip_call_enable} features.call_num_filter= features.call_completion_enable= features.allow_mute= @@ -1200,13 +1267,13 @@ features.dnd_refuse_code= features.upload_server= features.dtmf.repetition= features.dtmf.hide_delay= -features.dtmf.hide= +features.dtmf.hide = {$yealink_dtmf_hide} features.play_local_dtmf_tone_enable = features.reboot_in_talk_enable = features.fwd_diversion_enable= -call_waiting.enable= -call_waiting.tone= +call_waiting.enable = {$yealink_call_waiting} +call_waiting.tone = {$yealink_call_waiting_tone} call_waiting.off_code= call_waiting.on_code= @@ -1214,7 +1281,7 @@ auto_redial.times= auto_redial.interval= auto_redial.enable= -sip.rfc2543_hold= +sip.rfc2543_hold = {$yealink_rfc2543_hold} sip.use_23_as_pound= forward.international.enable= phone_setting.headsetkey_mode= @@ -1287,35 +1354,34 @@ action_url.peripheral_information= phone_setting.hold_and_held_power_led_flash_enable= phone_setting.mute_power_led_flash_enable= phone_setting.talk_and_dial_power_led_enable= -phone_setting.mail_power_led_flash_enable= +phone_setting.mail_power_led_flash_enable = 1 phone_setting.ring_power_led_flash_enable= phone_setting.common_power_led_enable= -phone_setting.missed_call_power_led_flash.enable= +phone_setting.missed_call_power_led_flash.enable = {$yealink_missed_call_power_led_flash_enable} ####################################################################################### ## Time&Date ## ####################################################################################### lcl.datetime.date.format = -auto_dst.url = +auto_dst.url = {$yealink_auto_dst_url} local_time.manual_time_enable = local_time.manual_ntp_srv_prior = -local_time.time_format = -local_time.date_format = -local_time.dhcp_time = +local_time.time_format = {$yealink_time_format} +local_time.date_format = {$yealink_date_format} +local_time.dhcp_time = {$yealink_dhcp_time} -local_time.summer_time = -local_time.dst_time_type = -local_time.start_time = -local_time.end_time = -local_time.offset_time = -local_time.interval = - -local_time.ntp_server1 = -local_time.ntp_server2 = -local_time.time_zone = -local_time.time_zone_name = +local_time.summer_time = {$yealink_summer_time} +local_time.dst_time_type = {$yealink_dst_type} +local_time.start_time = {$yealink_time_zone_start_time} +local_time.end_time = {$yealink_time_zone_end_time} +local_time.offset_time = {$yealink_offset_time} +local_time.interval = {$yealink_time_update} +local_time.ntp_server1 = {$ntp_server_primary} +local_time.ntp_server2 = {$ntp_server_secondary} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1361,15 +1427,15 @@ lcd_logo.delete= lcd_logo.url= phone_setting.contrast= -phone_setting.backlight_time= -phone_setting.inactive_backlight_level= +phone_setting.backlight_time = {$yealink_backlight_time} +phone_setting.inactive_backlight_level = 1 phone_setting.active_backlight_level= -phone_setting.predial_autodial= +phone_setting.predial_autodial = 1 -ringtone.url= -ringtone.delete= -phone_setting.ring_type= -phone_setting.inter_digit_time= +ringtone.url= {$yealink_ringtone_url} +ringtone.delete= {$yealink_ringtone_delete} +phone_setting.ring_type= {$yealink_ring_type} +phone_setting.inter_digit_time= {$yealink_inter_digit_time} ##Only T54S Model supports the parameter phone_setting.idle_clock_display.enable = @@ -1427,19 +1493,19 @@ dialplan.replace.prefix.1= phone_setting.dialnow_delay= dialplan_dialnow.url= dialplan.dialnow.line_id.1= -dialplan.dialnow.rule.1= +dialplan.dialnow.rule.1 = {$yealink_dialplan_dialnow_rule_1} dialplan.block_out.line_id.1= dialplan.block_out.number.1= dialplan.area_code.line_id = -dialplan.area_code.max_len = -dialplan.area_code.min_len= +dialplan.area_code.max_len = 15 +dialplan.area_code.min_len = 1 dialplan.area_code.code= ####################################################################################### ## Rings Settings ## ####################################################################################### -distinctive_ring_tones.alert_info.1.ringer= -distinctive_ring_tones.alert_info.1.text= +distinctive_ring_tones.alert_info.1.ringer= {$yealink_ring_file_1} +distinctive_ring_tones.alert_info.1.text= {$yealink_ring_text_1} ####################################################################################### ## IME Settings ## @@ -1461,7 +1527,7 @@ wui_lang.delete= gui_input_method.delete= gui_lang.url= gui_lang.delete= -lang.gui= +lang.gui= {$yealink_language_gui} lang.wui= @@ -1510,8 +1576,12 @@ features.power_saving.intelligent_mode= ##Single File Size: <=5MB ##2MB of space should bereserved for the phone -wallpaper_upload.url= -phone_setting.backgrounds= +wallpaper_upload.url = {$yealink_t43u_wallpaper} +{if isset($yealink_t43u_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t43u_wallpaper_filename} +{else} +phone_setting.backgrounds = Config:yealink_t43u_wallpaper.png +{/if} ## phone_setting.backgrounds_with_dsskey_unfold(Only support T48U/T48G/S) phone_setting.backgrounds_with_dsskey_unfold= @@ -1529,8 +1599,8 @@ bw.enable = ####################################################################################### ## BLF/BLF List ## ####################################################################################### -phone_setting.auto_blf_list_enable= -phone_setting.blf_list_sequence_type= +phone_setting.auto_blf_list_enable = 1 +phone_setting.blf_list_sequence_type = 1 blf.enhanced.parked.enable= blf.enhanced.parked.led = @@ -1556,17 +1626,17 @@ blf.enhanced.callin.talking.action = blf.enhanced.callin.callin.action= blf.enhanced.callin.idle.action= -blf.enhanced.idle.enable= +blf.enhanced.idle.enable = 0 blf.enhanced.idle.led= blf.enhanced.idle.talking.action= blf.enhanced.idle.callin.action= blf.enhanced.idle.idle.action= -features.blf_list_version= +features.blf_list_version = 0 sip.sub_refresh_random= sip.terminate_notify_sub_delay_time= -features.blf_led_mode= +features.blf_led_mode = {$yealink_blf_led_mode} features.blf_pickup_only_send_code= ##V84 Add @@ -1662,9 +1732,9 @@ phone_setting.ring_duration = ####################################################################################### ## Call Pickup ## ####################################################################################### -features.pickup.direct_pickup_enable = +features.pickup.direct_pickup_enable = {$yealink_direct_pickup_enable} features.pickup.group_pickup_enable = -features.pickup.direct_pickup_code = +features.pickup.direct_pickup_code = ** features.pickup.group_pickup_code = features.pickup.blf_audio_enable = features.pickup.blf_visual_enable = @@ -1712,7 +1782,7 @@ features.blf.ring_type = ####################################################################################### ## Features Sync ## ####################################################################################### -features.feature_key_sync.enable = +features.feature_key_sync.enable = {$yealink_feature_key_sync} features.forward.feature_key_sync.local_processing.enable = features.forward.feature_key_sync.enable = features.dnd.feature_key_sync.local_processing.enable = From 6e3f1385497d753b55cf26edd8d5a8c3e453fd75 Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 13 Oct 2020 21:26:55 -0400 Subject: [PATCH 057/677] Update {$mac}.cfg --- .../provision/yealink/t43u/{$mac}.cfg | 3057 ++++++++++++++++- 1 file changed, 2981 insertions(+), 76 deletions(-) diff --git a/resources/templates/provision/yealink/t43u/{$mac}.cfg b/resources/templates/provision/yealink/t43u/{$mac}.cfg index 0a14512de8..1cc9663300 100644 --- a/resources/templates/provision/yealink/t43u/{$mac}.cfg +++ b/resources/templates/provision/yealink/t43u/{$mac}.cfg @@ -4,7 +4,7 @@ ##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## ####################################################################################### -## Trnasfer ## +## Transfer ## ####################################################################################### account.1.phone_setting.call_appearance.transfer_via_new_linekey= @@ -25,7 +25,7 @@ account.1.anonymous_reject_oncode = account.1.reject_anonymous_call= account.1.anonymous_call_offcode = account.1.anonymous_call_oncode = -account.1.anonymous_call = +account.1.anonymous_call = 0 account.1.send_anonymous_code = @@ -46,31 +46,57 @@ account.1.phone_setting.call_appearance.calls_per_linekey= ####################################################################################### account.1.codec.ilbc_15_2kbps.priority= account.1.codec.ilbc_15_2kbps.enable= -account.1.codec.ilbc_13_33kbps.priority= -account.1.codec.ilbc_13_33kbps.enable = -account.1.codec.pcma.enable= -account.1.codec.pcma.priority= -account.1.codec.pcmu.enable= -account.1.codec.pcmu.priority= -account.1.codec.opus.priority = -account.1.codec.opus.enable= -account.1.codec.opus.para= -account.1.codec.g726_40.enable= -account.1.codec.g726_40.priority= -account.1.codec.g726_32.enable= -account.1.codec.g726_32.priority= -account.1.codec.g726_24.enable= -account.1.codec.g726_24.priority= -account.1.codec.g726_16.enable= -account.1.codec.g726_16.priority= -account.1.codec.g723_63.priority= -account.1.codec.g723_63.enable= -account.1.codec.g723_53.priority= -account.1.codec.g723_53.enable= -account.1.codec.g729.priority= -account.1.codec.g729.enable= -account.1.codec.g722.priority= -account.1.codec.g722.enable= + +account.1.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.1.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.1.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.1.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.1.codec.opus.para= 106 + +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.1.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.1.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.1.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.1.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.1.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.1.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.1.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.1.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + account.1.codec.G722_1_24kpbs.priority= account.1.codec.G722_1_24kpbs.enable= account.1.codec.G722_1c_24kpbs.priority= @@ -83,31 +109,70 @@ account.1.codec.G722_1c_48kpbs.enable= ################################################################ # Account Register ## ################################################################ -account.1.enable= -account.1.label= -account.1.display_name= -account.1.auth_name= -account.1.user_name= -account.1.password= -account.1.sip_server.1.address= -account.1.sip_server.1.port= -account.1.sip_server.1.transport_type= -account.1.sip_server.1.expires= -account.1.sip_server.1.retry_counts= +{if isset($account.1.password) } +account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} +account.1.label = {$account.1.display_name} +account.1.display_name = {$account.1.display_name} +account.1.auth_name = {$account.1.auth_id} -account.1.sip_server.2.address= -account.1.sip_server.2.port= -account.1.sip_server.2.transport_type= -account.1.sip_server.2.expires= -account.1.sip_server.2.retry_counts= +{if isset($account.1.server.1.address)} +account.1.user_name = {$account.1.user_id}@{$account.1.server_address} +{else} +account.1.user_name = {$account.1.user_id} +{/if} + +account.1.password = {$account.1.password} +account.1.sip_server.1.address= {$account.1.server_address} +account.1.sip_server_port = {$account.1.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.1.sip_transport == 'udp'}account.1.sip_server.1.transport_type= = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.1.transport_type= = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.1.transport_type= = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.1.transport_type= = 3{/if} + +account.1.sip_server.1.expires= {$account.1.register_expires} +account.1.sip_server.1.retry_counts= 3 + +account.1.sip_server.2.address= {$account.1.server.2.address} +account.1.sip_server.2.port= {$account.1.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.1.sip_transport == 'udp'}account.1.sip_server.2.transport_type = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.2.transport_type = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.2.transport_type = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.2.transport_type = 3{/if} + +account.1.sip_server.2.expires= {$account.1.register_expires} +account.1.sip_server.2.retry_counts= 3 + +account.1.outbound_proxy_enable = {if isset($account.1.outbound_proxy_primary)}1{else}0{/if} + +account.1.outbound_proxy.1.address = {$account.1.outbound_proxy_primary} +account.1.outbound_proxy.2.address = {$account.1.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.1.outbound_proxy.1.port = {$account.1.sip_port} +{/if} + +account.1.outbound_proxy.2.address= {$account.1.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.1.outbound_proxy.2.port = {$account.1.sip_port} +{/if} + +account.1.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.1.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} -account.1.outbound_proxy_enable= -account.1.outbound_proxy.1.address= -account.1.outbound_proxy.1.port= -account.1.outbound_proxy.2.address= -account.1.outbound_proxy.2.port= -account.1.outbound_proxy_fallback_interval= -account.1.nat.nat_traversal= ################################################################ @@ -122,15 +187,15 @@ account.1.nat.udp_update_enable= account.1.nat.udp_update_time= account.1.nat.rport= -account.1.dtmf.type= +account.1.dtmf.type= {$yealink_dtmf_type} account.1.dtmf.info_type= account.1.dtmf.dtmf_payload= account.1.100rel_enable= account.1.subscribe_register= -account.1.cid_source= +account.1.cid_source= {$yealink_cid_source} account.1.enable_user_equal_phone= -account.1.srtp_encryption= +account.1.srtp_encryption= {$yealink_srtp_encryption} account.1.ptime= account.1.register_line= account.1.register_mac= @@ -139,7 +204,7 @@ account.1.unregister_on_reboot= account.1.session_timer.refresher= account.1.session_timer.expires= -account.1.session_timer.enable= +account.1.session_timer.enable= {$yealink_session_timer} account.1.conf_type= account.1.sip_server_type= @@ -223,12 +288,12 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= -account.1.cid_source_ppi= -account.1.cid_source_privacy= +account.1.cp_source= 2 +account.1.cid_source_ppi= 1 +account.1.cid_source_privacy= 1 account.1.reg_with_pani_header.enable = account.1.alert_info= -account.1.picture_info_enable= +account.1.picture_info_enable= 1 ##V83 Add account.1.invite_with_pani_header.enable = @@ -369,10 +434,10 @@ account.1.callpark_enable= ####################################################################################### ## Broadsoft ACD ## ####################################################################################### -account.1.acd.enable= -account.1.acd.available= -account.1.acd.unavailable_reason_enable= -account.1.acd.initial_state= +account.1.acd.enable= 0 +account.1.acd.available= 0 +account.1.acd.unavailable_reason_enable= 0 +account.1.acd.initial_state= 1 account.1.subscribe_acd_expires= @@ -388,7 +453,7 @@ account.1.subscribe_acd_expires= ##The value Y must be continuous. account.1.reason_code.1= -account.1.reason_code_name.1= +account.1.reason_code_name.1= 0 account.1.bw_disp_code.1= account.1.bw_disp_code_name.1= account.1.supervisor_info_code.1= @@ -397,24 +462,24 @@ account.1.supervisor_info_code_name.1= ####################################################################################### ## Broadsoft Call Center ## ####################################################################################### -account.1.call_center.call_info_enable= -account.1.call_center.show_call_info_time= -account.1.call_center.disp_code_enable= -account.1.call_center.trace_enable= -account.1.call_center.emergency_enable= -account.1.call_center.queue_status_enable= -account.1.call_center.queue_status_light_enable = +account.1.call_center.call_info_enable= 0 +account.1.call_center.show_call_info_time= 30 +account.1.call_center.disp_code_enable= 0 +account.1.call_center.trace_enable= 0 +account.1.call_center.emergency_enable= 0 +account.1.call_center.queue_status_enable= 0 +account.1.call_center.queue_status_light_enable = 0 ####################################################################################### ## Broadsoft Hoteling ## ####################################################################################### -account.1.hoteling.enable= -account.1.hoteling.user_id= -account.1.hoteling.password= -account.1.hoteling.expires= -account.1.hoteling.auto_login_enable= +account.1.hoteling.enable= 0 +account.1.hoteling.user_id= 0 +account.1.hoteling.password= 0 +account.1.hoteling.expires= 0 +account.1.hoteling.auto_login_enable= 0 ####################################################################################### @@ -432,7 +497,7 @@ account.1.xsi.port = ####################################################################################### account.1.direct_pickup_code = account.1.group_pickup_code = -account.1.dialoginfo_callpickup = +account.1.dialoginfo_callpickup = 0 account.1.refresh_remote_id.enable = @@ -500,3 +565,2843 @@ bw.virtual_user.1.xsi.password= bw.virtual_user.1.xsi.port= bw.virtual_user.1.xsi.server_type= bw.virtual_user.1.xsi.user= + +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Transfer ## +####################################################################################### +account.2.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.2.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.2.anonymous_call.server_base_only = +account.2.send_anonymous_rejection_code = +account.2.anonymous_reject_offcode = +account.2.anonymous_reject_oncode = +account.2.reject_anonymous_call= +account.2.anonymous_call_offcode = +account.2.anonymous_call_oncode = +account.2.anonymous_call = 0 +account.2.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.2.music_server_uri= +account.2.music_on_hold_type= +account.2.auto_label.rule= +account.2.auto_label.enable= +account.2.number_of_linekey= +account.2.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.2.codec.ilbc_15_2kbps.priority= +account.2.codec.ilbc_15_2kbps.enable= + +account.2.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.2.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.2.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.2.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.2.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.2.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.2.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.2.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.2.codec.opus.para= 106 + +account.2.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.2.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.2.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.2.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.2.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.2.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.2.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.2.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.2.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.2.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.2.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.2.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.2.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.2.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.2.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.2.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.2.codec.G722_1_24kpbs.priority= +account.2.codec.G722_1_24kpbs.enable= +account.2.codec.G722_1c_24kpbs.priority= +account.2.codec.G722_1c_24kpbs.enable= +account.2.codec.G722_1c_32kpbs.priority= +account.2.codec.G722_1c_32kpbs.enable= +account.2.codec.G722_1c_48kpbs.priority= +account.2.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account2 Register ## +################################################################ +{if isset($account.2.password) } +account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} +account.2.label = {$account.2.display_name} +account.2.display_name = {$account.2.display_name} +account.2.auth_name = {$account.2.auth_id} + +{if isset($account.2.server.1.address)} +account.2.user_name = {$account.2.user_id}@{$account.2.server_address} +{else} +account.2.user_name = {$account.2.user_id} +{/if} + +account.2.password = {$account.2.password} +account.2.sip_server.1.address= {$account.2.server_address} +account.2.sip_server_port = {$account.2.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.2.sip_transport == 'udp'}account.2.sip_server.1.transport_type= = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.1.transport_type= = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.1.transport_type= = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.1.transport_type= = 3{/if} + +account.2.sip_server.1.expires= {$account.2.register_expires} +account.2.sip_server.1.retry_counts= 3 + +account.2.sip_server.2.address= {$account.2.server.2.address} +account.2.sip_server.2.port= {$account.2.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.2.sip_transport == 'udp'}account.2.sip_server.2.transport_type = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.2.transport_type = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.2.transport_type = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.2.transport_type = 3{/if} + +account.2.sip_server.2.expires= {$account.2.register_expires} +account.2.sip_server.2.retry_counts= 3 + +account.2.outbound_proxy_enable = {if isset($account.2.outbound_proxy_primary)}1{else}0{/if} + +account.2.outbound_proxy.1.address = {$account.2.outbound_proxy_primary} +account.2.outbound_proxy.2.address = {$account.2.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.2.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.2.outbound_proxy.1.port = {$account.2.sip_port} +{/if} + +account.2.outbound_proxy.2.address= {$account.2.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.2.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.2.outbound_proxy.2.port = {$account.2.sip_port} +{/if} + +account.2.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.2.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.2.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.2.nat.udp_update_enable= +account.2.nat.udp_update_time= +account.2.nat.rport= + +account.2.dtmf.type= {$yealink_dtmf_type} +account.2.dtmf.info_type= +account.2.dtmf.dtmf_payload= +account.2.100rel_enable= + +account.2.subscribe_register= +account.2.cid_source= {$yealink_cid_source} +account.2.enable_user_equal_phone= +account.2.srtp_encryption= {$yealink_srtp_encryption} +account.2.ptime= +account.2.register_line= +account.2.register_mac= +account.2.reg_fail_retry_interval= +account.2.unregister_on_reboot= + +account.2.session_timer.refresher= +account.2.session_timer.expires= +account.2.session_timer.enable= {$yealink_session_timer} + +account.2.conf_type= +account.2.sip_server_type= + +##V83 Add +account.2.srtp.unencrypted_rtcp.enable = +account.2.srtp.unencrypted_rtp.enable = +account.2.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.2.outbound_proxy.1.register_on_enable= +account.2.outbound_proxy.1.failback_timeout= +account.2.outbound_proxy.1.failback_mode= +account.2.outbound_proxy.1.retry_counts= +account.2.outbound_proxy.1.only_signal_with_registered= +account.2.outbound_proxy.1.failback_subscribe.enable= +account.2.outbound_proxy.1.invite_retry_counts= + +account.2.sip_server.1.register_on_enable= +account.2.sip_server.1.failback_timeout= +account.2.sip_server.1.failback_mode= +account.2.sip_server.1.failback_subscribe.enable= +account.2.sip_server.1.only_signal_with_registered= +account.2.sip_server.1.invite_retry_counts= + +account.2.outbound_proxy.2.register_on_enable= +account.2.outbound_proxy.2.failback_timeout= +account.2.outbound_proxy.2.failback_mode= +account.2.outbound_proxy.2.retry_counts= +account.2.outbound_proxy.2.only_signal_with_registered= +account.2.outbound_proxy.2.failback_subscribe.enable= +account.2.outbound_proxy.2.invite_retry_counts= + +account.2.sip_server.2.register_on_enable= +account.2.sip_server.2.failback_timeout= +account.2.sip_server.2.failback_mode= +account.2.sip_server.2.failback_subscribe.enable= +account.2.sip_server.2.only_signal_with_registered= +account.2.sip_server.2.invite_retry_counts= + +account.2.static_cache_pri= +account.2.dns_cache_type= +account.2.naptr_build= +account.2.fallback.timeout= +account.2.fallback.redundancy_type= +account.2.reg_failed_retry_max_time= +account.2.reg_failed_retry_min_time= +account.2.redundancy_with_reg_fail.enable = + +##V83 Add +account.2.sip_server.1.outbound_proxy_enable = +account.2.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.2.contact_take_line_param= +account.2.update_ack_while_dialing= +account.2.srtp_lifetime= +account.2.third_part_request_with_route.enable= +account.2.insert_outbound_in_route.enable= +account.2.path.enable= +account.2.sub_fail_retry_interval= +account.2.transfer_refer_to_contact_header.enable= +account.2.hold_use_inactive= +account.2.gruu.enable= +account.2.dial_tone= +account.2.call_id_mode= +account.2.subscribe_expires_overlap= +account.2.register_expires_overlap= +account.2.call_info= +account.2.custom_ua= +account.2.mwi_parse_terminated= +account.2.check_cseq.enable= +account.2.check_to_tag.enable= +account.2.vq_rtcpxr.collector_server_port= +account.2.vq_rtcpxr.collector_server_host= +account.2.vq_rtcpxr.collector_name= +account.2.compact_header_enable= +account.2.cp_source= 2 +account.2.cid_source_ppi= 1 +account.2.cid_source_privacy= 1 +account.2.reg_with_pani_header.enable = +account.2.alert_info= +account.2.picture_info_enable= 1 + +##V83 Add +account.2.invite_with_pani_header.enable = + +##V84 Add +account.2.invite_with_rpid_header.enable= + +account.2.auto_answer_mute_enable + +##V84 SP4 Add +account.2.share_line.enable_private_code = +account.2.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.2.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.2.timeout_fwd.off_code= +account.2.timeout_fwd.on_code= +account.2.timeout_fwd.timeout= +account.2.timeout_fwd.target= +account.2.timeout_fwd.enable= +account.2.busy_fwd.off_code= +account.2.busy_fwd.on_code= +account.2.busy_fwd.target= +account.2.busy_fwd.enable= +account.2.always_fwd.off_code= +account.2.always_fwd.on_code= +account.2.always_fwd.target= +account.2.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.2.dnd.enable= +account.2.dnd.off_code= +account.2.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= +account.2.subscribe_mwi= +account.2.subscribe_mwi_to_vm= +account.2.subscribe_mwi_expires= +account.2.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.2.auto_dial_enable= +account.2.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.2.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.2.dialplan.digitmap.enable= +account.2.dialplan.digitmap.string= +account.2.dialplan.digitmap.no_match_action= +account.2.dialplan.digitmap.interdigit_short_timer= +account.2.dialplan.digitmap.interdigit_long_timer= +account.2.dialplan.digitmap.apply_to.press_send= +account.2.dialplan.digitmap.apply_to.forward= +account.2.dialplan.digitmap.apply_to.history_dial= +account.2.dialplan.digitmap.apply_to.directory_dial= +account.2.dialplan.digitmap.apply_to.on_hook_dial= +account.2.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.2.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.2.blf.blf_list_uri= +account.2.blf_list_barge_in_code= +account.2.blf_list_code= +account.2.blf_list_retrieve_call_parked_code= +account.2.blf.subscribe_period= +account.2.blf.match_host.enable= +account.2.out_dialog_blf_enable= +account.2.blf.subscribe_event= + +##V84 Add +account.2.blf_list_call_parked_code= +account.2.blf_list_call_parked_list= + +##V84 SP4 ADD +account.2.blf_list_whisper_code= +account.2.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.2.shared_line= +account.2.line_seize.expires= +account.2.shared_line_one_touch_bargein.enable= +account.2.shared_line_one_touch_retrieve.enable= +account.2.sca_manage_interface_display_time= +account.2.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.2.bla_number= +account.2.bla_subscribe_period= +account.2.bla.notify_with_expire.enable= +account.2.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.2.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.2.acd.enable= 0 +account.2.acd.available= 0 +account.2.acd.unavailable_reason_enable= 0 +account.2.acd.initial_state= 1 +account.2.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.2.reason_code.1= +account.2.reason_code_name.1= 0 +account.2.bw_disp_code.1= +account.2.bw_disp_code_name.1= +account.2.supervisor_info_code.1= +account.2.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.2.call_center.call_info_enable= 0 +account.2.call_center.show_call_info_time= 30 +account.2.call_center.disp_code_enable= 0 +account.2.call_center.trace_enable= 0 +account.2.call_center.emergency_enable= 0 +account.2.call_center.queue_status_enable= 0 +account.2.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.2.hoteling.enable= 0 +account.2.hoteling.user_id= 0 +account.2.hoteling.password= 0 +account.2.hoteling.expires= 0 +account.2.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.2.xsi.user = +account.2.xsi.password = +account.2.xsi.host = +account.2.xsi.server_type = +account.2.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.2.direct_pickup_code = +account.2.group_pickup_code = +account.2.dialoginfo_callpickup = 0 +account.2.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.2.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.2.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.2.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.2.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.2.flexible_seating.enable= +account.2.hoteling.pin= +account.2.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.2.features.forward.feature_key_sync.local_processing.enable= +account.2.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.2.dnd.feature_key_sync.enable= +account.2.feature_key_sync.enable= +account.2.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.2.acd.available_url= +account.2.acd.away_url = +account.2.acd.refresh_url = +account.2.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Transfer ## +####################################################################################### +account.3.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.3.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.3.anonymous_call.server_base_only = +account.3.send_anonymous_rejection_code = +account.3.anonymous_reject_offcode = +account.3.anonymous_reject_oncode = +account.3.reject_anonymous_call= +account.3.anonymous_call_offcode = +account.3.anonymous_call_oncode = +account.3.anonymous_call = 0 +account.3.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.3.music_server_uri= +account.3.music_on_hold_type= +account.3.auto_label.rule= +account.3.auto_label.enable= +account.3.number_of_linekey= +account.3.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.3.codec.ilbc_15_2kbps.priority= +account.3.codec.ilbc_15_2kbps.enable= + +account.3.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.3.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.3.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.3.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.3.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.3.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.3.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.3.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.3.codec.opus.para= 106 + +account.3.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.3.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.3.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.3.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.3.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.3.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.3.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.3.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.3.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.3.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.3.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.3.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.3.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.3.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.3.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.3.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.3.codec.G722_1_24kpbs.priority= +account.3.codec.G722_1_24kpbs.enable= +account.3.codec.G722_1c_24kpbs.priority= +account.3.codec.G722_1c_24kpbs.enable= +account.3.codec.G722_1c_32kpbs.priority= +account.3.codec.G722_1c_32kpbs.enable= +account.3.codec.G722_1c_48kpbs.priority= +account.3.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account3 Register ## +################################################################ +{if isset($account.3.password) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} +account.3.label = {$account.3.display_name} +account.3.display_name = {$account.3.display_name} +account.3.auth_name = {$account.3.auth_id} + +{if isset($account.3.server.1.address)} +account.3.user_name = {$account.3.user_id}@{$account.3.server_address} +{else} +account.3.user_name = {$account.3.user_id} +{/if} + +account.3.password = {$account.3.password} +account.3.sip_server.1.address= {$account.3.server_address} +account.3.sip_server_port = {$account.3.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.3.sip_transport == 'udp'}account.3.sip_server.1.transport_type= = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.1.transport_type= = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.1.transport_type= = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.1.transport_type= = 3{/if} + +account.3.sip_server.1.expires= {$account.3.register_expires} +account.3.sip_server.1.retry_counts= 3 + +account.3.sip_server.2.address= {$account.3.server.2.address} +account.3.sip_server.2.port= {$account.3.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.3.sip_transport == 'udp'}account.3.sip_server.2.transport_type = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.2.transport_type = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.2.transport_type = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.2.transport_type = 3{/if} + +account.3.sip_server.2.expires= {$account.3.register_expires} +account.3.sip_server.2.retry_counts= 3 + +account.3.outbound_proxy_enable = {if isset($account.3.outbound_proxy_primary)}1{else}0{/if} + +account.3.outbound_proxy.1.address = {$account.3.outbound_proxy_primary} +account.3.outbound_proxy.2.address = {$account.3.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.3.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.3.outbound_proxy.1.port = {$account.3.sip_port} +{/if} + +account.3.outbound_proxy.2.address= {$account.3.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.3.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.3.outbound_proxy.2.port = {$account.3.sip_port} +{/if} + +account.3.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.3.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.3.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.3.nat.udp_update_enable= +account.3.nat.udp_update_time= +account.3.nat.rport= + +account.3.dtmf.type= {$yealink_dtmf_type} +account.3.dtmf.info_type= +account.3.dtmf.dtmf_payload= +account.3.100rel_enable= + +account.3.subscribe_register= +account.3.cid_source= {$yealink_cid_source} +account.3.enable_user_equal_phone= +account.3.srtp_encryption= {$yealink_srtp_encryption} +account.3.ptime= +account.3.register_line= +account.3.register_mac= +account.3.reg_fail_retry_interval= +account.3.unregister_on_reboot= + +account.3.session_timer.refresher= +account.3.session_timer.expires= +account.3.session_timer.enable= {$yealink_session_timer} + +account.3.conf_type= +account.3.sip_server_type= + +##V83 Add +account.3.srtp.unencrypted_rtcp.enable = +account.3.srtp.unencrypted_rtp.enable = +account.3.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.3.outbound_proxy.1.register_on_enable= +account.3.outbound_proxy.1.failback_timeout= +account.3.outbound_proxy.1.failback_mode= +account.3.outbound_proxy.1.retry_counts= +account.3.outbound_proxy.1.only_signal_with_registered= +account.3.outbound_proxy.1.failback_subscribe.enable= +account.3.outbound_proxy.1.invite_retry_counts= + +account.3.sip_server.1.register_on_enable= +account.3.sip_server.1.failback_timeout= +account.3.sip_server.1.failback_mode= +account.3.sip_server.1.failback_subscribe.enable= +account.3.sip_server.1.only_signal_with_registered= +account.3.sip_server.1.invite_retry_counts= + +account.3.outbound_proxy.2.register_on_enable= +account.3.outbound_proxy.2.failback_timeout= +account.3.outbound_proxy.2.failback_mode= +account.3.outbound_proxy.2.retry_counts= +account.3.outbound_proxy.2.only_signal_with_registered= +account.3.outbound_proxy.2.failback_subscribe.enable= +account.3.outbound_proxy.2.invite_retry_counts= + +account.3.sip_server.2.register_on_enable= +account.3.sip_server.2.failback_timeout= +account.3.sip_server.2.failback_mode= +account.3.sip_server.2.failback_subscribe.enable= +account.3.sip_server.2.only_signal_with_registered= +account.3.sip_server.2.invite_retry_counts= + +account.3.static_cache_pri= +account.3.dns_cache_type= +account.3.naptr_build= +account.3.fallback.timeout= +account.3.fallback.redundancy_type= +account.3.reg_failed_retry_max_time= +account.3.reg_failed_retry_min_time= +account.3.redundancy_with_reg_fail.enable = + +##V83 Add +account.3.sip_server.1.outbound_proxy_enable = +account.3.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.3.contact_take_line_param= +account.3.update_ack_while_dialing= +account.3.srtp_lifetime= +account.3.third_part_request_with_route.enable= +account.3.insert_outbound_in_route.enable= +account.3.path.enable= +account.3.sub_fail_retry_interval= +account.3.transfer_refer_to_contact_header.enable= +account.3.hold_use_inactive= +account.3.gruu.enable= +account.3.dial_tone= +account.3.call_id_mode= +account.3.subscribe_expires_overlap= +account.3.register_expires_overlap= +account.3.call_info= +account.3.custom_ua= +account.3.mwi_parse_terminated= +account.3.check_cseq.enable= +account.3.check_to_tag.enable= +account.3.vq_rtcpxr.collector_server_port= +account.3.vq_rtcpxr.collector_server_host= +account.3.vq_rtcpxr.collector_name= +account.3.compact_header_enable= +account.3.cp_source= 2 +account.3.cid_source_ppi= 1 +account.3.cid_source_privacy= 1 +account.3.reg_with_pani_header.enable = +account.3.alert_info= +account.3.picture_info_enable= 1 + +##V83 Add +account.3.invite_with_pani_header.enable = + +##V84 Add +account.3.invite_with_rpid_header.enable= + +account.3.auto_answer_mute_enable + +##V84 SP4 Add +account.3.share_line.enable_private_code = +account.3.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.3.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.3.timeout_fwd.off_code= +account.3.timeout_fwd.on_code= +account.3.timeout_fwd.timeout= +account.3.timeout_fwd.target= +account.3.timeout_fwd.enable= +account.3.busy_fwd.off_code= +account.3.busy_fwd.on_code= +account.3.busy_fwd.target= +account.3.busy_fwd.enable= +account.3.always_fwd.off_code= +account.3.always_fwd.on_code= +account.3.always_fwd.target= +account.3.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.3.dnd.enable= +account.3.dnd.off_code= +account.3.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= +account.3.subscribe_mwi= +account.3.subscribe_mwi_to_vm= +account.3.subscribe_mwi_expires= +account.3.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.3.auto_dial_enable= +account.3.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.3.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.3.dialplan.digitmap.enable= +account.3.dialplan.digitmap.string= +account.3.dialplan.digitmap.no_match_action= +account.3.dialplan.digitmap.interdigit_short_timer= +account.3.dialplan.digitmap.interdigit_long_timer= +account.3.dialplan.digitmap.apply_to.press_send= +account.3.dialplan.digitmap.apply_to.forward= +account.3.dialplan.digitmap.apply_to.history_dial= +account.3.dialplan.digitmap.apply_to.directory_dial= +account.3.dialplan.digitmap.apply_to.on_hook_dial= +account.3.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.3.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.3.blf.blf_list_uri= +account.3.blf_list_barge_in_code= +account.3.blf_list_code= +account.3.blf_list_retrieve_call_parked_code= +account.3.blf.subscribe_period= +account.3.blf.match_host.enable= +account.3.out_dialog_blf_enable= +account.3.blf.subscribe_event= + +##V84 Add +account.3.blf_list_call_parked_code= +account.3.blf_list_call_parked_list= + +##V84 SP4 ADD +account.3.blf_list_whisper_code= +account.3.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.3.shared_line= +account.3.line_seize.expires= +account.3.shared_line_one_touch_bargein.enable= +account.3.shared_line_one_touch_retrieve.enable= +account.3.sca_manage_interface_display_time= +account.3.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.3.bla_number= +account.3.bla_subscribe_period= +account.3.bla.notify_with_expire.enable= +account.3.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.3.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.3.acd.enable= 0 +account.3.acd.available= 0 +account.3.acd.unavailable_reason_enable= 0 +account.3.acd.initial_state= 1 +account.3.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.3.reason_code.1= +account.3.reason_code_name.1= 0 +account.3.bw_disp_code.1= +account.3.bw_disp_code_name.1= +account.3.supervisor_info_code.1= +account.3.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.3.call_center.call_info_enable= 0 +account.3.call_center.show_call_info_time= 30 +account.3.call_center.disp_code_enable= 0 +account.3.call_center.trace_enable= 0 +account.3.call_center.emergency_enable= 0 +account.3.call_center.queue_status_enable= 0 +account.3.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.3.hoteling.enable= 0 +account.3.hoteling.user_id= 0 +account.3.hoteling.password= 0 +account.3.hoteling.expires= 0 +account.3.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.3.xsi.user = +account.3.xsi.password = +account.3.xsi.host = +account.3.xsi.server_type = +account.3.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.3.direct_pickup_code = +account.3.group_pickup_code = +account.3.dialoginfo_callpickup = 0 +account.3.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.3.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.3.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.3.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.3.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.3.flexible_seating.enable= +account.3.hoteling.pin= +account.3.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.3.features.forward.feature_key_sync.local_processing.enable= +account.3.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.3.dnd.feature_key_sync.enable= +account.3.feature_key_sync.enable= +account.3.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.3.acd.available_url= +account.3.acd.away_url = +account.3.acd.refresh_url = +account.3.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Transfer ## +####################################################################################### +account.4.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.4.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.4.anonymous_call.server_base_only = +account.4.send_anonymous_rejection_code = +account.4.anonymous_reject_offcode = +account.4.anonymous_reject_oncode = +account.4.reject_anonymous_call= +account.4.anonymous_call_offcode = +account.4.anonymous_call_oncode = +account.4.anonymous_call = 0 +account.4.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.4.music_server_uri= +account.4.music_on_hold_type= +account.4.auto_label.rule= +account.4.auto_label.enable= +account.4.number_of_linekey= +account.4.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.4.codec.ilbc_15_2kbps.priority= +account.4.codec.ilbc_15_2kbps.enable= + +account.4.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.4.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.4.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.4.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.4.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.4.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.4.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.4.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.4.codec.opus.para= 106 + +account.4.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.4.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.4.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.4.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.4.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.4.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.4.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.4.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.4.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.4.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.4.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.4.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.4.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.4.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.4.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.4.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.4.codec.G722_1_24kpbs.priority= +account.4.codec.G722_1_24kpbs.enable= +account.4.codec.G722_1c_24kpbs.priority= +account.4.codec.G722_1c_24kpbs.enable= +account.4.codec.G722_1c_32kpbs.priority= +account.4.codec.G722_1c_32kpbs.enable= +account.4.codec.G722_1c_48kpbs.priority= +account.4.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account4 Register ## +################################################################ +{if isset($account.4.password) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} +account.4.label = {$account.4.display_name} +account.4.display_name = {$account.4.display_name} +account.4.auth_name = {$account.4.auth_id} + +{if isset($account.4.server.1.address)} +account.4.user_name = {$account.4.user_id}@{$account.4.server_address} +{else} +account.4.user_name = {$account.4.user_id} +{/if} + +account.4.password = {$account.4.password} +account.4.sip_server.1.address= {$account.4.server_address} +account.4.sip_server_port = {$account.4.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.4.sip_transport == 'udp'}account.4.sip_server.1.transport_type= = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.1.transport_type= = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.1.transport_type= = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.1.transport_type= = 3{/if} + +account.4.sip_server.1.expires= {$account.4.register_expires} +account.4.sip_server.1.retry_counts= 3 + +account.4.sip_server.2.address= {$account.4.server.2.address} +account.4.sip_server.2.port= {$account.4.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.4.sip_transport == 'udp'}account.4.sip_server.2.transport_type = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.2.transport_type = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.2.transport_type = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.2.transport_type = 3{/if} + +account.4.sip_server.2.expires= {$account.4.register_expires} +account.4.sip_server.2.retry_counts= 3 + +account.4.outbound_proxy_enable = {if isset($account.4.outbound_proxy_primary)}1{else}0{/if} + +account.4.outbound_proxy.1.address = {$account.4.outbound_proxy_primary} +account.4.outbound_proxy.2.address = {$account.4.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.4.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.4.outbound_proxy.1.port = {$account.4.sip_port} +{/if} + +account.4.outbound_proxy.2.address= {$account.4.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.4.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.4.outbound_proxy.2.port = {$account.4.sip_port} +{/if} + +account.4.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.4.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.4.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.4.nat.udp_update_enable= +account.4.nat.udp_update_time= +account.4.nat.rport= + +account.4.dtmf.type= {$yealink_dtmf_type} +account.4.dtmf.info_type= +account.4.dtmf.dtmf_payload= +account.4.100rel_enable= + +account.4.subscribe_register= +account.4.cid_source= {$yealink_cid_source} +account.4.enable_user_equal_phone= +account.4.srtp_encryption= {$yealink_srtp_encryption} +account.4.ptime= +account.4.register_line= +account.4.register_mac= +account.4.reg_fail_retry_interval= +account.4.unregister_on_reboot= + +account.4.session_timer.refresher= +account.4.session_timer.expires= +account.4.session_timer.enable= {$yealink_session_timer} + +account.4.conf_type= +account.4.sip_server_type= + +##V83 Add +account.4.srtp.unencrypted_rtcp.enable = +account.4.srtp.unencrypted_rtp.enable = +account.4.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.4.outbound_proxy.1.register_on_enable= +account.4.outbound_proxy.1.failback_timeout= +account.4.outbound_proxy.1.failback_mode= +account.4.outbound_proxy.1.retry_counts= +account.4.outbound_proxy.1.only_signal_with_registered= +account.4.outbound_proxy.1.failback_subscribe.enable= +account.4.outbound_proxy.1.invite_retry_counts= + +account.4.sip_server.1.register_on_enable= +account.4.sip_server.1.failback_timeout= +account.4.sip_server.1.failback_mode= +account.4.sip_server.1.failback_subscribe.enable= +account.4.sip_server.1.only_signal_with_registered= +account.4.sip_server.1.invite_retry_counts= + +account.4.outbound_proxy.2.register_on_enable= +account.4.outbound_proxy.2.failback_timeout= +account.4.outbound_proxy.2.failback_mode= +account.4.outbound_proxy.2.retry_counts= +account.4.outbound_proxy.2.only_signal_with_registered= +account.4.outbound_proxy.2.failback_subscribe.enable= +account.4.outbound_proxy.2.invite_retry_counts= + +account.4.sip_server.2.register_on_enable= +account.4.sip_server.2.failback_timeout= +account.4.sip_server.2.failback_mode= +account.4.sip_server.2.failback_subscribe.enable= +account.4.sip_server.2.only_signal_with_registered= +account.4.sip_server.2.invite_retry_counts= + +account.4.static_cache_pri= +account.4.dns_cache_type= +account.4.naptr_build= +account.4.fallback.timeout= +account.4.fallback.redundancy_type= +account.4.reg_failed_retry_max_time= +account.4.reg_failed_retry_min_time= +account.4.redundancy_with_reg_fail.enable = + +##V83 Add +account.4.sip_server.1.outbound_proxy_enable = +account.4.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.4.contact_take_line_param= +account.4.update_ack_while_dialing= +account.4.srtp_lifetime= +account.4.third_part_request_with_route.enable= +account.4.insert_outbound_in_route.enable= +account.4.path.enable= +account.4.sub_fail_retry_interval= +account.4.transfer_refer_to_contact_header.enable= +account.4.hold_use_inactive= +account.4.gruu.enable= +account.4.dial_tone= +account.4.call_id_mode= +account.4.subscribe_expires_overlap= +account.4.register_expires_overlap= +account.4.call_info= +account.4.custom_ua= +account.4.mwi_parse_terminated= +account.4.check_cseq.enable= +account.4.check_to_tag.enable= +account.4.vq_rtcpxr.collector_server_port= +account.4.vq_rtcpxr.collector_server_host= +account.4.vq_rtcpxr.collector_name= +account.4.compact_header_enable= +account.4.cp_source= 2 +account.4.cid_source_ppi= 1 +account.4.cid_source_privacy= 1 +account.4.reg_with_pani_header.enable = +account.4.alert_info= +account.4.picture_info_enable= 1 + +##V83 Add +account.4.invite_with_pani_header.enable = + +##V84 Add +account.4.invite_with_rpid_header.enable= + +account.4.auto_answer_mute_enable + +##V84 SP4 Add +account.4.share_line.enable_private_code = +account.4.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.4.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.4.timeout_fwd.off_code= +account.4.timeout_fwd.on_code= +account.4.timeout_fwd.timeout= +account.4.timeout_fwd.target= +account.4.timeout_fwd.enable= +account.4.busy_fwd.off_code= +account.4.busy_fwd.on_code= +account.4.busy_fwd.target= +account.4.busy_fwd.enable= +account.4.always_fwd.off_code= +account.4.always_fwd.on_code= +account.4.always_fwd.target= +account.4.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.4.dnd.enable= +account.4.dnd.off_code= +account.4.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= +account.4.subscribe_mwi= +account.4.subscribe_mwi_to_vm= +account.4.subscribe_mwi_expires= +account.4.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.4.auto_dial_enable= +account.4.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.4.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.4.dialplan.digitmap.enable= +account.4.dialplan.digitmap.string= +account.4.dialplan.digitmap.no_match_action= +account.4.dialplan.digitmap.interdigit_short_timer= +account.4.dialplan.digitmap.interdigit_long_timer= +account.4.dialplan.digitmap.apply_to.press_send= +account.4.dialplan.digitmap.apply_to.forward= +account.4.dialplan.digitmap.apply_to.history_dial= +account.4.dialplan.digitmap.apply_to.directory_dial= +account.4.dialplan.digitmap.apply_to.on_hook_dial= +account.4.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.4.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.4.blf.blf_list_uri= +account.4.blf_list_barge_in_code= +account.4.blf_list_code= +account.4.blf_list_retrieve_call_parked_code= +account.4.blf.subscribe_period= +account.4.blf.match_host.enable= +account.4.out_dialog_blf_enable= +account.4.blf.subscribe_event= + +##V84 Add +account.4.blf_list_call_parked_code= +account.4.blf_list_call_parked_list= + +##V84 SP4 ADD +account.4.blf_list_whisper_code= +account.4.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.4.shared_line= +account.4.line_seize.expires= +account.4.shared_line_one_touch_bargein.enable= +account.4.shared_line_one_touch_retrieve.enable= +account.4.sca_manage_interface_display_time= +account.4.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.4.bla_number= +account.4.bla_subscribe_period= +account.4.bla.notify_with_expire.enable= +account.4.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.4.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.4.acd.enable= 0 +account.4.acd.available= 0 +account.4.acd.unavailable_reason_enable= 0 +account.4.acd.initial_state= 1 +account.4.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.4.reason_code.1= +account.4.reason_code_name.1= 0 +account.4.bw_disp_code.1= +account.4.bw_disp_code_name.1= +account.4.supervisor_info_code.1= +account.4.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.4.call_center.call_info_enable= 0 +account.4.call_center.show_call_info_time= 30 +account.4.call_center.disp_code_enable= 0 +account.4.call_center.trace_enable= 0 +account.4.call_center.emergency_enable= 0 +account.4.call_center.queue_status_enable= 0 +account.4.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.4.hoteling.enable= 0 +account.4.hoteling.user_id= 0 +account.4.hoteling.password= 0 +account.4.hoteling.expires= 0 +account.4.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.4.xsi.user = +account.4.xsi.password = +account.4.xsi.host = +account.4.xsi.server_type = +account.4.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.4.direct_pickup_code = +account.4.group_pickup_code = +account.4.dialoginfo_callpickup = 0 +account.4.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.4.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.4.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.4.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.4.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.4.flexible_seating.enable= +account.4.hoteling.pin= +account.4.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.4.features.forward.feature_key_sync.local_processing.enable= +account.4.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.4.dnd.feature_key_sync.enable= +account.4.feature_key_sync.enable= +account.4.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.4.acd.available_url= +account.4.acd.away_url = +account.4.acd.refresh_url = +account.4.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Transfer ## +####################################################################################### +account.5.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.5.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.5.anonymous_call.server_base_only = +account.5.send_anonymous_rejection_code = +account.5.anonymous_reject_offcode = +account.5.anonymous_reject_oncode = +account.5.reject_anonymous_call= +account.5.anonymous_call_offcode = +account.5.anonymous_call_oncode = +account.5.anonymous_call = 0 +account.5.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.5.music_server_uri= +account.5.music_on_hold_type= +account.5.auto_label.rule= +account.5.auto_label.enable= +account.5.number_of_linekey= +account.5.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.5.codec.ilbc_15_2kbps.priority= +account.5.codec.ilbc_15_2kbps.enable= + +account.5.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.5.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.5.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.5.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.5.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.5.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.5.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.5.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.5.codec.opus.para= 106 + +account.5.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.5.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.5.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.5.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.5.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.5.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.5.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.5.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.5.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.5.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.5.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.5.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.5.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.5.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.5.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.5.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.5.codec.G722_1_24kpbs.priority= +account.5.codec.G722_1_24kpbs.enable= +account.5.codec.G722_1c_24kpbs.priority= +account.5.codec.G722_1c_24kpbs.enable= +account.5.codec.G722_1c_32kpbs.priority= +account.5.codec.G722_1c_32kpbs.enable= +account.5.codec.G722_1c_48kpbs.priority= +account.5.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account5 Register ## +################################################################ +{if isset($account.5.password) } +account.5.enable = 1 +{else} +account.5.enable = 0 +{/if} +account.5.label = {$account.5.display_name} +account.5.display_name = {$account.5.display_name} +account.5.auth_name = {$account.5.auth_id} + +{if isset($account.5.server.1.address)} +account.5.user_name = {$account.5.user_id}@{$account.5.server_address} +{else} +account.5.user_name = {$account.5.user_id} +{/if} + +account.5.password = {$account.5.password} +account.5.sip_server.1.address= {$account.5.server_address} +account.5.sip_server_port = {$account.5.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.5.sip_transport == 'udp'}account.5.sip_server.1.transport_type= = 0{/if} +{if $account.5.sip_transport == 'tcp'}account.5.sip_server.1.transport_type= = 1{/if} +{if $account.5.sip_transport == 'tls'}account.5.sip_server.1.transport_type= = 2{/if} +{if $account.5.sip_transport == 'dns srv'}account.5.sip_server.1.transport_type= = 3{/if} + +account.5.sip_server.1.expires= {$account.5.register_expires} +account.5.sip_server.1.retry_counts= 3 + +account.5.sip_server.2.address= {$account.5.server.2.address} +account.5.sip_server.2.port= {$account.5.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.5.sip_transport == 'udp'}account.5.sip_server.2.transport_type = 0{/if} +{if $account.5.sip_transport == 'tcp'}account.5.sip_server.2.transport_type = 1{/if} +{if $account.5.sip_transport == 'tls'}account.5.sip_server.2.transport_type = 2{/if} +{if $account.5.sip_transport == 'dns srv'}account.5.sip_server.2.transport_type = 3{/if} + +account.5.sip_server.2.expires= {$account.5.register_expires} +account.5.sip_server.2.retry_counts= 3 + +account.5.outbound_proxy_enable = {if isset($account.5.outbound_proxy_primary)}1{else}0{/if} + +account.5.outbound_proxy.1.address = {$account.5.outbound_proxy_primary} +account.5.outbound_proxy.2.address = {$account.5.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.5.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.5.outbound_proxy.1.port = {$account.5.sip_port} +{/if} + +account.5.outbound_proxy.2.address= {$account.5.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.5.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.5.outbound_proxy.2.port = {$account.5.sip_port} +{/if} + +account.5.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.5.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.5.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.5.nat.udp_update_enable= +account.5.nat.udp_update_time= +account.5.nat.rport= + +account.5.dtmf.type= {$yealink_dtmf_type} +account.5.dtmf.info_type= +account.5.dtmf.dtmf_payload= +account.5.100rel_enable= + +account.5.subscribe_register= +account.5.cid_source= {$yealink_cid_source} +account.5.enable_user_equal_phone= +account.5.srtp_encryption= {$yealink_srtp_encryption} +account.5.ptime= +account.5.register_line= +account.5.register_mac= +account.5.reg_fail_retry_interval= +account.5.unregister_on_reboot= + +account.5.session_timer.refresher= +account.5.session_timer.expires= +account.5.session_timer.enable= {$yealink_session_timer} + +account.5.conf_type= +account.5.sip_server_type= + +##V83 Add +account.5.srtp.unencrypted_rtcp.enable = +account.5.srtp.unencrypted_rtp.enable = +account.5.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.5.outbound_proxy.1.register_on_enable= +account.5.outbound_proxy.1.failback_timeout= +account.5.outbound_proxy.1.failback_mode= +account.5.outbound_proxy.1.retry_counts= +account.5.outbound_proxy.1.only_signal_with_registered= +account.5.outbound_proxy.1.failback_subscribe.enable= +account.5.outbound_proxy.1.invite_retry_counts= + +account.5.sip_server.1.register_on_enable= +account.5.sip_server.1.failback_timeout= +account.5.sip_server.1.failback_mode= +account.5.sip_server.1.failback_subscribe.enable= +account.5.sip_server.1.only_signal_with_registered= +account.5.sip_server.1.invite_retry_counts= + +account.5.outbound_proxy.2.register_on_enable= +account.5.outbound_proxy.2.failback_timeout= +account.5.outbound_proxy.2.failback_mode= +account.5.outbound_proxy.2.retry_counts= +account.5.outbound_proxy.2.only_signal_with_registered= +account.5.outbound_proxy.2.failback_subscribe.enable= +account.5.outbound_proxy.2.invite_retry_counts= + +account.5.sip_server.2.register_on_enable= +account.5.sip_server.2.failback_timeout= +account.5.sip_server.2.failback_mode= +account.5.sip_server.2.failback_subscribe.enable= +account.5.sip_server.2.only_signal_with_registered= +account.5.sip_server.2.invite_retry_counts= + +account.5.static_cache_pri= +account.5.dns_cache_type= +account.5.naptr_build= +account.5.fallback.timeout= +account.5.fallback.redundancy_type= +account.5.reg_failed_retry_max_time= +account.5.reg_failed_retry_min_time= +account.5.redundancy_with_reg_fail.enable = + +##V83 Add +account.5.sip_server.1.outbound_proxy_enable = +account.5.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.5.contact_take_line_param= +account.5.update_ack_while_dialing= +account.5.srtp_lifetime= +account.5.third_part_request_with_route.enable= +account.5.insert_outbound_in_route.enable= +account.5.path.enable= +account.5.sub_fail_retry_interval= +account.5.transfer_refer_to_contact_header.enable= +account.5.hold_use_inactive= +account.5.gruu.enable= +account.5.dial_tone= +account.5.call_id_mode= +account.5.subscribe_expires_overlap= +account.5.register_expires_overlap= +account.5.call_info= +account.5.custom_ua= +account.5.mwi_parse_terminated= +account.5.check_cseq.enable= +account.5.check_to_tag.enable= +account.5.vq_rtcpxr.collector_server_port= +account.5.vq_rtcpxr.collector_server_host= +account.5.vq_rtcpxr.collector_name= +account.5.compact_header_enable= +account.5.cp_source= 2 +account.5.cid_source_ppi= 1 +account.5.cid_source_privacy= 1 +account.5.reg_with_pani_header.enable = +account.5.alert_info= +account.5.picture_info_enable= 1 + +##V83 Add +account.5.invite_with_pani_header.enable = + +##V84 Add +account.5.invite_with_rpid_header.enable= + +account.5.auto_answer_mute_enable + +##V84 SP4 Add +account.5.share_line.enable_private_code = +account.5.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.5.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.5.timeout_fwd.off_code= +account.5.timeout_fwd.on_code= +account.5.timeout_fwd.timeout= +account.5.timeout_fwd.target= +account.5.timeout_fwd.enable= +account.5.busy_fwd.off_code= +account.5.busy_fwd.on_code= +account.5.busy_fwd.target= +account.5.busy_fwd.enable= +account.5.always_fwd.off_code= +account.5.always_fwd.on_code= +account.5.always_fwd.target= +account.5.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.5.dnd.enable= +account.5.dnd.off_code= +account.5.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= +account.5.subscribe_mwi= +account.5.subscribe_mwi_to_vm= +account.5.subscribe_mwi_expires= +account.5.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.5.auto_dial_enable= +account.5.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.5.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.5.dialplan.digitmap.enable= +account.5.dialplan.digitmap.string= +account.5.dialplan.digitmap.no_match_action= +account.5.dialplan.digitmap.interdigit_short_timer= +account.5.dialplan.digitmap.interdigit_long_timer= +account.5.dialplan.digitmap.apply_to.press_send= +account.5.dialplan.digitmap.apply_to.forward= +account.5.dialplan.digitmap.apply_to.history_dial= +account.5.dialplan.digitmap.apply_to.directory_dial= +account.5.dialplan.digitmap.apply_to.on_hook_dial= +account.5.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.5.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.5.blf.blf_list_uri= +account.5.blf_list_barge_in_code= +account.5.blf_list_code= +account.5.blf_list_retrieve_call_parked_code= +account.5.blf.subscribe_period= +account.5.blf.match_host.enable= +account.5.out_dialog_blf_enable= +account.5.blf.subscribe_event= + +##V84 Add +account.5.blf_list_call_parked_code= +account.5.blf_list_call_parked_list= + +##V84 SP4 ADD +account.5.blf_list_whisper_code= +account.5.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.5.shared_line= +account.5.line_seize.expires= +account.5.shared_line_one_touch_bargein.enable= +account.5.shared_line_one_touch_retrieve.enable= +account.5.sca_manage_interface_display_time= +account.5.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.5.bla_number= +account.5.bla_subscribe_period= +account.5.bla.notify_with_expire.enable= +account.5.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.5.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.5.acd.enable= 0 +account.5.acd.available= 0 +account.5.acd.unavailable_reason_enable= 0 +account.5.acd.initial_state= 1 +account.5.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.5.reason_code.1= +account.5.reason_code_name.1= 0 +account.5.bw_disp_code.1= +account.5.bw_disp_code_name.1= +account.5.supervisor_info_code.1= +account.5.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.5.call_center.call_info_enable= 0 +account.5.call_center.show_call_info_time= 30 +account.5.call_center.disp_code_enable= 0 +account.5.call_center.trace_enable= 0 +account.5.call_center.emergency_enable= 0 +account.5.call_center.queue_status_enable= 0 +account.5.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.5.hoteling.enable= 0 +account.5.hoteling.user_id= 0 +account.5.hoteling.password= 0 +account.5.hoteling.expires= 0 +account.5.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.5.xsi.user = +account.5.xsi.password = +account.5.xsi.host = +account.5.xsi.server_type = +account.5.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.5.direct_pickup_code = +account.5.group_pickup_code = +account.5.dialoginfo_callpickup = 0 +account.5.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.5.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.5.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.5.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.5.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.5.flexible_seating.enable= +account.5.hoteling.pin= +account.5.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.5.features.forward.feature_key_sync.local_processing.enable= +account.5.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.5.dnd.feature_key_sync.enable= +account.5.feature_key_sync.enable= +account.5.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.5.acd.available_url= +account.5.acd.away_url = +account.5.acd.refresh_url = +account.5.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Transfer ## +####################################################################################### +account.6.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.6.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.6.anonymous_call.server_base_only = +account.6.send_anonymous_rejection_code = +account.6.anonymous_reject_offcode = +account.6.anonymous_reject_oncode = +account.6.reject_anonymous_call= +account.6.anonymous_call_offcode = +account.6.anonymous_call_oncode = +account.6.anonymous_call = 0 +account.6.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.6.music_server_uri= +account.6.music_on_hold_type= +account.6.auto_label.rule= +account.6.auto_label.enable= +account.6.number_of_linekey= +account.6.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.6.codec.ilbc_15_2kbps.priority= +account.6.codec.ilbc_15_2kbps.enable= + +account.6.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.6.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.6.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.6.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.6.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.6.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.6.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.6.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.6.codec.opus.para= 106 + +account.6.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.6.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.6.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.6.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.6.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.6.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.6.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.6.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.6.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.6.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.6.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.6.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.6.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.6.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.6.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.6.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.6.codec.G722_1_24kpbs.priority= +account.6.codec.G722_1_24kpbs.enable= +account.6.codec.G722_1c_24kpbs.priority= +account.6.codec.G722_1c_24kpbs.enable= +account.6.codec.G722_1c_32kpbs.priority= +account.6.codec.G722_1c_32kpbs.enable= +account.6.codec.G722_1c_48kpbs.priority= +account.6.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account6 Register ## +################################################################ +{if isset($account.6.password) } +account.6.enable = 1 +{else} +account.6.enable = 0 +{/if} +account.6.label = {$account.6.display_name} +account.6.display_name = {$account.6.display_name} +account.6.auth_name = {$account.6.auth_id} + +{if isset($account.6.server.1.address)} +account.6.user_name = {$account.6.user_id}@{$account.6.server_address} +{else} +account.6.user_name = {$account.6.user_id} +{/if} + +account.6.password = {$account.6.password} +account.6.sip_server.1.address= {$account.6.server_address} +account.6.sip_server_port = {$account.6.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.6.sip_transport == 'udp'}account.6.sip_server.1.transport_type= = 0{/if} +{if $account.6.sip_transport == 'tcp'}account.6.sip_server.1.transport_type= = 1{/if} +{if $account.6.sip_transport == 'tls'}account.6.sip_server.1.transport_type= = 2{/if} +{if $account.6.sip_transport == 'dns srv'}account.6.sip_server.1.transport_type= = 3{/if} + +account.6.sip_server.1.expires= {$account.6.register_expires} +account.6.sip_server.1.retry_counts= 3 + +account.6.sip_server.2.address= {$account.6.server.2.address} +account.6.sip_server.2.port= {$account.6.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.6.sip_transport == 'udp'}account.6.sip_server.2.transport_type = 0{/if} +{if $account.6.sip_transport == 'tcp'}account.6.sip_server.2.transport_type = 1{/if} +{if $account.6.sip_transport == 'tls'}account.6.sip_server.2.transport_type = 2{/if} +{if $account.6.sip_transport == 'dns srv'}account.6.sip_server.2.transport_type = 3{/if} + +account.6.sip_server.2.expires= {$account.6.register_expires} +account.6.sip_server.2.retry_counts= 3 + +account.6.outbound_proxy_enable = {if isset($account.6.outbound_proxy_primary)}1{else}0{/if} + +account.6.outbound_proxy.1.address = {$account.6.outbound_proxy_primary} +account.6.outbound_proxy.2.address = {$account.6.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.6.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.6.outbound_proxy.1.port = {$account.6.sip_port} +{/if} + +account.6.outbound_proxy.2.address= {$account.6.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.6.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.6.outbound_proxy.2.port = {$account.6.sip_port} +{/if} + +account.6.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.6.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.6.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.6.nat.udp_update_enable= +account.6.nat.udp_update_time= +account.6.nat.rport= + +account.6.dtmf.type= {$yealink_dtmf_type} +account.6.dtmf.info_type= +account.6.dtmf.dtmf_payload= +account.6.100rel_enable= + +account.6.subscribe_register= +account.6.cid_source= {$yealink_cid_source} +account.6.enable_user_equal_phone= +account.6.srtp_encryption= {$yealink_srtp_encryption} +account.6.ptime= +account.6.register_line= +account.6.register_mac= +account.6.reg_fail_retry_interval= +account.6.unregister_on_reboot= + +account.6.session_timer.refresher= +account.6.session_timer.expires= +account.6.session_timer.enable= {$yealink_session_timer} + +account.6.conf_type= +account.6.sip_server_type= + +##V83 Add +account.6.srtp.unencrypted_rtcp.enable = +account.6.srtp.unencrypted_rtp.enable = +account.6.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.6.outbound_proxy.1.register_on_enable= +account.6.outbound_proxy.1.failback_timeout= +account.6.outbound_proxy.1.failback_mode= +account.6.outbound_proxy.1.retry_counts= +account.6.outbound_proxy.1.only_signal_with_registered= +account.6.outbound_proxy.1.failback_subscribe.enable= +account.6.outbound_proxy.1.invite_retry_counts= + +account.6.sip_server.1.register_on_enable= +account.6.sip_server.1.failback_timeout= +account.6.sip_server.1.failback_mode= +account.6.sip_server.1.failback_subscribe.enable= +account.6.sip_server.1.only_signal_with_registered= +account.6.sip_server.1.invite_retry_counts= + +account.6.outbound_proxy.2.register_on_enable= +account.6.outbound_proxy.2.failback_timeout= +account.6.outbound_proxy.2.failback_mode= +account.6.outbound_proxy.2.retry_counts= +account.6.outbound_proxy.2.only_signal_with_registered= +account.6.outbound_proxy.2.failback_subscribe.enable= +account.6.outbound_proxy.2.invite_retry_counts= + +account.6.sip_server.2.register_on_enable= +account.6.sip_server.2.failback_timeout= +account.6.sip_server.2.failback_mode= +account.6.sip_server.2.failback_subscribe.enable= +account.6.sip_server.2.only_signal_with_registered= +account.6.sip_server.2.invite_retry_counts= + +account.6.static_cache_pri= +account.6.dns_cache_type= +account.6.naptr_build= +account.6.fallback.timeout= +account.6.fallback.redundancy_type= +account.6.reg_failed_retry_max_time= +account.6.reg_failed_retry_min_time= +account.6.redundancy_with_reg_fail.enable = + +##V83 Add +account.6.sip_server.1.outbound_proxy_enable = +account.6.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.6.contact_take_line_param= +account.6.update_ack_while_dialing= +account.6.srtp_lifetime= +account.6.third_part_request_with_route.enable= +account.6.insert_outbound_in_route.enable= +account.6.path.enable= +account.6.sub_fail_retry_interval= +account.6.transfer_refer_to_contact_header.enable= +account.6.hold_use_inactive= +account.6.gruu.enable= +account.6.dial_tone= +account.6.call_id_mode= +account.6.subscribe_expires_overlap= +account.6.register_expires_overlap= +account.6.call_info= +account.6.custom_ua= +account.6.mwi_parse_terminated= +account.6.check_cseq.enable= +account.6.check_to_tag.enable= +account.6.vq_rtcpxr.collector_server_port= +account.6.vq_rtcpxr.collector_server_host= +account.6.vq_rtcpxr.collector_name= +account.6.compact_header_enable= +account.6.cp_source= 2 +account.6.cid_source_ppi= 1 +account.6.cid_source_privacy= 1 +account.6.reg_with_pani_header.enable = +account.6.alert_info= +account.6.picture_info_enable= 1 + +##V83 Add +account.6.invite_with_pani_header.enable = + +##V84 Add +account.6.invite_with_rpid_header.enable= + +account.6.auto_answer_mute_enable + +##V84 SP4 Add +account.6.share_line.enable_private_code = +account.6.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.6.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.6.timeout_fwd.off_code= +account.6.timeout_fwd.on_code= +account.6.timeout_fwd.timeout= +account.6.timeout_fwd.target= +account.6.timeout_fwd.enable= +account.6.busy_fwd.off_code= +account.6.busy_fwd.on_code= +account.6.busy_fwd.target= +account.6.busy_fwd.enable= +account.6.always_fwd.off_code= +account.6.always_fwd.on_code= +account.6.always_fwd.target= +account.6.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.6.dnd.enable= +account.6.dnd.off_code= +account.6.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= +account.6.subscribe_mwi= +account.6.subscribe_mwi_to_vm= +account.6.subscribe_mwi_expires= +account.6.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.6.auto_dial_enable= +account.6.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.6.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.6.dialplan.digitmap.enable= +account.6.dialplan.digitmap.string= +account.6.dialplan.digitmap.no_match_action= +account.6.dialplan.digitmap.interdigit_short_timer= +account.6.dialplan.digitmap.interdigit_long_timer= +account.6.dialplan.digitmap.apply_to.press_send= +account.6.dialplan.digitmap.apply_to.forward= +account.6.dialplan.digitmap.apply_to.history_dial= +account.6.dialplan.digitmap.apply_to.directory_dial= +account.6.dialplan.digitmap.apply_to.on_hook_dial= +account.6.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.6.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.6.blf.blf_list_uri= +account.6.blf_list_barge_in_code= +account.6.blf_list_code= +account.6.blf_list_retrieve_call_parked_code= +account.6.blf.subscribe_period= +account.6.blf.match_host.enable= +account.6.out_dialog_blf_enable= +account.6.blf.subscribe_event= + +##V84 Add +account.6.blf_list_call_parked_code= +account.6.blf_list_call_parked_list= + +##V84 SP4 ADD +account.6.blf_list_whisper_code= +account.6.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.6.shared_line= +account.6.line_seize.expires= +account.6.shared_line_one_touch_bargein.enable= +account.6.shared_line_one_touch_retrieve.enable= +account.6.sca_manage_interface_display_time= +account.6.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.6.bla_number= +account.6.bla_subscribe_period= +account.6.bla.notify_with_expire.enable= +account.6.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.6.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.6.acd.enable= 0 +account.6.acd.available= 0 +account.6.acd.unavailable_reason_enable= 0 +account.6.acd.initial_state= 1 +account.6.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.6.reason_code.1= +account.6.reason_code_name.1= 0 +account.6.bw_disp_code.1= +account.6.bw_disp_code_name.1= +account.6.supervisor_info_code.1= +account.6.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.6.call_center.call_info_enable= 0 +account.6.call_center.show_call_info_time= 30 +account.6.call_center.disp_code_enable= 0 +account.6.call_center.trace_enable= 0 +account.6.call_center.emergency_enable= 0 +account.6.call_center.queue_status_enable= 0 +account.6.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.6.hoteling.enable= 0 +account.6.hoteling.user_id= 0 +account.6.hoteling.password= 0 +account.6.hoteling.expires= 0 +account.6.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.6.xsi.user = +account.6.xsi.password = +account.6.xsi.host = +account.6.xsi.server_type = +account.6.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.6.direct_pickup_code = +account.6.group_pickup_code = +account.6.dialoginfo_callpickup = 0 +account.6.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.6.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.6.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.6.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.6.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.6.flexible_seating.enable= +account.6.hoteling.pin= +account.6.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.6.features.forward.feature_key_sync.local_processing.enable= +account.6.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.6.dnd.feature_key_sync.enable= +account.6.feature_key_sync.enable= +account.6.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.6.acd.available_url= +account.6.acd.away_url = +account.6.acd.refresh_url = +account.6.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= From c40190081a7d585f24b43f3537f66a32648c715e Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 13 Oct 2020 22:04:42 -0400 Subject: [PATCH 058/677] Update {$mac}.cfg --- .../provision/yealink/t43u/{$mac}.cfg | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/resources/templates/provision/yealink/t43u/{$mac}.cfg b/resources/templates/provision/yealink/t43u/{$mac}.cfg index 1cc9663300..b1003f98d2 100644 --- a/resources/templates/provision/yealink/t43u/{$mac}.cfg +++ b/resources/templates/provision/yealink/t43u/{$mac}.cfg @@ -130,10 +130,10 @@ account.1.sip_server_port = {$account.1.sip_port} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.1.sip_transport == 'udp'}account.1.sip_server.1.transport_type= = 0{/if} -{if $account.1.sip_transport == 'tcp'}account.1.sip_server.1.transport_type= = 1{/if} -{if $account.1.sip_transport == 'tls'}account.1.sip_server.1.transport_type= = 2{/if} -{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.1.transport_type= = 3{/if} +{if $account.1.sip_transport == 'udp'}account.1.sip_server.1.transport_type = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.1.transport_type = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.1.transport_type = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.1.transport_type = 3{/if} account.1.sip_server.1.expires= {$account.1.register_expires} account.1.sip_server.1.retry_counts= 3 @@ -698,10 +698,10 @@ account.2.sip_server_port = {$account.2.sip_port} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.2.sip_transport == 'udp'}account.2.sip_server.1.transport_type= = 0{/if} -{if $account.2.sip_transport == 'tcp'}account.2.sip_server.1.transport_type= = 1{/if} -{if $account.2.sip_transport == 'tls'}account.2.sip_server.1.transport_type= = 2{/if} -{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.1.transport_type= = 3{/if} +{if $account.2.sip_transport == 'udp'}account.2.sip_server.1.transport_type = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.1.transport_type = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.1.transport_type = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.1.transport_type = 3{/if} account.2.sip_server.1.expires= {$account.2.register_expires} account.2.sip_server.1.retry_counts= 3 @@ -1266,10 +1266,10 @@ account.3.sip_server_port = {$account.3.sip_port} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.3.sip_transport == 'udp'}account.3.sip_server.1.transport_type= = 0{/if} -{if $account.3.sip_transport == 'tcp'}account.3.sip_server.1.transport_type= = 1{/if} -{if $account.3.sip_transport == 'tls'}account.3.sip_server.1.transport_type= = 2{/if} -{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.1.transport_type= = 3{/if} +{if $account.3.sip_transport == 'udp'}account.3.sip_server.1.transport_type = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.1.transport_type = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.1.transport_type = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.1.transport_type = 3{/if} account.3.sip_server.1.expires= {$account.3.register_expires} account.3.sip_server.1.retry_counts= 3 @@ -1834,10 +1834,10 @@ account.4.sip_server_port = {$account.4.sip_port} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.4.sip_transport == 'udp'}account.4.sip_server.1.transport_type= = 0{/if} -{if $account.4.sip_transport == 'tcp'}account.4.sip_server.1.transport_type= = 1{/if} -{if $account.4.sip_transport == 'tls'}account.4.sip_server.1.transport_type= = 2{/if} -{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.1.transport_type= = 3{/if} +{if $account.4.sip_transport == 'udp'}account.4.sip_server.1.transport_type = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.1.transport_type = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.1.transport_type = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.1.transport_type = 3{/if} account.4.sip_server.1.expires= {$account.4.register_expires} account.4.sip_server.1.retry_counts= 3 @@ -2402,10 +2402,10 @@ account.5.sip_server_port = {$account.5.sip_port} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.5.sip_transport == 'udp'}account.5.sip_server.1.transport_type= = 0{/if} -{if $account.5.sip_transport == 'tcp'}account.5.sip_server.1.transport_type= = 1{/if} -{if $account.5.sip_transport == 'tls'}account.5.sip_server.1.transport_type= = 2{/if} -{if $account.5.sip_transport == 'dns srv'}account.5.sip_server.1.transport_type= = 3{/if} +{if $account.5.sip_transport == 'udp'}account.5.sip_server.1.transport_type = 0{/if} +{if $account.5.sip_transport == 'tcp'}account.5.sip_server.1.transport_type = 1{/if} +{if $account.5.sip_transport == 'tls'}account.5.sip_server.1.transport_type = 2{/if} +{if $account.5.sip_transport == 'dns srv'}account.5.sip_server.1.transport_type = 3{/if} account.5.sip_server.1.expires= {$account.5.register_expires} account.5.sip_server.1.retry_counts= 3 @@ -2970,10 +2970,10 @@ account.6.sip_server_port = {$account.6.sip_port} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.6.sip_transport == 'udp'}account.6.sip_server.1.transport_type= = 0{/if} -{if $account.6.sip_transport == 'tcp'}account.6.sip_server.1.transport_type= = 1{/if} -{if $account.6.sip_transport == 'tls'}account.6.sip_server.1.transport_type= = 2{/if} -{if $account.6.sip_transport == 'dns srv'}account.6.sip_server.1.transport_type= = 3{/if} +{if $account.6.sip_transport == 'udp'}account.6.sip_server.1.transport_type = 0{/if} +{if $account.6.sip_transport == 'tcp'}account.6.sip_server.1.transport_type = 1{/if} +{if $account.6.sip_transport == 'tls'}account.6.sip_server.1.transport_type = 2{/if} +{if $account.6.sip_transport == 'dns srv'}account.6.sip_server.1.transport_type = 3{/if} account.6.sip_server.1.expires= {$account.6.register_expires} account.6.sip_server.1.retry_counts= 3 From ef7e58d309ffa4eb525935f1ab8b500238e8e968 Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 13 Oct 2020 22:22:43 -0400 Subject: [PATCH 059/677] Update {$mac}.cfg --- resources/templates/provision/yealink/t43u/{$mac}.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/templates/provision/yealink/t43u/{$mac}.cfg b/resources/templates/provision/yealink/t43u/{$mac}.cfg index b1003f98d2..eebca7a25d 100644 --- a/resources/templates/provision/yealink/t43u/{$mac}.cfg +++ b/resources/templates/provision/yealink/t43u/{$mac}.cfg @@ -343,10 +343,10 @@ account.1.dnd.on_code= ####################################################################################### ## Voice Mail ## ####################################################################################### -voice_mail.number.1= -account.1.subscribe_mwi= -account.1.subscribe_mwi_to_vm= -account.1.subscribe_mwi_expires= +voice_mail.number.1= {$voicemail_number} +account.1.subscribe_mwi= 1 +account.1.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.1.subscribe_mwi_expires= 3600 account.1.display_mwi.enable= ####################################################################################### From aec6e1e2fbd932162d9b6575f72a02df1d969438 Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 13 Oct 2020 22:28:28 -0400 Subject: [PATCH 060/677] Update {$mac}.cfg --- .../provision/yealink/t43u/{$mac}.cfg | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/resources/templates/provision/yealink/t43u/{$mac}.cfg b/resources/templates/provision/yealink/t43u/{$mac}.cfg index eebca7a25d..8c44d5f1e3 100644 --- a/resources/templates/provision/yealink/t43u/{$mac}.cfg +++ b/resources/templates/provision/yealink/t43u/{$mac}.cfg @@ -911,10 +911,10 @@ account.2.dnd.on_code= ####################################################################################### ## Voice Mail ## ####################################################################################### -voice_mail.number.1= -account.2.subscribe_mwi= -account.2.subscribe_mwi_to_vm= -account.2.subscribe_mwi_expires= +voice_mail.number.1= {$voicemail_number} +account.2.subscribe_mwi= 1 +account.2.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.2.subscribe_mwi_expires= 3600 account.2.display_mwi.enable= ####################################################################################### @@ -1479,10 +1479,10 @@ account.3.dnd.on_code= ####################################################################################### ## Voice Mail ## ####################################################################################### -voice_mail.number.1= -account.3.subscribe_mwi= -account.3.subscribe_mwi_to_vm= -account.3.subscribe_mwi_expires= +voice_mail.number.1= {$voicemail_number} +account.3.subscribe_mwi= 1 +account.3.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.3.subscribe_mwi_expires= 3600 account.3.display_mwi.enable= ####################################################################################### @@ -2047,10 +2047,10 @@ account.4.dnd.on_code= ####################################################################################### ## Voice Mail ## ####################################################################################### -voice_mail.number.1= -account.4.subscribe_mwi= -account.4.subscribe_mwi_to_vm= -account.4.subscribe_mwi_expires= +voice_mail.number.1= {$voicemail_number} +account.4.subscribe_mwi= 1 +account.4.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.4.subscribe_mwi_expires= 3600 account.4.display_mwi.enable= ####################################################################################### @@ -2615,10 +2615,10 @@ account.5.dnd.on_code= ####################################################################################### ## Voice Mail ## ####################################################################################### -voice_mail.number.1= -account.5.subscribe_mwi= -account.5.subscribe_mwi_to_vm= -account.5.subscribe_mwi_expires= +voice_mail.number.1= {$voicemail_number} +account.5.subscribe_mwi= 1 +account.5.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.5.subscribe_mwi_expires= 3600 account.5.display_mwi.enable= ####################################################################################### @@ -3183,10 +3183,10 @@ account.6.dnd.on_code= ####################################################################################### ## Voice Mail ## ####################################################################################### -voice_mail.number.1= -account.6.subscribe_mwi= -account.6.subscribe_mwi_to_vm= -account.6.subscribe_mwi_expires= +voice_mail.number.1= {$voicemail_number} +account.6.subscribe_mwi= 1 +account.6.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.6.subscribe_mwi_expires= 3600 account.6.display_mwi.enable= ####################################################################################### From e833ede8835f0bd3944d5625a432adfb0d75d38d Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 13 Oct 2020 22:31:30 -0400 Subject: [PATCH 061/677] Update {$mac}.cfg --- .../templates/provision/yealink/t43u/{$mac}.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/templates/provision/yealink/t43u/{$mac}.cfg b/resources/templates/provision/yealink/t43u/{$mac}.cfg index 8c44d5f1e3..4a54ed3663 100644 --- a/resources/templates/provision/yealink/t43u/{$mac}.cfg +++ b/resources/templates/provision/yealink/t43u/{$mac}.cfg @@ -185,7 +185,7 @@ account.1.auto_answer= ################################################################ account.1.nat.udp_update_enable= account.1.nat.udp_update_time= -account.1.nat.rport= +account.1.nat.rport= {$yealink_rport} account.1.dtmf.type= {$yealink_dtmf_type} account.1.dtmf.info_type= @@ -753,7 +753,7 @@ account.2.auto_answer= ################################################################ account.2.nat.udp_update_enable= account.2.nat.udp_update_time= -account.2.nat.rport= +account.2.nat.rport= {$yealink_rport} account.2.dtmf.type= {$yealink_dtmf_type} account.2.dtmf.info_type= @@ -1321,7 +1321,7 @@ account.3.auto_answer= ################################################################ account.3.nat.udp_update_enable= account.3.nat.udp_update_time= -account.3.nat.rport= +account.3.nat.rport= {$yealink_rport} account.3.dtmf.type= {$yealink_dtmf_type} account.3.dtmf.info_type= @@ -1889,7 +1889,7 @@ account.4.auto_answer= ################################################################ account.4.nat.udp_update_enable= account.4.nat.udp_update_time= -account.4.nat.rport= +account.4.nat.rport= {$yealink_rport} account.4.dtmf.type= {$yealink_dtmf_type} account.4.dtmf.info_type= @@ -2457,7 +2457,7 @@ account.5.auto_answer= ################################################################ account.5.nat.udp_update_enable= account.5.nat.udp_update_time= -account.5.nat.rport= +account.5.nat.rport= {$yealink_rport} account.5.dtmf.type= {$yealink_dtmf_type} account.5.dtmf.info_type= @@ -3025,7 +3025,7 @@ account.6.auto_answer= ################################################################ account.6.nat.udp_update_enable= account.6.nat.udp_update_time= -account.6.nat.rport= +account.6.nat.rport= {$yealink_rport} account.6.dtmf.type= {$yealink_dtmf_type} account.6.dtmf.info_type= From a25a9dd0e24372048b57502f2acee0e64d936e97 Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 14 Oct 2020 11:22:46 -0400 Subject: [PATCH 062/677] phonebook --- resources/templates/provision/grandstream/grp2615/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2615/{$mac}.xml b/resources/templates/provision/grandstream/grp2615/{$mac}.xml index 7e37af59d2..1bd69836d5 100644 --- a/resources/templates/provision/grandstream/grp2615/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2615/{$mac}.xml @@ -7488,7 +7488,7 @@ {$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} +{assign var=key_types value=["none"=>-1,"phonebook"=>30,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} {for $line=1 to 6} {$pid=$line*2-2} From 0b9c3ca108034f3ffd95ccdcff5dd86cb1eb26cf Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 14 Oct 2020 11:25:44 -0400 Subject: [PATCH 063/677] Update {$mac}.xml --- resources/templates/provision/grandstream/grp2616/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2616/{$mac}.xml b/resources/templates/provision/grandstream/grp2616/{$mac}.xml index db7a8d83d9..efb9fc2ef2 100644 --- a/resources/templates/provision/grandstream/grp2616/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2616/{$mac}.xml @@ -8466,7 +8466,7 @@ {$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} +{assign var=key_types value=["none"=>-1,"phonebook"=>30,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} {for $line=1 to 6} {$pid=$line*2-2} From 6d591e4b9d600b60a4722245a3639dd7356d1a76 Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 14 Oct 2020 11:28:25 -0400 Subject: [PATCH 064/677] phonebook --- resources/templates/provision/grandstream/grp2613/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2613/{$mac}.xml b/resources/templates/provision/grandstream/grp2613/{$mac}.xml index c5890b3ba7..113de1258a 100644 --- a/resources/templates/provision/grandstream/grp2613/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2613/{$mac}.xml @@ -5234,7 +5234,7 @@ {$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} +{assign var=key_types value=["none"=>-1,"phonebook"=>30,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} {for $line=1 to 6} {$pid=$line*2-2} From b6779978d094276ae2b3414a8303b6b6114beb9f Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 14 Oct 2020 11:29:17 -0400 Subject: [PATCH 065/677] Update {$mac}.xml --- resources/templates/provision/grandstream/grp2612w/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml index 3a9f3d09cc..5b3e26f4cd 100644 --- a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml @@ -4503,7 +4503,7 @@ {$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} +{assign var=key_types value=["none"=>-1,"phonebook"=>30,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} {for $line=1 to 6} {$pid=$line*2-2} From 72730730187bb5788af641fe68442df7a647780f Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 14 Oct 2020 11:30:36 -0400 Subject: [PATCH 066/677] phonebook --- resources/templates/provision/grandstream/grp2612/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp2612/{$mac}.xml b/resources/templates/provision/grandstream/grp2612/{$mac}.xml index 813079b683..26f623e5fd 100644 --- a/resources/templates/provision/grandstream/grp2612/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612/{$mac}.xml @@ -4408,7 +4408,7 @@ {$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} +{assign var=key_types value=["none"=>-1,"phonebook"=>30,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} {for $line=1 to 6} {$pid=$line*2-2} From 12b09a0a3d9258a9955b17cd1157686e6ccfc8c1 Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 14 Oct 2020 12:25:41 -0400 Subject: [PATCH 067/677] phonebook --- resources/templates/provision/grandstream/grp26xx/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml index c45fbbf183..3532664e4b 100644 --- a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml @@ -7796,7 +7796,7 @@ {if $template == "grandstream/grp2615"}{$fixed_keys=10}{/if} {$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>31,"sharedline"=>32,"speeddial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17,"dnd"=>22]} +{assign var=key_types value=["none"=>-1,"phonebook"=>30,"line"=>31,"shared line"=>32,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17,"dnd"=>22]} {for $line=1 to 6} {$pid=$line*2-2} From 9550ea7c051b349d2f49121f85f58ef189e29a24 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 14 Oct 2020 14:13:51 -0600 Subject: [PATCH 068/677] Operator Panel: Implement adjustable refresh rate. --- app/basic_operator_panel/app_config.php | 13 ++++++++++++- app/basic_operator_panel/index.php | 18 +++++++++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/app/basic_operator_panel/app_config.php b/app/basic_operator_panel/app_config.php index dba39c97a0..ab1473f8ab 100644 --- a/app/basic_operator_panel/app_config.php +++ b/app/basic_operator_panel/app_config.php @@ -57,4 +57,15 @@ $y++; $apps[$x]['permissions'][$y]['name'] = "operator_panel_on_demand"; -?> + //default settings + $y=0; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "569280f2-a433-4eaf-9c08-945efdc6cf8f"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "operator_panel"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "refresh"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "1500"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the refresh rate in seconds (<=120) or milliseconds (>=500)."; + $y++; + +?> \ No newline at end of file diff --git a/app/basic_operator_panel/index.php b/app/basic_operator_panel/index.php index a163b0ca26..b8fcbd425e 100644 --- a/app/basic_operator_panel/index.php +++ b/app/basic_operator_panel/index.php @@ -185,8 +185,24 @@ \n"; + } + } echo "\n"; From 959a70c16302c9731a79ac0b5ca022eb9baf840f Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 20 Oct 2020 13:14:09 -0600 Subject: [PATCH 085/677] Devices - Import: Fix file upload. --- app/devices/device_imports.php | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/app/devices/device_imports.php b/app/devices/device_imports.php index b361629819..460c07bf9c 100644 --- a/app/devices/device_imports.php +++ b/app/devices/device_imports.php @@ -66,25 +66,24 @@ //save the data to the csv file if (isset($_POST['data'])) { $file = $_SESSION['server']['temp']['dir']."/devices-".$_SESSION['domain_name'].".csv"; - file_put_contents($file, $_POST['data']); - $_SESSION['file'] = $file; - } - -//copy the csv file - //$_POST['submit'] == "Upload" && - if ( is_uploaded_file($_FILES['ulfile']['tmp_name']) && permission_exists('device_imports')) { - if ($_POST['type'] == 'csv') { - move_uploaded_file($_FILES['ulfile']['tmp_name'], $_SESSION['server']['temp']['dir'].'/'.$_FILES['ulfile']['name']); - $save_msg = "Uploaded file to ".$_SESSION['server']['temp']['dir']."/". htmlentities($_FILES['ulfile']['name']); - //system('chmod -R 744 '.$_SESSION['server']['temp']['dir'].'*'); - unset($_POST['txtCommand']); - $file = $_SESSION['server']['temp']['dir'].'/'.$_FILES['ulfile']['name']; + if (file_put_contents($file, $_POST['data'])) { $_SESSION['file'] = $file; } } +//copy the csv file + //$_POST['submit'] == "Upload" && + if ( is_uploaded_file($_FILES['ulfile']['tmp_name']) && permission_exists('device_import')) { + if ($_POST['type'] == 'csv') { + $file = $_SESSION['server']['temp']['dir']."/devices-".$_SESSION['domain_name'].".csv"; + if (move_uploaded_file($_FILES['ulfile']['tmp_name'], $file)) { + $_SESSION['file'] = $file; + } + } + } + //get the schema - if (strlen($delimiter) > 0) { + if (strlen($delimiter) > 0 && file_exists($_SESSION['file'])) { //get the first line $line = fgets(fopen($_SESSION['file'], 'r')); $line_fields = explode($delimiter, $line); @@ -441,7 +440,6 @@ echo "\n"; echo "\n"; - /* echo "\n"; echo "\n"; echo " ".$text['label-import_file_upload']."\n"; @@ -451,7 +449,6 @@ echo "
\n"; echo "\n"; echo "\n"; - */ echo "\n"; echo "

"; From 8d74bd6351f6bf1a8c79018b6a11d122787ee876 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 20 Oct 2020 13:14:34 -0600 Subject: [PATCH 086/677] Users - Import: Fix file upload. --- core/users/user_imports.php | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/core/users/user_imports.php b/core/users/user_imports.php index 4cefe880e7..3cebb54c1d 100644 --- a/core/users/user_imports.php +++ b/core/users/user_imports.php @@ -62,26 +62,25 @@ //save the data to the csv file if (isset($_POST['data'])) { - $file = $_SESSION['server']['temp']['dir']."/users-".$_SESSION['domain_name'].".csv"; - file_put_contents($file, $_POST['data']); - $_SESSION['file'] = $file; - } - -//copy the csv file - //$_POST['submit'] == "Upload" && - if (is_uploaded_file($_FILES['ulfile']['tmp_name']) && permission_exists('user_imports')) { - if ($_POST['type'] == 'csv') { - move_uploaded_file($_FILES['ulfile']['tmp_name'], $_SESSION['server']['temp']['dir'].'/'.$_FILES['ulfile']['name']); - $save_msg = "Uploaded file to ".$_SESSION['server']['temp']['dir']."/". htmlentities($_FILES['ulfile']['name']); - //system('chmod -R 744 '.$_SESSION['server']['temp']['dir'].'*'); - unset($_POST['txtCommand']); - $file = $_SESSION['server']['temp']['dir'].'/'.$_FILES['ulfile']['name']; + $file = $_SESSION['server']['temp']['dir'].'/users-'.$_SESSION['domain_name'].'.csv'; + if (file_put_contents($file, $_POST['data'])) { $_SESSION['file'] = $file; } } +//copy the csv file + //$_POST['submit'] == "Upload" && + if (is_uploaded_file($_FILES['ulfile']['tmp_name']) && permission_exists('user_import')) { + if ($_POST['type'] == 'csv') { + $file = $_SESSION['server']['temp']['dir'].'/users-'.$_SESSION['domain_name'].'.csv'; + if (move_uploaded_file($_FILES['ulfile']['tmp_name'], $file)) { + $_SESSION['file'] = $file; + } + } + } + //get the schema - if (strlen($delimiter) > 0) { + if (strlen($delimiter) > 0 && file_exists($_SESSION['file'])) { //get the first line $line = fgets(fopen($_SESSION['file'], 'r')); $line_fields = explode($delimiter, $line); From 29de477e85838b5e064e1f2455129ae24c5c8de1 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 20 Oct 2020 13:21:18 -0600 Subject: [PATCH 087/677] Contact - Import: Remove reference to outlook. --- app/contacts/app_languages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/contacts/app_languages.php b/app/contacts/app_languages.php index b6bb1dc152..a739bae454 100644 --- a/app/contacts/app_languages.php +++ b/app/contacts/app_languages.php @@ -4753,8 +4753,8 @@ $text['description-contacts_import_google']['ru-ru'] = "Выберите нуж $text['description-contacts_import_google']['sv-se'] = "Välj de kontakter som skall importeras."; $text['description-contacts_import_google']['uk-ua'] = ""; -$text['description-contacts_import']['en-us'] = "Export your contacts from outlook to a comma delimitted csv file. Then use this tool to upload and add the contacts from that file."; -$text['description-contacts_import']['en-gb'] = "Export your contacts from outlook to a comma delimitted csv file. Then use this tool to upload and add the contacts from that file."; +$text['description-contacts_import']['en-us'] = "Submit or upload delimited data to add multiple records."; +$text['description-contacts_import']['en-gb'] = "Submit or upload delimited data to add multiple records."; $text['description-contacts_import']['ar-eg'] = ""; $text['description-contacts_import']['de-at'] = "Exportieren Sie Ihre Kontakte aus Outlook in eine CSV Datei und benützen Sie diese Funktion um Ihre Kontakte zu importieren."; //copied from de-de $text['description-contacts_import']['de-ch'] = "Exportieren Sie Ihre Kontakte aus Outlook in eine CSV Datei und benützen Sie diese Funktion um Ihre Kontakte zu importieren."; //copied from de-de From 53c7f1e80560da8bb3b7c3c728674a7a10a72dae Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 20 Oct 2020 13:29:34 -0600 Subject: [PATCH 088/677] Contacts - Import: Correct redirect URLs. --- app/contacts/contact_import.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/contacts/contact_import.php b/app/contacts/contact_import.php index 2c415cfe99..dfb92964fc 100644 --- a/app/contacts/contact_import.php +++ b/app/contacts/contact_import.php @@ -143,7 +143,7 @@ $token = new token; if (!$token->validate($_SERVER['PHP_SELF'])) { message::add($text['message-invalid_token'],'negative'); - header('Location: extension_imports.php'); + header('Location: contact_import.php'); exit; } @@ -209,6 +209,7 @@ echo " \n"; foreach($row['fields'] as $field) { if ($field == 'phone_label') { continue; } + if ($field == 'contact_url') { continue; } // can remove this after field is removed from the table $selected = ''; if ($field == $line_field) { $selected = "selected='selected'"; @@ -270,7 +271,7 @@ $token = new token; if (!$token->validate($_SERVER['PHP_SELF'])) { message::add($text['message-invalid_token'],'negative'); - header('Location: extension_imports.php'); + header('Location: contact_import.php'); exit; } From 7e9cfb332a6779a1959da3bc5b9dd101670295cc Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 20 Oct 2020 14:54:42 -0600 Subject: [PATCH 089/677] Extension - Edit: Adjust CIDR description. --- app/extensions/app_languages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/extensions/app_languages.php b/app/extensions/app_languages.php index 4aad443c58..0e0913cddd 100644 --- a/app/extensions/app_languages.php +++ b/app/extensions/app_languages.php @@ -2746,8 +2746,8 @@ $text['description-dial_string']['ru-ru'] = "Местоположение кон $text['description-dial_string']['sv-se'] = "Plats för enheten."; $text['description-dial_string']['uk-ua'] = ""; -$text['description-cidr']['en-us'] = "Enter the CIDR here."; -$text['description-cidr']['en-gb'] = "Enter the CIDR here."; +$text['description-cidr']['en-us'] = "Enter allowed address/ranges in CIDR notation (comma separated)."; +$text['description-cidr']['en-gb'] = "Enter allowed address/ranges in CIDR notation (comma separated)."; $text['description-cidr']['ar-eg'] = ""; $text['description-cidr']['de-at'] = "Geben Sie hier die Beschränkung der IP Adresse an (z.B. 1.2.3.4/32)"; //copied from de-de $text['description-cidr']['de-ch'] = "Geben Sie hier die Beschränkung der IP Adresse an (z.B. 1.2.3.4/32)"; //copied from de-de From 3dec7cb307d6af5b3d17b6a868869249c5f5acb8 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 20 Oct 2020 16:51:48 -0600 Subject: [PATCH 090/677] Provisioning: Fix to make Domain Settings take effect in templates. --- app/provision/index.php | 165 ++++++++++++++++++++-------------------- 1 file changed, 83 insertions(+), 82 deletions(-) diff --git a/app/provision/index.php b/app/provision/index.php index 037df0b9ff..aba0070ba6 100644 --- a/app/provision/index.php +++ b/app/provision/index.php @@ -155,88 +155,6 @@ //get the domain name $domain_name = $_SESSION['domains'][$domain_uuid]['domain_name']; - //get the default settings - $sql = "select * from v_default_settings "; - $sql .= "where default_setting_enabled = 'true' "; - $sql .= "order by default_setting_order asc "; - $database = new database; - $result = $database->select($sql, null, 'all'); - //unset the previous settings - if (is_array($result) && @sizeof($result) != 0) { - foreach ($result as $row) { - unset($_SESSION[$row['default_setting_category']]); - } - //set the settings as a session - foreach ($result as $row) { - $name = $row['default_setting_name']; - $category = $row['default_setting_category']; - $subcategory = $row['default_setting_subcategory']; - if (strlen($subcategory) == 0) { - if ($name == "array") { - $_SESSION[$category][] = $row['default_setting_value']; - } - else { - $_SESSION[$category][$name] = $row['default_setting_value']; - } - } - else { - if ($name == "array") { - $_SESSION[$category][$subcategory][] = $row['default_setting_value']; - } - else { - $_SESSION[$category][$subcategory]['uuid'] = $row['default_setting_uuid']; - $_SESSION[$category][$subcategory][$name] = $row['default_setting_value']; - } - } - } - } - unset($sql, $result, $row); - - //get the domains settings - if (is_uuid($domain_uuid)) { - $sql = "select * from v_domain_settings "; - $sql .= "where domain_uuid = :domain_uuid "; - $sql .= "and domain_setting_enabled = 'true' "; - $sql .= "order by domain_setting_order asc "; - $parameters['domain_uuid'] = $domain_uuid; - $database = new database; - $result = $database->select($sql, $parameters, 'all'); - //unset the arrays that domains are overriding - if (is_array($result) && @sizeof($result) != 0) { - foreach ($result as $row) { - $name = $row['domain_setting_name']; - $category = $row['domain_setting_category']; - $subcategory = $row['domain_setting_subcategory']; - if ($name == "array") { - unset($_SESSION[$category][$subcategory]); - } - } - //set the settings as a session - foreach ($result as $row) { - $name = $row['domain_setting_name']; - $category = $row['domain_setting_category']; - $subcategory = $row['domain_setting_subcategory']; - if (strlen($subcategory) == 0) { - //$$category[$name] = $row['domain_setting_value']; - if ($name == "array") { - $_SESSION[$category][] = $row['domain_setting_value']; - } - else { - $_SESSION[$category][$name] = $row['domain_setting_value']; - } - } - else { - //$$category[$subcategory][$name] = $row['domain_setting_value']; - if ($name == "array") { - $_SESSION[$category][$subcategory][] = $row['domain_setting_value']; - } - else { - $_SESSION[$category][$subcategory][$name] = $row['domain_setting_value']; - } - } - } - } - } } else { //get the domain_name @@ -252,6 +170,89 @@ unset($sql, $parameters); } +//get the default settings + $sql = "select * from v_default_settings "; + $sql .= "where default_setting_enabled = 'true' "; + $sql .= "order by default_setting_order asc "; + $database = new database; + $result = $database->select($sql, null, 'all'); + //unset the previous settings + if (is_array($result) && @sizeof($result) != 0) { + foreach ($result as $row) { + unset($_SESSION[$row['default_setting_category']]); + } + //set the settings as a session + foreach ($result as $row) { + $name = $row['default_setting_name']; + $category = $row['default_setting_category']; + $subcategory = $row['default_setting_subcategory']; + if (strlen($subcategory) == 0) { + if ($name == "array") { + $_SESSION[$category][] = $row['default_setting_value']; + } + else { + $_SESSION[$category][$name] = $row['default_setting_value']; + } + } + else { + if ($name == "array") { + $_SESSION[$category][$subcategory][] = $row['default_setting_value']; + } + else { + $_SESSION[$category][$subcategory]['uuid'] = $row['default_setting_uuid']; + $_SESSION[$category][$subcategory][$name] = $row['default_setting_value']; + } + } + } + } + unset($sql, $result, $row); + +//get the domains settings + if (is_uuid($domain_uuid)) { + $sql = "select * from v_domain_settings "; + $sql .= "where domain_uuid = :domain_uuid "; + $sql .= "and domain_setting_enabled = 'true' "; + $sql .= "order by domain_setting_order asc "; + $parameters['domain_uuid'] = $domain_uuid; + $database = new database; + $result = $database->select($sql, $parameters, 'all'); + //unset the arrays that domains are overriding + if (is_array($result) && @sizeof($result) != 0) { + foreach ($result as $row) { + $name = $row['domain_setting_name']; + $category = $row['domain_setting_category']; + $subcategory = $row['domain_setting_subcategory']; + if ($name == "array") { + unset($_SESSION[$category][$subcategory]); + } + } + //set the settings as a session + foreach ($result as $row) { + $name = $row['domain_setting_name']; + $category = $row['domain_setting_category']; + $subcategory = $row['domain_setting_subcategory']; + if (strlen($subcategory) == 0) { + //$$category[$name] = $row['domain_setting_value']; + if ($name == "array") { + $_SESSION[$category][] = $row['domain_setting_value']; + } + else { + $_SESSION[$category][$name] = $row['domain_setting_value']; + } + } + else { + //$$category[$subcategory][$name] = $row['domain_setting_value']; + if ($name == "array") { + $_SESSION[$category][$subcategory][] = $row['domain_setting_value']; + } + else { + $_SESSION[$category][$subcategory][$name] = $row['domain_setting_value']; + } + } + } + } + } + //build the provision array foreach($_SESSION['provision'] as $key=>$val) { if (strlen($val['var']) > 0) { $value = $val['var']; } From ab20b183aacd39344a24fb64156f46bada2feb0f Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 21 Oct 2020 10:09:15 -0600 Subject: [PATCH 091/677] Theme: Ensure temp directory is set, even if not defined in Default Settings. --- resources/footer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/footer.php b/resources/footer.php index dfe6bb571d..c75cb1e0b1 100644 --- a/resources/footer.php +++ b/resources/footer.php @@ -72,7 +72,7 @@ $view = new template(); $view->engine = 'smarty'; $view->template_dir = $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH.'/themes/'.$_SESSION['domain']['template']['name'].'/'; - $view->cache_dir = $_SESSION['server']['temp']['dir']; + $view->cache_dir = $_SESSION['server']['temp']['dir'] ?: sys_get_temp_dir(); $view->init(); //add multi-lingual support From c2688fcf2a85946ba1d4f0d1c14bc3b8c732af39 Mon Sep 17 00:00:00 2001 From: konradSC Date: Wed, 21 Oct 2020 12:09:28 -0400 Subject: [PATCH 092/677] Check for origination_callee_id_name This was breaking when the variable wasn't set in the dialplan. Len discovered this :-) --- .../scripts/app/voicemail/resources/functions/send_email.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua index b7941aa6ee..7e3a95095a 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua @@ -202,7 +202,9 @@ body = body:gsub("${voicemail_name_formatted}", voicemail_name_formatted); body = body:gsub("${domain_name}", domain_name); body = body:gsub("${sip_to_user}", id); - body = body:gsub("${origination_callee_id_name}", origination_callee_id_name); + if (origination_callee_id_name ~= nil) then + body = body:gsub("${origination_callee_id_name}", origination_callee_id_name); + end body = body:gsub("${dialed_user}", id); if (voicemail_file == "attach") then body = body:gsub("${message}", text['label-attached']); From 9f7ca538a3b1568c15b436ba16316d2f59e24b5d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Oct 2020 11:32:46 -0600 Subject: [PATCH 093/677] Update schema.php Minor changes. Remove extra line feeds and add a semi-colon. --- resources/classes/schema.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/classes/schema.php b/resources/classes/schema.php index 4c29d6fc2a..31dc2ee347 100644 --- a/resources/classes/schema.php +++ b/resources/classes/schema.php @@ -381,7 +381,7 @@ if (!class_exists('schema')) { $field_count++; } } - $sql .= ");\n\n"; + $sql .= ");\n"; return $sql; } } @@ -452,7 +452,7 @@ if (!class_exists('schema')) { $field_count++; } } - $sql .= " FROM tmp_".$table.";\n\n"; + $sql .= " FROM tmp_".$table.";\n"; return $sql; } } @@ -896,11 +896,11 @@ if (!class_exists('schema')) { try { $this->db->query(trim($sql)); if ($format == "text") { - $response .= " $sql\n"; + $response .= " $sql;\n"; } } catch (PDOException $error) { - $response .= " error: " . $error->getMessage() . " sql: $sql
"; + $response .= " error: " . $error->getMessage() . " sql: $sql\n"; } } } From 57327b1e781ab89311c27df9ac802970b09c5262 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Oct 2020 12:19:48 -0600 Subject: [PATCH 094/677] Update upgrade_schema.php Add formatting for html description. --- core/upgrade/upgrade_schema.php | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/core/upgrade/upgrade_schema.php b/core/upgrade/upgrade_schema.php index 7acb2829ea..93547ec4db 100644 --- a/core/upgrade/upgrade_schema.php +++ b/core/upgrade/upgrade_schema.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2014 + Portions created by the Initial Developer are Copyright (C) 2008-2020 the Initial Developer. All Rights Reserved. Contributor(s): @@ -42,6 +42,14 @@ //add multi-lingual support $language = new text; $text = $language->get(); + + //set the application_name + if (isset($argv[0])) { + $application_name = $argv[0]; + } + if (isset($argv[1]) && $argv[1] == 'data_types') { + $upgrade_data_types = 'true'; + } } else if (!$included) { include "root.php"; @@ -66,10 +74,11 @@ $obj = new schema; echo $obj->schema($format); -if (!$included && $format == 'html') { - echo "
\n"; - echo "
\n"; - require_once "resources/footer.php"; -} +//formatting for hmtl + if (!$included && $format == 'html') { + echo "
\n"; + echo "
\n"; + require_once "resources/footer.php"; + } ?> From fcb99ccfc6afdfd8bd8d63030d23636d7aa2202b Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 21 Oct 2020 13:05:06 -0600 Subject: [PATCH 095/677] Default Settings: Set Domain > time_zone to UTC if empty. --- core/default_settings/app_defaults.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/core/default_settings/app_defaults.php b/core/default_settings/app_defaults.php index ebdf9f35b5..23d08e041d 100644 --- a/core/default_settings/app_defaults.php +++ b/core/default_settings/app_defaults.php @@ -487,6 +487,21 @@ unset($sql, $parameters); } + //set domain > time_zone to UTC if not set + $sql = "update v_default_settings set "; + $sql .= "default_setting_value = 'UTC', "; + $sql .= "default_setting_enabled = 'true' "; + $sql .= "where ( "; + $sql .= " default_setting_value is null or "; + $sql .= " default_setting_value = '' "; + $sql .= ") "; + $sql .= "and default_setting_category = 'domain' "; + $sql .= "and default_setting_subcategory = 'time_zone' "; + $sql .= "and default_setting_name = 'name' "; + $database = new database; + $database->execute($sql); + unset($sql); + } ?> From 7f4c89bb55dd73c926a28f06ef67dda4b6b4f38a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Oct 2020 13:51:16 -0600 Subject: [PATCH 096/677] Update upgrade_schema.php --- core/upgrade/upgrade_schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/upgrade/upgrade_schema.php b/core/upgrade/upgrade_schema.php index 93547ec4db..2a96e15171 100644 --- a/core/upgrade/upgrade_schema.php +++ b/core/upgrade/upgrade_schema.php @@ -74,7 +74,7 @@ $obj = new schema; echo $obj->schema($format); -//formatting for hmtl +//formatting for html if (!$included && $format == 'html') { echo "
\n"; echo "
\n"; From 69541f560b96439b7bd7aece1e37fe8fef128484 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Oct 2020 14:28:15 -0600 Subject: [PATCH 097/677] Update schema.php Deprecate global upgrade_data_types variable and replace with a $this->data_types --- resources/classes/schema.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/classes/schema.php b/resources/classes/schema.php index 31dc2ee347..c898c807e7 100644 --- a/resources/classes/schema.php +++ b/resources/classes/schema.php @@ -34,6 +34,7 @@ if (!class_exists('schema')) { public $apps; public $db_type; public $result; + public $data_types; //class constructor public function __construct() { @@ -463,8 +464,9 @@ if (!class_exists('schema')) { public function schema ($format = '') { //set the global variable - global $db, $upgrade_data_types, $text,$output_format; - if ($format=='') $format = $output_format; + global $db, $text, $output_format; + + if ($format == '') $format = $output_format; //get the db variables require_once "resources/classes/config.php"; @@ -665,7 +667,7 @@ if (!class_exists('schema')) { //change the data type if it has been changed //if the data type in the app db array is different than the type in the database then change the data type - if ($upgrade_data_types) { + if ($this->data_types) { $db_field_type = $this->db_column_data_type ($db_type, $db_name, $table_name, $field_name); $field_type_array = explode("(", $field_type); $field_type = $field_type_array[0]; From 8bfb098136f6b5564e67d98d20ca0e644a4fb882 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Oct 2020 14:33:43 -0600 Subject: [PATCH 098/677] Update upgrade_schema.php Use the new php class data_types variable. --- core/upgrade/upgrade_schema.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/core/upgrade/upgrade_schema.php b/core/upgrade/upgrade_schema.php index 2a96e15171..04a305a122 100644 --- a/core/upgrade/upgrade_schema.php +++ b/core/upgrade/upgrade_schema.php @@ -42,14 +42,6 @@ //add multi-lingual support $language = new text; $text = $language->get(); - - //set the application_name - if (isset($argv[0])) { - $application_name = $argv[0]; - } - if (isset($argv[1]) && $argv[1] == 'data_types') { - $upgrade_data_types = 'true'; - } } else if (!$included) { include "root.php"; @@ -72,6 +64,9 @@ //get the database schema put it into an array then compare and update the database as needed. require_once "resources/classes/schema.php"; $obj = new schema; + if (isset($argv[1]) && $argv[1] == 'data_types') { + $obj->data_types = true; + } echo $obj->schema($format); //formatting for html From 47536f89a26c3245bb905403968d4e9eaed49456 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Oct 2020 14:38:04 -0600 Subject: [PATCH 099/677] Update index.php Deprecate the upgrade_data_types variable and use the php class data_types variable. --- core/upgrade/index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/upgrade/index.php b/core/upgrade/index.php index 45ef27cafe..1b1308e47c 100644 --- a/core/upgrade/index.php +++ b/core/upgrade/index.php @@ -86,9 +86,11 @@ // load an array of the database schema and compare it with the active database if ($do["schema"] && permission_exists("upgrade_schema")) { - $upgrade_data_types = check_str($do["data_types"]); require_once "resources/classes/schema.php"; $obj = new schema(); + if (isset($do["data_types"]) && $do["data_types"] == 'true') { + $obj->data_types = true; + } $_SESSION["response"]["schema"] = $obj->schema("html"); message::add($text['message-upgrade_schema'], null, $message_timeout); } @@ -283,4 +285,4 @@ //include the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?> From c2bf8cf761645d51451220062ce23afaf0152591 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 21 Oct 2020 14:39:39 -0600 Subject: [PATCH 100/677] Default/Domain Settings - Copy: Retain state when Enabled is false. --- core/default_settings/resources/classes/default_settings.php | 2 +- core/domain_settings/resources/classes/domain_settings.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/default_settings/resources/classes/default_settings.php b/core/default_settings/resources/classes/default_settings.php index 727f4b8107..a3401d9b5f 100644 --- a/core/default_settings/resources/classes/default_settings.php +++ b/core/default_settings/resources/classes/default_settings.php @@ -269,7 +269,7 @@ if (!class_exists('default_settings')) { $array['domain_settings'][$x]['domain_setting_name'] = $default_setting_name; $array['domain_settings'][$x]['domain_setting_value'] = $default_setting_value; $array['domain_settings'][$x]['domain_setting_order'] = $default_setting_order; - $array['domain_settings'][$x]['domain_setting_enabled'] = $default_setting_enabled; + $array['domain_settings'][$x]['domain_setting_enabled'] = $default_setting_enabled ?: 0; $array['domain_settings'][$x]['domain_setting_description'] = $default_setting_description; //insert diff --git a/core/domain_settings/resources/classes/domain_settings.php b/core/domain_settings/resources/classes/domain_settings.php index f4d810cd71..35a510349d 100644 --- a/core/domain_settings/resources/classes/domain_settings.php +++ b/core/domain_settings/resources/classes/domain_settings.php @@ -276,7 +276,7 @@ if (!class_exists('domain_settings')) { $array['domain_settings'][0]['domain_setting_name'] = $domain_setting_name; $array['domain_settings'][0]['domain_setting_value'] = $domain_setting_value; $array['domain_settings'][0]['domain_setting_order'] = $domain_setting_order; - $array['domain_settings'][0]['domain_setting_enabled'] = $domain_setting_enabled; + $array['domain_settings'][0]['domain_setting_enabled'] = $domain_setting_enabled ?: 0; $array['domain_settings'][0]['domain_setting_description'] = $domain_setting_description; //insert From c8e51bd89e3cc2532af9590d23ecb3a6adc49122 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Oct 2020 15:17:38 -0600 Subject: [PATCH 101/677] Update database.php Only use the $_SESSION['domain_uuid'] if it is set. It's not set when using from the command line. --- resources/classes/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/classes/database.php b/resources/classes/database.php index 31fad75c1b..4d4cb1f68d 100644 --- a/resources/classes/database.php +++ b/resources/classes/database.php @@ -62,7 +62,7 @@ include "root.php"; * Called when the object is created */ public function __construct() { - if (!isset($this->domain_uuid)) { + if (!isset($this->domain_uuid) && isset($_SESSION['domain_uuid'])) { $this->domain_uuid = $_SESSION['domain_uuid']; } } From fdc142c27da9b76ba8bab7b1f86706af620c6948 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Oct 2020 21:13:11 -0600 Subject: [PATCH 102/677] Update device_download.php Export more device details. --- app/devices/device_download.php | 112 +++++++++++++++++++++++++------- 1 file changed, 89 insertions(+), 23 deletions(-) diff --git a/app/devices/device_download.php b/app/devices/device_download.php index ae70f8464b..95892c64e8 100644 --- a/app/devices/device_download.php +++ b/app/devices/device_download.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2016 + Portions created by the Initial Developer are Copyright (C) 2008-2020 the Initial Developer. All Rights Reserved. Contributor(s): @@ -28,7 +28,6 @@ require_once "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; - require_once "resources/paging.php"; //check permissions if (permission_exists('device_export')) { @@ -75,14 +74,40 @@ header("Content-Transfer-Encoding: binary"); } - //define possible columns in the array - $available_columns[] = 'device_uuid'; - $available_columns[] = 'domain_uuid'; - $available_columns[] = 'device_mac_address'; - $available_columns[] = 'device_label'; - $available_columns[] = 'device_template'; - $available_columns[] = 'device_description'; + $available_columns['devices'][] = 'device_uuid'; + $available_columns['devices'][] = 'device_profile_uuid'; + $available_columns['devices'][] = 'device_mac_address'; + $available_columns['devices'][] = 'device_label'; + $available_columns['devices'][] = 'device_vendor'; + $available_columns['devices'][] = 'device_template'; + $available_columns['devices'][] = 'device_enabled_date'; + $available_columns['devices'][] = 'device_username'; + $available_columns['devices'][] = 'device_password'; + $available_columns['devices'][] = 'device_uuid_alternate'; + $available_columns['devices'][] = 'device_provisioned_date'; + $available_columns['devices'][] = 'device_provisioned_method'; + $available_columns['devices'][] = 'device_provisioned_ip'; + $available_columns['devices'][] = 'device_enabled'; + $available_columns['devices'][] = 'device_description'; + + $available_columns['device_lines'][] = 'device_line_uuid'; + $available_columns['device_lines'][] = 'device_uuid'; + $available_columns['device_lines'][] = 'line_number'; + $available_columns['device_lines'][] = 'server_address'; + $available_columns['device_lines'][] = 'server_address_primary'; + $available_columns['device_lines'][] = 'server_address_secondary'; + $available_columns['device_lines'][] = 'outbound_proxy_primary'; + $available_columns['device_lines'][] = 'outbound_proxy_secondary'; + $available_columns['device_lines'][] = 'display_name'; + $available_columns['device_lines'][] = 'user_id'; + $available_columns['device_lines'][] = 'auth_id'; + $available_columns['device_lines'][] = 'password'; + $available_columns['device_lines'][] = 'sip_port'; + $available_columns['device_lines'][] = 'sip_transport'; + $available_columns['device_lines'][] = 'register_expires'; + $available_columns['device_lines'][] = 'shared_line'; + $available_columns['device_lines'][] = 'enabled'; //get the devices and send them as output $column_group = $_REQUEST["column_group"]; @@ -96,16 +121,26 @@ exit; } + //validate table names + foreach($column_group as $table_name => $columns) { + if (!isset($available_columns[$table_name])) { + unset($column_group[$table_name]); + } + } + //validate columns - foreach ($column_group as $index => $column_name) { - if (!in_array($column_name, $available_columns)) { - unset($column_group[$index]); + foreach($column_group as $table_name => $columns) { + foreach ($columns as $column_name) { + if (!in_array($column_name, $available_columns[$table_name])) { + unset($column_group[$table_name][$column_name]); + } } } //iterate columns if (is_array($column_group) && @sizeof($column_group) != 0) { - $column_names = implode(", ", $column_group); + + $column_names = implode(", ", $column_group['devices']); $sql = "select ".$column_names." from v_devices "; $sql .= " where domain_uuid = :domain_uuid "; $parameters['domain_uuid'] = $domain_uuid; @@ -114,6 +149,30 @@ unset($sql, $parameters, $column_names); //print_r($extensions); + foreach($column_group as $table_name => $columns) { + if ($table_name !== 'devices') { + $column_names = implode(", ", $columns); + $sql = "select ".$column_names." from v_".$table_name." "; + $sql .= " where domain_uuid = :domain_uuid "; + $parameters['domain_uuid'] = $domain_uuid; + $database = new database; + $$table_name = $database->select($sql, $parameters, 'all'); + $x = 0; + foreach($devices as $device) { + foreach($$table_name as $row) { + if ($device['device_uuid'] == $row['device_uuid']) { + foreach($row as $key => $value) { + $devices[$x][$key] = $value; + } + break; + } + } + $x++; + } + unset($sql, $parameters, $column_names); + } + } + if (is_array($devices) && @sizeof($devices) != 0) { download_send_headers("device_export_".date("Y-m-d").".csv"); echo array2csv($devices); @@ -153,17 +212,24 @@ if (is_array($available_columns) && @sizeof($available_columns) != 0) { $x = 0; - foreach ($available_columns as $column_name) { - $list_row_onclick = "if (!this.checked) { document.getElementById('checkbox_all').checked = false; }"; - echo "\n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " ".$column_name.""; - echo ""; - $x++; + foreach ($available_columns as $table_name => $columns) { + foreach ($columns as $column_name) { + $list_row_onclick = "if (!this.checked) { document.getElementById('checkbox_all').checked = false; }"; + echo "\n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " ".$column_name.""; + echo ""; + $x++; + } } } + + //test the validation + //echo " \n"; + //echo " \n"; + //echo " \n"; echo "\n"; echo "
\n"; @@ -173,4 +239,4 @@ //include the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?> From e1619a1fd148526d31932e3edbd1798f025c6b9e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 01:54:41 -0600 Subject: [PATCH 103/677] Update check_auth.php Set the context and domain_name when the user authenticates. --- resources/check_auth.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/check_auth.php b/resources/check_auth.php index 462b43abc9..f792229104 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -74,6 +74,7 @@ if ($result["authorized"] === "true") { //set the session variables $_SESSION["domain_uuid"] = $result["domain_uuid"]; + $_SESSION["domain_name"] = $result["domain_name"]; $_SESSION["user_uuid"] = $result["user_uuid"]; //user session array @@ -246,9 +247,10 @@ $_SESSION['user']['extension'][$x]['user_context'] = $row['user_context']; $_SESSION['user']['extension'][$x]['description'] = $row['description']; - //set the user context + //set the context $_SESSION['user']['user_context'] = $row["user_context"]; $_SESSION['user_context'] = $row["user_context"]; + $_SESSION['context'] = $_SESSION["domain_name"]; } } unset($sql, $parameters, $result, $row); From 3173657851222b7db6d5eada87c39fea59388c24 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:15:21 -0600 Subject: [PATCH 104/677] Update conferences.php Change context to domain_name. --- app/conferences/resources/classes/conferences.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/conferences/resources/classes/conferences.php b/app/conferences/resources/classes/conferences.php index d2e68865bb..570ee92dca 100644 --- a/app/conferences/resources/classes/conferences.php +++ b/app/conferences/resources/classes/conferences.php @@ -141,7 +141,7 @@ if (!class_exists('conferences')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //set message message::add($text['message-delete']); @@ -227,7 +227,7 @@ if (!class_exists('conferences')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //set message message::add($text['message-toggle']); @@ -362,7 +362,7 @@ if (!class_exists('conferences')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //set message message::add($text['message-copy']); From 81ff164a658e5c388dad5e676e0f7e5812ff41be Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:19:08 -0600 Subject: [PATCH 105/677] Update fax.php Change session context to domain_name. --- app/fax/resources/classes/fax.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/fax/resources/classes/fax.php b/app/fax/resources/classes/fax.php index c5b12b7c11..77b30c2e78 100644 --- a/app/fax/resources/classes/fax.php +++ b/app/fax/resources/classes/fax.php @@ -162,7 +162,7 @@ if (!class_exists('fax')) { $dialplan["dialplan_uuid"] = $this->dialplan_uuid; $dialplan["dialplan_name"] = ($this->fax_name != '') ? $this->fax_name : format_phone($this->destination_number); $dialplan["dialplan_number"] = $this->fax_extension; - $dialplan["dialplan_context"] = $_SESSION['context']; + $dialplan["dialplan_context"] = $_SESSION['domain_name']; $dialplan["dialplan_continue"] = "false"; $dialplan["dialplan_xml"] = $dialplan_xml; $dialplan["dialplan_order"] = "310"; @@ -195,7 +195,7 @@ if (!class_exists('fax')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION['context']); + $cache->delete("dialplan:".$_SESSION['domain_name']); //return the dialplan_uuid return $dialplan_response; @@ -346,7 +346,7 @@ if (!class_exists('fax')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //set message message::add($text['message-delete']); @@ -646,7 +646,7 @@ if (!class_exists('fax')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //set message message::add($text['message-copy']); From 94b2f8b398457d73fdc93a338c1b7916562c3026 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:28:51 -0600 Subject: [PATCH 106/677] Update click_to_call.php Change session context to domain_name. --- app/click_to_call/click_to_call.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/click_to_call/click_to_call.php b/app/click_to_call/click_to_call.php index 7a953f7b97..4d6cc4d8a3 100644 --- a/app/click_to_call/click_to_call.php +++ b/app/click_to_call/click_to_call.php @@ -66,7 +66,7 @@ $auto_answer = check_str($_GET['auto_answer']); //true,false $rec = check_str($_GET['rec']); //true,false $ringback = check_str($_GET['ringback']); - $context = $_SESSION['context']; + $context = $_SESSION['domain_name']; //clean up variable values $src = str_replace(array('.','(',')','-',' '), '', $src); From e9b962a8e2107fd54e62ed5829e4a721a41ea039 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:31:10 -0600 Subject: [PATCH 107/677] Update dialplan_add.php Change session context to domain_name. --- app/dialplans/dialplan_add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialplans/dialplan_add.php b/app/dialplans/dialplan_add.php index 57e3f957ea..6076daaf49 100644 --- a/app/dialplans/dialplan_add.php +++ b/app/dialplans/dialplan_add.php @@ -80,7 +80,7 @@ } //set the default - if (strlen($dialplan_context) == 0) { $dialplan_context = $_SESSION['context']; } + if (strlen($dialplan_context) == 0) { $dialplan_context = $_SESSION['domain_name']; } //add or update data from http post if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { From 281979721c8c8798ea60a4b5f7675a79dcee7950 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:33:18 -0600 Subject: [PATCH 108/677] Update fifo_add.php Change session context to domain_name. --- app/fifo/fifo_add.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/fifo/fifo_add.php b/app/fifo/fifo_add.php index ffbe66fbf9..0f34fb5987 100644 --- a/app/fifo/fifo_add.php +++ b/app/fifo/fifo_add.php @@ -103,7 +103,7 @@ $queue_name = $extension_name."@\${domain_name}"; $app_uuid = '16589224-c876-aeb3-f59f-523a1c0801f7'; $dialplan_uuid = uuid(); - $dialplan_context = $_SESSION['context']; + $dialplan_context = $_SESSION['domain_name']; $domain_uuid = $_SESSION['domain_uuid']; $dialplan_detail_order = 0; @@ -406,7 +406,7 @@ //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //redirect the user message::add($text['message-add']); From 26a316a2953635d12dc2cbeffc8056a1ac860c29 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:35:09 -0600 Subject: [PATCH 109/677] Update time_condition_edit.php Change session context to domain_name. --- app/time_conditions/time_condition_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/time_conditions/time_condition_edit.php b/app/time_conditions/time_condition_edit.php index 7b2aa374f4..81803862a0 100644 --- a/app/time_conditions/time_condition_edit.php +++ b/app/time_conditions/time_condition_edit.php @@ -501,7 +501,7 @@ //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //set the message if ($action == "add") { From 7aa65122a0709f62e15a7255ea329a95b3daad3d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:36:52 -0600 Subject: [PATCH 110/677] Update call_center.php Change session context to domain_name. --- app/call_centers/resources/classes/call_center.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/call_centers/resources/classes/call_center.php b/app/call_centers/resources/classes/call_center.php index c5e8f59d69..4f62248265 100644 --- a/app/call_centers/resources/classes/call_center.php +++ b/app/call_centers/resources/classes/call_center.php @@ -109,7 +109,7 @@ $dialplan["domain_uuid"] = $this->domain_uuid; $dialplan["dialplan_name"] = ($this->queue_name != '') ? $this->queue_name : format_phone($this->destination_number); $dialplan["dialplan_number"] = $this->destination_number; - $dialplan["dialplan_context"] = $_SESSION['context']; + $dialplan["dialplan_context"] = $_SESSION['domain_name']; $dialplan["dialplan_continue"] = "false"; $dialplan["dialplan_order"] = "210"; $dialplan["dialplan_enabled"] = "true"; @@ -267,7 +267,7 @@ //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION['context']); + $cache->delete("dialplan:".$_SESSION['domain_name']); //return the dialplan_uuid return $dialplan_response; @@ -366,7 +366,7 @@ //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); remove_config_from_cache('configuration:callcenter.conf'); //synchronize configuration @@ -592,7 +592,7 @@ //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //set message message::add($text['message-copy']); From f5e5fd7a79446ee4fc8c4d111d84c45901fc73f2 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:42:08 -0600 Subject: [PATCH 111/677] Update call_center_queue_edit.php Change session context to domain_name. --- app/call_centers/call_center_queue_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/call_centers/call_center_queue_edit.php b/app/call_centers/call_center_queue_edit.php index 8652d49f82..9d0a64eaf0 100644 --- a/app/call_centers/call_center_queue_edit.php +++ b/app/call_centers/call_center_queue_edit.php @@ -345,7 +345,7 @@ $array['dialplans'][0]["dialplan_uuid"] = $dialplan_uuid; $array['dialplans'][0]["dialplan_name"] = $queue_name; $array['dialplans'][0]["dialplan_number"] = $queue_extension; - $array['dialplans'][0]["dialplan_context"] = $_SESSION['context']; + $array['dialplans'][0]["dialplan_context"] = $_SESSION['domain_name']; $array['dialplans'][0]["dialplan_continue"] = "false"; $array['dialplans'][0]["dialplan_xml"] = $dialplan_xml; $array['dialplans'][0]["dialplan_order"] = "230"; @@ -377,7 +377,7 @@ //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //redirect the user if (isset($action)) { From d83b4b9319b44e6b022732b23863d8ea0da1d063 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:47:02 -0600 Subject: [PATCH 112/677] Update dialplan_outbound_add.php Change session context to domain_name. --- app/dialplan_outbound/dialplan_outbound_add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialplan_outbound/dialplan_outbound_add.php b/app/dialplan_outbound/dialplan_outbound_add.php index 58d0864f91..7ee05958d5 100644 --- a/app/dialplan_outbound/dialplan_outbound_add.php +++ b/app/dialplan_outbound/dialplan_outbound_add.php @@ -392,7 +392,7 @@ if (strlen($dialplan_order) == 0) { $dialplan_order ='333'; } - $dialplan_context = $_SESSION['context']; + $dialplan_context = $_SESSION['domain_name']; $dialplan_continue = 'false'; $app_uuid = '8c914ec3-9fc0-8ab5-4cda-6c9288bdc9a3'; From d82f8cc155999125f1630a886f8e3549181804cc Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:48:44 -0600 Subject: [PATCH 113/677] Update conference_centers.php Change session context to domain_name. --- .../resources/classes/conference_centers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/conference_centers/resources/classes/conference_centers.php b/app/conference_centers/resources/classes/conference_centers.php index d98b76715d..8276d3ecac 100644 --- a/app/conference_centers/resources/classes/conference_centers.php +++ b/app/conference_centers/resources/classes/conference_centers.php @@ -373,7 +373,7 @@ if (!class_exists('conference_centers')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //apply settings reminder $_SESSION["reload_xml"] = true; @@ -604,7 +604,7 @@ if (!class_exists('conference_centers')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //set message message::add($text['message-toggle']); From dc9f4261003992e3504dd272492f977ec63db1c5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:50:52 -0600 Subject: [PATCH 114/677] Update conference_center_edit.php Change session context to domain_name. --- app/conference_centers/conference_center_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/conference_centers/conference_center_edit.php b/app/conference_centers/conference_center_edit.php index 0d2ba8c3b1..468910f612 100644 --- a/app/conference_centers/conference_center_edit.php +++ b/app/conference_centers/conference_center_edit.php @@ -147,7 +147,7 @@ $array['dialplans'][0]["dialplan_uuid"] = $dialplan_uuid; $array['dialplans'][0]["dialplan_name"] = $conference_center_name; $array['dialplans'][0]["dialplan_number"] = $conference_center_extension; - $array['dialplans'][0]["dialplan_context"] = $_SESSION['context']; + $array['dialplans'][0]["dialplan_context"] = $_SESSION['domain_name']; $array['dialplans'][0]["dialplan_continue"] = "false"; $array['dialplans'][0]["dialplan_xml"] = $dialplan_xml; $array['dialplans'][0]["dialplan_order"] = "333"; @@ -183,7 +183,7 @@ //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //redirect the user if (isset($action)) { From 9208a270acb410102bcb77465e5cc5f58b5ea663 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 02:57:57 -0600 Subject: [PATCH 115/677] Update ivr_menu_copy.php Change session context to domain_name. --- app/ivr_menus/ivr_menu_copy.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/ivr_menus/ivr_menu_copy.php b/app/ivr_menus/ivr_menu_copy.php index 21cd68476f..c3488f97b6 100644 --- a/app/ivr_menus/ivr_menu_copy.php +++ b/app/ivr_menus/ivr_menu_copy.php @@ -57,7 +57,7 @@ $database = new database; $ivr_menus = $database->select($sql, $parameters, 'all'); if (!is_array($ivr_menus)) { - echo "access denied 63"; + echo "access denied"; exit; } unset($sql, $parameters); @@ -84,6 +84,7 @@ $ivr_menu_name = $ivr_menus[$x]['ivr_menu_name']; $ivr_menu_extension = $ivr_menus[$x]['ivr_menu_extension']; $ivr_menu_ringback = $ivr_menus[$x]['ivr_menu_ringback']; + $ivr_menu_context = $ivr_menus[$x]['ivr_menu_context']; $ivr_menu_description = $ivr_menus[$x]['ivr_menu_description'].' ('.$text['label-copy'].')'; //prepare the ivr menu array @@ -123,7 +124,7 @@ $dialplan[$x]["dialplan_uuid"] = $dialplan_uuid; $dialplan[$x]["dialplan_name"] = $ivr_menu_name; $dialplan[$x]["dialplan_number"] = $ivr_menu_extension; - $dialplan[$x]["dialplan_context"] = $_SESSION["context"]; + $dialplan[$x]["dialplan_context"] = $ivr_menu_context; $dialplan[$x]["dialplan_continue"] = "false"; $dialplan[$x]["dialplan_xml"] = $dialplan_xml; $dialplan[$x]["dialplan_order"] = "101"; @@ -156,7 +157,7 @@ //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$ivr_menu_context); //set message message::add($text['message-copy']); From 2020e398b201a59bd8a6edb087f33cf5e34d9073 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 03:01:47 -0600 Subject: [PATCH 116/677] Update ivr_menu_xml.php Change session context to domain_name. --- app/ivr_menus/resources/functions/ivr_menu_xml.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/ivr_menus/resources/functions/ivr_menu_xml.php b/app/ivr_menus/resources/functions/ivr_menu_xml.php index 6178d5c5a9..ee5de986e7 100644 --- a/app/ivr_menus/resources/functions/ivr_menu_xml.php +++ b/app/ivr_menus/resources/functions/ivr_menu_xml.php @@ -82,6 +82,7 @@ $ivr_menu_max_timeouts = $row["ivr_menu_max_timeouts"]; $ivr_menu_digit_len = $row["ivr_menu_digit_len"]; $ivr_menu_direct_dial = $row["ivr_menu_direct_dial"]; + $ivr_menu_context = $row["ivr_menu_context"]; $ivr_menu_enabled = $row["ivr_menu_enabled"]; $ivr_menu_description = $row["ivr_menu_description"]; @@ -159,7 +160,7 @@ unset($sub_sql, $sub_result, $sub_row); if ($ivr_menu_direct_dial == "true") { - $tmp .= " \n"; + $tmp .= " \n"; } $tmp .= " \n"; $tmp .= "\n"; From fb72d597f25ba42d6bbf03eddc3b6fe8bc20539f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 03:09:58 -0600 Subject: [PATCH 117/677] Update ivr_menu.php Change session context to domain_name. --- app/ivr_menus/resources/classes/ivr_menu.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/ivr_menus/resources/classes/ivr_menu.php b/app/ivr_menus/resources/classes/ivr_menu.php index 40a46246fb..88dab91780 100644 --- a/app/ivr_menus/resources/classes/ivr_menu.php +++ b/app/ivr_menus/resources/classes/ivr_menu.php @@ -52,9 +52,9 @@ if (!class_exists('ivr_menu')) { public function __construct() { //assign private variables - $this->app_name = 'ivr_menus'; - $this->app_uuid = 'a5788e9b-58bc-bd1b-df59-fff5d51253ab'; - $this->list_page = 'ivr_menus.php'; + $this->app_name = 'ivr_menus'; + $this->app_uuid = 'a5788e9b-58bc-bd1b-df59-fff5d51253ab'; + $this->list_page = 'ivr_menus.php'; } @@ -324,7 +324,7 @@ if (!class_exists('ivr_menu')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$ivr_menu_context); foreach ($ivr_menus as $ivr_menu_uuid => $ivr_menu) { $cache->delete("configuration:ivr.conf:".$ivr_menu_uuid); } @@ -467,7 +467,7 @@ if (!class_exists('ivr_menu')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$ivr_menu_context); //set message message::add($text['message-copy']); From 6ffec9b87f6fa8f79cb93bdd282c094b65788ed6 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 03:13:42 -0600 Subject: [PATCH 118/677] Update conference_edit.php Change session context to domain_name. --- app/conferences/conference_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/conferences/conference_edit.php b/app/conferences/conference_edit.php index 45d60e7d59..c87d4ea371 100644 --- a/app/conferences/conference_edit.php +++ b/app/conferences/conference_edit.php @@ -205,7 +205,7 @@ $array['dialplans'][0]['app_uuid'] = 'b81412e8-7253-91f4-e48e-42fc2c9a38d9'; $array['dialplans'][0]['dialplan_xml'] = $dialplan_xml; $array['dialplans'][0]['dialplan_order'] = '333'; - $array['dialplans'][0]['dialplan_context'] = $_SESSION['context']; + $array['dialplans'][0]['dialplan_context'] = $_SESSION['domain_name']; $array['dialplans'][0]['dialplan_enabled'] = $conference_enabled; $array['dialplans'][0]['dialplan_description'] = $conference_description; @@ -241,7 +241,7 @@ //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //redirect the browser header("Location: conferences.php"); From 95c8fc9c7ace411ae8f834ef28e5fd19f1260555 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 03:16:10 -0600 Subject: [PATCH 119/677] Update ivr_menu.php --- app/ivr_menus/resources/classes/ivr_menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ivr_menus/resources/classes/ivr_menu.php b/app/ivr_menus/resources/classes/ivr_menu.php index 88dab91780..3d7aa56904 100644 --- a/app/ivr_menus/resources/classes/ivr_menu.php +++ b/app/ivr_menus/resources/classes/ivr_menu.php @@ -324,7 +324,7 @@ if (!class_exists('ivr_menu')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$ivr_menu_context); + $cache->delete("dialplan:".$_SESSION['domain_name']); foreach ($ivr_menus as $ivr_menu_uuid => $ivr_menu) { $cache->delete("configuration:ivr.conf:".$ivr_menu_uuid); } @@ -467,7 +467,7 @@ if (!class_exists('ivr_menu')) { //clear the cache $cache = new cache; - $cache->delete("dialplan:".$ivr_menu_context); + $cache->delete("dialplan:".$_SESSION['domain_name']); //set message message::add($text['message-copy']); From 6a728e2563eb4c8bf85c19eb7f93b0bea28184ec Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 03:51:19 -0600 Subject: [PATCH 120/677] Update pdo.php With these lines commented out per domain settings don't work when logged out. --- resources/pdo.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/pdo.php b/resources/pdo.php index d31f27d69e..e856d9ef80 100644 --- a/resources/pdo.php +++ b/resources/pdo.php @@ -306,7 +306,6 @@ if ($db_type == "pgsql") { if (is_array($domains)) { foreach($domains as $row) { - /* if (count($domains) == 1) { $_SESSION["domain_uuid"] = $row["domain_uuid"]; $_SESSION["domain_name"] = $row['domain_name']; @@ -317,7 +316,6 @@ if ($db_type == "pgsql") { $_SESSION["domain_name"] = $row["domain_name"]; } } - */ $_SESSION['domains'][$row['domain_uuid']] = $row; } unset($domains, $prep_statement); From 73fd96ebd21b0c80873d20e2fc4e148306254beb Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 04:05:54 -0600 Subject: [PATCH 121/677] Update check_auth.php Remove $_SESSION['context'] found a better way. --- resources/check_auth.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/check_auth.php b/resources/check_auth.php index f792229104..44eb209d0b 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -74,7 +74,7 @@ if ($result["authorized"] === "true") { //set the session variables $_SESSION["domain_uuid"] = $result["domain_uuid"]; - $_SESSION["domain_name"] = $result["domain_name"]; + //$_SESSION["domain_name"] = $result["domain_name"]; $_SESSION["user_uuid"] = $result["user_uuid"]; //user session array @@ -250,7 +250,6 @@ //set the context $_SESSION['user']['user_context'] = $row["user_context"]; $_SESSION['user_context'] = $row["user_context"]; - $_SESSION['context'] = $_SESSION["domain_name"]; } } unset($sql, $parameters, $result, $row); From b5b5f467bbda85c4f519eb12dc8d32142436d991 Mon Sep 17 00:00:00 2001 From: Nate Date: Thu, 22 Oct 2020 12:26:52 -0600 Subject: [PATCH 122/677] Devices - Export: Minor visual adjustments. --- app/devices/app_languages.php | 23 +++++++++++++++++++++++ app/devices/device_download.php | 30 ++++++++++++++++++------------ 2 files changed, 41 insertions(+), 12 deletions(-) diff --git a/app/devices/app_languages.php b/app/devices/app_languages.php index fdb0516c8c..938af64009 100644 --- a/app/devices/app_languages.php +++ b/app/devices/app_languages.php @@ -4713,6 +4713,29 @@ $text['header-device']['ru-ru'] = "Устройство"; $text['header-device']['sv-se'] = "Enhet"; $text['header-device']['uk-ua'] = ""; +$text['description-device_export']['en-us'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['en-gb'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['ar-eg'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['de-at'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['de-ch'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['de-de'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['ek-gr'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['es-cl'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['es-mx'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['fr-ca'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['fr-fr'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['he-il'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['it-it'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['nl-nl'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['pl-pl'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['pt-br'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['pt-pt'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['ro-ro'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['ru-ru'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['sv-se'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['uk-ua'] = "Select the fields you wish to include in the export."; +$text['description-device_export']['tr-tr'] = "Select the fields you wish to include in the export."; + $text['description-user']['en-us'] = "Assign a user to this device."; $text['description-user']['en-gb'] = "Assign a user to this device."; $text['description-user']['ar-eg'] = ""; diff --git a/app/devices/device_download.php b/app/devices/device_download.php index 95892c64e8..f3569ae1be 100644 --- a/app/devices/device_download.php +++ b/app/devices/device_download.php @@ -147,7 +147,6 @@ $database = new database; $devices = $database->select($sql, $parameters, 'all'); unset($sql, $parameters, $column_names); - //print_r($extensions); foreach($column_group as $table_name => $columns) { if ($table_name !== 'devices') { @@ -202,27 +201,36 @@ echo "
\n"; echo "\n"; - echo "\n"; - echo "\n"; - echo " \n"; - echo " \n"; - echo "\n"; + echo $text['description-device_export']; + echo "

\n"; if (is_array($available_columns) && @sizeof($available_columns) != 0) { $x = 0; foreach ($available_columns as $table_name => $columns) { + $table_name_label = ucwords(str_replace(['-','_',],' ', $table_name)); + echo "
\n"; + echo "".$table_name_label."\n"; + echo "
\n"; + echo "
\n"; - echo " \n"; - echo " ".$text['label-column_name']."
\n"; + echo "\n"; + echo " \n"; + echo " \n"; + echo "\n"; foreach ($columns as $column_name) { $list_row_onclick = "if (!this.checked) { document.getElementById('checkbox_all').checked = false; }"; echo "\n"; echo " \n"; echo " "; echo ""; $x++; } + echo "
\n"; + echo " \n"; + echo " ".$text['label-column_name']."
\n"; - echo " \n"; + echo " \n"; echo " ".$column_name."
\n"; + echo "
\n"; + echo "\n"; } } @@ -231,12 +239,10 @@ //echo " \n"; //echo " \n"; - echo "\n"; - echo "
\n"; echo "\n"; echo "\n"; //include the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file From 6d0865acc8a14fdf4df7ac8a5902f554bc916c95 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 22:09:08 -0600 Subject: [PATCH 123/677] Update send_mail.lua Update local after email. --- .../scripts/resources/functions/send_mail.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/scripts/resources/scripts/resources/functions/send_mail.lua b/app/scripts/resources/scripts/resources/functions/send_mail.lua index 72af13bf59..55ea761982 100644 --- a/app/scripts/resources/scripts/resources/functions/send_mail.lua +++ b/app/scripts/resources/scripts/resources/functions/send_mail.lua @@ -37,6 +37,13 @@ if (email_method == 'queue') then local domain_name = headers["X-FusionPBX-Domain-Name"]; local email_type = headers["X-FusionPBX-Email-Type"] or 'info'; local call_uuid = headers["X-FusionPBX-Email-Call-UUID"]; + local local_after_email = headers["X-FusionPBX-local_after_email"] or ''; + + if (local_after_email == 'false') then + email_action_after = 'delete'; + else + email_action_after = ''; + end local settings = Settings.new(db, domain_name, domain_uuid); @@ -65,7 +72,8 @@ if (email_method == 'queue') then sql = sql .. " email_to, "; sql = sql .. " email_subject, "; sql = sql .. " email_body, "; - sql = sql .. " email_status "; + sql = sql .. " email_status, "; + sql = sql .. " email_action_after "; sql = sql .. ") "; sql = sql .. "values ( "; sql = sql .. " :email_queue_uuid, "; @@ -76,7 +84,8 @@ if (email_method == 'queue') then sql = sql .. " :email_to, "; sql = sql .. " :email_subject, "; sql = sql .. " :email_body, "; - sql = sql .. " :email_status "; + sql = sql .. " :email_status, "; + sql = sql .. " :email_action_after "; sql = sql .. ") "; local params = { email_queue_uuid = email_queue_uuid; @@ -87,6 +96,7 @@ if (email_method == 'queue') then email_subject = email_subject; email_body = email_body; email_status = email_status; + email_action_after = email_action_after; } db:query(sql, params); From f5a34d02f0a2936e775d178f4209542700d6d306 Mon Sep 17 00:00:00 2001 From: Darren Williams <9353544+PBXForums@users.noreply.github.com> Date: Fri, 23 Oct 2020 19:14:09 +0100 Subject: [PATCH 124/677] Include profile and caller id type in copy --- app/gateways/gateway_copy.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/gateways/gateway_copy.php b/app/gateways/gateway_copy.php index 8cbd42a76f..81072b678f 100644 --- a/app/gateways/gateway_copy.php +++ b/app/gateways/gateway_copy.php @@ -75,12 +75,14 @@ $channels = $row["channels"]; $caller_id_in_from = $row["caller_id_in_from"]; $supress_cng = $row["supress_cng"]; + $sip_cid_type = $row["sip_cid_type"]; $extension_in_contact = $row["extension_in_contact"]; $effective_caller_id_name = $row["effective_caller_id_name"]; $effective_caller_id_number = $row["effective_caller_id_number"]; $outbound_caller_id_name = $row["outbound_caller_id_name"]; $outbound_caller_id_number = $row["outbound_caller_id_number"]; $context = $row["context"]; + $profile = $row["profile"]; $enabled = $row["enabled"]; $description = $row["description"]." (".$text['label-copy'].")"; } @@ -118,8 +120,10 @@ //$array['gateways'][0]['channels'] = $channels; $array['gateways'][0]['caller_id_in_from'] = $caller_id_in_from; $array['gateways'][0]['supress_cng'] = $supress_cng; + $array['gateways'][0]['sip_cid_type'] = $sip_cid_type; $array['gateways'][0]['extension_in_contact'] = $extension_in_contact; $array['gateways'][0]['context'] = $context; + $array['gateways'][0]['profile'] = $profile; $array['gateways'][0]['enabled'] = $enabled; $array['gateways'][0]['description'] = $description; From 963bbffc0fd33bab114533cd3984e43b82aaacb1 Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Mon, 26 Oct 2020 17:56:38 -0400 Subject: [PATCH 125/677] outbound route to bridge add support for bridge failover --- resources/switch.php | 159 +++++++++++++++++++++---------------------- 1 file changed, 79 insertions(+), 80 deletions(-) diff --git a/resources/switch.php b/resources/switch.php index f83401c8f8..76652fcdb3 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -432,97 +432,96 @@ function outbound_route_to_bridge($domain_uuid, $destination_number, array $chan $hostname = 'unknown'; } - $sql = "select * from v_dialplans "; - if (is_uuid($domain_uuid)) { - $sql .= "where (domain_uuid = :domain_uuid or domain_uuid is null) "; - } - else { - $sql .= "where (domain_uuid is null) "; - } - $sql .= "and (hostname = :hostname or hostname is null) "; - $sql .= "and app_uuid = '8c914ec3-9fc0-8ab5-4cda-6c9288bdc9a3' "; - $sql .= "and dialplan_enabled = 'true' "; - $sql .= "order by dialplan_order asc "; + $sql = "select d.dialplan_uuid, "; + $sql .= "d.dialplan_name, "; + $sql .= "dd.dialplan_detail_uuid, "; + $sql .= "dd.dialplan_detail_tag, "; + $sql .= "dd.dialplan_detail_type, "; + $sql .= "dd.dialplan_detail_data , "; + $sql .= "d.dialplan_continue "; + $sql .= "from v_dialplans d, v_dialplan_details dd "; + $sql .= "where d.dialplan_uuid = dd.dialplan_uuid "; if (is_uuid($domain_uuid)) { + $sql .= "and (d.domain_uuid = :domain_uuid or d.domain_uuid is null) "; $parameters['domain_uuid'] = $domain_uuid; } + else { + $sql .= "and (d.domain_uuid is null) "; + } + $sql .= "and (hostname = :hostname or hostname is null) "; + $sql .= "and d.app_uuid = '8c914ec3-9fc0-8ab5-4cda-6c9288bdc9a3' "; + $sql .= "and d.dialplan_enabled = 'true' "; + $sql .= "order by d.domain_uuid, d.dialplan_order, dd.dialplan_detail_order "; $parameters['hostname'] = $hostname; $database = new database; $result = $database->select($sql, $parameters, 'all'); unset($sql, $parameters); + if (is_array($result) && @sizeof($result) != 0) { - $x = 0; foreach ($result as &$row) { - //set as variables - $dialplan_uuid = $row['dialplan_uuid']; - $dialplan_detail_tag = $row["dialplan_detail_tag"]; - $dialplan_detail_type = $row['dialplan_detail_type']; - $dialplan_continue = $row['dialplan_continue']; - - //get the extension number using the dialplan_uuid - $sql = "select * "; - $sql .= "from v_dialplan_details "; - $sql .= "where dialplan_uuid = :dialplan_uuid "; - $sql .= "order by dialplan_detail_order asc "; - $parameters['dialplan_uuid'] = $dialplan_uuid; - $database = new database; - $sub_result = $database->select($sql, $parameters, 'all'); - unset($sql, $parameters); - - $condition_match = false; - if (is_array($sub_result) && @sizeof($sub_result) != 0) { - foreach ($sub_result as &$sub_row) { - if ($sub_row['dialplan_detail_tag'] == "condition") { - if ($sub_row['dialplan_detail_type'] == "destination_number") { - $pattern = '/'.$sub_row['dialplan_detail_data'].'/'; - preg_match($pattern, $destination_number, $matches, PREG_OFFSET_CAPTURE); - if (count($matches) == 0) { - $condition_match[] = 'false'; - } - else { - $condition_match[] = 'true'; - $regex_match_1 = $matches[1][0]; - $regex_match_2 = $matches[2][0]; - $regex_match_3 = $matches[3][0]; - $regex_match_4 = $matches[4][0]; - $regex_match_5 = $matches[5][0]; - } - } - elseif ($sub_row['dialplan_detail_type'] == "\${toll_allow}") { - $pattern = '/'.$sub_row['dialplan_detail_data'].'/'; - preg_match($pattern, $channel_variables['toll_allow'], $matches, PREG_OFFSET_CAPTURE); - if (count($matches) == 0) { - $condition_match[] = 'false'; - } - else { - $condition_match[] = 'true'; - } - } - } - } - } - - if (!in_array('false', $condition_match)) { - $x = 0; - foreach ($sub_result as &$sub_row) { - $dialplan_detail_data = $sub_row['dialplan_detail_data']; - if ($sub_row['dialplan_detail_tag'] == "action" && $sub_row['dialplan_detail_type'] == "bridge" && $dialplan_detail_data != "\${enum_auto_route}") { - $dialplan_detail_data = str_replace("\$1", $regex_match_1, $dialplan_detail_data); - $dialplan_detail_data = str_replace("\$2", $regex_match_2, $dialplan_detail_data); - $dialplan_detail_data = str_replace("\$3", $regex_match_3, $dialplan_detail_data); - $dialplan_detail_data = str_replace("\$4", $regex_match_4, $dialplan_detail_data); - $dialplan_detail_data = str_replace("\$5", $regex_match_5, $dialplan_detail_data); - $bridge_array[$x] = $dialplan_detail_data; - $x++; - if ($dialplan_continue == "false") { - break 2; - } - } - } - } + $dialplan_uuid = $row["dialplan_uuid"]; + $dialplan_detail_uuid = $row["dialplan_detail_uuid"]; + $outbound_routes[$dialplan_uuid][$dialplan_detail_uuid]["dialplan_detail_tag"] = $row["dialplan_detail_tag"]; + $outbound_routes[$dialplan_uuid][$dialplan_detail_uuid]["dialplan_detail_type"] = $row["dialplan_detail_type"]; + $outbound_routes[$dialplan_uuid][$dialplan_detail_uuid]["dialplan_detail_data"] = $row["dialplan_detail_data"]; + $outbound_routes[$dialplan_uuid]["dialplan_continue"] = $row["dialplan_continue"]; + } + } + + if (is_array($outbound_routes) && @sizeof($outbound_routes) != 0) { + $x = 0; + foreach ($outbound_routes as &$dialplan) { + $condition_match = false; + foreach ($dialplan as &$dialplan_details) { + if ($dialplan_details['dialplan_detail_tag'] == "condition") { + if ($dialplan_details['dialplan_detail_type'] == "destination_number") { + $pattern = '/'.$dialplan_details['dialplan_detail_data'].'/'; + preg_match($pattern, $destination_number, $matches, PREG_OFFSET_CAPTURE); + if (count($matches) == 0) { + $condition_match[] = 'false'; + } + else { + $condition_match[] = 'true'; + $regex_match_1 = $matches[1][0]; + $regex_match_2 = $matches[2][0]; + $regex_match_3 = $matches[3][0]; + $regex_match_4 = $matches[4][0]; + $regex_match_5 = $matches[5][0]; + } + } + elseif ($dialplan_details['dialplan_detail_type'] == "\${toll_allow}") { + $pattern = '/'.$dialplan_details['dialplan_detail_data'].'/'; + preg_match($pattern, $channel_variables['toll_allow'], $matches, PREG_OFFSET_CAPTURE); + if (count($matches) == 0) { + $condition_match[] = 'false'; + } + else { + $condition_match[] = 'true'; + } + } + } + } + + if (!in_array('false', $condition_match)) { + foreach ($dialplan as &$dialplan_details) { + $dialplan_detail_data = $dialplan_details['dialplan_detail_data']; + if ($dialplan_details['dialplan_detail_tag'] == "action" && $dialplan_details['dialplan_detail_type'] == "bridge" && $dialplan_detail_data != "\${enum_auto_route}") { + $dialplan_detail_data = str_replace("\$1", $regex_match_1, $dialplan_detail_data); + $dialplan_detail_data = str_replace("\$2", $regex_match_2, $dialplan_detail_data); + $dialplan_detail_data = str_replace("\$3", $regex_match_3, $dialplan_detail_data); + $dialplan_detail_data = str_replace("\$4", $regex_match_4, $dialplan_detail_data); + $dialplan_detail_data = str_replace("\$5", $regex_match_5, $dialplan_detail_data); + $bridge_array[$x] = $dialplan_detail_data; + $x++; + } + } + + if ($dialplan["dialplan_continue"] == "false") { + break; + } + } } } - unset($result, $row); return $bridge_array; } //$destination_number = '1231234'; From b5f85d43caabaf6726d7aa334fd21593fdd0135a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 26 Oct 2020 18:07:40 -0600 Subject: [PATCH 126/677] Update dialplan_outbound_add.php Adjust permissions to work better for admin if the outbound_route_add permissions is set. --- .../dialplan_outbound_add.php | 96 ++++++++++--------- 1 file changed, 52 insertions(+), 44 deletions(-) diff --git a/app/dialplan_outbound/dialplan_outbound_add.php b/app/dialplan_outbound/dialplan_outbound_add.php index 7ee05958d5..b33f058583 100644 --- a/app/dialplan_outbound/dialplan_outbound_add.php +++ b/app/dialplan_outbound/dialplan_outbound_add.php @@ -684,6 +684,11 @@ } //end foreach } + //add the dialplan permission + $p = new permissions; + $p->add("dialplan_add", "temp"); + $p->add("dialplan_detail_add", "temp"); + //save to the data $database = new database; $database->app_name = 'outbound_routes'; @@ -699,6 +704,10 @@ $dialplans->uuid = $dialplan_uuid; $dialplans->xml(); + //remove the temporary permission + $p->delete("dialplan_add", "temp"); + $p->delete("dialplan_detail_add", "temp"); + //clear the cache $cache = new cache; $cache->delete("dialplan:".$dialplan_context); @@ -806,50 +815,49 @@ function type_onchange(dialplan_detail_type) { echo "\n"; echo "\n"; - if (if_group("superadmin")) { - echo "\n"; - echo "\n"; - } + echo "\n"; + echo "\n"; + //set the onchange $onchange = ''; From 8d4d42bbe77b9b6a8c44e4939e8ad9047bc6c9e9 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 26 Oct 2020 19:20:39 -0600 Subject: [PATCH 127/677] Update pdo.php When the user is not logged in then set the domain_uuid and domain_name based on domain from the URL. --- resources/pdo.php | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/resources/pdo.php b/resources/pdo.php index e856d9ef80..93a10fe984 100644 --- a/resources/pdo.php +++ b/resources/pdo.php @@ -304,18 +304,20 @@ if ($db_type == "pgsql") { unset($result); } - if (is_array($domains)) { + if (is_array($domains)) { foreach($domains as $row) { - if (count($domains) == 1) { - $_SESSION["domain_uuid"] = $row["domain_uuid"]; - $_SESSION["domain_name"] = $row['domain_name']; - } - else { - if ($row['domain_name'] == $domain_array[0] || $row['domain_name'] == 'www.'.$domain_array[0]) { + if (!isset($_SESSION['username'])) { + if (count($domains) == 1) { $_SESSION["domain_uuid"] = $row["domain_uuid"]; - $_SESSION["domain_name"] = $row["domain_name"]; + $_SESSION["domain_name"] = $row['domain_name']; } - } + else { + if ($row['domain_name'] == $domain_array[0] || $row['domain_name'] == 'www.'.$domain_array[0]) { + $_SESSION["domain_uuid"] = $row["domain_uuid"]; + $_SESSION["domain_name"] = $row["domain_name"]; + } + } + } $_SESSION['domains'][$row['domain_uuid']] = $row; } unset($domains, $prep_statement); From 1b0d8ceb419a9b1c33c7bbedb943f46172f14220 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 26 Oct 2020 19:22:46 -0600 Subject: [PATCH 128/677] Update database.php Get the domain name from the database. --- .../resources/classes/plugins/database.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/core/authentication/resources/classes/plugins/database.php b/core/authentication/resources/classes/plugins/database.php index ceb6405596..f75cac26b0 100644 --- a/core/authentication/resources/classes/plugins/database.php +++ b/core/authentication/resources/classes/plugins/database.php @@ -30,13 +30,15 @@ class plugin_database { $user_authorized = false; //check the username and password if they don't match then redirect to the login - $sql = "select * from v_users "; + $sql = "select u.user_uuid, u.contact_uuid, u.username, u.password, u.salt, u.api_key, d.domain_name "; + $sql .= "from v_users as u, v_domains as d "; + $sql .= "where u.domain_uuid = d.domain_uuid "; if (strlen($this->key) > 30) { - $sql .= "where api_key = :api_key "; + $sql .= "and u.api_key = :api_key "; $parameters['api_key'] = $this->key; } else { - $sql .= "where lower(username) = lower(:username) "; + $sql .= "and lower(u.username) = lower(:username) "; $parameters['username'] = $this->username; } if ($_SESSION["users"]["unique"]["text"] === "global") { @@ -44,7 +46,7 @@ class plugin_database { } else { //unique username - per domain - $sql .= "and domain_uuid = :domain_uuid "; + $sql .= "and u.domain_uuid = :domain_uuid "; $parameters['domain_uuid'] = $this->domain_uuid; } $sql .= "and (user_enabled = 'true' or user_enabled is null) "; @@ -56,7 +58,7 @@ class plugin_database { if ($_SESSION["users"]["unique"]["text"] === "global" && $row["domain_uuid"] !== $this->domain_uuid) { //set the domain_uuid $this->domain_uuid = $row["domain_uuid"]; - $this->domain_name = $_SESSION['domains'][$this->domain_uuid]['domain_name']; + $this->domain_name = $row["domain_name"]; //set the domain session variables $_SESSION["domain_uuid"] = $this->domain_uuid; From d5bc65111a59ae12d9ad9c69183f509915c1990e Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 27 Oct 2020 11:21:12 -0600 Subject: [PATCH 129/677] Call Block: Partial support for Country Code. --- app/call_block/app_config.php | 6 ++- app/call_block/app_defaults.php | 2 +- app/call_block/app_languages.php | 42 +++++++++++++++++++ app/call_block/call_block.php | 14 ++++++- app/call_block/call_block_edit.php | 21 ++++++++-- .../resources/classes/call_block.php | 7 +++- resources/functions.php | 18 ++++++-- 7 files changed, 98 insertions(+), 12 deletions(-) diff --git a/app/call_block/app_config.php b/app/call_block/app_config.php index 66240bd553..55de7f1379 100644 --- a/app/call_block/app_config.php +++ b/app/call_block/app_config.php @@ -113,11 +113,15 @@ $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name."; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "call_block_country_code"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the country code."; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_block_number"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "blocked_caller_number"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true'; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the full phone number."; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the phone number."; $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_block_count"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "blocked_call_count"; diff --git a/app/call_block/app_defaults.php b/app/call_block/app_defaults.php index ad9a9495fb..9160edc51e 100644 --- a/app/call_block/app_defaults.php +++ b/app/call_block/app_defaults.php @@ -30,7 +30,7 @@ if ($domains_processed == 1) { $database = new database; $database->execute("DROP VIEW view_call_block;", null); $sql = "CREATE VIEW view_call_block AS ( \n"; - $sql .= " select c.domain_uuid, call_block_uuid, c.extension_uuid, call_block_name, \n"; + $sql .= " select c.domain_uuid, call_block_uuid, c.extension_uuid, call_block_name, call_block_country_code, \n"; $sql .= " call_block_number, extension, number_alias, call_block_count, call_block_app, call_block_data, date_added, call_block_enabled, call_block_description \n"; $sql .= " from v_call_block as c \n"; $sql .= " left join v_extensions as e \n"; diff --git a/app/call_block/app_languages.php b/app/call_block/app_languages.php index 69c914bac4..d7495285c7 100644 --- a/app/call_block/app_languages.php +++ b/app/call_block/app_languages.php @@ -177,6 +177,27 @@ $text['label-provide-enabled']['ru-ru'] = "Пожалуйста, введите: $text['label-provide-enabled']['sv-se'] = "Ange: Aktiverad"; $text['label-provide-enabled']['uk-ua'] = "Включити/відключити"; +$text['label-country_code']['en-us'] = "Country Code"; +$text['label-country_code']['en-gb'] = "Country Code"; +$text['label-country_code']['ar-eg'] = ""; +$text['label-country_code']['de-at'] = ""; //copied from de-de +$text['label-country_code']['de-ch'] = ""; //copied from de-de +$text['label-country_code']['de-de'] = ""; +$text['label-country_code']['es-cl'] = ""; +$text['label-country_code']['es-mx'] = ""; //copied from es-cl +$text['label-country_code']['fr-ca'] = "Préfixe"; //copied from fr-fr +$text['label-country_code']['fr-fr'] = "Préfixe"; +$text['label-country_code']['he-il'] = ""; +$text['label-country_code']['it-it'] = ""; +$text['label-country_code']['nl-nl'] = "Voorloop"; +$text['label-country_code']['pl-pl'] = ""; +$text['label-country_code']['pt-br'] = "Prefixo"; //copied from pt-pt +$text['label-country_code']['pt-pt'] = ""; +$text['label-country_code']['ro-ro'] = ""; +$text['label-country_code']['ru-ru'] = ""; +$text['label-country_code']['sv-se'] = ""; +$text['label-country_code']['uk-ua'] = ""; + $text['label-number']['en-us'] = "Number"; $text['label-number']['en-gb'] = "Number"; $text['label-number']['ar-eg'] = "رقم"; @@ -595,6 +616,27 @@ $text['description-call_block_name']['ru-ru'] = ""; $text['description-call_block_name']['sv-se'] = ""; $text['description-call_block_name']['uk-ua'] = ""; +$text['description-country_code']['en-us'] = "Enter the Country Code prefix."; +$text['description-country_code']['en-gb'] = "Enter the Country Code prefix."; +$text['description-country_code']['ar-eg'] = ""; +$text['description-country_code']['de-at'] = ""; //copied from de-de +$text['description-country_code']['de-ch'] = ""; //copied from de-de +$text['description-country_code']['de-de'] = ""; +$text['description-country_code']['es-cl'] = ""; +$text['description-country_code']['es-mx'] = ""; //copied from es-cl +$text['description-country_code']['fr-ca'] = "Entrez le préfixe de destination."; //copied from fr-fr +$text['description-country_code']['fr-fr'] = "Entrez le préfixe de destination."; +$text['description-country_code']['he-il'] = ""; +$text['description-country_code']['it-it'] = ""; +$text['description-country_code']['nl-nl'] = "Voer de bestemming prefix in."; +$text['description-country_code']['pl-pl'] = ""; +$text['description-country_code']['pt-br'] = "Insira o prefixo do destino."; +$text['description-country_code']['pt-pt'] = ""; +$text['description-country_code']['ro-ro'] = ""; +$text['description-country_code']['ru-ru'] = ""; +$text['description-country_code']['sv-se'] = ""; +$text['description-country_code']['uk-ua'] = ""; + $text['description-call_block_number']['en-us'] = "Enter the Caller ID Number to block."; $text['description-call_block_number']['en-gb'] = "Enter the Caller ID Number to block."; $text['description-call_block_number']['ar-eg'] = ""; diff --git a/app/call_block/call_block.php b/app/call_block/call_block.php index bba27639d1..c9212fc585 100644 --- a/app/call_block/call_block.php +++ b/app/call_block/call_block.php @@ -83,6 +83,7 @@ if (strlen($search) > 0) { $sql_search = " ("; $sql_search .= "lower(call_block_name) like :search "; + $sql_search .= "or call_block_country_code like :search "; $sql_search .= "or lower(call_block_number) like :search "; $sql_search .= "or lower(call_block_description) like :search "; $sql_search .= ") "; @@ -136,7 +137,7 @@ if (isset($sql_search)) { $sql .= "and ".$sql_search; } - $sql .= order_by($order_by, $order, 'call_block_number'); + $sql .= order_by($order_by, $order, ['call_block_country_code','call_block_number']); $sql .= limit_offset($rows_per_page, $offset); $database = new database; $result = $database->select($sql, $parameters, 'all'); @@ -204,6 +205,7 @@ } echo th_order_by('extension', $text['label-extension'], $order_by, $order); echo th_order_by('call_block_name', $text['label-name'], $order_by, $order); + echo th_order_by('call_block_country_code', $text['label-country_code'], $order_by, $order); echo th_order_by('call_block_number', $text['label-number'], $order_by, $order); echo th_order_by('call_block_count', $text['label-count'], $order_by, $order, '', "class='center hide-sm-dn'"); echo th_order_by('call_block_action', $text['label-action'], $order_by, $order); @@ -238,6 +240,14 @@ echo " \n"; echo " ".escape($row['call_block_name'])."\n"; echo " "; + if (permission_exists('call_block_edit')) { + echo "".escape($row['call_block_country_code']).""; + } + else { + echo escape($row['call_block_country_code']); + } + echo " \n"; + echo " "; if (permission_exists('call_block_edit')) { echo "".escape(format_phone($row['call_block_number'])).""; } @@ -280,4 +290,4 @@ //include the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file diff --git a/app/call_block/call_block_edit.php b/app/call_block/call_block_edit.php index 33e6581b43..ba94d7b06d 100644 --- a/app/call_block/call_block_edit.php +++ b/app/call_block/call_block_edit.php @@ -54,6 +54,7 @@ if (count($_POST) > 0) { $extension_uuid = $_POST["extension_uuid"]; $call_block_name = $_POST["call_block_name"]; + $call_block_country_code = $_POST["call_block_country_code"]; $call_block_number = $_POST["call_block_number"]; $call_block_enabled = $_POST["call_block_enabled"]; $call_block_description = $_POST["call_block_description"]; @@ -164,6 +165,7 @@ $array['call_block'][0]['extension_uuid'] = $extension_uuid; } $array['call_block'][0]['call_block_name'] = $call_block_name; + $array['call_block'][0]['call_block_country_code'] = $call_block_country_code; $array['call_block'][0]['call_block_number'] = $call_block_number; $array['call_block'][0]['call_block_count'] = 0; $array['call_block'][0]['call_block_app'] = $call_block_app; @@ -184,7 +186,7 @@ return; } if ($action == "update") { - $sql = "select c.call_block_number, d.domain_name "; + $sql = "select c.call_block_country_code, c.call_block_number, d.domain_name "; $sql .= "from v_call_block as c "; $sql .= "join v_domains as d on c.domain_uuid = d.domain_uuid "; $sql .= "where c.domain_uuid = :domain_uuid "; @@ -199,7 +201,7 @@ //clear the cache $cache = new cache; - $cache->delete("app:call_block:".$domain_name.":".$call_block_number); + $cache->delete("app:call_block:".$domain_name.":".$call_block_country_code.$call_block_number); } unset($sql, $parameters); @@ -209,6 +211,7 @@ $array['call_block'][0]['extension_uuid'] = $extension_uuid; } $array['call_block'][0]['call_block_name'] = $call_block_name; + $array['call_block'][0]['call_block_country_code'] = $call_block_country_code; $array['call_block'][0]['call_block_number'] = $call_block_number; $array['call_block'][0]['call_block_app'] = $call_block_app; $array['call_block'][0]['call_block_data'] = $call_block_data; @@ -243,6 +246,7 @@ if (is_array($row) && sizeof($row) != 0) { $extension_uuid = $row["extension_uuid"]; $call_block_name = $row["call_block_name"]; + $call_block_country_code = $row["call_block_country_code"]; $call_block_number = $row["call_block_number"]; $call_block_app = $row["call_block_app"]; $call_block_data = $row["call_block_data"]; @@ -351,6 +355,17 @@ echo "\n"; echo "\n"; + echo "\n"; + echo "\n"; + echo " ".$text['label-country_code']."\n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo "
\n"; + echo $text['description-country_code']."\n"; + echo "\n"; + echo "\n"; + echo "\n"; echo "\n"; echo " ".$text['label-number']."\n"; @@ -639,4 +654,4 @@ //include the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file diff --git a/app/call_block/resources/classes/call_block.php b/app/call_block/resources/classes/call_block.php index fcb61a6555..cbb3c419a5 100644 --- a/app/call_block/resources/classes/call_block.php +++ b/app/call_block/resources/classes/call_block.php @@ -318,6 +318,9 @@ if (!class_exists('call_block')) { if (is_array($rows) && @sizeof($rows) != 0) { foreach ($rows as $x => $row) { + //trim plus and any spaces + $row["caller_id_number"] = trim($row["caller_id_number"], '+ '); + //build insert array if (permission_exists('call_block_all')) { $array['call_block'][$x]['call_block_uuid'] = uuid(); @@ -326,7 +329,7 @@ if (!class_exists('call_block')) { $array['call_block'][$x]['extension_uuid'] = $this->extension_uuid; } $array['call_block'][$x]['call_block_name'] = trim($row["caller_id_name"]); - $array['call_block'][$x]['call_block_number'] = trim($row["caller_id_number"]); + $array['call_block'][$x]['call_block_number'] = $row["caller_id_number"]; $array['call_block'][$x]['call_block_count'] = 0; $array['call_block'][$x]['call_block_app'] = $this->call_block_app; $array['call_block'][$x]['call_block_data'] = $this->call_block_data; @@ -342,7 +345,7 @@ if (!class_exists('call_block')) { $array['call_block'][$x]['domain_uuid'] = $_SESSION['domain_uuid']; $array['call_block'][$x]['extension_uuid'] = $field['extension_uuid']; $array['call_block'][$x]['call_block_name'] = trim($row["caller_id_name"]); - $array['call_block'][$x]['call_block_number'] = trim($row["caller_id_number"]); + $array['call_block'][$x]['call_block_number'] = $row["caller_id_number"]; $array['call_block'][$x]['call_block_count'] = 0; $array['call_block'][$x]['call_block_app'] = $this->call_block_app; $array['call_block'][$x]['call_block_data'] = $this->call_block_data; diff --git a/resources/functions.php b/resources/functions.php index 9203a49788..65bcbdf6f7 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -2058,13 +2058,25 @@ function number_pad($number,$n) { //validate and format order by clause of select statement if (!function_exists('order_by')) { function order_by($col, $dir, $col_default = '', $dir_default = 'asc') { + $order_by = ' order by '; $col = preg_replace('#[^a-zA-Z0-9-_.]#', '', $col); $dir = strtolower($dir) == 'desc' ? 'desc' : 'asc'; if ($col != '') { - return ' order by '.$col.' '.$dir.' '; + return $order_by.$col.' '.$dir.' '; } - else if ($col_default != '') { - return ' order by '.$col_default.' '.$dir_default.' '; + else if (is_array($col_default) || $col_default != '') { + if (is_array($col_default) && @sizeof($col_default) != 0) { + foreach ($col_default as $k => $column) { + $direction = (is_array($dir_default) && @sizeof($dir_default) != 0 && (strtolower($dir_default[$k]) == 'asc' || strtolower($dir_default[$k]) == 'desc')) ? $dir_default[$k] : 'asc'; + $order_bys[] = $column.' '.$direction.' '; + } + if (is_array($order_bys) && @sizeof($order_bys) != 0) { + return $order_by.implode(', ', $order_bys); + } + } + else { + return $order_by.$col_default.' '.$dir_default.' '; + } } } } From c0e0cd31011b103deb0f6b0c0533f0ca92dbc9b9 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 27 Oct 2020 15:50:24 -0600 Subject: [PATCH 130/677] Update database.php Add domain_uuid to the SQL select statement. --- core/authentication/resources/classes/plugins/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/authentication/resources/classes/plugins/database.php b/core/authentication/resources/classes/plugins/database.php index f75cac26b0..df85e1e936 100644 --- a/core/authentication/resources/classes/plugins/database.php +++ b/core/authentication/resources/classes/plugins/database.php @@ -30,7 +30,7 @@ class plugin_database { $user_authorized = false; //check the username and password if they don't match then redirect to the login - $sql = "select u.user_uuid, u.contact_uuid, u.username, u.password, u.salt, u.api_key, d.domain_name "; + $sql = "select u.user_uuid, u.contact_uuid, u.username, u.password, u.salt, u.api_key, u.domain_uuid, d.domain_name "; $sql .= "from v_users as u, v_domains as d "; $sql .= "where u.domain_uuid = d.domain_uuid "; if (strlen($this->key) > 30) { From afcbdaf6760435b6058e3734f12bb95843cc58c4 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 27 Oct 2020 20:02:19 -0600 Subject: [PATCH 131/677] Update record_message.lua Improve the indentation --- .../resources/functions/record_message.lua | 116 +++++++++--------- 1 file changed, 57 insertions(+), 59 deletions(-) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/record_message.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/record_message.lua index 7943ff2355..d3c4b59588 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/record_message.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/record_message.lua @@ -277,73 +277,71 @@ end end end - - if (transcribe_provider == "google") then - local api_key = settings:get('voicemail', 'google_key', 'text') or ''; - local transcription_server = settings:get('voicemail', 'google_url', 'text') or ''; - if (api_key ~= '') then - transcribe_cmd = [[sox ]]..file_path..[[ ]]..file_path..[[.flac && echo "{ 'config': { 'languageCode': 'en-US', 'enableWordTimeOffsets': false }, 'audio': { 'content': '`base64 -w 0 ]]..file_path..[[.flac`' } }" | curl -X POST -H "Content-Type: application/json" -d @- "]]..transcription_server..[[:recognize?key=]]..api_key..[[" && rm -f ]]..file_path..[[.flac]] -end + if (transcribe_provider == "google") then + local api_key = settings:get('voicemail', 'google_key', 'text') or ''; + local transcription_server = settings:get('voicemail', 'google_url', 'text') or ''; + if (api_key ~= '') then + transcribe_cmd = [[sox ]]..file_path..[[ ]]..file_path..[[.flac && echo "{ 'config': { 'languageCode': 'en-US', 'enableWordTimeOffsets': false }, 'audio': { 'content': '`base64 -w 0 ]]..file_path..[[.flac`' } }" | curl -X POST -H "Content-Type: application/json" -d @- "]]..transcription_server..[[:recognize?key=]]..api_key..[[" && rm -f ]]..file_path..[[.flac]] + end - local handle = io.popen(transcribe_cmd); - local transcribe_result = handle:read("*a"); - transcribe_result = transcribe_result:gsub('%%HESITATION ', ''); - handle:close(); - if (debug["info"]) then - freeswitch.consoleLog("notice", "[voicemail] CMD: " .. transcribe_cmd .. "\n"); - freeswitch.consoleLog("notice", "[voicemail] RESULT: " .. transcribe_result .. "\n"); - end + local handle = io.popen(transcribe_cmd); + local transcribe_result = handle:read("*a"); + transcribe_result = transcribe_result:gsub('%%HESITATION ', ''); + handle:close(); + if (debug["info"]) then + freeswitch.consoleLog("notice", "[voicemail] CMD: " .. transcribe_cmd .. "\n"); + freeswitch.consoleLog("notice", "[voicemail] RESULT: " .. transcribe_result .. "\n"); + end - --Trancribe request can fail - if (transcribe_result == '') then - freeswitch.consoleLog("notice", "[voicemail] TRANSCRIPTION: (null) \n"); - return '' - else - status, transcribe_json = pcall(JSON.decode, transcribe_result); - if not status then - if (debug["info"]) then - freeswitch.consoleLog("notice", "[voicemail] error decoding google json\n"); - end - return ''; - end - end - - if (transcribe_json["results"] ~= nil) then - --Transcription - if (transcribe_json["results"][1]["alternatives"][1]["transcript"] ~= nil) then - transcription = ''; - for key, row in pairs(transcribe_json["results"]) do - transcription = transcription .. row["alternatives"][1]["transcript"]; - end - if (debug["info"]) then - freeswitch.consoleLog("notice", "[voicemail] TRANSCRIPTION: " .. transcription .. "\n"); - end - else - if (debug["info"]) then - freeswitch.consoleLog("notice", "[voicemail] TRANSCRIPTION: (null) \n"); - end - return ''; + --Trancribe request can fail + if (transcribe_result == '') then + freeswitch.consoleLog("notice", "[voicemail] TRANSCRIPTION: (null) \n"); + return '' + else + status, transcribe_json = pcall(JSON.decode, transcribe_result); + if not status then + if (debug["info"]) then + freeswitch.consoleLog("notice", "[voicemail] error decoding google json\n"); end - --Confidence - if (transcribe_json["results"][1]["alternatives"][1]["confidence"]) then - if (debug["info"]) then - freeswitch.consoleLog("notice", "[voicemail] CONFIDENCE: " .. transcribe_json["results"][1]["alternatives"][1]["confidence"] .. "\n"); - end - confidence = transcribe_json["results"][1]["alternatives"][1]["confidence"]; - else - if (debug["info"]) then - freeswitch.consoleLog("notice", "[voicemail] CONFIDENCE: (null) \n"); - end + return ''; + end + end + if (transcribe_json["results"] ~= nil) then + --Transcription + if (transcribe_json["results"][1]["alternatives"][1]["transcript"] ~= nil) then + transcription = ''; + for key, row in pairs(transcribe_json["results"]) do + transcription = transcription .. row["alternatives"][1]["transcript"]; + end + if (debug["info"]) then + freeswitch.consoleLog("notice", "[voicemail] TRANSCRIPTION: " .. transcription .. "\n"); end - return transcription; else if (debug["info"]) then - freeswitch.consoleLog("notice", "[voicemail] TRANSCRIPTION: json error \n"); + freeswitch.consoleLog("notice", "[voicemail] TRANSCRIPTION: (null) \n"); end return ''; end + --Confidence + if (transcribe_json["results"][1]["alternatives"][1]["confidence"]) then + if (debug["info"]) then + freeswitch.consoleLog("notice", "[voicemail] CONFIDENCE: " .. transcribe_json["results"][1]["alternatives"][1]["confidence"] .. "\n"); + end + confidence = transcribe_json["results"][1]["alternatives"][1]["confidence"]; + else + if (debug["info"]) then + freeswitch.consoleLog("notice", "[voicemail] CONFIDENCE: (null) \n"); + end + end + return transcription; + else + if (debug["info"]) then + freeswitch.consoleLog("notice", "[voicemail] TRANSCRIPTION: json error \n"); + end + return ''; end + end if (transcribe_provider == "custom") then local transcription_server = settings:get('voicemail', 'transcription_server', 'text') or ''; @@ -396,9 +394,9 @@ end local message_max_length = settings:get('voicemail', 'message_max_length', 'numeric') or 300; local message_silence_threshold = settings:get('voicemail', 'message_silence_threshold', 'numeric') or 200; local message_silence_seconds = settings:get('voicemail', 'message_silence_seconds', 'numeric') or 3; - transcribe_enabled = settings:get('voicemail', 'transcribe_enabled', 'boolean') or "false"; + local email_queue_enabled = settings:get('email_queue', 'enabled', 'boolean') or "false"; local transcribe_provider = settings:get('voicemail', 'transcribe_provider', 'text') or ''; - local email_method = settings:get('email', 'method', 'text') or "smtp"; + transcribe_enabled = settings:get('voicemail', 'transcribe_enabled', 'boolean') or "false"; --debug information if (debug["info"]) then @@ -528,7 +526,7 @@ end start_epoch = os.time(); --if using the email queue disable inline transcription - if (email_method == 'queue') then + if (email_queue_enabled == 'true') then transcribe_enabled = 'false'; end From 54db7db4c3e7e1b871a090219ff002cd935ce566 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 27 Oct 2020 20:38:44 -0600 Subject: [PATCH 132/677] Update send_email.lua Add email_queue_enabled --- .../scripts/app/voicemail/resources/functions/send_email.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua index 7e3a95095a..421ed9540a 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua @@ -32,8 +32,8 @@ function send_email(id, uuid) local db = dbh or Database.new('system') local settings = Settings.new(db, domain_name, domain_uuid) - local email_method = settings:get('email', 'method', 'text'); local transcribe_enabled = settings:get('voicemail', 'transcribe_enabled', 'boolean'); + local email_queue_enabled = settings:get('email_queue', 'enabled', 'boolean') or "false"; --get voicemail message details local sql = [[SELECT * FROM v_voicemails @@ -230,7 +230,7 @@ end --whether to keep the voicemail message and details local after email - if (string.len(voicemail_mail_to) > 2 and email_method ~= 'queue') then + if (string.len(voicemail_mail_to) > 2 and email_queue_enabled == 'false') then if (voicemail_local_after_email == "false") then --delete the voicemail message details local sql = [[DELETE FROM v_voicemail_messages From a5dadb650bb0d6d1e5079ffb3fc4abd55c9540f0 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 27 Oct 2020 20:42:09 -0600 Subject: [PATCH 133/677] Update send_mail.lua Use a more concise method to get default settings for email. --- .../scripts/resources/functions/send_mail.lua | 28 ++++--------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/app/scripts/resources/scripts/resources/functions/send_mail.lua b/app/scripts/resources/scripts/resources/functions/send_mail.lua index 55ea761982..1fcc83f119 100644 --- a/app/scripts/resources/scripts/resources/functions/send_mail.lua +++ b/app/scripts/resources/scripts/resources/functions/send_mail.lua @@ -3,28 +3,11 @@ local Database = require "resources.functions.database"; local cache = require"resources.functions.cache"; local log = require "resources.functions.log".send_mail - local db = dbh or Database.new('system'); ---local settings = Settings.new(db, nil, nil); ---local email_method = settings:get('email', 'method', 'text'); +local settings = Settings.new(db, domain_name, domain_uuid) +local email_queue_enabled = settings:get('email_queue', 'enabled', 'boolean') or "false"; ---get the dialplan mode from the cache -email_method_key = "settings:email:email_mode"; -email_method, err = cache.get(email_method_key); - ---if not found in the cache then get it from the database -if (err == 'NOT FOUND') then - --get the mode from default settings - sql = "select default_setting_value from v_default_settings " - sql = sql .. "where default_setting_category = 'email' "; - sql = sql .. "and default_setting_subcategory = 'method' "; - email_method = db:first_value(sql, nil); - if (email_method) then - local ok, err = cache.set(email_method_key, email_method, expire["dialplan"]); - end -end - -if (email_method == 'queue') then +if (email_queue_enabled == 'true') then function send_mail(headers, email_address, email_message, email_file) --include json library @@ -110,7 +93,8 @@ if (email_method == 'queue') then local email_table = split(email_file, '/', true) email_attachment_name = email_table[#email_table] - email_attachment_path = email_file.sub(email_file, 0, (string.len(email_file) - string.len(email_attachment_name)) - 1); + email_attachment_path = email_file.sub(email_file, 0, (string.len(email_file) - string.len(email_attachment_name)) - 1); + --freeswitch.consoleLog("notice", "[send_email] voicemail path: " .. email_attachment_path .. "/" .. email_attachment_name .. "\n"); --base64 encode the file --local file = require "resources.functions.file" @@ -146,7 +130,7 @@ if (email_method == 'queue') then email_attachment_base64 = email_attachment_base64; } if (debug["sql"]) then - freeswitch.consoleLog("notice", "[dialplan] SQL: " .. sql .. "; params:" .. json.encode(params) .. "\n"); + freeswitch.consoleLog("notice", "[send_email] SQL: " .. sql .. "; params:" .. json.encode(params) .. "\n"); end db:query(sql, params); end From 3e4348bf3364a66f3d0b0e4fb792046388ab20d3 Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 28 Oct 2020 13:07:24 -0400 Subject: [PATCH 134/677] Version 4.5.19 --- core/software/resources/classes/software.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/software/resources/classes/software.php b/core/software/resources/classes/software.php index 6a627941bc..309fda0825 100644 --- a/core/software/resources/classes/software.php +++ b/core/software/resources/classes/software.php @@ -12,7 +12,7 @@ if (!class_exists('software')) { * version */ public static function version() { - return '4.5.18'; + return '4.5.19'; } /** From caacf5b82ca664029def7a72cbd0c20ede265806 Mon Sep 17 00:00:00 2001 From: Darren Williams <9353544+PBXForums@users.noreply.github.com> Date: Wed, 28 Oct 2020 18:55:26 +0000 Subject: [PATCH 135/677] Update dialplan_outbound_add.php Make the gateway select order the gateways with the current domain first --- app/dialplan_outbound/dialplan_outbound_add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialplan_outbound/dialplan_outbound_add.php b/app/dialplan_outbound/dialplan_outbound_add.php index b33f058583..f0cfa99e5f 100644 --- a/app/dialplan_outbound/dialplan_outbound_add.php +++ b/app/dialplan_outbound/dialplan_outbound_add.php @@ -729,7 +729,7 @@ $sql = "select * from v_gateways "; $sql .= "where enabled = 'true' "; if (permission_exists('outbound_route_any_gateway')) { - $sql .= "order by domain_uuid, gateway "; + $sql .= "order by domain_uuid = '$domain_uuid' DESC, gateway "; } else { $sql .= "and domain_uuid = :domain_uuid "; From 8528f38c518b44a890b04bcf0980bd23279fb076 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 28 Oct 2020 22:02:54 -0600 Subject: [PATCH 136/677] Update dialplan_outbound_add.php Use a parameterized query for the domain_uuid. --- app/dialplan_outbound/dialplan_outbound_add.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/dialplan_outbound/dialplan_outbound_add.php b/app/dialplan_outbound/dialplan_outbound_add.php index f0cfa99e5f..1274d864e8 100644 --- a/app/dialplan_outbound/dialplan_outbound_add.php +++ b/app/dialplan_outbound/dialplan_outbound_add.php @@ -729,12 +729,13 @@ $sql = "select * from v_gateways "; $sql .= "where enabled = 'true' "; if (permission_exists('outbound_route_any_gateway')) { - $sql .= "order by domain_uuid = '$domain_uuid' DESC, gateway "; + $sql .= "order by domain_uuid = :domain_uuid DESC, gateway "; } else { $sql .= "and domain_uuid = :domain_uuid "; - $parameters['domain_uuid'] = $domain_uuid; + } + $parameters['domain_uuid'] = $domain_uuid; $database = new database; $gateways = $database->select($sql, $parameters, 'all'); unset($sql, $parameters); From bc69b99cb053f0f1599f91aea8e28a682f4b7fa7 Mon Sep 17 00:00:00 2001 From: Nate Date: Thu, 29 Oct 2020 15:51:31 -0600 Subject: [PATCH 137/677] Password Reset: Adjust username check when username_format set to email. --- resources/login.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/login.php b/resources/login.php index 2d4c21cd02..66d73757b1 100644 --- a/resources/login.php +++ b/resources/login.php @@ -171,8 +171,10 @@ $password_new = trim($_REQUEST['password_new']); $password_repeat = trim($_REQUEST['password_repeat']); - //strip off @domain if submitted with username, as the valid domain for the reset is already being provided in the where clause below - $username = substr_count($username, '@') != 0 ? explode('@', $username)[0] : $username; + //if not requiring usernames to be of email format, strip off @domain as the valid domain for the reset is already being provided in the where clause below + if ($_SESSION['users']['username_format']['text'] != 'email') { + $username = substr_count($username, '@') != 0 ? explode('@', $username)[0] : $username; + } if ($username !== '' && $username === $_SESSION['valid_username'] && From 764091e2fbcdb82ec93c5fb261bff48c62ed5c10 Mon Sep 17 00:00:00 2001 From: Nate Date: Thu, 29 Oct 2020 18:31:19 -0600 Subject: [PATCH 138/677] Menu: Add confirmation modal to Restore Default action. --- core/menu/app_languages.php | 23 ++++++++++++++++++++++- core/menu/menu_edit.php | 6 +++++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/core/menu/app_languages.php b/core/menu/app_languages.php index 1402fe0c8f..d7a9e33c83 100644 --- a/core/menu/app_languages.php +++ b/core/menu/app_languages.php @@ -925,4 +925,25 @@ $text['button-move_down']['ru-ru'] = "Переместить вниз"; $text['button-move_down']['sv-se'] = "Flytta Ned"; $text['button-move_down']['uk-ua'] = "Перемістити вниз"; -?> +$text['confirm-restore']['en-us'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['en-gb'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['ar-eg'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['de-at'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['de-ch'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['de-de'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['es-cl'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['es-mx'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['fr-ca'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['fr-fr'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['he-il'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['it-it'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['nl-nl'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['pl-pl'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['pt-br'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['pt-pt'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['ro-ro'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['ru-ru'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['sv-se'] = "You are about to restore all unprotected items on this menu."; +$text['confirm-restore']['uk-ua'] = "You are about to restore all unprotected items on this menu."; + +?> \ No newline at end of file diff --git a/core/menu/menu_edit.php b/core/menu/menu_edit.php index 0ac637eead..c4911b3618 100644 --- a/core/menu/menu_edit.php +++ b/core/menu/menu_edit.php @@ -165,13 +165,17 @@ echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','collapse'=>'hide-xs','link'=>'menu.php']); echo button::create(['type'=>'button','label'=>$text['button-reload'],'icon'=>$_SESSION['theme']['button_icon_reload'],'collapse'=>'hide-xs','style'=>'margin-left: 15px;','link'=>'menu_reload.php?menu_uuid='.urlencode($menu_uuid).'&menu_language='.urlencode($menu_language)]); if (permission_exists('menu_restore') && $action == "update") { - echo button::create(['type'=>'button','label'=>$text['button-restore_default'],'icon'=>'key','collapse'=>'hide-xs','link'=>'menu_restore_default.php?menu_uuid='.urlencode($menu_uuid).'&menu_language='.urlencode($menu_language)]); + echo button::create(['type'=>'button','label'=>$text['button-restore_default'],'icon'=>'undo-alt','collapse'=>'hide-xs','onclick'=>"modal_open('modal-restore','btn_restore');"]); } echo button::create(['type'=>'submit','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'id'=>'btn_save','collapse'=>'hide-xs']); echo " \n"; echo "
\n"; echo "\n"; + if (permission_exists('menu_restore') && $action == "update") { + echo modal::create(['id'=>'modal-restore','type'=>'confirmation','message'=>$text['confirm-restore'],'actions'=>button::create(['type'=>'button','label'=>$text['button-continue'],'icon'=>'check','id'=>'btn_restore','style'=>'float: right; margin-left: 15px;','collapse'=>'never','link'=>'menu_restore_default.php?menu_uuid='.urlencode($menu_uuid).'&menu_language='.urlencode($menu_language),'onclick'=>'modal_close();'])]); + } + echo $text['description-menu']."\n"; echo "

\n"; From a7e12aa5dacca988de8ee7751df5c032e14672cd Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 31 Oct 2020 11:44:20 -0600 Subject: [PATCH 139/677] Update pdo.php Replace dbissecure with db_secure variable as this approach is more concise. --- resources/pdo.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/resources/pdo.php b/resources/pdo.php index 93a10fe984..0d9e038927 100644 --- a/resources/pdo.php +++ b/resources/pdo.php @@ -246,15 +246,12 @@ if ($db_type == "mysql") { if ($db_type == "pgsql") { //database connection try { - if (isset($db_secure)) { - $dbissecure = $db_secure; - } - else { - $dbissecure = false; + if (!isset($db_secure)) { + $db_secure = false; } if (strlen($db_host) > 0) { if (strlen($db_port) == 0) { $db_port = "5432"; } - if ($dbissecure == true) { + if ($db_secure == true) { $db = new PDO("pgsql:host=$db_host port=$db_port dbname=$db_name user=$db_username password=$db_password sslmode=verify-ca sslrootcert=$db_cert_authority"); } else { From f748a754ad58f2faf8146a624dcda18d7caf5af0 Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 2 Nov 2020 10:55:31 -0700 Subject: [PATCH 140/677] Call Block: UI Adjustments for Country Code. --- app/call_block/app_languages.php | 4 ++-- app/call_block/call_block_edit.php | 12 +----------- app/call_block/resources/classes/call_block.php | 7 ++----- 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/app/call_block/app_languages.php b/app/call_block/app_languages.php index d7495285c7..95d5faff28 100644 --- a/app/call_block/app_languages.php +++ b/app/call_block/app_languages.php @@ -637,8 +637,8 @@ $text['description-country_code']['ru-ru'] = ""; $text['description-country_code']['sv-se'] = ""; $text['description-country_code']['uk-ua'] = ""; -$text['description-call_block_number']['en-us'] = "Enter the Caller ID Number to block."; -$text['description-call_block_number']['en-gb'] = "Enter the Caller ID Number to block."; +$text['description-call_block_number']['en-us'] = "Enter the Country Code and Caller ID Number to block."; +$text['description-call_block_number']['en-gb'] = "Enter the Country Code and Caller ID Number to block."; $text['description-call_block_number']['ar-eg'] = ""; $text['description-call_block_number']['de-at'] = ""; $text['description-call_block_number']['de-ch'] = ""; diff --git a/app/call_block/call_block_edit.php b/app/call_block/call_block_edit.php index ba94d7b06d..c8232c6076 100644 --- a/app/call_block/call_block_edit.php +++ b/app/call_block/call_block_edit.php @@ -355,22 +355,12 @@ echo "\n"; echo "\n"; - echo "\n"; - echo "\n"; - echo " ".$text['label-country_code']."\n"; - echo "\n"; - echo "\n"; - echo " \n"; - echo "
\n"; - echo $text['description-country_code']."\n"; - echo "\n"; - echo "\n"; - echo "\n"; echo "\n"; echo " ".$text['label-number']."\n"; echo "\n"; echo "\n"; + echo " \n"; echo " \n"; echo "
\n"; echo $text['description-call_block_number']."\n"; diff --git a/app/call_block/resources/classes/call_block.php b/app/call_block/resources/classes/call_block.php index cbb3c419a5..fcb61a6555 100644 --- a/app/call_block/resources/classes/call_block.php +++ b/app/call_block/resources/classes/call_block.php @@ -318,9 +318,6 @@ if (!class_exists('call_block')) { if (is_array($rows) && @sizeof($rows) != 0) { foreach ($rows as $x => $row) { - //trim plus and any spaces - $row["caller_id_number"] = trim($row["caller_id_number"], '+ '); - //build insert array if (permission_exists('call_block_all')) { $array['call_block'][$x]['call_block_uuid'] = uuid(); @@ -329,7 +326,7 @@ if (!class_exists('call_block')) { $array['call_block'][$x]['extension_uuid'] = $this->extension_uuid; } $array['call_block'][$x]['call_block_name'] = trim($row["caller_id_name"]); - $array['call_block'][$x]['call_block_number'] = $row["caller_id_number"]; + $array['call_block'][$x]['call_block_number'] = trim($row["caller_id_number"]); $array['call_block'][$x]['call_block_count'] = 0; $array['call_block'][$x]['call_block_app'] = $this->call_block_app; $array['call_block'][$x]['call_block_data'] = $this->call_block_data; @@ -345,7 +342,7 @@ if (!class_exists('call_block')) { $array['call_block'][$x]['domain_uuid'] = $_SESSION['domain_uuid']; $array['call_block'][$x]['extension_uuid'] = $field['extension_uuid']; $array['call_block'][$x]['call_block_name'] = trim($row["caller_id_name"]); - $array['call_block'][$x]['call_block_number'] = $row["caller_id_number"]; + $array['call_block'][$x]['call_block_number'] = trim($row["caller_id_number"]); $array['call_block'][$x]['call_block_count'] = 0; $array['call_block'][$x]['call_block_app'] = $this->call_block_app; $array['call_block'][$x]['call_block_data'] = $this->call_block_data; From 991fffa4edfe01191992c996d8212b110da9907b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 2 Nov 2020 11:10:45 -0700 Subject: [PATCH 141/677] Update index.lua Add call_block_country_code and handle e.164 automatically when the country code has been provided. --- .../scripts/app/call_block/index.lua | 30 ++++++++++++++----- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/app/scripts/resources/scripts/app/call_block/index.lua b/app/scripts/resources/scripts/app/call_block/index.lua index 9e10fc4ddd..00c9d32e6a 100644 --- a/app/scripts/resources/scripts/app/call_block/index.lua +++ b/app/scripts/resources/scripts/app/call_block/index.lua @@ -90,14 +90,28 @@ assert(dbh:connected()); --check to see if the call should be blocked - sql = "select * from v_call_block "; - sql = sql .. "where domain_uuid = :domain_uuid "; - sql = sql .. "and call_block_enabled = 'true' "; - sql = sql .. "and ( "; - sql = sql .. " (call_block_name = :call_block_name and call_block_number = :call_block_number) "; - sql = sql .. " or (call_block_name is null and call_block_number = :call_block_number) "; - sql = sql .. " or (call_block_name = :call_block_name and call_block_number is null) "; - sql = sql .. ") "; + sql = "select * from v_call_block\n"; + sql = sql .. "where domain_uuid = :domain_uuid \n"; + sql = sql .. "and call_block_enabled = 'true' \n"; + sql = sql .. "and ( \n"; + sql = sql .. " (\n"; + sql = sql .. " call_block_name = :call_block_name \n"; + sql = sql .. " and ( \n"; + sql = sql .. " '+' || call_block_country_code || call_block_number = :call_block_number \n"; + sql = sql .. " or call_block_country_code || call_block_number = :call_block_number \n"; + sql = sql .. " or call_block_number = :call_block_number \n"; + sql = sql .. " ) \n"; + sql = sql .. " ) \n"; + sql = sql .. " or (\n"; + sql = sql .. " call_block_name is null \n"; + sql = sql .. " and ( \n"; + sql = sql .. " '+' || call_block_country_code || call_block_number = :call_block_number \n"; + sql = sql .. " or call_block_country_code || call_block_number = :call_block_number \n"; + sql = sql .. " or call_block_number = :call_block_number \n"; + sql = sql .. " ) \n"; + sql = sql .. " ) \n"; + sql = sql .. " or (call_block_name = :call_block_name and call_block_number is null) \n"; + sql = sql .. ") \n"; if (extension_uuid == nil) then sql = sql .. "and extension_uuid is null "; else From 5f2dddfc608658e03fb569ca3e1103a2b2be39ac Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 2 Nov 2020 15:58:58 -0700 Subject: [PATCH 142/677] Email Templates: Integrate Ace Editor. --- app/email_templates/email_template_edit.php | 177 +++++++++++++++++- .../resources/images/icon_file.png | Bin 0 -> 257 bytes .../resources/images/icon_folder.png | Bin 0 -> 224 bytes .../resources/images/icon_gear.png | Bin 0 -> 726 bytes .../resources/images/icon_goto.png | Bin 0 -> 417 bytes .../resources/images/icon_indenting.png | Bin 0 -> 324 bytes .../resources/images/icon_invisibles.png | Bin 0 -> 821 bytes .../resources/images/icon_numbering.png | Bin 0 -> 521 bytes .../resources/images/icon_replace.png | Bin 0 -> 504 bytes 9 files changed, 175 insertions(+), 2 deletions(-) create mode 100644 app/email_templates/resources/images/icon_file.png create mode 100644 app/email_templates/resources/images/icon_folder.png create mode 100644 app/email_templates/resources/images/icon_gear.png create mode 100644 app/email_templates/resources/images/icon_goto.png create mode 100644 app/email_templates/resources/images/icon_indenting.png create mode 100644 app/email_templates/resources/images/icon_invisibles.png create mode 100644 app/email_templates/resources/images/icon_numbering.png create mode 100644 app/email_templates/resources/images/icon_replace.png diff --git a/app/email_templates/email_template_edit.php b/app/email_templates/email_template_edit.php index 1efcb8be4c..0e395deee7 100644 --- a/app/email_templates/email_template_edit.php +++ b/app/email_templates/email_template_edit.php @@ -165,6 +165,13 @@ unset($sql, $parameters, $row); } +//load editor preferences/defaults + $setting_size = $_SESSION["editor"]["font_size"]["text"] != '' ? $_SESSION["editor"]["font_size"]["text"] : '12px'; + $setting_theme = $_SESSION["editor"]["theme"]["text"] != '' ? $_SESSION["editor"]["theme"]["text"] : 'cobalt'; + $setting_invisibles = $_SESSION["editor"]["invisibles"]["boolean"] != '' ? $_SESSION["editor"]["invisibles"]["boolean"] : 'false'; + $setting_indenting = $_SESSION["editor"]["indent_guides"]["boolean"] != '' ? $_SESSION["editor"]["indent_guides"]["boolean"] : 'false'; + $setting_numbering = $_SESSION["editor"]["line_numbers"]["boolean"] != '' ? $_SESSION["editor"]["line_numbers"]["boolean"] : 'true'; + //create token $object = new token; $token = $object->create($_SERVER['PHP_SELF']); @@ -173,6 +180,69 @@ $document['title'] = $text['title-email_template']; require_once "resources/header.php"; + echo "\n"; + + echo "\n"; + //show the content echo "
\n"; @@ -180,7 +250,7 @@ echo "
".$text['title-email_template']."
\n"; echo "
\n"; echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','style'=>'margin-right: 15px;','link'=>'email_templates.php']); - echo button::create(['type'=>'submit','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'id'=>'btn_save']); + echo button::create(['type'=>'button','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'id'=>'btn_save','onclick'=>"set_value(); $('#frm').submit();"]); echo "
\n"; echo "
\n"; echo "\n"; @@ -236,7 +306,77 @@ echo " ".$text['label-template_body']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; + echo "
\n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo "
\n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo "
\n"; echo "
\n"; echo $text['description-template_body']."\n"; echo "\n"; @@ -327,6 +467,39 @@ echo "
"; + echo "\n"; + echo "\n"; + //include the footer require_once "resources/footer.php"; diff --git a/app/email_templates/resources/images/icon_file.png b/app/email_templates/resources/images/icon_file.png new file mode 100644 index 0000000000000000000000000000000000000000..c8d71de0c4ad9a7a8f4349f7b5afecf4d97e0bb7 GIT binary patch literal 257 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ za0`PlBg3pY55O6*3aqU4E)2*A_r%sCn&Dx^)?Ph~mWJ}XY zrZ<;%OrBu7XQP2rM}k|9&Yrt9?;aW%FbSys6x+fwGkHS0-;^IU8mk^$ydLQcFw|Q4~G%p-ze-6lZA1 zk{YU&jWJLtl2luXAT35+s4IzP5wP1Qy|jX>NX zY6>kWouRP6I1Di30+9*7jc4`Vz2}|#?#Ti62XR1ef0A%dsJ7Yj1aToT9Sj6(0HC3< zp@U;{^1lC=>F8|l?9ub-odUVm+!B9frB{^1Vm`-e093Nj<-B3aG8uopSosRzU;%=r z2!bHMv0QqEul%mQN6{3y=L&)#RGW{ROAH2vC_Gnio9FlpS(c$F3IM=hFo0ngBPkRaFf14>|yB3P=fQT3VEfIhIS8Wf|e{$ng82AzvsIS_c4+$Mb}w$YGz~?*RZw zl2*iIVg>*~0ze=TsF{pRJqG|qQ4o(s`?ekfKqwSikHupzx9*c)CVGQy!TSI-ohj<} zd1I$l00nBBspC=rh}yc^r`}5!ZyAloG)>d6n34`@8(L2^8dU+n>2#*KT&|Xrj#D-O zIC3<@!Db(`jgE}IrU7Uc-g3f}WikQ)!!U5W-DNaI59Oc9e?@@;Z{e?(x=Sx?O=Yv$ zbhE{52maV#R zCP+CDZ^t6%2E?zR@=4fI%UvKo1jHObya0&viF9!|5U&AZQ6Rnw#FucTb6y}`1$6-k zHv=&v9+&4pQx8b|01(Tdn29A5u>{5oRzWBO_IdaS&iZ5;Fs0WvJJ&>H*@vK+KFS z5}^Pj{tSo@qGzI2Xpu%PJ_$1u+2x0!>Gdy#1>sq^H->Bl4G>@e&gR^+SeU!>00000 LNkvXXu0mjfF9@U- literal 0 HcmV?d00001 diff --git a/app/email_templates/resources/images/icon_indenting.png b/app/email_templates/resources/images/icon_indenting.png new file mode 100644 index 0000000000000000000000000000000000000000..c6d4c733f126b55a393fb5c1550b66340c69a6f2 GIT binary patch literal 324 zcmV-K0lWT*P)%Q5972jAIQ4=e6olE>*nR--6DJ1a(#ry~j}({V(u-_( zBapHN;y;XxjPpq}9IIYNV$->>u<$V^CZ-4=e)RI?OX{W;W@ctfpsO|mnF3T#EkGB8 zupZEYQ^ckgxZ(f){qqN6DIk^uVi&9~fmoml3L<22TzZL4Ei5c>rMKU{eQQP4)B+51 z5OoQd0PLxrS`-x(K|v7#H0Ti!5T%EaE=4Xh#-9Q4BQnbtOueIJ3q`4AWL0wj0R{l= WHTrvIz+7Yi0000}#2@UW1Hq1KuRbX2Ya?I0C@d))q#Fd-wWOxz zs4;o~bLVgxU6G37y$MXB6L4py%7uEqH$HhuyduZcNUZwEOEYr2pRl$q5Py)BzJNNX zQKF7aDt!lQnV)LTB4-ic@U-eM4MeHPNknUiTo2gL0Oz|{*=v=G(A0HY-axH(gT3)Y z>$J?1LC}v3#>>Icz$9weq?Gi+ju~@124(`VN+39X%98>0KaGy|{#+K3CrDx&%;B=R zE#m1J%zD^e(0#BYWi&35UI=^ZcOd4md_Lbg_VvrnnHu`SiEPC96pAZK)kwb<4Zh)> z-w!@Jl!BbK3!-B2I>OhXFXX*{9XZ9Dfi_r(tczXBAj*Eyd|$VH6&c zgpaq>18@&EuYmoLy}n{{=5iQhb6`v5w?!sZl_P?j6JFdRxQE#I zMv0vAERRX_2zXzj){GC=q^w8qevBC$VZ+FvCG zU*Nt}bKABRP1BS#O=;%}_tM_DNYGrO*=*)_?)$!p2U9Rk@%4pUGX^Fl%F+R!#j@N` z`p_792+qJbxCM(6<}O&tmBq5G08(WW8ektx7qSqEq}6Iwayv(@L(bf1-9iTx0bRm8 zDs>CY_h7aO(=KSRjM~s$=mzVSOrTrtO5IYc)qZCcx=N zjTA4gl%K$9#tuu^ywoi)uR~U;EU4Q#Yel+S>at}S{>=@HZvh4XFCx-qlh}c#00000 LNkvXXu0mjfcthUG literal 0 HcmV?d00001 diff --git a/app/email_templates/resources/images/icon_replace.png b/app/email_templates/resources/images/icon_replace.png new file mode 100644 index 0000000000000000000000000000000000000000..4b2ec2178852b59198baa3ae49a0eb6f321fa83c GIT binary patch literal 504 zcmVz$>{0~W;E)ZWv)(8#}5COwTKnRGZ0r3}*IxP4E)KU;= z2jbP}uEJ%w0@M{SgFr6r1L9_=As?XPKY(~Wl)ao7!?}R?6jZ}~Aojo#l(IlP7tJS2 zuo=#RCYAxjra=4>YVb`ghCc@42Smjvn#&(RU6PGMIXe(fz!C?miE;UPXt1ooVYoFA zYXb2msG+bFcMO|iM&wk2B`IR4M>3RPh@iXN6v+@64Z^2^_%9ZN<$+iX8b^-^g*mn~ zT@J*|I2?EeswSV9q=;29)st-xCe;8BdM8=6h{ONPXOW+ApVSG0LZY9Xck{YV$VXi0Gr_{Nb+jXGUXD~a8PP_ z0xeH`ftU@5TaYZ6iyZOzN=0PA3d9o7VByCi-;89z0$3eEtl`9fdL#=#C8P*74F`c5 usNtZX)1bEDAdm^ImB8jP4%rGCAix0otSfUDlILLn0000 Date: Mon, 2 Nov 2020 16:00:02 -0700 Subject: [PATCH 143/677] Domains: Retain session domain_name and domain_uuid on add and delete. --- core/domains/domain_edit.php | 2 -- resources/classes/domains.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/core/domains/domain_edit.php b/core/domains/domain_edit.php index 5f4e7e3757..c01851ba87 100644 --- a/core/domains/domain_edit.php +++ b/core/domains/domain_edit.php @@ -500,8 +500,6 @@ //clear the domains session array to update it unset($_SESSION["domains"]); - unset($_SESSION["domain_uuid"]); - unset($_SESSION["domain_name"]); unset($_SESSION['domain']); unset($_SESSION['switch']); diff --git a/resources/classes/domains.php b/resources/classes/domains.php index bbec08c196..4fb23ce6c0 100644 --- a/resources/classes/domains.php +++ b/resources/classes/domains.php @@ -262,8 +262,6 @@ if (!class_exists('domains')) { //clear the domains session array to update it unset($_SESSION["domains"]); - unset($_SESSION["domain_uuid"]); - unset($_SESSION["domain_name"]); unset($_SESSION['domain']); unset($_SESSION['switch']); From 49e2f1b41e39a3fd61c709fb953889f6f9fc90b3 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 3 Nov 2020 12:16:00 -0700 Subject: [PATCH 144/677] Update resources/require.php - Don't require switch.php if not present (framework support). --- resources/require.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/require.php b/resources/require.php index 6561af7ee9..fe9aeba991 100644 --- a/resources/require.php +++ b/resources/require.php @@ -72,7 +72,9 @@ require_once "resources/functions.php"; if ($config_exists) { require "resources/pdo.php"; - require_once "resources/switch.php"; + if (file_exists("resources/switch.php")) { + require_once "resources/switch.php"; + } } //change language on the fly - for translate tool (if available) From 704a1eb5e55df65a8dbe498c0219d80a6d501391 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 3 Nov 2020 13:49:43 -0700 Subject: [PATCH 145/677] Update user_edit.php Use the proper permission user_group_delete. --- core/users/user_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/users/user_edit.php b/core/users/user_edit.php index a479724067..c32be3496b 100644 --- a/core/users/user_edit.php +++ b/core/users/user_edit.php @@ -949,7 +949,7 @@ echo " "; echo escape($field['group_name']).(($field['group_domain_uuid'] != '') ? "@".$_SESSION['domains'][$field['group_domain_uuid']]['domain_name'] : null); echo " \n"; - if (permission_exists('group_member_delete') || if_group("superadmin")) { + if (permission_exists('user_group_delete') || if_group("superadmin")) { echo " \n"; echo " ".$v_link_label_delete."\n"; echo " \n"; From 328d79e95d82271e47aba03c1fc4ad9ab0760df6 Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Tue, 3 Nov 2020 16:17:58 -0500 Subject: [PATCH 146/677] Prevent users from overriding user_context --- app/extensions/extension_edit.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index 9144b45376..b3dfd1c3fc 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -267,15 +267,6 @@ return; } - //set the default user context - if (permission_exists("extension_user_context")) { - //allow a user assigned to super admin to change the user_context - } - else { - //if the user_context was not set then set the default value - $user_context = $_SESSION['domain_name']; - } - //prevent users from bypassing extension limit by using range if ($_SESSION['limit']['extensions']['numeric'] != '') { if ($total_extensions + $range > $_SESSION['limit']['extensions']['numeric']){ @@ -402,7 +393,14 @@ $array["extensions"][$i]["directory_exten_visible"] = $directory_exten_visible; $array["extensions"][$i]["limit_max"] = $limit_max; $array["extensions"][$i]["limit_destination"] = $limit_destination; - $array["extensions"][$i]["user_context"] = $user_context; + if (permission_exists("extension_user_context")) { + $array["extensions"][$i]["user_context"] = $user_context; + } + else { + if ($action == "add") { + $user_context = $_SESSION['domain_name']; + } + } if (permission_exists('extension_missed_call')) { $array["extensions"][$i]["missed_call_app"] = $missed_call_app; $array["extensions"][$i]["missed_call_data"] = $missed_call_data; From 139461cf2e84a9b9a6391709f260d68ecad86536 Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Tue, 3 Nov 2020 16:31:40 -0500 Subject: [PATCH 147/677] Update extension_edit.php --- app/extensions/extension_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index b3dfd1c3fc..4ef2eddade 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -398,7 +398,7 @@ } else { if ($action == "add") { - $user_context = $_SESSION['domain_name']; + $array["extensions"][$i]["user_context"] = $_SESSION['domain_name']; } } if (permission_exists('extension_missed_call')) { From f05d193bc932219ecbbaf4c5ea73abe58e80714e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 3 Nov 2020 17:21:41 -0700 Subject: [PATCH 148/677] Update require.php Set the full path for file_exists. --- resources/require.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/require.php b/resources/require.php index fe9aeba991..4f6d9e7b41 100644 --- a/resources/require.php +++ b/resources/require.php @@ -72,7 +72,7 @@ require_once "resources/functions.php"; if ($config_exists) { require "resources/pdo.php"; - if (file_exists("resources/switch.php")) { + if (file_exists($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/resources/switch.php")) { require_once "resources/switch.php"; } } @@ -81,4 +81,5 @@ if (isset($_REQUEST['view_lang_code']) && ($_REQUEST['view_lang_code']) != '') { $_SESSION['domain']['language']['code'] = $_REQUEST['view_lang_code']; } + ?> From 64434862b84b2f49625959f1e8842485e31a2ab1 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 4 Nov 2020 10:00:31 -0700 Subject: [PATCH 149/677] Update schema.php Prevent a plugin from breaking parts of the project. --- resources/classes/schema.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/resources/classes/schema.php b/resources/classes/schema.php index c898c807e7..8f907df2a6 100644 --- a/resources/classes/schema.php +++ b/resources/classes/schema.php @@ -50,7 +50,12 @@ if (!class_exists('schema')) { $config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_config.php"); $x=0; foreach ($config_list as &$config_path) { - include($config_path); + try { + include($config_path); + } + catch (Exception $e) { + //echo 'Caught exception: ', $e->getMessage(), "\n"; + } $x++; } $this->apps = $apps; @@ -521,7 +526,12 @@ if (!class_exists('schema')) { $config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_config.php"); $x=0; foreach ($config_list as &$config_path) { - include($config_path); + try { + include($config_path); + } + catch (Exception $e) { + //echo 'Caught exception: ', $e->getMessage(), "\n"; + } $x++; } From c13b1426bbb9b30fbb577705e470a5d53f952bb6 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 4 Nov 2020 10:46:58 -0700 Subject: [PATCH 150/677] Update destinations.php Prevent a plugin from breaking parts of the project. --- .../resources/classes/destinations.php | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/app/destinations/resources/classes/destinations.php b/app/destinations/resources/classes/destinations.php index deeb656736..f6307194ce 100644 --- a/app/destinations/resources/classes/destinations.php +++ b/app/destinations/resources/classes/destinations.php @@ -180,7 +180,12 @@ if (!class_exists('destinations')) { $config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_config.php"); $x = 0; foreach ($config_list as &$config_path) { - include($config_path); + try { + include($config_path); + } + catch (Exception $e) { + //echo 'Caught exception: ', $e->getMessage(), "\n"; + } $x++; } $i = 0; @@ -443,7 +448,12 @@ if (!class_exists('destinations')) { $config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_config.php"); $x = 0; foreach ($config_list as &$config_path) { - include($config_path); + try { + include($config_path); + } + catch (Exception $e) { + //echo 'Caught exception: ', $e->getMessage(), "\n"; + } $x++; } $i = 0; @@ -647,7 +657,12 @@ if (!class_exists('destinations')) { $config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_config.php"); $x = 0; foreach ($config_list as &$config_path) { - include($config_path); + try { + include($config_path); + } + catch (Exception $e) { + //echo 'Caught exception: ', $e->getMessage(), "\n"; + } $x++; } $i = 0; From 6af292e2baf56fff467811210262488751c5d063 Mon Sep 17 00:00:00 2001 From: Andrew Querol Date: Wed, 4 Nov 2020 12:06:42 -0600 Subject: [PATCH 151/677] Improve the GXV3370 template to handle multiple SIP lines and add missing settings --- .../provision/grandstream/gxv3370/{$mac}.xml | 498 +++++++++--------- 1 file changed, 258 insertions(+), 240 deletions(-) diff --git a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml index 59ed9860b2..7a3d246103 100644 --- a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml @@ -27,425 +27,472 @@ - + {foreach $lines as $row} + {if $row.line_number neq ""} - Yes + {if $row.enabled}Yes{else}No{/if} - {$account.1.display_name} + {$row.display_name} - {$account.1.server_address} + {$row.server_address} - {$account.1.user_id} + {$row.user_id} - {$account.1.auth_id} + {$row.auth_id} - {$account.1.password} + {$row.password} - *97 + *97 - {$account.1.display_name} + {$row.display_name} - Disabled + Disabled - {$account.1.outbound_proxy_primary} + {$row.outbound_proxy_primary} - {$account.1.outbound_proxy_secondary} + {$row.outbound_proxy_secondary} - ARecord + ARecord - Default + Default - Auto + Auto - + - Yes + Yes - Instance + Instance - {$account.1.register_expires} + {$row.register_expires} - 0 + 0 - 20 + 20 - Yes + Yes - No + No - 30 + 30 - 3 + 3 - No + No - Default + Default - Default + Default - {$account.1.sip_transport} + {if $row.sip_transport=='tcp'}TCP{elseif $row.sip_transport=='tls'}TlsOrTcp{else}UDP{/if} - 5060 + {$row.sip_port} - sip + sip - No + No - Yes + Yes - 0_5sec + 0_5sec - 4sec + 4sec - 0 + 0 - InRoute + InRoute - No + No - 180 + 180 - 90 + 90 - Omit + Omit - UAC + UAC - No + No - No + No - No + No - No + No - PCMU - PCMA - G_726_32 - G_722 - G_729AOrB - iLBC - OPUS + PCMU + PCMA + G_726_32 + G_722 + G_729AOrB + iLBC + OPUS - Callee + Callee - No + No - 30ms + 30ms - 1 + 1 - 126 + 126 - 123 + 123 - No - Yes - No + No + Yes + No - 101 + 101 - Adaptive + Adaptive - No + No - 121 + 121 - 124 + 124 - No + No - 2 + 2 - Yes + Yes - No + No - 0 + 0 - 120 + 120 - Non-Interleaved + Non-Interleaved - 720P + 720P - No + No - BP&MP&HP + BP&MP&HP - 2048 + 2048 - MediaLevel + MediaLevel - 99 + 99 - Yes + Yes - 1080P + 1080P - BP&MP&HP + BP&MP&HP - 1024 + 1024 - 15 + 15 - UDP + UDP - Disabled + Disabled - AES128And256Bit + AES128And256Bit - Yes + Yes - + - No + No - Disable + Disable - Yes + Yes - Prompt + Prompt - EnableIntercom/Paging + EnableIntercom/Paging - Yes + Yes - No + No - Yes + Yes - No + No - No + No - All + All - No + No - No + No - Yes + Yes - + - + - 4 + 4 - 60 + 60 - No + No - Yes + Yes - + - 0 + 0 - {$grandstream_dial_plan} + {$grandstream_dial_plan} - Auto + Auto - content://settings/system/ringtone + content://settings/system/ringtone - No + No - + - content://settings/system/ringtone + content://settings/system/ringtone - + - content://settings/system/ringtone + content://settings/system/ringtone - + - content://settings/system/ringtone + content://settings/system/ringtone + # Web GUI Option Value + # Use System Ring tone content://settings/system/ringtone + # Silent ringtone_silence + # Ring2_OrganDub /system/media/audio/ringtones/Ring2_OrganDub.ogg + # Big_Easy /system/media/audio/ringtones/Big_Easy.ogg + # DonMessWivlt /system/media/audio/ringtones/DonMessWivIt.ogg + # Club_Cubano /system/media/audio/ringtones/Club_Cubano.ogg + # Growl /system/media/audio/ringtones/Growl.ogg + # CrayonRock /system/media/audio/ringtones/CrayonRock.ogg + # Ring9_Nairobi /system/media/audio/ringtones/Ring9_Nairobi.ogg + # Ring10_Nassau /system/media/audio/ringtones/Ring10_Nassau.ogg + # Third_Eye /system/media/audio/ringtones/Third_Eye.ogg + # Ring1_Ding /system/media/audio/ringtones/Ring1_Ding.ogg + # Road_Trip /system/media/audio/ringtones/Road_Trip.ogg + # bellcore-dr2 /system/media/audio/ringtones/bellcore-dr2.ogg + # Ring_Digital_02 /system/media/audio/ringtones/Ring_Digital_02.ogg + # bellcore-dr3 /system/media/audio/ringtones/bellcore-dr3.ogg + # DancinFool /system/media/audio/ringtones/DancinFool.ogg + # Ring_Classic_02 /system/media/audio/ringtones/Ring_Classic_02.ogg + # Ring5_FreeFlight /system/media/audio/ringtones/Ring5_FreeFlight.ogg + # Funk_Yall /system/media/audio/ringtones/Funk_Yall.ogg + # World /system/media/audio/ringtones/World.ogg + # Ring8_MidEvilJaunt /system/media/audio/ringtones/Ring8_MidEvilJaunt.ogg + # TwirlAway /system/media/audio/ringtones/TwirlAway.ogg + # bellcore-dr4 /system/media/audio/ringtones/bellcore-dr4.ogg + # Ring6_Glacial_Groove /system/media/audio/ringtones/Ring6_Glacial_Groove.ogg + # Shes_All_That /system/media/audio/ringtones/Shes_All_That.ogg + # Ring4_EtherShake /system/media/audio/ringtones/Ring4_EtherShake.ogg + # Seville /system/media/audio/ringtones/Seville.ogg + # BussaMove /system/media/audio/ringtones/BussaMove.ogg + # Default_ringtone /system/media/audio/ringtones/Default_ringtone.ogg + # BirdLoop /system/media/audio/ringtones/BirdLoop.ogg + # MildlyAlarming /system/media/audio/ringtones/MildlyAlarming.ogg + # Terminated /system/media/audio/ringtones/Terminated.ogg + # Calypso_Steel /system/media/audio/ringtones/Calypso_Steel.ogg + # Safari /system/media/audio/ringtones/Safari.ogg + # Ring_Synth_04 /system/media/audio/ringtones/Ring_Synth_04.ogg + # Ring_Synth_02 /system/media/audio/ringtones/Ring_Synth_02.ogg + # CurveBall /system/media/audio/ringtones/CurveBall.ogg + # Enter_the_Nexus /system/media/audio/ringtones/Enter_the_Nexus.ogg + # Bollywood /system/media/audio/ringtones/Bollywood.ogg + # Champagne_Edition /system/media/audio/ringtones/Champagne_Edition.ogg + # Steppin_Out /system/media/audio/ringtones/Steppin_Out.ogg + # Ring3_Paradise_Island /system/media/audio/ringtones/Ring3_Paradise_Island.ogg + # Playa /system/media/audio/ringtones/Playa.ogg + # No_Limits /system/media/audio/ringtones/No_Limits.ogg + # LoopyLounge /system/media/audio/ringtones/LoopyLounge.ogg + # Cairo /system/media/audio/ringtones/Cairo.ogg + # Ring7_HalfwayHome /system/media/audio/ringtones/Ring7_HalfwayHome.ogg + # SilkyWay /system/media/audio/ringtones/SilkyWay.ogg + # LoveFlute /system/media/audio/ringtones/LoveFlute.ogg + # Eastern_Sky /system/media/audio/ringtones/Eastern_Sky.ogg + # bellcore-dr5 /system/media/audio/ringtones/bellcore-dr5.ogg + # Gimme_Mo_Town /system/media/audio/ringtones/Gimme_Mo_Town.ogg + # bellcore-dr1 /system/media/audio/ringtones/bellcore-dr1.ogg + # Backroad /system/media/audio/ringtones/Backroad.ogg --> - No + No - No + No - No + No - Disabled + Disabled - No + No - No + No - No + No - No + No - + - -1 + -1 - 100 + 100 + + + No + + + + ** + + + + {if isset($grandstream_feature_key_sync)}Yes{else}No{/if} + + + No + + + + + No + + + + No + + + + No + + + + + {if isset($row.shared_line)}Yes{else}No{/if} + + + + {if isset($row.shared_line)}Yes{else}No{/if} + + + Yes + + + + + 15 + {/if} + {/foreach} @@ -899,9 +946,9 @@ Allow - admin1 + {if isset($admin_password)}{$admin_password}{else}admin{/if} - user + {if isset($device_password)}{$device_password}{else}user{/if} @@ -986,11 +1033,17 @@ HTTP - + {if isset($grandstream_firmware_path) && isset($firmware_version)} + {$grandstream_firmware_path}/{$firmware_version} + {elseif isset($grandstream_firmware_path)} + {$grandstream_firmware_path} + {else} + {$domain_name}{$project_path}/app/provision/resources/firmware/ + {/if} - + {$http_auth_username} - + {$http_auth_password} @@ -999,11 +1052,17 @@ HTTP + {if $grandstream_config_server_path=="none"} + {elseif isset($grandstream_config_server_path)} + {$grandstream_config_server_path} + {else} + {$domain_name}{$project_path}/app/provision + {/if} - + {$http_auth_username} - + {$http_auth_password} @@ -1081,9 +1140,7 @@ No - - - No + No No No @@ -1099,8 +1156,7 @@ No No No - - + @@ -1116,8 +1172,7 @@ - - ** + ** ** ** @@ -1208,43 +1263,6 @@ 0 - - - - No - - - No - - - - - No - - - - No - - - - No - - - - - No - - - - No - - - Yes - - - - - 15 From d2917b57a49978d89a8d62f049fbfa9bcd63eecb Mon Sep 17 00:00:00 2001 From: Andrew Querol Date: Wed, 4 Nov 2020 13:06:01 -0600 Subject: [PATCH 152/677] Enable MPK support --- .../provision/grandstream/gxv3370/{$mac}.xml | 73 ++++--------------- 1 file changed, 14 insertions(+), 59 deletions(-) diff --git a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml index 7a3d246103..ba91904f09 100644 --- a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml @@ -1140,54 +1140,6 @@ No - - No - No - No - No - No - No - No - No - No - No - No - No - No - No - No - - - - - - - - - - - - - - - - - - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** @@ -1268,23 +1220,26 @@ + {$keyIndex=1} - SpeedDial + {$key_types=["none"=>"","speed dial"=>"SpeedDial","blf"=>"BLF","speed dial active"=>"SpeedDialViaActiveAccount","dial dtmf"=>"DialDTMF","intercom"=>"Intercom","transfer"=>"Transfer","call park"=>"CallPark","multicast paging"=>"MulticastPaging","conference"=>"Conference"]} + {foreach $keys as $category => $rows} + {foreach $rows as $row} + {if isset($row.device_key_type)} + {$key_types[$row.device_key_type]} - Account1 + Account{$row.device_key_line} - + {$row.device_key_label} - - - - SpeedDial - Account1 - - - + {$row.device_key_value} + device_key_extension + {$keyIndex=$keyIndex+1} + {/if} + {/foreach} + {/foreach} From 6b2f08cc5b7fffc4630159e93a487ccb5b8e82e8 Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Wed, 4 Nov 2020 13:21:31 -0700 Subject: [PATCH 153/677] Update {$mac}.cfg updated to conform to firmware 2.2.10 tags. improved button display format. --- .../templates/provision/fanvil/x5u/{$mac}.cfg | 206 ++++++++++++++++-- 1 file changed, 185 insertions(+), 21 deletions(-) diff --git a/resources/templates/provision/fanvil/x5u/{$mac}.cfg b/resources/templates/provision/fanvil/x5u/{$mac}.cfg index 38439e2e30..b41bcc4343 100644 --- a/resources/templates/provision/fanvil/x5u/{$mac}.cfg +++ b/resources/templates/provision/fanvil/x5u/{$mac}.cfg @@ -1,4 +1,5 @@ + 2.0000000000 @@ -33,7 +34,36 @@ Fanvil X5U {$fanvil_wifi_enable} + 0 + 0 + 192.168.1.179 + 255.255.255.0 + 192.168.1.1 + + 8.8.8.8 + 202.96.134.133 + 1 + 1 + 1 + 0 + Fanvil X5U + 0 + user123 + password + + + + + + + 1 + 1 + 0 + + + 10 + 1 @@ -54,6 +84,7 @@ 10000 1000 1 + 0 {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if} @@ -104,22 +135,25 @@ {$account.1.auth_id} {$account.1.password} {$account.1.register_expires} + 0 5060 0 3600 + 0 {if isset($account.1.password)}1{else}0{/if} {$account.1.outbound_proxy_primary} {$account.1.sip_port} {$account.1.auth_id} {$account.1.password} + 0 {$account.1.outbound_proxy_secondary} {$account.1.sip_port} + 0 {if isset($account.1.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -251,6 +285,8 @@ 500 4000 5000 + 0 + 0 {$account.2.user_id} @@ -261,22 +297,25 @@ {$account.2.auth_id} {$account.2.password} {$account.2.register_expires} + 0 5060 0 3600 + 0 {if isset($account.2.password)}1{else}0{/if} {$account.2.outbound_proxy_primary} {$account.2.sip_port} {$account.2.auth_id} {$account.2.password} + 0 {$account.2.outbound_proxy_secondary} {$account.2.sip_port} {if isset($account.2.outbound_proxy_secondary)}1{else}0{/if} + 1 1800 0 3 - 0 0 @@ -408,6 +447,8 @@ 500 4000 5000 + 0 + 0 {$account.3.user_id} @@ -418,22 +459,25 @@ {$account.3.auth_id} {$account.3.password} {$account.3.register_expires} + 0 5060 0 3600 + 0 {if isset($account.3.password)}1{else}0{/if} {$account.3.outbound_proxy_primary} {$account.3.sip_port} {$account.3.auth_id} {$account.3.password} + 0 {$account.3.outbound_proxy_secondary} {$account.3.sip_port} + 0 {if isset($account.3.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -565,6 +609,8 @@ 500 4000 5000 + 0 + 0 {$account.4.user_id} @@ -575,22 +621,25 @@ {$account.4.auth_id} {$account.4.password} {$account.4.register_expires} + 0 5060 0 3600 + 0 {if isset($account.4.password)}1{else}0{/if} {$account.4.outbound_proxy_primary} {$account.4.sip_port} {$account.4.auth_id} {$account.4.password} + 0 {$account.4.outbound_proxy_secondary} {$account.4.sip_port} + 0 {if isset($account.4.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -722,6 +771,8 @@ 500 4000 5000 + 0 + 0 {$account.5.user_id} @@ -732,22 +783,25 @@ {$account.5.auth_id} {$account.5.password} {$account.5.register_expires} + 0 5060 0 3600 + 0 {if isset($account.5.password)}1{else}0{/if} {$account.5.outbound_proxy_primary} {$account.5.sip_port} {$account.5.auth_id} {$account.5.password} + 0 {$account.5.outbound_proxy_secondary} {$account.5.sip_port} + 0 {if isset($account.5.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -879,6 +933,8 @@ 500 4000 5000 + 0 + 0 {$account.6.user_id} @@ -889,22 +945,25 @@ {$account.6.auth_id} {$account.6.password} {$account.6.register_expires} + 0 5060 0 3600 + 0 {if isset($account.6.password)}1{else}0{/if} {$account.6.outbound_proxy_primary} {$account.6.sip_port} {$account.6.auth_id} {$account.6.password} + 0 {$account.6.outbound_proxy_secondary} {$account.6.sip_port} + 0 {if isset($account.6.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1036,6 +1095,8 @@ 500 4000 5000 + 0 + 0 {$account.7.user_id} @@ -1046,22 +1107,25 @@ {$account.7.auth_id} {$account.7.password} {$account.7.register_expires} + 0 5060 0 3600 + 0 {if isset($account.7.password)}1{else}0{/if} {$account.7.outbound_proxy_primary} {$account.7.sip_port} {$account.7.auth_id} {$account.7.password} + 0 {$account.7.outbound_proxy_secondary} {$account.7.sip_port} + 0 {if isset($account.7.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1193,6 +1257,8 @@ 500 4000 5000 + 0 + 0 {$account.8.user_id} @@ -1203,22 +1269,25 @@ {$account.8.auth_id} {$account.8.password} {$account.8.register_expires} + 0 5060 0 3600 + 0 {if isset($account.8.password)}1{else}0{/if} {$account.8.outbound_proxy_primary} {$account.8.sip_port} {$account.8.auth_id} {$account.8.password} + 0 {$account.8.outbound_proxy_secondary} {$account.8.sip_port} + 0 {if isset($account.8.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1350,6 +1419,8 @@ 500 4000 5000 + 0 + 0 {$account.9.user_id} @@ -1360,22 +1431,25 @@ {$account.9.auth_id} {$account.9.password} {$account.9.register_expires} + 0 5060 0 3600 + 0 {if isset($account.9.password)}1{else}0{/if} {$account.9.outbound_proxy_primary} {$account.9.sip_port} {$account.9.auth_id} {$account.9.password} + 0 {$account.9.outbound_proxy_secondary} {$account.9.sip_port} + 0 {if isset($account.9.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1507,6 +1581,8 @@ 500 4000 5000 + 0 + 0 {$account.10.user_id} @@ -1517,22 +1593,25 @@ {$account.10.auth_id} {$account.10.password} {$account.10.register_expires} + 0 5060 0 3600 + 0 {if isset($account.10.password)}1{else}0{/if} {$account.10.outbound_proxy_primary} {$account.10.sip_port} {$account.10.auth_id} {$account.10.password} + 0 {$account.10.outbound_proxy_secondary} {$account.10.sip_port} + 0 {if isset($account.10.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1664,6 +1743,8 @@ 500 4000 5000 + 0 + 0 {$account.11.user_id} @@ -1674,22 +1755,25 @@ {$account.11.auth_id} {$account.11.password} {$account.11.register_expires} + 0 5060 0 3600 + 0 {if isset($account.11.password)}1{else}0{/if} {$account.11.outbound_proxy_primary} {$account.11.sip_port} {$account.11.auth_id} {$account.11.password} + 0 {$account.11.outbound_proxy_secondary} {$account.11.sip_port} + 0 {if isset($account.11.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1821,6 +1905,8 @@ 500 4000 5000 + 0 + 0 {$account.12.user_id} @@ -1831,22 +1917,25 @@ {$account.12.auth_id} {$account.12.password} {$account.12.register_expires} + 0 5060 0 3600 + 0 {if isset($account.12.password)}1{else}0{/if} {$account.12.outbound_proxy_primary} {$account.12.sip_port} {$account.12.auth_id} {$account.12.password} + 0 {$account.12.outbound_proxy_secondary} {$account.12.sip_port} + 0 {if isset($account.12.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1978,6 +2067,8 @@ 500 4000 5000 + 0 + 0 {$account.13.user_id} @@ -1988,22 +2079,25 @@ {$account.13.auth_id} {$account.13.password} {$account.13.register_expires} + 0 5060 0 3600 + 0 {if isset($account.13.password)}1{else}0{/if} {$account.13.outbound_proxy_primary} {$account.13.sip_port} {$account.13.auth_id} {$account.13.password} + 0 {$account.13.outbound_proxy_secondary} {$account.13.sip_port} + 0 {if isset($account.13.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2135,6 +2229,8 @@ 500 4000 5000 + 0 + 0 {$account.14.user_id} @@ -2145,22 +2241,25 @@ {$account.14.auth_id} {$account.14.password} {$account.14.register_expires} + 0 5060 0 3600 + 0 {if isset($account.14.password)}1{else}0{/if} {$account.14.outbound_proxy_primary} {$account.14.sip_port} {$account.14.auth_id} {$account.14.password} + 0 {$account.14.outbound_proxy_secondary} {$account.14.sip_port} + 0 {if isset($account.14.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2292,6 +2391,8 @@ 500 4000 5000 + 0 + 0 {$account.15.user_id} @@ -2302,22 +2403,25 @@ {$account.15.auth_id} {$account.15.password} {$account.15.register_expires} + 0 5060 0 3600 + 0 {if isset($account.15.password)}1{else}0{/if} {$account.15.outbound_proxy_primary} {$account.15.sip_port} {$account.15.auth_id} {$account.15.password} + 0 {$account.15.outbound_proxy_secondary} {$account.15.sip_port} + 0 {if isset($account.15.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2449,6 +2553,8 @@ 500 4000 5000 + 0 + 0 {$account.16.user_id} @@ -2459,22 +2565,25 @@ {$account.16.auth_id} {$account.16.password} {$account.16.register_expires} + 0 5060 0 3600 + 0 {if isset($account.16.password)}1{else}0{/if} {$account.16.outbound_proxy_primary} {$account.16.sip_port} {$account.16.auth_id} {$account.16.password} + 0 {$account.16.outbound_proxy_secondary} {$account.16.sip_port} + 0 {if isset($account.16.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2606,12 +2715,17 @@ 500 4000 5000 + 0 + 0 0 30 1 0 + 0 + 0 + 1 @@ -2685,6 +2799,10 @@ 0 + 0 + 120 + 120 + 0 1 @@ -2765,13 +2883,17 @@ 0 1 1 - $name@$protocol$instance + $name 0 0 1 1 30 + 0 + 0 + 0 + {$fanvil_greeting} 5 @@ -2800,14 +2922,25 @@ 0 1 + terminated 1 2 - 1 - 1 + early + 1 + 0 + + 1 + 1 + confirmed + 1 + 0 + 2 0 + failed 0 3 + parked @@ -2859,7 +2992,7 @@ hold;none;split;end; xfer;accept;reject;end; redial;none;none;end; - send;save;delete;exit; + send;2aB;delete;exit; send;2aB;delete;exit; delete;xfer;send;exit; send;2aB;delete;exit; @@ -3105,6 +3238,8 @@ 120 0 + 2 + 6 1 @@ -3154,6 +3289,7 @@ + @@ -3225,6 +3361,9 @@ 0 0 + + 60 + 0 @@ -3232,10 +3371,12 @@ 5 1 0 + 0 0 16 360 1080 + 1 0 0 0 @@ -3363,7 +3504,7 @@ 1 - 00100400FV02001000000c383e43ed5d + 1 0 0.0.0.0 @@ -3501,6 +3642,7 @@ 66 0 0 + 0 @@ -3571,5 +3713,27 @@ 1 0 0 + 0xffffff + 0xffffff + 0xffffff + 0x262626 + 0x5a9dba + 0xc4012f + 0x007bb0 + 0xffffff + 0x262626 + 0 + 1,1,1,1 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + From cdab2a752c0de2335c42869979bd1fe1d91e1798 Mon Sep 17 00:00:00 2001 From: Andrew Querol Date: Thu, 5 Nov 2020 09:43:51 -0600 Subject: [PATCH 154/677] Fix the whitespace inconsistency --- app/grandstream/app_config.php | 80 +++++++++++++++++----------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/app/grandstream/app_config.php b/app/grandstream/app_config.php index 6071721f35..04ed271cf0 100644 --- a/app/grandstream/app_config.php +++ b/app/grandstream/app_config.php @@ -614,45 +614,45 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "Ring Timeout (in seconds). Default is 60 (30-3600)"; $y++; - $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "06a35172-1bea-4611-87d0-9d66475ae709"; - $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; - $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_wallpaper_source"; - $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; - $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; - $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; - $apps[$x]['default_settings'][$y]['default_setting_description'] = "0 - Default, 1 - Download, 2-USB(for GXP2140/2160/2170 only), 3 - Uploaded, 4 - Color Background"; - $y++; - $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7ee552de-4634-4d61-8869-e0f5230858fa"; - $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; - $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_display_language"; - $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; - $apps[$x]['default_settings'][$y]['default_setting_value'] = "Auto"; - $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; - $apps[$x]['default_settings'][$y]['default_setting_description'] = "Display Language. See provision profile for codes."; - $y++; - $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "19604f85-b643-4b92-8e28-9c09c34cf559"; - $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; - $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_blind_xfer_blf"; - $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; - $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; - $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; - $apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable Blind Transfer to BLF Yes=1, No=0. Default=0"; - $y++; - $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "82b7076b-e596-49e8-b535-af86e21e0453"; - $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; - $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_ip_address_mode"; - $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; - $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; - $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; - $apps[$x]['default_settings'][$y]['default_setting_description'] = "IP Address Mode. 0 - DHCP, 1 - Static IP, 2 - PPPoE. Default is 0"; - $y++; - $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "6ab26457-fcc8-414e-8ac5-ae681f114974"; - $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; - $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_speaker_ring_volume"; - $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; - $apps[$x]['default_settings'][$y]['default_setting_value'] = "5"; - $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; - $apps[$x]['default_settings'][$y]['default_setting_description'] = "Number: 0-7. Default is 5."; - $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "06a35172-1bea-4611-87d0-9d66475ae709"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_wallpaper_source"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "0 - Default, 1 - Download, 2-USB(for GXP2140/2160/2170 only), 3 - Uploaded, 4 - Color Background"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7ee552de-4634-4d61-8869-e0f5230858fa"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_display_language"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "Auto"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Display Language. See provision profile for codes."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "19604f85-b643-4b92-8e28-9c09c34cf559"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_blind_xfer_blf"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable Blind Transfer to BLF Yes=1, No=0. Default=0"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "82b7076b-e596-49e8-b535-af86e21e0453"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_ip_address_mode"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "IP Address Mode. 0 - DHCP, 1 - Static IP, 2 - PPPoE. Default is 0"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "6ab26457-fcc8-414e-8ac5-ae681f114974"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_speaker_ring_volume"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "5"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Number: 0-7. Default is 5."; + $y++; ?> From 6770d15b3ca70455c3dc5c33cd3da1adf8c8c7d5 Mon Sep 17 00:00:00 2001 From: Greenbea Date: Thu, 5 Nov 2020 11:29:41 -0500 Subject: [PATCH 155/677] Fix cache delete for global dialplans --- app/dialplans/dialplan_edit.php | 3 +++ resources/classes/cache.php | 12 +++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/dialplans/dialplan_edit.php b/app/dialplans/dialplan_edit.php index 3fc41d263a..72b7fa301e 100644 --- a/app/dialplans/dialplan_edit.php +++ b/app/dialplans/dialplan_edit.php @@ -267,6 +267,9 @@ //clear the cache $cache = new cache; + if ($dialplan_context == "\${domain_name}") { + $dialplan_context = "*"; + } $cache->delete("dialplan:".$dialplan_context); //set the message diff --git a/resources/classes/cache.php b/resources/classes/cache.php index 84ecf6100b..dcd1655817 100644 --- a/resources/classes/cache.php +++ b/resources/classes/cache.php @@ -145,11 +145,13 @@ class cache { event_socket_request($fp, $event); //remove the local files - if (file_exists($_SESSION['cache']['location']['text'] . "/" . $key)) { - unlink($_SESSION['cache']['location']['text'] . "/" . $key); - } - if (file_exists($_SESSION['cache']['location']['text'] . "/" . $key . ".tmp")) { - unlink($_SESSION['cache']['location']['text'] . "/" . $key . ".tmp"); + foreach (glob($_SESSION['cache']['location']['text'] . "/" . $key) as $file) { + if (file_exists($file)) { + unlink($file); + } + if (file_exists($file)) { + unlink($file . ".tmp"); + } } } From 13a1facb3cf2e4c7cfe688d9e9c2aa62b04b2ec4 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 5 Nov 2020 12:32:53 -0500 Subject: [PATCH 156/677] Update {$mac}.cfg add variable --- .../templates/provision/yealink/t43u/{$mac}.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/templates/provision/yealink/t43u/{$mac}.cfg b/resources/templates/provision/yealink/t43u/{$mac}.cfg index 4a54ed3663..64d9c01700 100644 --- a/resources/templates/provision/yealink/t43u/{$mac}.cfg +++ b/resources/templates/provision/yealink/t43u/{$mac}.cfg @@ -6,7 +6,7 @@ ####################################################################################### ## Transfer ## ####################################################################################### -account.1.phone_setting.call_appearance.transfer_via_new_linekey= +account.1.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} ####################################################################################### @@ -574,7 +574,7 @@ bw.virtual_user.1.xsi.user= ####################################################################################### ## Transfer ## ####################################################################################### -account.2.phone_setting.call_appearance.transfer_via_new_linekey= +account.2.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} ####################################################################################### @@ -1142,7 +1142,7 @@ account.2.acd.call_information= ####################################################################################### ## Transfer ## ####################################################################################### -account.3.phone_setting.call_appearance.transfer_via_new_linekey= +account.3.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} ####################################################################################### @@ -1710,7 +1710,7 @@ account.3.acd.call_information= ####################################################################################### ## Transfer ## ####################################################################################### -account.4.phone_setting.call_appearance.transfer_via_new_linekey= +account.4.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} ####################################################################################### @@ -2278,7 +2278,7 @@ account.4.acd.call_information= ####################################################################################### ## Transfer ## ####################################################################################### -account.5.phone_setting.call_appearance.transfer_via_new_linekey= +account.5.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} ####################################################################################### @@ -2846,7 +2846,7 @@ account.5.acd.call_information= ####################################################################################### ## Transfer ## ####################################################################################### -account.6.phone_setting.call_appearance.transfer_via_new_linekey= +account.6.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} ####################################################################################### From 5e1e3367eeccd256c0d5f598af233d8eb96aa294 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 5 Nov 2020 12:35:23 -0500 Subject: [PATCH 157/677] Add t33g --- .../provision/yealink/t33g/{$mac}.cfg | 2279 +++++++++++++++++ 1 file changed, 2279 insertions(+) create mode 100644 resources/templates/provision/yealink/t33g/{$mac}.cfg diff --git a/resources/templates/provision/yealink/t33g/{$mac}.cfg b/resources/templates/provision/yealink/t33g/{$mac}.cfg new file mode 100644 index 0000000000..efe27c1375 --- /dev/null +++ b/resources/templates/provision/yealink/t33g/{$mac}.cfg @@ -0,0 +1,2279 @@ +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U/T42U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2/T31/T31P/T31G: X ranges from 1 to 2.)## +##T33P/T33G :X ranges from 1 to 4 +##T30/T30P Not Support +####################################################################################### +## Trnasfer ## +####################################################################################### +account.1.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +account.1.phone_setting.call_appearance.conference_via_new_linekey= + + +###V85## +account.X.networkconf_type= + +####################################################################################### +## Anonymous ## +####################################################################################### +account.1.anonymous_call.server_base_only = +account.1.send_anonymous_rejection_code = +account.1.anonymous_reject_offcode = +account.1.anonymous_reject_oncode = +account.1.reject_anonymous_call= +account.1.anonymous_call_offcode = +account.1.anonymous_call_oncode = +account.1.anonymous_call = +account.1.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.1.music_server_uri= +account.1.music_on_hold_type= +account.1.auto_label.rule= +account.1.auto_label.enable= +account.1.number_of_linekey= +account.1.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.1.codec.ilbc_15_2kbps.priority= +account.1.codec.ilbc_15_2kbps.enable= + +account.1.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.1.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.1.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.1.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.1.codec.opus.para= 106 + +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.1.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.1.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.1.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.1.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.1.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.1.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.1.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.1.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.1.codec.G722_1_24kpbs.priority= +account.1.codec.G722_1_24kpbs.enable= +account.1.codec.G722_1c_24kpbs.priority= +account.1.codec.G722_1c_24kpbs.enable= +account.1.codec.G722_1c_32kpbs.priority= +account.1.codec.G722_1c_32kpbs.enable= +account.1.codec.G722_1c_48kpbs.priority= +account.1.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account Register ## +################################################################ +{if isset($account.1.password) } +account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} +account.1.label = {$account.1.display_name} +account.1.display_name = {$account.1.display_name} +account.1.auth_name = {$account.1.auth_id} + +{if isset($account.1.server.1.address)} +account.1.user_name = {$account.1.user_id}@{$account.1.server_address} +{else} +account.1.user_name = {$account.1.user_id} +{/if} + +account.1.password = {$account.1.password} +account.1.sip_server.1.address= {$account.1.server_address} +account.1.sip_server_port = {$account.1.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.1.sip_transport == 'udp'}account.1.sip_server.1.transport_type = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.1.transport_type = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.1.transport_type = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.1.transport_type = 3{/if} + +account.1.sip_server.1.expires= {$account.1.register_expires} +account.1.sip_server.1.retry_counts= 3 + +account.1.sip_server.2.address= {$account.1.server.2.address} +account.1.sip_server.2.port= {$account.1.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.1.sip_transport == 'udp'}account.1.sip_server.2.transport_type = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.2.transport_type = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.2.transport_type = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.2.transport_type = 3{/if} + +account.1.sip_server.2.expires= {$account.1.register_expires} +account.1.sip_server.2.retry_counts= 3 + +account.1.outbound_proxy_enable = {if isset($account.1.outbound_proxy_primary)}1{else}0{/if} + +account.1.outbound_proxy.1.address = {$account.1.outbound_proxy_primary} +account.1.outbound_proxy.2.address = {$account.1.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.1.outbound_proxy.1.port = {$account.1.sip_port} +{/if} + +account.1.outbound_proxy.2.address= {$account.1.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.1.outbound_proxy.2.port = {$account.1.sip_port} +{/if} + +account.1.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.1.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.1.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.1.nat.udp_update_enable= +account.1.nat.udp_update_time= +account.1.nat.rport= {$yealink_rport} + +account.1.dtmf.type= {$yealink_dtmf_type} +account.1.dtmf.info_type= +account.1.dtmf.dtmf_payload= +account.1.100rel_enable= + +account.1.subscribe_register= +account.1.cid_source= {$yealink_cid_source} +account.1.enable_user_equal_phone= +account.1.srtp_encryption= {$yealink_srtp_encryption} +account.1.ptime= +account.1.register_line= +account.1.register_mac= +account.1.reg_fail_retry_interval= +account.1.unregister_on_reboot= + +account.1.session_timer.refresher= +account.1.session_timer.expires= +account.1.session_timer.enable= {$yealink_session_timer} + +account.1.conf_type= +account.1.sip_server_type= + +##V83 Add +account.1.srtp.unencrypted_rtcp.enable = +account.1.srtp.unencrypted_rtp.enable = +account.1.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.1.outbound_proxy.1.register_on_enable= +account.1.outbound_proxy.1.failback_timeout= +account.1.outbound_proxy.1.failback_mode= +account.1.outbound_proxy.1.retry_counts= +account.1.outbound_proxy.1.only_signal_with_registered= +account.1.outbound_proxy.1.failback_subscribe.enable= +account.1.outbound_proxy.1.invite_retry_counts= + +account.1.sip_server.1.register_on_enable= +account.1.sip_server.1.failback_timeout= +account.1.sip_server.1.failback_mode= +account.1.sip_server.1.failback_subscribe.enable= +account.1.sip_server.1.only_signal_with_registered= +account.1.sip_server.1.invite_retry_counts= + +account.1.outbound_proxy.2.register_on_enable= +account.1.outbound_proxy.2.failback_timeout= +account.1.outbound_proxy.2.failback_mode= +account.1.outbound_proxy.2.retry_counts= +account.1.outbound_proxy.2.only_signal_with_registered= +account.1.outbound_proxy.2.failback_subscribe.enable= +account.1.outbound_proxy.2.invite_retry_counts= + +account.1.sip_server.2.register_on_enable= +account.1.sip_server.2.failback_timeout= +account.1.sip_server.2.failback_mode= +account.1.sip_server.2.failback_subscribe.enable= +account.1.sip_server.2.only_signal_with_registered= +account.1.sip_server.2.invite_retry_counts= + +account.1.static_cache_pri= +account.1.dns_cache_type= +account.1.naptr_build= +account.1.fallback.timeout= +account.1.fallback.redundancy_type= +account.1.reg_failed_retry_max_time= +account.1.reg_failed_retry_min_time= +account.1.redundancy_with_reg_fail.enable = + +##V83 Add +account.1.sip_server.1.outbound_proxy_enable = +account.1.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.1.contact_take_line_param= +account.1.update_ack_while_dialing= +account.1.srtp_lifetime= +account.1.third_part_request_with_route.enable= +account.1.insert_outbound_in_route.enable= +account.1.path.enable= +account.1.sub_fail_retry_interval= +account.1.transfer_refer_to_contact_header.enable= +account.1.hold_use_inactive= +account.1.gruu.enable= +account.1.dial_tone= +account.1.call_id_mode= +account.1.subscribe_expires_overlap= +account.1.register_expires_overlap= +account.1.call_info= +account.1.custom_ua= +account.1.mwi_parse_terminated= +account.1.check_cseq.enable= +account.1.check_to_tag.enable= +account.1.vq_rtcpxr.collector_server_port= +account.1.vq_rtcpxr.collector_server_host= +account.1.vq_rtcpxr.collector_name= +account.1.compact_header_enable= +account.1.cp_source= 2 +account.1.cid_source_ppi= 1 +account.1.cid_source_privacy= 1 +account.1.reg_with_pani_header.enable = +account.1.alert_info= +account.1.picture_info_enable= 1 + +##V83 Add +account.1.invite_with_pani_header.enable = + +##V84 Add +account.1.invite_with_rpid_header.enable= + +account.1.auto_answer_mute_enable + +##V84 SP4 Add +account.1.share_line.enable_private_code = +account.1.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.1.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.1.timeout_fwd.off_code= +account.1.timeout_fwd.on_code= +account.1.timeout_fwd.timeout= +account.1.timeout_fwd.target= +account.1.timeout_fwd.enable= +account.1.busy_fwd.off_code= +account.1.busy_fwd.on_code= +account.1.busy_fwd.target= +account.1.busy_fwd.enable= +account.1.always_fwd.off_code= +account.1.always_fwd.on_code= +account.1.always_fwd.target= +account.1.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.1.dnd.enable= +account.1.dnd.off_code= +account.1.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.1.subscribe_mwi= 1 +account.1.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.1.subscribe_mwi_expires= 3600 +account.1.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.1.auto_dial_enable= +account.1.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.1.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.1.dialplan.digitmap.enable= +account.1.dialplan.digitmap.string= +account.1.dialplan.digitmap.no_match_action= +account.1.dialplan.digitmap.interdigit_short_timer= +account.1.dialplan.digitmap.interdigit_long_timer= +account.1.dialplan.digitmap.apply_to.press_send= +account.1.dialplan.digitmap.apply_to.forward= +account.1.dialplan.digitmap.apply_to.history_dial= +account.1.dialplan.digitmap.apply_to.directory_dial= +account.1.dialplan.digitmap.apply_to.on_hook_dial= +account.1.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.1.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.1.blf.blf_list_uri= +account.1.blf_list_barge_in_code= +account.1.blf_list_code= +account.1.blf_list_retrieve_call_parked_code= +account.1.blf.subscribe_period= +account.1.blf.match_host.enable= +account.1.out_dialog_blf_enable= +account.1.blf.subscribe_event= + +##V84 Add +account.1.blf_list_call_parked_code= +account.1.blf_list_call_parked_list= + +##V84 SP4 ADD +account.1.blf_list_whisper_code= +account.1.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.1.shared_line= +account.1.line_seize.expires= +account.1.shared_line_one_touch_bargein.enable= +account.1.shared_line_one_touch_retrieve.enable= +account.1.sca_manage_interface_display_time= +account.1.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +###V85 add +account.X.shared_line.idle_details= + +####################################################################################### +## BLA ## +####################################################################################### +account.1.bla_number= +account.1.bla_subscribe_period= +account.1.bla.notify_with_expire.enable= +account.1.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.1.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.1.acd.enable= 0 +account.1.acd.available= 0 +account.1.acd.unavailable_reason_enable= 0 +account.1.acd.initial_state= 1 +account.1.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.1.reason_code.1= +account.1.reason_code_name.1= 0 +account.1.bw_disp_code.1= +account.1.bw_disp_code_name.1= +account.1.supervisor_info_code.1= +account.1.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.1.call_center.call_info_enable= 0 +account.1.call_center.show_call_info_time= 30 +account.1.call_center.disp_code_enable= 0 +account.1.call_center.trace_enable= 0 +account.1.call_center.emergency_enable= 0 +account.1.call_center.queue_status_enable= 0 +account.1.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.1.hoteling.enable= 0 +account.1.hoteling.user_id= 0 +account.1.hoteling.password= 0 +account.1.hoteling.expires= 0 +account.1.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.1.xsi.user = +account.1.xsi.password = +account.1.xsi.host = +account.1.xsi.server_type = +account.1.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.1.direct_pickup_code = +account.1.group_pickup_code = +account.1.dialoginfo_callpickup = 0 +account.1.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.1.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.1.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.1.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.1.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.1.flexible_seating.enable= +account.1.hoteling.pin= +account.1.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.1.features.forward.feature_key_sync.local_processing.enable= +account.1.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.1.dnd.feature_key_sync.enable= +account.1.feature_key_sync.enable= +account.1.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.1.acd.available_url= +account.1.acd.away_url = +account.1.acd.refresh_url = +account.1.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +bw.virtual_user.1.enable= +bw.virtual_user.1.label= +bw.virtual_user.1.xsi.dnd.enable= +bw.virtual_user.1.xsi.host= +bw.virtual_user.1.xsi.password= +bw.virtual_user.1.xsi.port= +bw.virtual_user.1.xsi.server_type= +bw.virtual_user.1.xsi.user= + +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Transfer ## +####################################################################################### +account.2.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +account.2.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.2.anonymous_call.server_base_only = +account.2.send_anonymous_rejection_code = +account.2.anonymous_reject_offcode = +account.2.anonymous_reject_oncode = +account.2.reject_anonymous_call= +account.2.anonymous_call_offcode = +account.2.anonymous_call_oncode = +account.2.anonymous_call = 0 +account.2.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.2.music_server_uri= +account.2.music_on_hold_type= +account.2.auto_label.rule= +account.2.auto_label.enable= +account.2.number_of_linekey= +account.2.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.2.codec.ilbc_15_2kbps.priority= +account.2.codec.ilbc_15_2kbps.enable= + +account.2.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.2.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.2.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.2.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.2.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.2.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.2.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.2.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.2.codec.opus.para= 106 + +account.2.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.2.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.2.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.2.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.2.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.2.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.2.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.2.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.2.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.2.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.2.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.2.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.2.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.2.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.2.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.2.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.2.codec.G722_1_24kpbs.priority= +account.2.codec.G722_1_24kpbs.enable= +account.2.codec.G722_1c_24kpbs.priority= +account.2.codec.G722_1c_24kpbs.enable= +account.2.codec.G722_1c_32kpbs.priority= +account.2.codec.G722_1c_32kpbs.enable= +account.2.codec.G722_1c_48kpbs.priority= +account.2.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account2 Register ## +################################################################ +{if isset($account.2.password) } +account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} +account.2.label = {$account.2.display_name} +account.2.display_name = {$account.2.display_name} +account.2.auth_name = {$account.2.auth_id} + +{if isset($account.2.server.1.address)} +account.2.user_name = {$account.2.user_id}@{$account.2.server_address} +{else} +account.2.user_name = {$account.2.user_id} +{/if} + +account.2.password = {$account.2.password} +account.2.sip_server.1.address= {$account.2.server_address} +account.2.sip_server_port = {$account.2.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.2.sip_transport == 'udp'}account.2.sip_server.1.transport_type = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.1.transport_type = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.1.transport_type = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.1.transport_type = 3{/if} + +account.2.sip_server.1.expires= {$account.2.register_expires} +account.2.sip_server.1.retry_counts= 3 + +account.2.sip_server.2.address= {$account.2.server.2.address} +account.2.sip_server.2.port= {$account.2.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.2.sip_transport == 'udp'}account.2.sip_server.2.transport_type = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.2.transport_type = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.2.transport_type = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.2.transport_type = 3{/if} + +account.2.sip_server.2.expires= {$account.2.register_expires} +account.2.sip_server.2.retry_counts= 3 + +account.2.outbound_proxy_enable = {if isset($account.2.outbound_proxy_primary)}1{else}0{/if} + +account.2.outbound_proxy.1.address = {$account.2.outbound_proxy_primary} +account.2.outbound_proxy.2.address = {$account.2.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.2.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.2.outbound_proxy.1.port = {$account.2.sip_port} +{/if} + +account.2.outbound_proxy.2.address= {$account.2.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.2.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.2.outbound_proxy.2.port = {$account.2.sip_port} +{/if} + +account.2.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.2.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.2.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.2.nat.udp_update_enable= +account.2.nat.udp_update_time= +account.2.nat.rport= {$yealink_rport} + +account.2.dtmf.type= {$yealink_dtmf_type} +account.2.dtmf.info_type= +account.2.dtmf.dtmf_payload= +account.2.100rel_enable= + +account.2.subscribe_register= +account.2.cid_source= {$yealink_cid_source} +account.2.enable_user_equal_phone= +account.2.srtp_encryption= {$yealink_srtp_encryption} +account.2.ptime= +account.2.register_line= +account.2.register_mac= +account.2.reg_fail_retry_interval= +account.2.unregister_on_reboot= + +account.2.session_timer.refresher= +account.2.session_timer.expires= +account.2.session_timer.enable= {$yealink_session_timer} + +account.2.conf_type= +account.2.sip_server_type= + +##V83 Add +account.2.srtp.unencrypted_rtcp.enable = +account.2.srtp.unencrypted_rtp.enable = +account.2.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.2.outbound_proxy.1.register_on_enable= +account.2.outbound_proxy.1.failback_timeout= +account.2.outbound_proxy.1.failback_mode= +account.2.outbound_proxy.1.retry_counts= +account.2.outbound_proxy.1.only_signal_with_registered= +account.2.outbound_proxy.1.failback_subscribe.enable= +account.2.outbound_proxy.1.invite_retry_counts= + +account.2.sip_server.1.register_on_enable= +account.2.sip_server.1.failback_timeout= +account.2.sip_server.1.failback_mode= +account.2.sip_server.1.failback_subscribe.enable= +account.2.sip_server.1.only_signal_with_registered= +account.2.sip_server.1.invite_retry_counts= + +account.2.outbound_proxy.2.register_on_enable= +account.2.outbound_proxy.2.failback_timeout= +account.2.outbound_proxy.2.failback_mode= +account.2.outbound_proxy.2.retry_counts= +account.2.outbound_proxy.2.only_signal_with_registered= +account.2.outbound_proxy.2.failback_subscribe.enable= +account.2.outbound_proxy.2.invite_retry_counts= + +account.2.sip_server.2.register_on_enable= +account.2.sip_server.2.failback_timeout= +account.2.sip_server.2.failback_mode= +account.2.sip_server.2.failback_subscribe.enable= +account.2.sip_server.2.only_signal_with_registered= +account.2.sip_server.2.invite_retry_counts= + +account.2.static_cache_pri= +account.2.dns_cache_type= +account.2.naptr_build= +account.2.fallback.timeout= +account.2.fallback.redundancy_type= +account.2.reg_failed_retry_max_time= +account.2.reg_failed_retry_min_time= +account.2.redundancy_with_reg_fail.enable = + +##V83 Add +account.2.sip_server.1.outbound_proxy_enable = +account.2.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.2.contact_take_line_param= +account.2.update_ack_while_dialing= +account.2.srtp_lifetime= +account.2.third_part_request_with_route.enable= +account.2.insert_outbound_in_route.enable= +account.2.path.enable= +account.2.sub_fail_retry_interval= +account.2.transfer_refer_to_contact_header.enable= +account.2.hold_use_inactive= +account.2.gruu.enable= +account.2.dial_tone= +account.2.call_id_mode= +account.2.subscribe_expires_overlap= +account.2.register_expires_overlap= +account.2.call_info= +account.2.custom_ua= +account.2.mwi_parse_terminated= +account.2.check_cseq.enable= +account.2.check_to_tag.enable= +account.2.vq_rtcpxr.collector_server_port= +account.2.vq_rtcpxr.collector_server_host= +account.2.vq_rtcpxr.collector_name= +account.2.compact_header_enable= +account.2.cp_source= 2 +account.2.cid_source_ppi= 1 +account.2.cid_source_privacy= 1 +account.2.reg_with_pani_header.enable = +account.2.alert_info= +account.2.picture_info_enable= 1 + +##V83 Add +account.2.invite_with_pani_header.enable = + +##V84 Add +account.2.invite_with_rpid_header.enable= + +account.2.auto_answer_mute_enable + +##V84 SP4 Add +account.2.share_line.enable_private_code = +account.2.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.2.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.2.timeout_fwd.off_code= +account.2.timeout_fwd.on_code= +account.2.timeout_fwd.timeout= +account.2.timeout_fwd.target= +account.2.timeout_fwd.enable= +account.2.busy_fwd.off_code= +account.2.busy_fwd.on_code= +account.2.busy_fwd.target= +account.2.busy_fwd.enable= +account.2.always_fwd.off_code= +account.2.always_fwd.on_code= +account.2.always_fwd.target= +account.2.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.2.dnd.enable= +account.2.dnd.off_code= +account.2.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.2.subscribe_mwi= 1 +account.2.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.2.subscribe_mwi_expires= 3600 +account.2.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.2.auto_dial_enable= +account.2.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.2.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.2.dialplan.digitmap.enable= +account.2.dialplan.digitmap.string= +account.2.dialplan.digitmap.no_match_action= +account.2.dialplan.digitmap.interdigit_short_timer= +account.2.dialplan.digitmap.interdigit_long_timer= +account.2.dialplan.digitmap.apply_to.press_send= +account.2.dialplan.digitmap.apply_to.forward= +account.2.dialplan.digitmap.apply_to.history_dial= +account.2.dialplan.digitmap.apply_to.directory_dial= +account.2.dialplan.digitmap.apply_to.on_hook_dial= +account.2.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.2.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.2.blf.blf_list_uri= +account.2.blf_list_barge_in_code= +account.2.blf_list_code= +account.2.blf_list_retrieve_call_parked_code= +account.2.blf.subscribe_period= +account.2.blf.match_host.enable= +account.2.out_dialog_blf_enable= +account.2.blf.subscribe_event= + +##V84 Add +account.2.blf_list_call_parked_code= +account.2.blf_list_call_parked_list= + +##V84 SP4 ADD +account.2.blf_list_whisper_code= +account.2.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.2.shared_line= +account.2.line_seize.expires= +account.2.shared_line_one_touch_bargein.enable= +account.2.shared_line_one_touch_retrieve.enable= +account.2.sca_manage_interface_display_time= +account.2.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.2.bla_number= +account.2.bla_subscribe_period= +account.2.bla.notify_with_expire.enable= +account.2.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.2.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.2.acd.enable= 0 +account.2.acd.available= 0 +account.2.acd.unavailable_reason_enable= 0 +account.2.acd.initial_state= 1 +account.2.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.2.reason_code.1= +account.2.reason_code_name.1= 0 +account.2.bw_disp_code.1= +account.2.bw_disp_code_name.1= +account.2.supervisor_info_code.1= +account.2.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.2.call_center.call_info_enable= 0 +account.2.call_center.show_call_info_time= 30 +account.2.call_center.disp_code_enable= 0 +account.2.call_center.trace_enable= 0 +account.2.call_center.emergency_enable= 0 +account.2.call_center.queue_status_enable= 0 +account.2.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.2.hoteling.enable= 0 +account.2.hoteling.user_id= 0 +account.2.hoteling.password= 0 +account.2.hoteling.expires= 0 +account.2.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.2.xsi.user = +account.2.xsi.password = +account.2.xsi.host = +account.2.xsi.server_type = +account.2.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.2.direct_pickup_code = +account.2.group_pickup_code = +account.2.dialoginfo_callpickup = 0 +account.2.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.2.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.2.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.2.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.2.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.2.flexible_seating.enable= +account.2.hoteling.pin= +account.2.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.2.features.forward.feature_key_sync.local_processing.enable= +account.2.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.2.dnd.feature_key_sync.enable= +account.2.feature_key_sync.enable= +account.2.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.2.acd.available_url= +account.2.acd.away_url = +account.2.acd.refresh_url = +account.2.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Transfer ## +####################################################################################### +account.3.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +account.3.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.3.anonymous_call.server_base_only = +account.3.send_anonymous_rejection_code = +account.3.anonymous_reject_offcode = +account.3.anonymous_reject_oncode = +account.3.reject_anonymous_call= +account.3.anonymous_call_offcode = +account.3.anonymous_call_oncode = +account.3.anonymous_call = 0 +account.3.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.3.music_server_uri= +account.3.music_on_hold_type= +account.3.auto_label.rule= +account.3.auto_label.enable= +account.3.number_of_linekey= +account.3.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.3.codec.ilbc_15_2kbps.priority= +account.3.codec.ilbc_15_2kbps.enable= + +account.3.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.3.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.3.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.3.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.3.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.3.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.3.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.3.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.3.codec.opus.para= 106 + +account.3.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.3.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.3.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.3.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.3.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.3.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.3.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.3.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.3.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.3.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.3.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.3.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.3.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.3.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.3.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.3.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.3.codec.G722_1_24kpbs.priority= +account.3.codec.G722_1_24kpbs.enable= +account.3.codec.G722_1c_24kpbs.priority= +account.3.codec.G722_1c_24kpbs.enable= +account.3.codec.G722_1c_32kpbs.priority= +account.3.codec.G722_1c_32kpbs.enable= +account.3.codec.G722_1c_48kpbs.priority= +account.3.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account3 Register ## +################################################################ +{if isset($account.3.password) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} +account.3.label = {$account.3.display_name} +account.3.display_name = {$account.3.display_name} +account.3.auth_name = {$account.3.auth_id} + +{if isset($account.3.server.1.address)} +account.3.user_name = {$account.3.user_id}@{$account.3.server_address} +{else} +account.3.user_name = {$account.3.user_id} +{/if} + +account.3.password = {$account.3.password} +account.3.sip_server.1.address= {$account.3.server_address} +account.3.sip_server_port = {$account.3.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.3.sip_transport == 'udp'}account.3.sip_server.1.transport_type = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.1.transport_type = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.1.transport_type = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.1.transport_type = 3{/if} + +account.3.sip_server.1.expires= {$account.3.register_expires} +account.3.sip_server.1.retry_counts= 3 + +account.3.sip_server.2.address= {$account.3.server.2.address} +account.3.sip_server.2.port= {$account.3.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.3.sip_transport == 'udp'}account.3.sip_server.2.transport_type = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.2.transport_type = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.2.transport_type = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.2.transport_type = 3{/if} + +account.3.sip_server.2.expires= {$account.3.register_expires} +account.3.sip_server.2.retry_counts= 3 + +account.3.outbound_proxy_enable = {if isset($account.3.outbound_proxy_primary)}1{else}0{/if} + +account.3.outbound_proxy.1.address = {$account.3.outbound_proxy_primary} +account.3.outbound_proxy.2.address = {$account.3.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.3.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.3.outbound_proxy.1.port = {$account.3.sip_port} +{/if} + +account.3.outbound_proxy.2.address= {$account.3.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.3.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.3.outbound_proxy.2.port = {$account.3.sip_port} +{/if} + +account.3.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.3.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.3.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.3.nat.udp_update_enable= +account.3.nat.udp_update_time= +account.3.nat.rport= {$yealink_rport} + +account.3.dtmf.type= {$yealink_dtmf_type} +account.3.dtmf.info_type= +account.3.dtmf.dtmf_payload= +account.3.100rel_enable= + +account.3.subscribe_register= +account.3.cid_source= {$yealink_cid_source} +account.3.enable_user_equal_phone= +account.3.srtp_encryption= {$yealink_srtp_encryption} +account.3.ptime= +account.3.register_line= +account.3.register_mac= +account.3.reg_fail_retry_interval= +account.3.unregister_on_reboot= + +account.3.session_timer.refresher= +account.3.session_timer.expires= +account.3.session_timer.enable= {$yealink_session_timer} + +account.3.conf_type= +account.3.sip_server_type= + +##V83 Add +account.3.srtp.unencrypted_rtcp.enable = +account.3.srtp.unencrypted_rtp.enable = +account.3.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.3.outbound_proxy.1.register_on_enable= +account.3.outbound_proxy.1.failback_timeout= +account.3.outbound_proxy.1.failback_mode= +account.3.outbound_proxy.1.retry_counts= +account.3.outbound_proxy.1.only_signal_with_registered= +account.3.outbound_proxy.1.failback_subscribe.enable= +account.3.outbound_proxy.1.invite_retry_counts= + +account.3.sip_server.1.register_on_enable= +account.3.sip_server.1.failback_timeout= +account.3.sip_server.1.failback_mode= +account.3.sip_server.1.failback_subscribe.enable= +account.3.sip_server.1.only_signal_with_registered= +account.3.sip_server.1.invite_retry_counts= + +account.3.outbound_proxy.2.register_on_enable= +account.3.outbound_proxy.2.failback_timeout= +account.3.outbound_proxy.2.failback_mode= +account.3.outbound_proxy.2.retry_counts= +account.3.outbound_proxy.2.only_signal_with_registered= +account.3.outbound_proxy.2.failback_subscribe.enable= +account.3.outbound_proxy.2.invite_retry_counts= + +account.3.sip_server.2.register_on_enable= +account.3.sip_server.2.failback_timeout= +account.3.sip_server.2.failback_mode= +account.3.sip_server.2.failback_subscribe.enable= +account.3.sip_server.2.only_signal_with_registered= +account.3.sip_server.2.invite_retry_counts= + +account.3.static_cache_pri= +account.3.dns_cache_type= +account.3.naptr_build= +account.3.fallback.timeout= +account.3.fallback.redundancy_type= +account.3.reg_failed_retry_max_time= +account.3.reg_failed_retry_min_time= +account.3.redundancy_with_reg_fail.enable = + +##V83 Add +account.3.sip_server.1.outbound_proxy_enable = +account.3.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.3.contact_take_line_param= +account.3.update_ack_while_dialing= +account.3.srtp_lifetime= +account.3.third_part_request_with_route.enable= +account.3.insert_outbound_in_route.enable= +account.3.path.enable= +account.3.sub_fail_retry_interval= +account.3.transfer_refer_to_contact_header.enable= +account.3.hold_use_inactive= +account.3.gruu.enable= +account.3.dial_tone= +account.3.call_id_mode= +account.3.subscribe_expires_overlap= +account.3.register_expires_overlap= +account.3.call_info= +account.3.custom_ua= +account.3.mwi_parse_terminated= +account.3.check_cseq.enable= +account.3.check_to_tag.enable= +account.3.vq_rtcpxr.collector_server_port= +account.3.vq_rtcpxr.collector_server_host= +account.3.vq_rtcpxr.collector_name= +account.3.compact_header_enable= +account.3.cp_source= 2 +account.3.cid_source_ppi= 1 +account.3.cid_source_privacy= 1 +account.3.reg_with_pani_header.enable = +account.3.alert_info= +account.3.picture_info_enable= 1 + +##V83 Add +account.3.invite_with_pani_header.enable = + +##V84 Add +account.3.invite_with_rpid_header.enable= + +account.3.auto_answer_mute_enable + +##V84 SP4 Add +account.3.share_line.enable_private_code = +account.3.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.3.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.3.timeout_fwd.off_code= +account.3.timeout_fwd.on_code= +account.3.timeout_fwd.timeout= +account.3.timeout_fwd.target= +account.3.timeout_fwd.enable= +account.3.busy_fwd.off_code= +account.3.busy_fwd.on_code= +account.3.busy_fwd.target= +account.3.busy_fwd.enable= +account.3.always_fwd.off_code= +account.3.always_fwd.on_code= +account.3.always_fwd.target= +account.3.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.3.dnd.enable= +account.3.dnd.off_code= +account.3.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.3.subscribe_mwi= 1 +account.3.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.3.subscribe_mwi_expires= 3600 +account.3.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.3.auto_dial_enable= +account.3.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.3.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.3.dialplan.digitmap.enable= +account.3.dialplan.digitmap.string= +account.3.dialplan.digitmap.no_match_action= +account.3.dialplan.digitmap.interdigit_short_timer= +account.3.dialplan.digitmap.interdigit_long_timer= +account.3.dialplan.digitmap.apply_to.press_send= +account.3.dialplan.digitmap.apply_to.forward= +account.3.dialplan.digitmap.apply_to.history_dial= +account.3.dialplan.digitmap.apply_to.directory_dial= +account.3.dialplan.digitmap.apply_to.on_hook_dial= +account.3.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.3.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.3.blf.blf_list_uri= +account.3.blf_list_barge_in_code= +account.3.blf_list_code= +account.3.blf_list_retrieve_call_parked_code= +account.3.blf.subscribe_period= +account.3.blf.match_host.enable= +account.3.out_dialog_blf_enable= +account.3.blf.subscribe_event= + +##V84 Add +account.3.blf_list_call_parked_code= +account.3.blf_list_call_parked_list= + +##V84 SP4 ADD +account.3.blf_list_whisper_code= +account.3.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.3.shared_line= +account.3.line_seize.expires= +account.3.shared_line_one_touch_bargein.enable= +account.3.shared_line_one_touch_retrieve.enable= +account.3.sca_manage_interface_display_time= +account.3.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.3.bla_number= +account.3.bla_subscribe_period= +account.3.bla.notify_with_expire.enable= +account.3.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.3.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.3.acd.enable= 0 +account.3.acd.available= 0 +account.3.acd.unavailable_reason_enable= 0 +account.3.acd.initial_state= 1 +account.3.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.3.reason_code.1= +account.3.reason_code_name.1= 0 +account.3.bw_disp_code.1= +account.3.bw_disp_code_name.1= +account.3.supervisor_info_code.1= +account.3.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.3.call_center.call_info_enable= 0 +account.3.call_center.show_call_info_time= 30 +account.3.call_center.disp_code_enable= 0 +account.3.call_center.trace_enable= 0 +account.3.call_center.emergency_enable= 0 +account.3.call_center.queue_status_enable= 0 +account.3.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.3.hoteling.enable= 0 +account.3.hoteling.user_id= 0 +account.3.hoteling.password= 0 +account.3.hoteling.expires= 0 +account.3.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.3.xsi.user = +account.3.xsi.password = +account.3.xsi.host = +account.3.xsi.server_type = +account.3.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.3.direct_pickup_code = +account.3.group_pickup_code = +account.3.dialoginfo_callpickup = 0 +account.3.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.3.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.3.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.3.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.3.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.3.flexible_seating.enable= +account.3.hoteling.pin= +account.3.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.3.features.forward.feature_key_sync.local_processing.enable= +account.3.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.3.dnd.feature_key_sync.enable= +account.3.feature_key_sync.enable= +account.3.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.3.acd.available_url= +account.3.acd.away_url = +account.3.acd.refresh_url = +account.3.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Transfer ## +####################################################################################### +account.4.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +account.4.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.4.anonymous_call.server_base_only = +account.4.send_anonymous_rejection_code = +account.4.anonymous_reject_offcode = +account.4.anonymous_reject_oncode = +account.4.reject_anonymous_call= +account.4.anonymous_call_offcode = +account.4.anonymous_call_oncode = +account.4.anonymous_call = 0 +account.4.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.4.music_server_uri= +account.4.music_on_hold_type= +account.4.auto_label.rule= +account.4.auto_label.enable= +account.4.number_of_linekey= +account.4.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.4.codec.ilbc_15_2kbps.priority= +account.4.codec.ilbc_15_2kbps.enable= + +account.4.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.4.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.4.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.4.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.4.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.4.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.4.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.4.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.4.codec.opus.para= 106 + +account.4.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.4.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.4.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.4.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.4.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.4.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.4.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.4.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.4.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.4.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.4.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.4.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.4.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.4.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.4.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.4.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.4.codec.G722_1_24kpbs.priority= +account.4.codec.G722_1_24kpbs.enable= +account.4.codec.G722_1c_24kpbs.priority= +account.4.codec.G722_1c_24kpbs.enable= +account.4.codec.G722_1c_32kpbs.priority= +account.4.codec.G722_1c_32kpbs.enable= +account.4.codec.G722_1c_48kpbs.priority= +account.4.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account4 Register ## +################################################################ +{if isset($account.4.password) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} +account.4.label = {$account.4.display_name} +account.4.display_name = {$account.4.display_name} +account.4.auth_name = {$account.4.auth_id} + +{if isset($account.4.server.1.address)} +account.4.user_name = {$account.4.user_id}@{$account.4.server_address} +{else} +account.4.user_name = {$account.4.user_id} +{/if} + +account.4.password = {$account.4.password} +account.4.sip_server.1.address= {$account.4.server_address} +account.4.sip_server_port = {$account.4.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.4.sip_transport == 'udp'}account.4.sip_server.1.transport_type = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.1.transport_type = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.1.transport_type = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.1.transport_type = 3{/if} + +account.4.sip_server.1.expires= {$account.4.register_expires} +account.4.sip_server.1.retry_counts= 3 + +account.4.sip_server.2.address= {$account.4.server.2.address} +account.4.sip_server.2.port= {$account.4.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.4.sip_transport == 'udp'}account.4.sip_server.2.transport_type = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.2.transport_type = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.2.transport_type = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.2.transport_type = 3{/if} + +account.4.sip_server.2.expires= {$account.4.register_expires} +account.4.sip_server.2.retry_counts= 3 + +account.4.outbound_proxy_enable = {if isset($account.4.outbound_proxy_primary)}1{else}0{/if} + +account.4.outbound_proxy.1.address = {$account.4.outbound_proxy_primary} +account.4.outbound_proxy.2.address = {$account.4.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.4.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.4.outbound_proxy.1.port = {$account.4.sip_port} +{/if} + +account.4.outbound_proxy.2.address= {$account.4.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.4.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.4.outbound_proxy.2.port = {$account.4.sip_port} +{/if} + +account.4.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.4.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.4.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.4.nat.udp_update_enable= +account.4.nat.udp_update_time= +account.4.nat.rport= {$yealink_rport} + +account.4.dtmf.type= {$yealink_dtmf_type} +account.4.dtmf.info_type= +account.4.dtmf.dtmf_payload= +account.4.100rel_enable= + +account.4.subscribe_register= +account.4.cid_source= {$yealink_cid_source} +account.4.enable_user_equal_phone= +account.4.srtp_encryption= {$yealink_srtp_encryption} +account.4.ptime= +account.4.register_line= +account.4.register_mac= +account.4.reg_fail_retry_interval= +account.4.unregister_on_reboot= + +account.4.session_timer.refresher= +account.4.session_timer.expires= +account.4.session_timer.enable= {$yealink_session_timer} + +account.4.conf_type= +account.4.sip_server_type= + +##V83 Add +account.4.srtp.unencrypted_rtcp.enable = +account.4.srtp.unencrypted_rtp.enable = +account.4.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.4.outbound_proxy.1.register_on_enable= +account.4.outbound_proxy.1.failback_timeout= +account.4.outbound_proxy.1.failback_mode= +account.4.outbound_proxy.1.retry_counts= +account.4.outbound_proxy.1.only_signal_with_registered= +account.4.outbound_proxy.1.failback_subscribe.enable= +account.4.outbound_proxy.1.invite_retry_counts= + +account.4.sip_server.1.register_on_enable= +account.4.sip_server.1.failback_timeout= +account.4.sip_server.1.failback_mode= +account.4.sip_server.1.failback_subscribe.enable= +account.4.sip_server.1.only_signal_with_registered= +account.4.sip_server.1.invite_retry_counts= + +account.4.outbound_proxy.2.register_on_enable= +account.4.outbound_proxy.2.failback_timeout= +account.4.outbound_proxy.2.failback_mode= +account.4.outbound_proxy.2.retry_counts= +account.4.outbound_proxy.2.only_signal_with_registered= +account.4.outbound_proxy.2.failback_subscribe.enable= +account.4.outbound_proxy.2.invite_retry_counts= + +account.4.sip_server.2.register_on_enable= +account.4.sip_server.2.failback_timeout= +account.4.sip_server.2.failback_mode= +account.4.sip_server.2.failback_subscribe.enable= +account.4.sip_server.2.only_signal_with_registered= +account.4.sip_server.2.invite_retry_counts= + +account.4.static_cache_pri= +account.4.dns_cache_type= +account.4.naptr_build= +account.4.fallback.timeout= +account.4.fallback.redundancy_type= +account.4.reg_failed_retry_max_time= +account.4.reg_failed_retry_min_time= +account.4.redundancy_with_reg_fail.enable = + +##V83 Add +account.4.sip_server.1.outbound_proxy_enable = +account.4.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.4.contact_take_line_param= +account.4.update_ack_while_dialing= +account.4.srtp_lifetime= +account.4.third_part_request_with_route.enable= +account.4.insert_outbound_in_route.enable= +account.4.path.enable= +account.4.sub_fail_retry_interval= +account.4.transfer_refer_to_contact_header.enable= +account.4.hold_use_inactive= +account.4.gruu.enable= +account.4.dial_tone= +account.4.call_id_mode= +account.4.subscribe_expires_overlap= +account.4.register_expires_overlap= +account.4.call_info= +account.4.custom_ua= +account.4.mwi_parse_terminated= +account.4.check_cseq.enable= +account.4.check_to_tag.enable= +account.4.vq_rtcpxr.collector_server_port= +account.4.vq_rtcpxr.collector_server_host= +account.4.vq_rtcpxr.collector_name= +account.4.compact_header_enable= +account.4.cp_source= 2 +account.4.cid_source_ppi= 1 +account.4.cid_source_privacy= 1 +account.4.reg_with_pani_header.enable = +account.4.alert_info= +account.4.picture_info_enable= 1 + +##V83 Add +account.4.invite_with_pani_header.enable = + +##V84 Add +account.4.invite_with_rpid_header.enable= + +account.4.auto_answer_mute_enable + +##V84 SP4 Add +account.4.share_line.enable_private_code = +account.4.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.4.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.4.timeout_fwd.off_code= +account.4.timeout_fwd.on_code= +account.4.timeout_fwd.timeout= +account.4.timeout_fwd.target= +account.4.timeout_fwd.enable= +account.4.busy_fwd.off_code= +account.4.busy_fwd.on_code= +account.4.busy_fwd.target= +account.4.busy_fwd.enable= +account.4.always_fwd.off_code= +account.4.always_fwd.on_code= +account.4.always_fwd.target= +account.4.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.4.dnd.enable= +account.4.dnd.off_code= +account.4.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.4.subscribe_mwi= 1 +account.4.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.4.subscribe_mwi_expires= 3600 +account.4.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.4.auto_dial_enable= +account.4.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.4.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.4.dialplan.digitmap.enable= +account.4.dialplan.digitmap.string= +account.4.dialplan.digitmap.no_match_action= +account.4.dialplan.digitmap.interdigit_short_timer= +account.4.dialplan.digitmap.interdigit_long_timer= +account.4.dialplan.digitmap.apply_to.press_send= +account.4.dialplan.digitmap.apply_to.forward= +account.4.dialplan.digitmap.apply_to.history_dial= +account.4.dialplan.digitmap.apply_to.directory_dial= +account.4.dialplan.digitmap.apply_to.on_hook_dial= +account.4.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.4.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.4.blf.blf_list_uri= +account.4.blf_list_barge_in_code= +account.4.blf_list_code= +account.4.blf_list_retrieve_call_parked_code= +account.4.blf.subscribe_period= +account.4.blf.match_host.enable= +account.4.out_dialog_blf_enable= +account.4.blf.subscribe_event= + +##V84 Add +account.4.blf_list_call_parked_code= +account.4.blf_list_call_parked_list= + +##V84 SP4 ADD +account.4.blf_list_whisper_code= +account.4.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.4.shared_line= +account.4.line_seize.expires= +account.4.shared_line_one_touch_bargein.enable= +account.4.shared_line_one_touch_retrieve.enable= +account.4.sca_manage_interface_display_time= +account.4.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.4.bla_number= +account.4.bla_subscribe_period= +account.4.bla.notify_with_expire.enable= +account.4.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.4.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.4.acd.enable= 0 +account.4.acd.available= 0 +account.4.acd.unavailable_reason_enable= 0 +account.4.acd.initial_state= 1 +account.4.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.4.reason_code.1= +account.4.reason_code_name.1= 0 +account.4.bw_disp_code.1= +account.4.bw_disp_code_name.1= +account.4.supervisor_info_code.1= +account.4.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.4.call_center.call_info_enable= 0 +account.4.call_center.show_call_info_time= 30 +account.4.call_center.disp_code_enable= 0 +account.4.call_center.trace_enable= 0 +account.4.call_center.emergency_enable= 0 +account.4.call_center.queue_status_enable= 0 +account.4.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.4.hoteling.enable= 0 +account.4.hoteling.user_id= 0 +account.4.hoteling.password= 0 +account.4.hoteling.expires= 0 +account.4.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.4.xsi.user = +account.4.xsi.password = +account.4.xsi.host = +account.4.xsi.server_type = +account.4.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.4.direct_pickup_code = +account.4.group_pickup_code = +account.4.dialoginfo_callpickup = 0 +account.4.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.4.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.4.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.4.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.4.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.4.flexible_seating.enable= +account.4.hoteling.pin= +account.4.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.4.features.forward.feature_key_sync.local_processing.enable= +account.4.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.4.dnd.feature_key_sync.enable= +account.4.feature_key_sync.enable= +account.4.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.4.acd.available_url= +account.4.acd.away_url = +account.4.acd.refresh_url = +account.4.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + From c959b8cd10e2bcad7153cd55908d45ffb54cc292 Mon Sep 17 00:00:00 2001 From: Andrew Querol Date: Thu, 5 Nov 2020 10:15:32 -0600 Subject: [PATCH 158/677] Add in the new default settings and enable WiFi management. --- app/grandstream/app_config.php | 40 +++++++++++++++++++ .../provision/grandstream/gxv3370/{$mac}.xml | 14 ++++--- 2 files changed, 49 insertions(+), 5 deletions(-) diff --git a/app/grandstream/app_config.php b/app/grandstream/app_config.php index 04ed271cf0..e7a9fa208c 100644 --- a/app/grandstream/app_config.php +++ b/app/grandstream/app_config.php @@ -654,5 +654,45 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "Number: 0-7. Default is 5."; $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "6f3f3390-2b69-4898-a4d9-e62249d58d58"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_feature_key_sync"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Configure Broadsoft feature key synchronization on supported phones"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "a6c84c0b-a7f1-4457-8afb-b64af601597d"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_wifi_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = ""; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Configure the WiFi radio on supported phones. If disabled allow the device to manage itself"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f7fdbe09-0d4a-4d06-b70b-e25cdf1b3376"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_wifi_essid"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = ""; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Configure the WiFi ESSID on supported phones"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2edaa516-d87e-410f-8ddc-1cc468dabd2e"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_wifi_password"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = ""; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Configure the WiFi password on supported phones"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7b525ca5-96ae-4104-ad6c-c929f85c30dc"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_wifi_hidden_security"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "None"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Configure the security to use when connecting to a hidden SSID. Valid values: None, WEP, WPA/WPA2_PSK, 802.1X_EAP"; + $y++; ?> diff --git a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml index ba91904f09..085bd7a811 100644 --- a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml @@ -457,7 +457,7 @@ - {if isset($grandstream_feature_key_sync)}Yes{else}No{/if} + {if filter_var($grandstream_feature_key_sync, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if} No @@ -733,17 +733,21 @@ + {if isset($grandstream_wifi_enable)} - No + {if filter_var($grandstream_wifi_enable, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if} - + {if isset($grandstream_wifi_essid)} + {$grandstream_wifi_essid} - + {$grandstream_wifi_password} - None + {$grandstream_wifi_hidden_security} + {/if} 0 + {/if} From ba42001231f3bc815c982d540207cb7ff4013f6d Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 5 Nov 2020 13:11:51 -0500 Subject: [PATCH 159/677] Update y000000000107.cfg add variables --- .../provision/yealink/t43u/y000000000107.cfg | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/resources/templates/provision/yealink/t43u/y000000000107.cfg b/resources/templates/provision/yealink/t43u/y000000000107.cfg index 61328e6465..6806c79eb2 100644 --- a/resources/templates/provision/yealink/t43u/y000000000107.cfg +++ b/resources/templates/provision/yealink/t43u/y000000000107.cfg @@ -39,17 +39,17 @@ static.network.ipv6_prefix = ##(X ranges from 1 to 5) ##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support these parameters. -static.wifi.enable = -static.wifi.1.label = -static.wifi.1.ssid = -static.wifi.1.priority = -static.wifi.1.security_mode = -static.wifi.1.cipher_type = -static.wifi.1.password = -static.wifi.1.eap_type = -static.wifi.1.eap_user_name = -static.wifi.1.eap_password = -static.wifi.show_scan_prompt = +static.wifi.enable = {$yealink_wifi_enable} +static.wifi.1.label = {$yealink_wifi_1_label} +static.wifi.1.ssid = {$yealink_wifi_1_ssid} +static.wifi.1.priority = {$yealink_wifi_1_priority} +static.wifi.1.security_mode = {$yealink_wifi_1_security} +static.wifi.1.cipher_type = {$yealink_wifi_1_cipher} +static.wifi.1.password = {$yealink_wifi_1_password} +static.wifi.1.eap_type = {$yealink_wifi_1_type} +static.wifi.1.eap_user_name = {$yealink_wifi_1_username} +static.wifi.1.eap_password = {$yealink_wifi_1_password} +static.wifi.show_scan_prompt = {$yealink_wifi_scan_prompt} ##V83 Add static.wifi.function.enable = @@ -73,8 +73,6 @@ static.network.wifi.ipv6_static_dns_enable= static.network.wifi.ipv6_primary_dns= static.network.wifi.ipv6_secondary_dns= static.network.wifi.ipv6_icmp_v6.enable= - - ####################################################################################### ## Network Internet ## ####################################################################################### @@ -136,7 +134,10 @@ static.network.vlan.vlan_change.enable = static.network.vlan.pc_port_priority = {$yealink_vlan_pc_cos} static.network.vlan.pc_port_vid = {$yealink_vlan_pc_id} -static.network.vlan.pc_port_enable = + +{if isset($yealink_vlan_pc_enable)}static.network.vlan.pc_port_enable = {$yealink_vlan_pc_enable}{else}static.network.vlan.pc_port_enable = 0{/if} + +#static.network.vlan.pc_port_enable = static.network.vlan.internet_port_priority = {$yealink_vlan_cos} static.network.vlan.internet_port_vid = {$yealink_vlan_id} @@ -686,7 +687,7 @@ phone_setting.early_media.rtp_sniffer.timeout= sip.reg_surge_prevention = ################################################################ -# V84 new add 配合sip.escape_characters.enable=使用 ## +# V84 new add sip.escape_characters.enable= ## ################################################################ sip.reserve_characters= From d10d01b3408bbf9163fd3303da0255f3d0c48950 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 5 Nov 2020 13:16:24 -0500 Subject: [PATCH 160/677] Create y000000000124.cfg --- .../provision/yealink/t33g/y000000000124.cfg | 2004 +++++++++++++++++ 1 file changed, 2004 insertions(+) create mode 100644 resources/templates/provision/yealink/t33g/y000000000124.cfg diff --git a/resources/templates/provision/yealink/t33g/y000000000124.cfg b/resources/templates/provision/yealink/t33g/y000000000124.cfg new file mode 100644 index 0000000000..9033a316fe --- /dev/null +++ b/resources/templates/provision/yealink/t33g/y000000000124.cfg @@ -0,0 +1,2004 @@ +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## + +####################################################################################### +## Network CDP ## +####################################################################################### +static.network.cdp.enable = +static.network.cdp.packet_interval = + + + +####################################################################################### +## Network IPv6 ## +####################################################################################### +static.network.ipv6_static_dns_enable = +static.network.ipv6_icmp_v6.enable = +static.network.ipv6_secondary_dns = +static.network.ipv6_primary_dns = +static.network.ipv6_internet_port.gateway = +static.network.ipv6_internet_port.ip = +static.network.ipv6_internet_port.type = +static.network.ipv6_prefix = + + + +####################################################################################### +## Network WiFi ## +####################################################################################### + +##static.wifi.X.ssid= +##static.wifi.X.priority= +##static.wifi.X.security_mode= +##static.wifi.X.password= +##static.wifi.X.eap_type= +##static.wifi.X.eap_user_name= +##static.wifi.x.eap_password= +##(X ranges from 1 to 5) +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support these parameters. + +static.wifi.enable = +static.wifi.1.label = +static.wifi.1.ssid = +static.wifi.1.priority = +static.wifi.1.security_mode = +static.wifi.1.cipher_type = +static.wifi.1.password = +static.wifi.1.eap_type = +static.wifi.1.eap_user_name = +static.wifi.1.eap_password = +static.wifi.show_scan_prompt = + +##V83 Add +static.wifi.function.enable = + + +##V84 SP4 ADD +static.network.wifi.ip_address_mode= +static.network.wifi.preference = +static.network.wifi.internet_port.type = +static.network.wifi.internet_port.ip= +static.network.wifi.internet_port.mask= +static.network.wifi.internet_port.gateway= +static.network.wifi.static_dns_enable= +static.network.wifi.primary_dns= +static.network.wifi.secondary_dns= +static.network.wifi.ipv6_internet_port.type= +static.network.wifi.ipv6_internet_port.ip= +static.network.wifi.ipv6_prefix= +static.network.wifi.ipv6_internet_port.gateway= +static.network.wifi.ipv6_static_dns_enable= +static.network.wifi.ipv6_primary_dns= +static.network.wifi.ipv6_secondary_dns= +static.network.wifi.ipv6_icmp_v6.enable= + + +####################################################################################### +## Network Internet ## +####################################################################################### +static.network.ip_address_mode = {$yealink_ip_address_mode} +static.network.span_to_pc_port = +static.network.vlan.pc_port_mode = +static.network.static_dns_enable = +static.network.pc_port.enable = +{if isset($dns_server_primary)}static.network.primary_dns = {$dns_server_primary}{/if} +{if isset($dns_server_secondary)}static.network.secondary_dns = {$dns_server_secondary}{/if} +static.network.internet_port.gateway = +static.network.internet_port.mask = +static.network.internet_port.ip = +static.network.internet_port.type = + +##V83 Add +static.network.preference = + + +####################################################################################### +## Network Advanced ## +####################################################################################### +static.network.dhcp_host_name = +static.network.dhcp.option60type = +static.network.mtu_value = +static.network.qos.audiotos = +static.network.port.min_rtpport = +static.network.port.max_rtpport = +static.network.qos.signaltos = + +static.wui.http_enable = +static.wui.https_enable = +static.network.port.https = +static.network.port.http = + +static.network.pc_port.speed_duplex = +static.network.internet_port.speed_duplex = + +##V83 Add +static.network.redundancy.mode = +static.network.redundancy.failback.timeout = + + + +####################################################################################### +## Network LLDP ## +####################################################################################### +static.network.lldp.enable = {$yealink_lldp_enable} +static.network.lldp.packet_interval = + + + +####################################################################################### +## Network VLAN ## +####################################################################################### +static.network.vlan.dhcp_enable = +static.network.vlan.dhcp_option = +static.network.vlan.vlan_change.enable = + +static.network.vlan.pc_port_priority = {$yealink_vlan_pc_cos} +static.network.vlan.pc_port_vid = {$yealink_vlan_pc_id} + +{if isset($yealink_vlan_pc_enable)}static.network.vlan.pc_port_enable = {$yealink_vlan_pc_enable}{else}static.network.vlan.pc_port_enable = 0{/if} + +#static.network.vlan.pc_port_enable = + +static.network.vlan.internet_port_priority = {$yealink_vlan_cos} +static.network.vlan.internet_port_vid = {$yealink_vlan_id} + +{if isset($yealink_vlan_enable)}static.network.vlan.internet_port_enable = {$yealink_vlan_enable}{else}static.network.vlan.internet_port_enable = 0{/if} + + +####################################################################################### +## Network VPN ## +####################################################################################### +static.network.vpn_enable = {$yealink_network_vpn_enable} +static.openvpn.url = {$yealink_openvpn_url} + + +####################################################################################### +## Network 802.1x ## +####################################################################################### +static.network.802_1x.mode = +static.network.802_1x.identity = +static.network.802_1x.md5_password = +static.network.802_1x.client_cert_url = +static.network.802_1x.root_cert_url = +static.network.802_1x.eap_fast_provision_mode = +static.network.802_1x.anonymous_identity = +static.network.802_1x.proxy_eap_logoff.enable = + + +static.auto_provision.custom.protect = +static.auto_provision.custom.sync = +static.auto_provision.custom.sync.path = +static.auto_provision.custom.upload_method = + + + + +####################################################################################### +## ZERO Touch ## +####################################################################################### +static.zero_touch.enable = +static.zero_touch.wait_time = +static.features.hide_zero_touch_url.enable = +static.zero_touch.network_fail_delay_times = +static.zero_touch.network_fail_wait_times = + + +####################################################################################### +## Autop URL ## +####################################################################################### +static.auto_provision.server.url = {$yealink_provision_url} +static.auto_provision.server.username = {$http_auth_username} +static.auto_provision.server.password = {$http_auth_password} + + +####################################################################################### +## Autop Weekly ## +####################################################################################### +static.auto_provision.weekly.enable = +static.auto_provision.weekly.dayofweek = +static.auto_provision.weekly.end_time = +static.auto_provision.weekly.begin_time = +static.auto_provision.weekly_upgrade_interval = + +####################################################################################### +## Autop Repeat ## +####################################################################################### +static.auto_provision.repeat.enable = +static.auto_provision.repeat.minutes = + +####################################################################################### +## Autop DHCP ## +####################################################################################### +static.auto_provision.dhcp_option.list_user_options = +static.auto_provision.dhcp_option.enable = + +##V83 Add +static.auto_provision.dhcp_option.list_user6_options = + +####################################################################################### +## Autop Mode ## +####################################################################################### +static.auto_provision.power_on = + + + +####################################################################################### +## Flexible Autop ## +####################################################################################### +static.auto_provision.flexible.end_time = +static.auto_provision.flexible.begin_time = +static.auto_provision.flexible.interval = +static.auto_provision.flexible.enable = + +####################################################################################### +## Autoprovision Other ## +####################################################################################### +static.auto_provision.prompt.enable = +static.auto_provision.attempt_expired_time = +static.auto_provision.attempt_before_failed = +static.network.attempt_expired_time = +static.auto_provision.update_file_mode = +static.auto_provision.retry_delay_after_file_transfer_failed= +static.auto_provision.inactivity_time_expire = +static.auto_provision.dns_resolv_timeout = +static.auto_provision.dns_resolv_nretry = +static.auto_provision.dns_resolv_nosys = +static.auto_provision.user_agent_mac.enable = +static.auto_provision.server.type = +features.action_uri_force_autop = +static.auto_provision.url_wildcard.pn = +static.auto_provision.reboot_force.enable = +static.auto_provision.dhcp_option.option60_value = +static.custom_mac_cfg.url = +static.auto_provision.aes_key_in_file = +features.custom_version_info = +##V83 Add +static.auto_provision.authentication.expired_time = +static.auto_provision.connect.keep_alive = + +##V84 Add +static.auto_provision.config_version.mac= +static.auto_provision.config_version.com= + + +####################################################################################### +## Autop PNP ## +####################################################################################### +static.auto_provision.pnp_enable = + + + +####################################################################################### +## Autop Code ## +####################################################################################### +##static.autoprovision.X.name +##static.autoprovision.X.code +##static.autoprovision.X.url +##static.autoprovision.X.user +##static.autoprovision.X.password +##static.autoprovision.X.com_aes +##static.autoprovision.X.mac_aes +##Autop Code(X ranges from 1 to 50) + +static.autoprovision.1.name = +static.autoprovision.1.code = +static.autoprovision.1.url = +static.autoprovision.1.user = +static.autoprovision.1.password = +static.autoprovision.1.com_aes = +static.autoprovision.1.mac_aes = + + + +####################################################################################### +## TR069 ## +####################################################################################### + +static.managementserver.enable = +static.managementserver.username = +static.managementserver.password = +static.managementserver.url = +static.managementserver.periodic_inform_enable = 0 +static.managementserver.periodic_inform_interval = 60 +static.managementserver.connection_request_password = +static.managementserver.connection_request_username = + + + +####################################################################################### +## Firmware Update ## +####################################################################################### +static.firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t33g} + + +####################################################################################### +## Confguration ## +####################################################################################### +features.reset_by_long_press_enable = +features.factory_pwd_enable = +static.configuration.url = +static.features.custom_factory_config.enable = +static.custom_factory_configuration.url = + + +####################################################################################### +## SYSLOG ## +####################################################################################### +static.syslog.enable = +static.syslog.server = +static.syslog.level = +static.syslog.server_port = +static.syslog.transport_type = +static.syslog.facility = +static.syslog.prepend_mac_address.enable = +static.local_log.enable = +static.local_log.level = +static.local_log.max_file_size = + + + +####################################################################################### +## Log Backup ## +####################################################################################### +static.auto_provision.local_log.backup.enable = +static.auto_provision.local_log.backup.path = +static.auto_provision.local_log.backup.upload_period = +static.auto_provision.local_log.backup.append = +static.auto_provision.local_log.backup.bootlog.upload_wait_time= +static.auto_provision.local_log.backup.append.max_file_size = +static.auto_provision.local_log.backup.append.limit_mode= + + + +####################################################################################### +## User Mode ## +####################################################################################### +static.security.var_enable = +static.web_item_level.url = + + +####################################################################################### +## Quick Login ## +####################################################################################### +wui.quick_login = + + +####################################################################################### +## Security ## +####################################################################################### +static.phone_setting.reserve_certs_enable = +features.relog_offtime = +static.security.default_ssl_method = {$yealink_security_default_ssl_method} +static.security.cn_validation = +static.security.dev_cert = +static.security.ca_cert = +static.security.trust_certificates = {if $yealink_trust_certificates == "false"}0{elseif $yealink_trust_certificates == "true"}1{/if} + +static.security.user_password = {$var_name}:{$var_password} +static.security.user_password = {$admin_name}:{$admin_password} +static.security.user_password = {$user_name}:{$user_password} +static.security.user_name.var = {$var_name} +static.security.user_name.admin = {$admin_name} +static.security.user_name.user = {$user_name} + +##V83 Add +static.security.default_access_level = +phone_setting.reserve_certs_config.enable = + + +####################################################################################### +## Watch Dog ## +####################################################################################### +static.watch_dog.enable = + +####################################################################################### +## Server Certificates ## +####################################################################################### +static.server_certificates.url = +static.server_certificates.delete = + +####################################################################################### +## Trusted Certificates ## +####################################################################################### +static.trusted_certificates.url = +static.trusted_certificates.delete = + + + +####################################################################################### +## Secure Domain List ## +####################################################################################### +wui.secure_domain_list = + + +####################################################################################### +## Encryption ## +####################################################################################### +static.auto_provision.encryption.directory = +static.auto_provision.encryption.call_log = +static.auto_provision.encryption.config = + + + + +####################################################################################### +## Trnasfer ## +####################################################################################### +dialplan.transfer.mode = {$yealink_transfer_mode} +transfer.on_hook_trans_enable = {$yealink_transfer_onhook} +transfer.tran_others_after_conf_enable = {$yealink_transfer_after_conf} +transfer.blind_tran_on_hook_enable = {$yealink_transfer_blind_on_hook} +transfer.semi_attend_tran_enable = {$yealink_transfer_semi_attended} +phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +features.conference.with_previous_call.enable = +features.local_conf.combine_with_one_press.enable= +phone_setting.call_appearance.conference_via_new_linekey= + + + +####################################################################################### +## Anonymous ## +####################################################################################### +features.anonymous_response_code= + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +phone_setting.incoming_call_when_dialing.priority= +phone_setting.hold_or_swap.mode= +features.play_held_tone.interval= +features.play_held_tone.delay= +features.play_held_tone.enable= +features.play_hold_tone.interval= +features.ignore_incoming_call.enable= +force.voice.ring_vol= +features.mute.autoanswer_mute.enable= +features.play_hold_tone.delay = +phone_setting.end_call_net_disconnect.enable = +features.custom_auto_answer_tone.enable= +default_input_method.dialing= +features.speaker_mode.enable= +features.headset_mode.enable= +features.handset_mode.enable= +features.conference.local.enable = +features.off_hook_answer.enable= +features.caller_name_type_on_dialing= +phone_setting.show_code403= +phone_setting.ring_for_tranfailed= +features.password_dial.length= +features.password_dial.prefix= +features.password_dial.enable= +features.group_listen_in_talking_enable= +phone_setting.call_info_display_method = 0 +phone_setting.called_party_info_display.enable = 1 +features.headset_training= +features.headset_prior= +features.dtmf.replace_tran = +features.dtmf.transfer = +phone_setting.ringing_timeout= +phone_setting.ringback_timeout= + +features.keep_mute.enable= +linekey.1.shortlabel= +features.config_dsskey_length.shorten = +transfer.dsskey_deal_type = {$yealink_dsskey_transfer_mode} +features.auto_linekeys.enable= +phone_setting.call_appearance.calls_per_linekey= +features.linekey_call_with_default_account= +##V83 Add +features.station_name.value = +features.station_name.scrolling_display = +voice.headset.autoreset_spk_vol = +voice.handset.autoreset_spk_vol = +voice.handfree.autoreset_spk_vol = +features.headset.ctrl_call.enable = +phone_setting.incoming_call.reject.enable = + +features.play_mute_tone.enable= +features.play_mute_tone.interval= + +features.call_out_directory_by_off_hook.enable= +features.congestion_tone.codelist= + + +##V84 Add +phone_setting.icon.delete= +phone_setting.icon.url= + +##V84 SP4 Add +voice.handset.tia4965.enable = +voice.headset.tia4965.enable = + +####################################################################################### +## Custom Softkey ## +####################################################################################### +phone_setting.custom_softkey_enable= +custom_softkey_talking.url= +custom_softkey_ring_back.url= +custom_softkey_dialing.url= +custom_softkey_connecting.url= +custom_softkey_call_in.url= +custom_softkey_call_failed.url= + +##V83 Add +features.homescreen_softkey.acd.enable = +features.homescreen_softkey.hoteling.enable = +phone_setting.custom_softkey.apply_to_states = +features.custom_softkey_dynamic.enable = + + +####################################################################################### +## Features Bluetooth ## +####################################################################################### +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support the parameter. +features.bluetooth_enable= +features.bluetooth_adapter_name= +##V83 Add +static.bluetooth.function.enable = + +##V84 Add +bluetooth.a2dp_sink= +bluetooth.connect_confirm.enable= + +####################################################################################### +## Features USB Record ## +####################################################################################### +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support the parameter. +features.usb_call_recording.enable = {$yealink_usb_record_enable} +features.auto_recording.enable = + +features.idle_recording.enable= + +####################################################################################### +## Features USB ## +####################################################################################### +##V83 Add +static.usb.power.enable = + +##V84 Add +static.usbdisk.function.enable= + +####################################################################################### +## Codec ## +####################################################################################### +voice.g726.aal2.enable= + + +####################################################################################### +## DTMF ## +####################################################################################### +features.dtmf.min_interval= +features.dtmf.volume= +features.dtmf.duration = + +####################################################################################### +## Tones ## +####################################################################################### +voice.tone.autoanswer = +voice.tone.message = +voice.tone.stutter = +voice.tone.info = +voice.tone.dialrecall = +voice.tone.callwaiting = +voice.tone.congestion = +voice.tone.busy = +voice.tone.ring = +voice.tone.dial = +voice.tone.country = +voice.side_tone = +features.partition_tone = +voice.tone.secondary_dial= +####################################################################################### +## Tones V83 stutterdial dnd fwd vm ## +####################################################################################### + +voice.tone.stutterdial= +voice.tone.stutter_dial_tone.apply_to_dnd.enable= +voice.tone.stutter_dial_tone.apply_to_fwd.enable= +voice.tone.stutter_dial_tone.apply_to_fwd.enable= + +####################################################################################### +## Jitter Buffer ## +####################################################################################### +voice.jib.normal= +voice.jib.max = +voice.jib.min = +voice.jib.adaptive = + +voice.jib.wifi.normal= +voice.jib.wifi.max= +voice.jib.wifi.min= +voice.jib.wifi.adaptive= + +####################################################################################### +## Echo Cancellation ## +####################################################################################### +voice.echo_cancellation = +voice.cng = +voice.vad = + +##V84 Add +voice.ans_nb.enable= +voice.tns.enable= + +################################################################ +# SIP Backup Server ## +################################################################ +static.network.dns.ttl_enable = +static.network.dns.last_cache_expired.enable= +static.network.dns.last_cache_expired +static.network.dns.query_timeout = +static.network.dns.retry_times = +sip.dns_transport_type= +sip.skip_redundant_failover_addr= + + +################################################################ +# SIP Basic Config ## +################################################################ +sip.use_out_bound_in_dialog= +sip.unreg_with_socket_close= +phone_setting.disable_account_without_username.enable= +features.auto_answer.first_call_only= + +##V84 Add +phone_setting.call_display_name.mode= + +################################################################ +# SIP Advanced config ## +################################################################ +sip.request_validation.event= +sip.sdp_early_answer_or_offer= +sip.cid_source.preference= +sip.request_validation.digest.realm= +sip.request_validation.digest.list= +sip.request_validation.source.list= +sip.send_keepalive_by_socket= +sip.reliable_protocol.timerae.enable= +sip.requesturi.e164.addglobalprefix= +sip.trust_ctrl = {$yealink_trust_ctrl} +sip.mac_in_ua= + +sip.timer_t1= +sip.timer_t2= +sip.timer_t4= + +sip.listen_mode= + +{if isset($yealink_sip_listen_port)}sip.listen_port = {$yealink_sip_listen_port}{else}sip.listen_port = 5060{/if} + +sip.tls_listen_port= +sip.tcp_port_random_mode= +sip.escape_characters.enable= +sip.notify_reboot_enable= +sip.send_response_by_request= +sip.disp_incall_to_info= +features.call_invite_format= +phone_setting.early_media.rtp_sniffer.timeout= +sip.reg_surge_prevention = + +################################################################ +# V84 new add sip.escape_characters.enable= ## +################################################################ +sip.reserve_characters= + + +##V83 Add +sip.dhcp.option120.mode = + +################################################################ +# NAT&ICE ## +################################################################ +static.sip.nat_turn.enable= +static.sip.nat_turn.username= +static.sip.nat_turn.password= +static.sip.nat_turn.server= +static.sip.nat_turn.port= + +static.sip.nat_stun.enable={if isset($stun_server)}1{else}0{/if} + +static.sip.nat_stun.server= {$stun_server} +static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} + + +static.ice.enable= + +static.network.static_nat.enable= {if isset($yealink_static_nat)}1{else}0{/if} + +static.network.static_nat.addr= {$yealink_static_nat} + +####################################################################################### +## DNS ## +####################################################################################### +dns_cache_a.1.name = +dns_cache_a.1.ip = +dns_cache_a.1.ttl = +dns_cache_srv.1.name = +dns_cache_srv.1.port = +dns_cache_srv.1.priority = +dns_cache_srv.1.target = +dns_cache_srv.1.weight = +dns_cache_srv.1.ttl = +dns_cache_naptr.1.name = +dns_cache_naptr.1.order = +dns_cache_naptr.1.preference = +dns_cache_naptr.1.replace = +dns_cache_naptr.1.service = +dns_cache_naptr.1.ttl = + +####################################################################################### +## RTP ## +####################################################################################### +features.rtp_symmetric.enable= + + +####################################################################################### +## RTCP-XR ## +####################################################################################### +voice.rtcp.enable= +voice.rtcp_cname= +voice.rtcp_xr.enable= +phone_setting.vq_rtcpxr_display_symm_oneway_delay.enable= +phone_setting.vq_rtcpxr_display_round_trip_delay.enable= +phone_setting.vq_rtcpxr_display_moscq.enable= +phone_setting.vq_rtcpxr_display_moslq.enable = +phone_setting.vq_rtcpxr_display_packets_lost.enable= +phone_setting.vq_rtcpxr_display_jitter_buffer_max.enable= +phone_setting.vq_rtcpxr_display_jitter.enable= +phone_setting.vq_rtcpxr_display_remote_codec.enable= +phone_setting.vq_rtcpxr_display_local_codec.enable= +phone_setting.vq_rtcpxr_display_remote_call_id.enable= +phone_setting.vq_rtcpxr_display_local_call_id.enable= +phone_setting.vq_rtcpxr_display_stop_time.enable= +phone_setting.vq_rtcpxr_display_start_time.enable= +phone_setting.vq_rtcpxr_interval_period= +phone_setting.vq_rtcpxr_delay_threshold_critical= +phone_setting.vq_rtcpxr_delay_threshold_warning= +phone_setting.vq_rtcpxr_moslq_threshold_critical= +phone_setting.vq_rtcpxr_moslq_threshold_warning= +phone_setting.vq_rtcpxr.interval_report.enable= +phone_setting.vq_rtcpxr.states_show_on_gui.enable= +phone_setting.vq_rtcpxr.states_show_on_web.enable= +phone_setting.vq_rtcpxr.session_report.enable= + + +####################################################################################### +## Contact ## +####################################################################################### +static.directory_setting.url= +super_search.url= + +local_contact.data.url= +local_contact.data.delete= + +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T46U/T48U/T3XU Models support the parameter +phone_setting.contact_photo_display.enable= + +phone_setting.incoming_call.horizontal_roll_interval= + +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T5XW Models support the parameter +local_contact.data_photo_tar.url= +local_contact.photo.url= +local_contact.image.url= + +##Only T48G/S Models support the parameter +local_contact.icon_image.url= +local_contact.icon.url= + +search_in_dialing.local_directory.enable = +search_in_dialing.local_directory.priority = + +####################################################################################### +## Remote Phonebook ## +####################################################################################### +##remote_phonebook.data.X.url +##remote_phonebook.data.X.name +#remote_phonebook.data.X.username= +#remote_phonebook.data.X.password= +##(X ranges from 1 to 5) + +{if isset($yealink_remote_phonebook_1_name) } +remote_phonebook.data.1.name = {$yealink_remote_phonebook_1_name} +{else} +remote_phonebook.data.1.name = Users +{/if} +{if isset($yealink_remote_phonebook_1_url) } +remote_phonebook.data.1.url = {$yealink_remote_phonebook_1_url} +{else} +remote_phonebook.data.1.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=users +{/if} + +{if isset($yealink_remote_phonebook_2_name) } +remote_phonebook.data.2.name = {$yealink_remote_phonebook_2_name} +{else} +remote_phonebook.data.2.name = Groups +{/if} +{if isset($yealink_remote_phonebook_2_url) } +remote_phonebook.data.2.url = {$yealink_remote_phonebook_2_url} +{else} +remote_phonebook.data.2.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=groups +{/if} + +{if isset($yealink_remote_phonebook_3_name) } +remote_phonebook.data.3.name = {$yealink_remote_phonebook_3_name} +{else} +remote_phonebook.data.3.name = Extensions +{/if} +{if isset($yealink_remote_phonebook_3_url) } +remote_phonebook.data.3.url = {$yealink_remote_phonebook_3_url} +{else} +remote_phonebook.data.3.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=extensions +{/if} + +remote_phonebook.data.4.name = {$yealink_remote_phonebook_4_name} +remote_phonebook.data.4.url = {$yealink_remote_phonebook_4_url} + +remote_phonebook.data.5.name = {$yealink_remote_phonebook_5_name} +remote_phonebook.data.5.url = {$yealink_remote_phonebook_5_url} + +features.remote_phonebook.enable = {$yealink_remote_phonebook_enable} + +####################################################################################### +## LDAP ## +####################################################################################### +ldap.enable = {$ldap_enable} +ldap.user = {$ldap_user} +ldap.password = {$ldap_password} +ldap.base = {$ldap_base} +ldap.port = {$ldap_port} +ldap.host = {$ldap_host} +ldap.customize_label= +ldap.incoming_call_special_search.enable= +ldap.tls_mode= +ldap.search_type= +ldap.numb_display_mode= +ldap.ldap_sort = {$ldap_sort} +ldap.call_in_lookup = {$ldap_call_in_lookup} +ldap.version = {$ldap_version} +ldap.display_name = {$ldap_display_name} +ldap.numb_attr = {$ldap_numb_attr} +ldap.name_attr = {$ldap_name_attr} +ldap.max_hits = {$ldap_max_hits} +ldap.number_filter = {$ldap_number_filter} +ldap.name_filter = {$ldap_name_filter} +ldap.call_out_lookup = {$ldap_dial_lookup} +directory_setting.ldap.enable = +directory_setting.ldap.priority = +search_in_dialing.ldap.enable = +search_in_dialing.ldap.priority = + +##V84 SP4 ADD +ldap.custom_extra_attr_name= +ldap.display_extra_attr= +ldap.extra_attr= + + + + +####################################################################################### +## History ## +####################################################################################### +static.auto_provision.local_calllog.write_delay.terminated= +static.auto_provision.local_calllog.backup.path= +static.auto_provision.local_calllog.backup.enable= +super_search.recent_call= +features.call_out_history_by_off_hook.enable= +features.save_call_history= +features.call_log_show_num= +search_in_dialing.history.enable= +search_in_dialing.history.priority= +directory_setting.history.enable= +directory_setting.history.priority +features.save_init_num_to_history.enable= +features.redial_via_local_sip_server.enable= + +##V83 Add +features.calllog_detailed_information = + +##V84 Add +features.call_log_merge.enable= + + +####################################################################################### +## Contact Backup ## +####################################################################################### +static.auto_provision.local_contact.backup.path = +static.auto_provision.local_contact.backup.enable= + + +####################################################################################### +## Contact Other ## +####################################################################################### +directory.search_type= +directory_setting.local_directory.enable = +directory_setting.local_directory.priority = + +##V83 Add +phone_setting.search.highlight_keywords.enable = + +####################################################################################### +## Favorites ## +####################################################################################### +##V83 Add +local_contact.favorite.enable = +phone_setting.favorite_sequence_type = + +####################################################################################### +## Programablekey ## +####################################################################################### +#programablekey.X.type +#programablekey.X.line +#programablekey.X.value +#programablekey.X.xml_phonebook +#programablekey.X.history_type +#programablekey.X.label(X ranges from 1 to 4) +#programablekey.X.extension +##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## + +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} + +##V83 Add +programablekey.type_range.custom = + +####################################################################################### +## Linekey ## +####################################################################################### +##linekey.X.line +##linekey.X.value +##linekey.X.extension +##linekey.X.type +##linekey.X.xml_phonebook +##linekey.X.shortlabel +##linekey.X.label +##LineKeyX ranges(T48U/T57W/T48G/S: X ranges from 1 to 29. T53W/T54W/T54S/T46G/T46S/T29G/T46U: X ranges from 1 to 27. T42G/T42S/T41P/T41S/T41U/T42U: X ranges from 1 to 15. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T52S/T27P/T27G/T43U: X ranges from 1 to 21. T21(P) E2/T31/T31P/T31G: X ranges from 1 to 2.)## +##T33P/T33G: X ranges from 1 to 12 +## Not support T19P_E2,T30,T30P + +{foreach $keys['line'] as $row} +#Configure Line Key {$row.device_key_id} +linekey.{$row.device_key_id}.line = {$row.device_key_line} +linekey.{$row.device_key_id}.value = {$row.device_key_value} +{if $row.device_key_type == "1" || $row.device_key_type == "16"} +linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension} +{else} +linekey.{$row.device_key_id}.extension = {$row.device_key_extension} +{/if} +linekey.{$row.device_key_id}.type = {$row.device_key_type} +linekey.{$row.device_key_id}.xml_phonebook = +linekey.{$row.device_key_id}.label = {$row.device_key_label} + +{/foreach} + +linekey.type_range.custom = + + +####################################################################################### +## Dsskey ## +####################################################################################### +features.block_linekey_in_menu.enable = +features.shorten_linekey_label.enable = +features.flash_url_dsskey_led.enable = +features.config_dsskey_length = {$yealink_dsskey_length} +phone_setting.page_tip = +features.keep_switch_page_key.enable= + +##phone_setting.idle_dsskey_and_title.transparency(Only support T5XW/T54S/T52S/T48G/T48S/T48U/T33G/T33P) +phone_setting.idle_dsskey_and_title.transparency= + +##V83 Add +phone_setting.keytype_sequence = +phone_setting.dsskey_label.display_method = +local.dsskey_type_config.mode = + + +####################################################################################### +## Expansion Key ## +####################################################################################### +##expansion_module.X.key.Y.type +##expansion_module.X.key.Y.line +##expansion_module.X.key.Y.value +##expansion_module.X.key.Y.extension +##expansion_module.X.key.Y.label +##expansion_module.X.key.Y.xml_phonebook +## Expansion Key X ranges(SIP-T5XW/T54S/T52S/T43U/T46U/T48U: X ranges from 1 to 3, Y ranges from 1 to 60; SIP-T48G/T48S/T46G/T46S:X ranges from 1 to 6, Y ranges from 1 to 40; SIP-T29G/T27P/T27G:X ranges from 1 to 6, Y ranges from 1 to 20, 22 to 40 (Ext key 21 cannot be configured).)## +## Only SIP-T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T27P/T27G/T43U/T46U/T48U Models support the parameter. + +#expansion_module.1.key.1.type = +#expansion_module.1.key.1.label = +#expansion_module.1.key.1.value = +#expansion_module.1.key.1.line = +#expansion_module.1.key.1.pickup_value = +#expansion_module.1.key.1.extension = +#expansion_module.1.key.1.xml_phonebook = +#expansion_module.page_tip.blf_call_in.led = +#expansion_module.page_tip.blf_call_in.enable = + +{foreach $keys["expansion"] as $row} +expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.1.key.{$row.device_key_id}.xml_phonebook = +{/foreach} +{foreach $keys["expansion-1"] as $row} +expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.1.key.{$row.device_key_id}.xml_phonebook = +{/foreach} +{foreach $keys["expansion-2"] as $row} +expansion_module.2.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.2.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.2.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.2.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.2.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.2.key.{$row.device_key_id}.xml_phonebook = +{/foreach} + +expkey.type_range.custom = + +####################################################################################### +## EDK ## +####################################################################################### +##EDK Soft Keys(X ranges from 1 to 10) + +features.enhanced_dss_keys.enable= +edk.id_mode.enable= +softkey.1.position= +softkey.1.use.dialing= +softkey.1.softkey_id= +softkey.1.use.dialtone= +softkey.1.use.conferenced= +softkey.1.use.held= +softkey.1.use.hold= +softkey.1.use.transfer_ring_back= +softkey.1.use.ring_back= +softkey.1.use.call_failed= +softkey.1.use.on_talk= +softkey.1.use.transfer_connecting= +softkey.1.use.connecting= +softkey.1.use.incoming_call= +softkey.1.use.idle= +softkey.1.action= +softkey.1.label= +softkey.1.enable= +edk.edklist.1.action= +edk.edklist.1.mname= +edk.edklist.1.enable= +edk.edkprompt.1.enable= +edk.edkprompt.1.label= +edk.edkprompt.1.type= +edk.edkprompt.1.userfeedback= + +##V84 Add +##edk.edkprompt.X.title= +(X ranges from 1 to 9) +edk.edkprompt.1.title= + + +####################################################################################### +## XML ## +####################################################################################### +push_xml.server= +push_xml.sip_notify= +push_xml.block_in_calling= +default_input_method.xml_browser_input_screen= + +##V83 Add +hoteling.authentication_mode = +push_xml.phonebook.search.delay = +features.xml_browser.loading_tip.delay = +features.xml_browser.pwd = +features.xml_browser.user_name = +push_xml.password = +push_xml.username = + + +####################################################################################### +## Forward ## +####################################################################################### +features.fwd.allow= +features.fwd_mode= +forward.no_answer.enable= +forward.busy.enable= +forward.always.enable= +forward.no_answer.timeout= +forward.no_answer.on_code= +forward.no_answer.off_code= +forward.busy.off_code= +forward.busy.on_code= +forward.always.off_code= +forward.always.on_code= +forward.no_answer.target= +forward.busy.target= +forward.always.target= + +features.forward.emergency.authorized_number= +features.forward.emergency.enable= +forward.idle_access_always_fwd.enable= +features.forward_call_popup.enable= + +##V83 Add +features.forward.no_answer.show_ring_times = + +##V84 Add +features.no_answer_code= + + +####################################################################################### +## DND ## +####################################################################################### +features.dnd.allow= +features.dnd_mode= +features.dnd.enable= + +features.dnd.off_code = *79 +features.dnd.on_code = *78 + +features.dnd.emergency_authorized_number= +features.dnd.emergency_enable = 1 +features.dnd.large_icon.enable= + +##V83 Add +features.keep_dnd.enable = + +####################################################################################### +## Phone Lock ## +####################################################################################### +phone_setting.phone_lock.enable = {$yealink_lock_enable} +phone_setting.phone_lock.lock_key_type = {$yealink_lock_key_type} +phone_setting.phone_lock.unlock_pin = {$yealink_lock_pin} +phone_setting.emergency.number = {$yealink_emergency_number} +phone_setting.phone_lock.lock_time_out = {$yealink_lock_timeout} + + +####################################################################################### +## Hotdesking ## +####################################################################################### +phone_setting.logon_wizard= +phone_setting.logon_wizard_forever_wait= + +hotdesking.startup_register_name_enable= +hotdesking.startup_username_enable= +hotdesking.startup_password_enable= +hotdesking.startup_sip_server_enable= +hotdesking.startup_outbound_enable= + +hotdesking.dsskey_register_name_enable= +hotdesking.dsskey_username_enable= +hotdesking.dsskey_password_enable= +hotdesking.dsskey_sip_server_enable= +hotdesking.dsskey_outbound_enable= + + +####################################################################################### +## Voice Mail ## +####################################################################################### +features.voice_mail_alert.enable= +features.voice_mail_popup.enable = {$yealink_voice_mail_popup_enable} +features.voice_mail_tone_enable= +features.hide_feature_access_codes.enable = {$yealink_hide_feature_access_codes_enable} + + + +####################################################################################### +## Text Message ## +####################################################################################### +features.text_message.enable= +features.text_message_popup.enable= + + + + + +####################################################################################### +## Audio Intercom ## +####################################################################################### +features.intercom.mode= +features.intercom.subscribe.enable= +features.intercom.led.enable= +features.intercom.feature_access_code= +features.blf.intercom_mode.enable= +features.intercom.ptt_mode.enable= + +features.redial_tone= +features.key_tone= +features.send_key_tone= + +features.intercom.allow= +features.intercom.barge= +features.intercom.tone= +features.intercom.mute= + + +voice.handset_send= +voice.handfree_send = +voice.headset_send = +features.intercom.headset_prior.enable= +features.ringer_device.is_use_headset= +features.intercom.barge_in_dialing.enable= + + + +####################################################################################### +## Feature General ## +####################################################################################### +features.ip_call.auto_answer.enable= +features.show_default_account= +features.call.dialtone_time_out= +features.missed_call_popup.enable = {$yealink_missed_call_popup_enable} +features.auto_answer_tone.enable= +features.play_hold_tone.enable= +features.key_as_send= +features.send_pound_key= +features.busy_tone_delay= +features.hotline_delay= +features.hotline_number= +features.direct_ip_call_enable = {$yealink_direct_ip_call_enable} +features.call_num_filter= +features.call_completion_enable= +features.allow_mute= +features.auto_answer_delay= +features.normal_refuse_code= +features.dnd_refuse_code= +features.upload_server= +features.dtmf.repetition= +features.dtmf.hide_delay= +features.dtmf.hide = {$yealink_dtmf_hide} +features.play_local_dtmf_tone_enable = +features.reboot_in_talk_enable = +features.fwd_diversion_enable= + +call_waiting.enable = {$yealink_call_waiting} +call_waiting.tone = {$yealink_call_waiting_tone} +call_waiting.off_code= +call_waiting.on_code= + +auto_redial.times= +auto_redial.interval= +auto_redial.enable= + +sip.rfc2543_hold = {$yealink_rfc2543_hold} +sip.use_23_as_pound= +forward.international.enable= +phone_setting.headsetkey_mode= +phone_setting.is_deal180= +phone_setting.change_183_to_180= + +##V84 Add +features.touch_tone= + +####################################################################################### +## Action URL&URI ## +####################################################################################### +features.csta_control.enable= +features.action_uri.enable= +features.action_uri_limit_ip= +features.show_action_uri_option= +action_url.call_remote_canceled= +action_url.remote_busy= +action_url.cancel_callout= +action_url.handfree= +action_url.headset= +action_url.unheld= +action_url.held= +action_url.transfer_failed= +action_url.transfer_finished= +action_url.answer_new_incoming_call= +action_url.reject_incoming_call= +action_url.forward_incoming_call= +action_url.ip_change= +action_url.idle_to_busy= +action_url.busy_to_idle= +action_url.call_terminated= +action_url.missed_call= +action_url.unmute= +action_url.mute= +action_url.unhold= +action_url.hold= +action_url.always_fwd_off = +action_url.always_fwd_on = +action_url.attended_transfer_call = +action_url.blind_transfer_call = +action_url.busy_fwd_off = +action_url.busy_fwd_on = +action_url.call_established = +action_url.call_waiting_off = +action_url.call_waiting_on = +action_url.dnd_off = +action_url.dnd_on = +action_url.incoming_call = +action_url.no_answer_fwd_off = +action_url.no_answer_fwd_on = +action_url.off_hook = +action_url.on_hook = +action_url.outgoing_call = +action_url.register_failed = +action_url.registered = +action_url.setup_autop_finish = +action_url.setup_completed = +action_url.transfer_call = +action_url.unregistered = + +##V84 Add +action_url.peripheral_information= + + + +####################################################################################### +## Power LED ## +####################################################################################### +phone_setting.hold_and_held_power_led_flash_enable= +phone_setting.mute_power_led_flash_enable= +phone_setting.talk_and_dial_power_led_enable= +phone_setting.mail_power_led_flash_enable = 1 +phone_setting.ring_power_led_flash_enable= +phone_setting.common_power_led_enable= +phone_setting.missed_call_power_led_flash.enable = {$yealink_missed_call_power_led_flash_enable} + + +####################################################################################### +## Time&Date ## +####################################################################################### +lcl.datetime.date.format = +auto_dst.url = {$yealink_auto_dst_url} +local_time.manual_time_enable = +local_time.manual_ntp_srv_prior = +local_time.time_format = {$yealink_time_format} +local_time.date_format = {$yealink_date_format} +local_time.dhcp_time = {$yealink_dhcp_time} + +local_time.summer_time = {$yealink_summer_time} +local_time.dst_time_type = {$yealink_dst_type} +local_time.start_time = {$yealink_time_zone_start_time} +local_time.end_time = {$yealink_time_zone_end_time} +local_time.offset_time = {$yealink_offset_time} +local_time.interval = {$yealink_time_update} + +local_time.ntp_server1 = {$ntp_server_primary} +local_time.ntp_server2 = {$ntp_server_secondary} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} + + +####################################################################################### +## Multicast Paging ## +####################################################################################### +##multicast.listen_address.X.label +##multicast.paging_address.X.channel +##multicast.listen_address.X.ip_address +##multicast.paging_address.X.ip_address +##multicast.paging_address.X.label +##multicast.listen_address.X.channel +##multicast.listen_address.X.volume +##Multicast(X ranges from 1 to 31.) + +multicast.codec= + +multicast.paging_address.1.channel= +multicast.paging_address.1.label= +multicast.paging_address.1.ip_address= +multicast.receive_priority.enable= +multicast.receive_priority.priority= + +multicast.receive.use_speaker= +multicast.receive.enhance_volume= +multicast.receive.ignore_dnd.priority= + +multicast.listen_address.1.channel= +multicast.listen_address.1.label= +multicast.listen_address.1.ip_address= +multicast.listen_address.1.volume= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +##Not support T19P_E2/T30/T30P +static.features.default_account= + +##Logo File Format: .dob +##Resolution: SIP-T42G/T42S/T41P/T41S/T41U/T42U: <=192*64 2 gray scale;SIP-T43U/SIP-T27P/G: <=240*120 2 gray scale;SIP-T40P/T40G/T23P/T23G/T21(P)/T31P/T31/T31G E2/T19(P) E2/T30/T30P: <=132*64 2 gray scale## +phone_setting.lcd_logo.mode= +lcd_logo.delete= +lcd_logo.url= + +phone_setting.contrast= +phone_setting.backlight_time = {$yealink_backlight_time} +phone_setting.inactive_backlight_level = 1 +phone_setting.active_backlight_level= +phone_setting.predial_autodial = 1 + +ringtone.url= {$yealink_ringtone_url} +ringtone.delete= {$yealink_ringtone_delete} +phone_setting.ring_type= {$yealink_ring_type} +phone_setting.inter_digit_time= {$yealink_inter_digit_time} + +##Only T54S Model supports the parameter +phone_setting.idle_clock_display.enable = + +####################################################################################### +## Digitmap ## +####################################################################################### +dialplan.digitmap.enable= +dialplan.digitmap.string= +dialplan.digitmap.no_match_action= +dialplan.digitmap.interdigit_short_timer= +dialplan.digitmap.interdigit_long_timer= +dialplan.digitmap.apply_to.press_send= +dialplan.digitmap.apply_to.forward= +dialplan.digitmap.apply_to.history_dial= +dialplan.digitmap.apply_to.directory_dial= +dialplan.digitmap.apply_to.on_hook_dial= +dialplan.digitmap.active.on_hook_dialing= + +##V83 Add +dialplan.digitmap.apply_to.prefix_key = + +##V84 ADD +features.local_calllog.received.replace_rule= + + + + +####################################################################################### +## Emergency Dialplan ## +####################################################################################### +dialplan.emergency.enable= +dialplan.emergency.1.value= +dialplan.emergency.server.1.address= +dialplan.emergency.server.1.transport_type= +dialplan.emergency.server.1.port= +dialplan.emergency.1.server_priority= +dialplan.emergency.custom_asserted_id= +dialplan.emergency.asserted_id_source= +dialplan.emergency.asserted_id.sip_account= +dialplan.emergency.held.request_element.1.name= +dialplan.emergency.held.request_element.1.value= +dialplan.emergency.held.request_type= +dialplan.emergency.held.server_url= + + + +####################################################################################### +## Dialplan ## +####################################################################################### +dialplan_replace_rule.url= +dialplan.replace.line_id.1= +dialplan.replace.replace.1= +dialplan.replace.prefix.1= +phone_setting.dialnow_delay= +dialplan_dialnow.url= +dialplan.dialnow.line_id.1= +dialplan.dialnow.rule.1 = {$yealink_dialplan_dialnow_rule_1} +dialplan.block_out.line_id.1= +dialplan.block_out.number.1= +dialplan.area_code.line_id = +dialplan.area_code.max_len = 15 +dialplan.area_code.min_len = 1 +dialplan.area_code.code= + +####################################################################################### +## Rings Settings ## +####################################################################################### +distinctive_ring_tones.alert_info.1.ringer= {$yealink_ring_file_1} +distinctive_ring_tones.alert_info.1.text= {$yealink_ring_text_1} + +####################################################################################### +## IME Settings ## +####################################################################################### +directory.search_default_input_method= +directory.edit_default_input_method= +gui_input_method.url= + +##V83 Add +##Only T48G/T48S Models support the parameter +phone_setting.virtual_keyboard.enable = + +####################################################################################### +## Language Settings ## +####################################################################################### +wui_lang.url= +wui_lang_note.url= +wui_lang.delete= +gui_input_method.delete= +gui_lang.url= +gui_lang.delete= +lang.gui= {$yealink_language_gui} +lang.wui= + + +####################################################################################### +## Screensaver ## +####################################################################################### +screensaver.type= +screensaver.delete= +screensaver.upload_url= +features.blf_active_backlight.enable= +screensaver.display_clock.enable= +screensaver.clock_move_interval= +screensaver.picture_change_interval= +screensaver.wait_time= +screensaver.xml_browser.url= + + + +####################################################################################### +## Power Saving ## +####################################################################################### +features.power_saving.enable= +features.power_saving.power_led_flash.on_time= +features.power_saving.power_led_flash.off_time= +features.power_saving.office_hour.monday= +features.power_saving.office_hour.tuesday= +features.power_saving.office_hour.wednesday= +features.power_saving.office_hour.thursday= +features.power_saving.office_hour.friday= +features.power_saving.office_hour.saturday= +features.power_saving.office_hour.sunday = +features.power_saving.user_input_ext.idle_timeout= +features.power_saving.off_hour.idle_timeout= +features.power_saving.office_hour.idle_timeout= +features.power_saving.intelligent_mode= + + +####################################################################################### +## Backgrounds Settings ## +####################################################################################### +##File Formate: +##SIP-T57W/T54W/T54S/T52S/T48S/T48G/T46G/T46S/T29G/T46U/T48U/T33P/T33G: .jpg/.png/.bmp/.jpeg; +##Resolution: +##SIP-T57W/T48S/T48G/T48U/T46U:<=2.0 megapixels; +##for SIP-T54W/T46G/T46S/T29G: <=1.8 megapixels;SIP-T54S/T52S/T33P/T33G:<=4.2 megapixels; +##Single File Size: <=5MB +##2MB of space should bereserved for the phone + +wallpaper_upload.url = {$yealink_t33g_wallpaper} +{if isset($yealink_t33g_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t33g_wallpaper_filename} +{else} +phone_setting.backgrounds = Config:yealink_t33g_wallpaper.png +{/if} + +## phone_setting.backgrounds_with_dsskey_unfold(Only support T48U/T48G/S) +phone_setting.backgrounds_with_dsskey_unfold= + +##expansion_module.backgrounds(Only support T5XW/T54S/T52S/T43U/T46U/T48U) +expansion_module.backgrounds= + + +####################################################################################### +## BSFT Setting ## +####################################################################################### +bw.enable = + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +phone_setting.auto_blf_list_enable = 1 +phone_setting.blf_list_sequence_type = 1 + +blf.enhanced.parked.enable= +blf.enhanced.parked.led = +blf.enhanced.parked.talking.action = +blf.enhanced.parked.callin.action = +blf.enhanced.parked.idle.action = + +blf.enhanced.talking.enable= +blf.enhanced.talking.led= +blf.enhanced.talking.talking.action = +blf.enhanced.talking.callin.action = +blf.enhanced.talking.idle.action = + +blf.enhanced.callout.enable = +blf.enhanced.callout.led= +blf.enhanced.callout.talking.action = +blf.enhanced.callout.callin.action = +blf.enhanced.callout.idle.action = + +blf.enhanced.callin.enable = +blf.enhanced.callin.led= +blf.enhanced.callin.talking.action = +blf.enhanced.callin.callin.action= +blf.enhanced.callin.idle.action= + +blf.enhanced.idle.enable = 0 +blf.enhanced.idle.led= +blf.enhanced.idle.talking.action= +blf.enhanced.idle.callin.action= +blf.enhanced.idle.idle.action= + +features.blf_list_version = 0 +sip.sub_refresh_random= +sip.terminate_notify_sub_delay_time= + +features.blf_led_mode = {$yealink_blf_led_mode} +features.blf_pickup_only_send_code= + +##V84 Add +blf.enhanced.dnd.enable= +blf.enhanced.dnd.led= +blf.enhanced.hold.enable= +blf.enhanced.hold.led= + +features.blf.show_callinfo.enable= + +##V84 SP4 ADD +blf.normal_barge_in_code= +blf.whisper_barge_in_code= +blf.listen_barge_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +features.auto_release_bla_line= +features.barge_in_via_username.enable= + + + +####################################################################################### +## Call Park ## +####################################################################################### +features.call_park.enable= +features.call_park.park_mode= +features.call_park.park_code= +features.call_park.park_retrieve_code= +features.call_park.direct_send.enable= +features.call_park.park_visual_notify_enable= +features.call_park.park_ring= +features.call_park.group_enable= +features.call_park.group_park_code= +sip.call_park_without_blf= +features.call_park.line_restriction.enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +acd.enable= +acd.auto_available_timer= + + + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +bw.xsi.enable= +sip.authentication_for_xsi = +default_input_method.xsi_password= + + +####################################################################################### +## Broadsoft Network Directory ## +####################################################################################### +bw.xsi.directory.enable= +bw.calllog_and_dir = +bw.xsi.call_log.enable= +bw_phonebook.custom= +bw_phonebook.enterprise_common_enable= +bw_phonebook.enterprise_common_displayname= +bw_phonebook.enterprise_enable= +bw_phonebook.enterprise_displayname= +bw_phonebook.group_common_enable= +bw_phonebook.group_common_displayname= +bw_phonebook.personal_enable= +bw_phonebook.personal_displayname= +bw_phonebook.group_enable= +bw_phonebook.group_displayname = +directory.update_time_interval= +bw.xsi.directory.alphabetized_by_lastname.enable= +directory_setting.bw_directory.enable = +directory_setting.bw_directory.priority = +search_in_dialing.bw_directory.enable = +search_in_dialing.bw_directory.priority = +##V83 Add +bw.xsi.directory.update.enable = + +####################################################################################### +## Broadsoft Network Calllog ## +####################################################################################### +##V83 Add +bw.xsi.call_log.delete.enable = +bw.xsi.call_log.multiple_accounts.enable = +phone_setting.ring_duration = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +features.pickup.direct_pickup_enable = {$yealink_direct_pickup_enable} +features.pickup.group_pickup_enable = +features.pickup.direct_pickup_code = ** +features.pickup.group_pickup_code = +features.pickup.blf_audio_enable = +features.pickup.blf_visual_enable = +features.pickup_display.method = + +##V84 Add +features.pickup.blf_audio.list= +features.pickup.blf_visual.list= + + +####################################################################################### +## Alert Info ## +####################################################################################### +features.alert_info_tone = + + +####################################################################################### +## Broadsoft Visual Voice Mail ## +####################################################################################### +bw.voice_mail.visual.enable= +voice_mail.message_key.mode= +bw.voice_mail.visual.display_videomail.enable= + + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +bw.call_recording.mode = + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +features.call_decline.enable = + + +####################################################################################### +## BLF Ring Type ## +####################################################################################### +features.blf.ring_type = + + + +####################################################################################### +## Features Sync ## +####################################################################################### +features.feature_key_sync.enable = {$yealink_feature_key_sync} +features.forward.feature_key_sync.local_processing.enable = +features.forward.feature_key_sync.enable = +features.dnd.feature_key_sync.local_processing.enable = +features.dnd.feature_key_sync.enable = +call_waiting.mode = + + +####################################################################################### +## Broadsoft UC ## +####################################################################################### +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T46U/T48U/T3XU Models support the parameter +bw.xmpp.enable = +features.uc_password = +features.uc_username = +bw.xmpp.presence_icon.mode = +bw.xmpp.change_presence.force_manual.enable = +bw.xmpp.change_presence.enable = +phone_setting.dsskey_directory_auto.enable = +features.uc_dir.match_tail_number= +directory_setting.bw_uc_buddies.enable = +directory_setting.bw_uc_buddies.priority = +search_in_dialing.bw_uc_buddies.enable = +search_in_dialing.bw_uc_buddies.priority = + +##V83 Add +phone_setting.uc_favorite_sequence_type = + +####################################################################################### +## Broadsoft Emergency Call ## +####################################################################################### +##V83 Add +bw.emergency_calling.enable = + + + +####################################################################################### +## Metaswitch Setting ## +####################################################################################### +meta.enable = +meta.login_mode = +meta.comm_portal.server.username = +meta.comm_portal.server.password = +meta.comm_portal.server.url = +meta.comm_portal.enable = +meta.comm_portal.contacts.update_interval = +meta.comm_portal.acd.enable= +meta.comm_portal.replace_local_call_list.enable= +meta.comm_portal.contacts.group.mlhgs.label= +meta.comm_portal.contacts.group.extensions.label= +meta.comm_portal.contacts.group.contacts.label= +meta.comm_portal.contacts.group.mlhgs.enable= +meta.comm_portal.contacts.group.extensions.enable= +meta.comm_portal.contacts.group.contacts.enable= +meta.comm_portal.call_list.enable= +meta.comm_portal.contacts.enable= +meta.comm_portal.message.enable= +meta.comm_portal.logout.enable = +meta.comm_portal.keep_alive_interval_time = + +##V83 Add +directory_setting.meta_directory.enable= +directory_setting.meta_directory.priority= +directory_setting.meta_call_log.enable= +directory_setting.meta_call_log.priority= +search_in_dialing.meta_call_log.priority = +search_in_dialing.meta_call_log.enable = +search_in_dialing.meta_directory.priority = +search_in_dialing.meta_directory.enable = + + + +####################################################################################### +## Genbend Setting ## +####################################################################################### +gb.sopi.enable= +gb.sopi.gab.enable= +gb.sopi.pab.enable= +features.pab.soupuser= +features.pab.enable= +gb.sopi.pab.match_in_calling.enable= +gb.sopi.gab.retain_search_filter= +gb.sopi.service_url= +gb.sopi.password= +gb.sopi.username= +directory_setting.gb_gab_directory.priority = +directory_setting.gb_gab_directory.enable = +directory_setting.gb_pab_directory.enable = +directory_setting.gb_pab_directory.priority = +search_in_dialing.gb_pab_directory.priority = +search_in_dialing.gb_pab_directory.enable = + + +####################################################################################### +## Loopback Call ## +####################################################################################### +##V83 Add +sip.loopback.enable = +sip.loopback_type = +sip.pkt_loopback_mode +sip.loopback.auto_answer.mode = +sip.pkt_loopback_encapsulated_payload = +sip.pkt_loopback_directed_payload = + + +####################################################################################### +## V84 add ## +####################################################################################### +google_contact_server.enable= + +static.features.network_test.check_policy= +static.features.network_test.enable= +static.features.network_test.host= +static.features.network_test.period= +static.features.network_unavailable_test.period= + +phone_setting.warnings_display.mode= + +bw.flexible_seating.remember_password.ldap.enable= + +vcaccount.enable= + +####################################################################################### +## V84 T5XW add VPM-Acoustic Shield ## +####################################################################################### +features.acoustic_shield.level = +features.acoustic_shield.mode = + + + +####################################################################################### +## V84 SP4 add ## +####################################################################################### + +phone_setting.search_t9.enable = +phone_setting.mail_power_led_flash_enable = +ldap.anonymous_bind_operation.enable = +google_contact_server.display_mode = +gb.presence.line = +gb.presence.enable = +gb.emergency_instant_messages.enable = +gb.emergency_instant_messages.displaytimeout = +features.transfer_keep_session2_after_failed.enable= +features.intercom.mode = +features.emergency_instant_messages.ring_type = +features.dtmf.transfer = +features.dtmf.replace_tran = +features.call_park.performby_holdhardkey.enable = +features.blf_extension.mode = +features.auto_answer.ring_type = +directory_setting.presence_list.priority = +directory_setting.presence_list.enable = +dialplan.transfer.mode = +dialplan.emergency.held.secondary.server_url = +custom.features.dsskey_lock_type = +blf.enhanced.dnd.led = +blf.enhanced.dnd.enable = +auto_provision.pnp_check_url.enable = + +acd.logout_fixed_display.enable= +acd.available_fixed_display.enable = +acd.disp_code_fixed_display.enable = +acd.trace_fixed_display.enable = + +features.parked_call_monitor.blf_visual_enable= +features.parked_call_monitor.blf_audio_enable= +features.parked_call_monitor.blf.ring_type= + + +####################################################################################### +## V85 add ## +####################################################################################### + +auto_provision.allsettings.sync.path= +auto_provision.allsettings.sync= +bw.features.flash_time= +bw.features_status.display_mode= +bw.xsi.directory.server_search_type= +features.dsskey_page_reset.call_established.enable= +features.dsskey_page_reset.call_established.page= +features.dsskey_page_reset.enable= +features.dsskey_page_reset.page= +features.headset.group_listen_in_talking_enable= +features.noise_filtering_rev.enable= +features.out_of_service_alert.enable= +features.out_of_service_alert_time= +features.paging_auto_resume.enable= +features.voice_mail_key_lamp_field.enable= +over_the_air.url.cp930w= +phone_setting.autop_led_flash_enable= +phone_setting.call_remote_end_when_hold.busy_tone.enable= +phone_setting.retain_pin.enable= +phone_setting.voice.ring_vol_min= +static.auto_provision.rsa_pri_key.delete= +static.auto_provision.rsa_pri_key.enable= +static.auto_provision.rsa_pri_key.url= +static.network.l2tp_server.address= +static.network.l2tp_server.password= +static.network.l2tp_server.username= +static.network.openvpn_file.url= +static.network.pc_port.mode= +static.network.set_fragment.enable= +static.network.vpn.mode= +static.wifi.x.802_1x.anonymous_identity= +static.auto_provision.aes_key.com= +static.auto_provision.aes_key.mac= +unify.enable= +features.transfer_complete.prompt.enable = + + +####################################################################################### +## V85 T3XU add ## +####################################################################################### + +directory.containing_search.additional_sorting_mode= +phone_setting.login_note_text= +phone_setting.lcd_logo.text= +features.hide_unread_vm_number.enable= +features.hotdesking_clear_calllog.enable= +priv.auto_provision.screen.resolution= From 7e4569959e2ee0a5dd8a142a9a05e76046aecf55 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 5 Nov 2020 13:18:44 -0500 Subject: [PATCH 161/677] Create y000000000000.boot --- .../templates/provision/yealink/t33g/y000000000000.boot | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 resources/templates/provision/yealink/t33g/y000000000000.boot diff --git a/resources/templates/provision/yealink/t33g/y000000000000.boot b/resources/templates/provision/yealink/t33g/y000000000000.boot new file mode 100644 index 0000000000..124f68a98f --- /dev/null +++ b/resources/templates/provision/yealink/t33g/y000000000000.boot @@ -0,0 +1,7 @@ +#!version:1.0.0.1 +## The header above must appear as-is in the first line + +include:config "y000000000124.cfg" +include:config "{$mac}.cfg" + +overwrite_mode = {$yealink_overwrite_mode} From a65c766638320557f1c9aed2ee43c278881a2bf4 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 5 Nov 2020 13:20:45 -0500 Subject: [PATCH 162/677] Create directory.xml --- .../provision/yealink/t33g/directory.xml | 83 +++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 resources/templates/provision/yealink/t33g/directory.xml diff --git a/resources/templates/provision/yealink/t33g/directory.xml b/resources/templates/provision/yealink/t33g/directory.xml new file mode 100644 index 0000000000..297b9e4108 --- /dev/null +++ b/resources/templates/provision/yealink/t33g/directory.xml @@ -0,0 +1,83 @@ + +{foreach $contacts as $row} +{if $smarty.get.contacts == "users" && $row.category == "users"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} +{$row.effective_caller_id_name} +{/if} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} + +{elseif $smarty.get.contacts == "groups" && $row.category == "groups"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} + {$row.effective_caller_id_name} +{/if} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} + +{elseif $smarty.get.contacts == "extensions" && $row.category == "extensions"} + +{if $row.contact_name_given != ""} + {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.effective_caller_id_name} +{/if} +{if $row.phone_number != ""} + {$row.phone_number} +{else} + {$row.phone_extension} +{/if} + +{elseif $smarty.get.contacts == "all"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} + {$row.effective_caller_id_name} +{/if} +{if $row.category == "extensions"} +{if $row.phone_number != ""} + {$row.phone_number} +{else} + {$row.phone_extension} +{/if} +{else} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} +{/if} + +{/if} +{/foreach} + From 8af2c0717e7feb4232564d3f99bb334a80244d40 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 5 Nov 2020 13:22:56 -0500 Subject: [PATCH 163/677] Create favorite_setting.xml --- .../templates/provision/yealink/t33g/favorite_setting.xml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 resources/templates/provision/yealink/t33g/favorite_setting.xml diff --git a/resources/templates/provision/yealink/t33g/favorite_setting.xml b/resources/templates/provision/yealink/t33g/favorite_setting.xml new file mode 100644 index 0000000000..ba7275358e --- /dev/null +++ b/resources/templates/provision/yealink/t33g/favorite_setting.xml @@ -0,0 +1,8 @@ + + + + + + + + From f20dc864ea5e6f664fa4aa452d7cac965917a240 Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Thu, 5 Nov 2020 14:50:04 -0700 Subject: [PATCH 164/677] Update {$mac}.cfg updated to conform to firmware 2.2.10 tags. improved button display format. --- .../templates/provision/fanvil/x4u/{$mac}.cfg | 177 ++++++++++++++++-- 1 file changed, 161 insertions(+), 16 deletions(-) diff --git a/resources/templates/provision/fanvil/x4u/{$mac}.cfg b/resources/templates/provision/fanvil/x4u/{$mac}.cfg index 7cdcc915a6..014d586001 100644 --- a/resources/templates/provision/fanvil/x4u/{$mac}.cfg +++ b/resources/templates/provision/fanvil/x4u/{$mac}.cfg @@ -1,4 +1,5 @@ + 2.0000000000 @@ -33,7 +34,36 @@ Fanvil X4U {$fanvil_wifi_enable} + 0 + 0 + 192.168.1.179 + 255.255.255.0 + 192.168.1.1 + + 8.8.8.8 + 202.96.134.133 + 1 + 1 + 1 + 0 + Fanvil X4U + 0 + user123 + password + + + + + + + 1 + 1 + 0 + + + 10 + 1 @@ -54,6 +84,7 @@ 10000 1000 1 + 0 {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if} @@ -104,22 +135,25 @@ {$account.1.auth_id} {$account.1.password} {$account.1.register_expires} + 0 5060 0 3600 + 0 {if isset($account.1.password)}1{else}0{/if} {$account.1.outbound_proxy_primary} {$account.1.sip_port} {$account.1.auth_id} {$account.1.password} + 0 {$account.1.outbound_proxy_secondary} {$account.1.sip_port} + 0 {if isset($account.1.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -251,6 +285,8 @@ 500 4000 5000 + 0 + 0 {$account.2.user_id} @@ -261,22 +297,25 @@ {$account.2.auth_id} {$account.2.password} {$account.2.register_expires} + 0 5060 0 3600 + 0 {if isset($account.2.password)}1{else}0{/if} {$account.2.outbound_proxy_primary} {$account.2.sip_port} {$account.2.auth_id} {$account.2.password} + 0 {$account.2.outbound_proxy_secondary} {$account.2.sip_port} + 0 {if isset($account.2.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -408,6 +447,8 @@ 500 4000 5000 + 0 + 0 {$account.3.user_id} @@ -418,22 +459,25 @@ {$account.3.auth_id} {$account.3.password} {$account.3.register_expires} + 0 5060 0 3600 + 0 {if isset($account.3.password)}1{else}0{/if} {$account.3.outbound_proxy_primary} {$account.3.sip_port} {$account.3.auth_id} {$account.3.password} + 0 {$account.3.outbound_proxy_secondary} {$account.3.sip_port} + 0 {if isset($account.3.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -565,6 +609,8 @@ 500 4000 5000 + 0 + 0 {$account.4.user_id} @@ -575,22 +621,25 @@ {$account.4.auth_id} {$account.4.password} {$account.4.register_expires} + 0 5060 0 3600 + 0 {if isset($account.4.password)}1{else}0{/if} {$account.4.outbound_proxy_primary} {$account.4.sip_port} {$account.4.auth_id} {$account.4.password} + 0 {$account.4.outbound_proxy_secondary} {$account.4.sip_port} + 0 {if isset($account.4.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -722,6 +771,8 @@ 500 4000 5000 + 0 + 0 {$account.5.user_id} @@ -732,22 +783,25 @@ {$account.5.auth_id} {$account.5.password} {$account.5.register_expires} + 0 5060 0 3600 + 0 {if isset($account.5.password)}1{else}0{/if} {$account.5.outbound_proxy_primary} {$account.5.sip_port} {$account.5.auth_id} {$account.5.password} + 0 {$account.5.outbound_proxy_secondary} {$account.5.sip_port} + 0 {if isset($account.5.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -879,6 +933,8 @@ 500 4000 5000 + 0 + 0 {$account.6.user_id} @@ -889,22 +945,25 @@ {$account.6.auth_id} {$account.6.password} {$account.6.register_expires} + 0 5060 0 3600 + 0 {if isset($account.6.password)}1{else}0{/if} {$account.6.outbound_proxy_primary} {$account.6.sip_port} {$account.6.auth_id} {$account.6.password} + 0 {$account.6.outbound_proxy_secondary} {$account.6.sip_port} + 0 {if isset($account.6.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1036,6 +1095,8 @@ 500 4000 5000 + 0 + 0 {$account.7.user_id} @@ -1046,22 +1107,25 @@ {$account.7.auth_id} {$account.7.password} {$account.7.register_expires} + 0 5060 0 3600 + 0 {if isset($account.7.password)}1{else}0{/if} {$account.7.outbound_proxy_primary} {$account.7.sip_port} {$account.7.auth_id} {$account.7.password} + 0 {$account.7.outbound_proxy_secondary} {$account.7.sip_port} + 0 {if isset($account.7.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1193,6 +1257,8 @@ 500 4000 5000 + 0 + 0 {$account.8.user_id} @@ -1203,22 +1269,25 @@ {$account.8.auth_id} {$account.8.password} {$account.8.register_expires} + 0 5060 0 3600 + 0 {if isset($account.8.password)}1{else}0{/if} {$account.8.outbound_proxy_primary} {$account.8.sip_port} {$account.8.auth_id} {$account.8.password} + 0 {$account.8.outbound_proxy_secondary} {$account.8.sip_port} + 0 {if isset($account.8.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1350,6 +1419,8 @@ 500 4000 5000 + 0 + 0 {$account.9.user_id} @@ -1360,22 +1431,25 @@ {$account.9.auth_id} {$account.9.password} {$account.9.register_expires} + 0 5060 0 3600 + 0 {if isset($account.9.password)}1{else}0{/if} {$account.9.outbound_proxy_primary} {$account.9.sip_port} {$account.9.auth_id} {$account.9.password} + 0 {$account.9.outbound_proxy_secondary} {$account.9.sip_port} + 0 {if isset($account.9.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1507,6 +1581,8 @@ 500 4000 5000 + 0 + 0 {$account.10.user_id} @@ -1517,22 +1593,25 @@ {$account.10.auth_id} {$account.10.password} {$account.10.register_expires} + 0 5060 0 3600 + 0 {if isset($account.10.password)}1{else}0{/if} {$account.10.outbound_proxy_primary} {$account.10.sip_port} {$account.10.auth_id} {$account.10.password} + 0 {$account.10.outbound_proxy_secondary} {$account.10.sip_port} + 0 {if isset($account.10.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1664,6 +1743,8 @@ 500 4000 5000 + 0 + 0 {$account.11.user_id} @@ -1674,22 +1755,25 @@ {$account.11.auth_id} {$account.11.password} {$account.11.register_expires} + 0 5060 0 3600 + 0 {if isset($account.11.password)}1{else}0{/if} {$account.11.outbound_proxy_primary} {$account.11.sip_port} {$account.11.auth_id} {$account.11.password} + 0 {$account.11.outbound_proxy_secondary} {$account.11.sip_port} + 0 {if isset($account.11.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1821,6 +1905,8 @@ 500 4000 5000 + 0 + 0 {$account.12.user_id} @@ -1831,22 +1917,25 @@ {$account.12.auth_id} {$account.12.password} {$account.12.register_expires} + 0 5060 0 3600 + 0 {if isset($account.12.password)}1{else}0{/if} {$account.12.outbound_proxy_primary} {$account.12.sip_port} {$account.12.auth_id} {$account.12.password} + 0 {$account.12.outbound_proxy_secondary} {$account.12.sip_port} + 0 {if isset($account.12.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1978,12 +2067,17 @@ 500 4000 5000 + 0 + 0 0 30 1 0 + 0 + 0 + 1 @@ -2057,6 +2151,10 @@ 0 + 0 + 120 + 120 + 0 1 @@ -2137,13 +2235,17 @@ 0 1 1 - $name@$protocol$instance + $name 0 0 1 1 30 + 0 + 0 + 0 + {$fanvil_greeting} 5 @@ -2172,14 +2274,25 @@ 0 1 + terminated 1 2 - 1 - 1 + early + 1 + 0 + + 1 + 1 + confirmed + 1 + 0 + 2 0 + failed 0 3 + parked @@ -2237,6 +2350,7 @@ send;2aB;delete;exit; history;status;none;none;none; pline;nline;none;none;none; + none;none;none;none;none; none;none;voldown;volup;none; status;none;none;none;reset; contact;clogs;redial;video;cancel; @@ -2477,6 +2591,8 @@ 120 0 + 2 + 6 1 @@ -2526,6 +2642,7 @@ + @@ -2597,6 +2714,9 @@ 0 0 + + 60 + 0 @@ -2604,10 +2724,12 @@ 5 1 0 + 0 0 16 360 1080 + 1 0 0 0 @@ -2737,7 +2859,7 @@ 1 - 00100400FV02001000000c383e42691d + 1 0 0.0.0.0 @@ -2859,6 +2981,7 @@ 66 0 0 + 0 @@ -2929,5 +3052,27 @@ 1 0 0 + 0xffffff + 0xffffff + 0xffffff + 0x262626 + 0x5a9dba + 0xc4012f + 0x007bb0 + 0xffffff + 0x262626 + 0 + 1,1,1,1 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + From 9708c482fe67dbef48c26ab4b9a6af18129c195b Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Thu, 5 Nov 2020 17:56:17 -0500 Subject: [PATCH 165/677] Update dialplan_edit.php --- app/dialplans/dialplan_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialplans/dialplan_edit.php b/app/dialplans/dialplan_edit.php index 72b7fa301e..07c204786c 100644 --- a/app/dialplans/dialplan_edit.php +++ b/app/dialplans/dialplan_edit.php @@ -267,7 +267,7 @@ //clear the cache $cache = new cache; - if ($dialplan_context == "\${domain_name}") { + if ($dialplan_context == "\${domain_name}" or $dialplan_context == "global") { $dialplan_context = "*"; } $cache->delete("dialplan:".$dialplan_context); From 4f29228768f0b3ba87b47168aeb0480fad3c6179 Mon Sep 17 00:00:00 2001 From: fusionate Date: Thu, 5 Nov 2020 16:08:27 -0700 Subject: [PATCH 166/677] Fax Server: Better compatibility with current libtiff-tools. --- app/fax/fax_files.php | 18 +++++------------- app/fax/fax_send.php | 33 ++++----------------------------- 2 files changed, 9 insertions(+), 42 deletions(-) diff --git a/app/fax/fax_files.php b/app/fax/fax_files.php index dca315d10d..2b0d312172 100644 --- a/app/fax/fax_files.php +++ b/app/fax/fax_files.php @@ -115,7 +115,6 @@ //download the fax if ($_GET['a'] == "download") { - session_cache_limiter('public'); //test to see if it is in the inbox or sent directory. if ($_GET['type'] == "fax_inbox") { if (file_exists($fax_dir.'/'.$_GET['ext'].'/inbox/'.$_GET['filename'])) { @@ -349,19 +348,12 @@ $page_height = 11.7; $page_size = 'a4'; } - //generate pdf (a work around, as tiff2pdf improperly inverts the colors) - $cmd_tif2pdf = "tiff2pdf -i -u i -p ".$page_size." -w ".$page_width." -l ".$page_height." -f -o ".$dir_fax_temp.'/'.$file_name.".pdf ".$dir_fax.'/'.$file_name.".tif"; - //echo $cmd_tif2pdf."
"; + //generate pdf from tif + $cmd_tif2pdf = "tiff2pdf -u i -p ".$page_size." -w ".$page_width." -l ".$page_height." -f -o ".$dir_fax.'/'.$file_name.".pdf ".$dir_fax.'/'.$file_name.".tif"; exec($cmd_tif2pdf); - chdir($dir_fax_temp); - $cmd_pdf2tif = "gs -q -sDEVICE=tiffg3 -r".$gs_r." -g".$gs_g." -dNOPAUSE -sOutputFile=".$file_name."_temp.tif -- ".$file_name.".pdf -c quit"; - //echo $cmd_pdf2tif."
"; - exec($cmd_pdf2tif); //convert pdf to tif - @unlink($dir_fax_temp.'/'.$file_name.".pdf"); - $cmd_tif2pdf = "tiff2pdf -i -u i -p ".$page_size." -w ".$page_width." -l ".$page_height." -f -o ".$dir_fax.'/'.$file_name.".pdf ".$dir_fax_temp.'/'.$file_name."_temp.tif"; - //echo $cmd_tif2pdf."
"; - exec($cmd_tif2pdf); - @unlink($dir_fax_temp.'/'.$file_name."_temp.tif"); + //clean up temporary files, if any + if (file_exists($dir_fax_temp.'/'.$file_name.'.pdf')) { @unlink($dir_fax_temp.'/'.$file_name.'.pdf'); } + if (file_exists($dir_fax_temp.'/'.$file_name.'.tif')) { @unlink($dir_fax_temp.'/'.$file_name.'.tif'); } } if ($_REQUEST['box'] == 'inbox' && permission_exists('fax_inbox_view')) { diff --git a/app/fax/fax_send.php b/app/fax/fax_send.php index 85e23333ca..d94e7c1905 100644 --- a/app/fax/fax_send.php +++ b/app/fax/fax_send.php @@ -369,7 +369,9 @@ if (!function_exists('fax_split_dtmf')) { $fax_name = str_replace("=", "_", $fax_name); $attachment_file_name = $_files['name'][$index]; - rename($dir_fax_temp.'/'.$attachment_file_name, $dir_fax_temp.'/'.$fax_name.'.'.$fax_file_extension); + if ($attachment_file_name != $fax_name.'.'.$fax_file_extension) { + rename($dir_fax_temp.'/'.$attachment_file_name, $dir_fax_temp.'/'.$fax_name.'.'.$fax_file_extension); + } unset($attachment_file_name); if (!$included) { @@ -660,41 +662,14 @@ if (!function_exists('fax_split_dtmf')) { @unlink($tif_file); } - //generate pdf (a work around, as tiff2pdf was improperly inverting the colors) + //generate pdf from tif $cmd = 'tiff2pdf -u i -p '.$fax_page_size. ' -w '.$page_width. ' -l '.$page_height. ' -f -o '. correct_path($dir_fax_temp.'/'.$fax_instance_uuid.'.pdf').' '. correct_path($dir_fax_temp.'/'.$fax_instance_uuid.'.tif'); - // echo($cmd . "
\n"); exec($cmd); - - chdir($dir_fax_temp); - - //$cmd = gs_cmd("-q -sDEVICE=psmono -r".$gs_r." -g".$gs_g." -dNOPAUSE -dBATCH -dSAFER -sOutputFile=".correct_path($fax_instance_uuid).".pdf -- ".correct_path($fax_instance_uuid).".pdf -c quit"); - // echo($cmd . "
\n"); - //exec($cmd); - - //convert pdf to tif - $cmd = gs_cmd('-q -sDEVICE=tiffg32d -r'.$gs_r.' -g'.$gs_g.' -dBATCH -dPDFFitPage -dNOPAUSE -sOutputFile='. - correct_path($fax_instance_uuid.'_temp.tif'). - ' -- '.$fax_instance_uuid.'.pdf -c quit'); - // echo($cmd . "
\n"); - exec($cmd); - - @unlink($dir_fax_temp.'/'.$fax_instance_uuid.".pdf"); - - $cmd = 'tiff2pdf -u i -p '.$fax_page_size. - ' -w '.$page_width. - ' -l '.$page_height. - ' -f -o '. - correct_path($dir_fax_temp.'/'.$fax_instance_uuid.'.pdf').' '. - correct_path($dir_fax_temp.'/'.$fax_instance_uuid.'_temp.tif'); - // echo($cmd . "
\n"); - exec($cmd); - - @unlink($dir_fax_temp.'/'.$fax_instance_uuid."_temp.tif"); } else { if (!$included) { From e433384190f20582a963f61d58067484da927783 Mon Sep 17 00:00:00 2001 From: Mark J Crane Date: Fri, 6 Nov 2020 12:39:09 -0700 Subject: [PATCH 167/677] Add Yealink t53 --- .../provision/yealink/t53/directory.xml | 83 + .../yealink/t53/favorite_setting.xml | 8 + .../provision/yealink/t53/y000000000000.boot | 7 + .../provision/yealink/t53/y000000000095.cfg | 1971 ++++++ .../provision/yealink/t53/{$mac}.cfg | 5318 +++++++++++++++++ 5 files changed, 7387 insertions(+) create mode 100644 resources/templates/provision/yealink/t53/directory.xml create mode 100644 resources/templates/provision/yealink/t53/favorite_setting.xml create mode 100644 resources/templates/provision/yealink/t53/y000000000000.boot create mode 100644 resources/templates/provision/yealink/t53/y000000000095.cfg create mode 100644 resources/templates/provision/yealink/t53/{$mac}.cfg diff --git a/resources/templates/provision/yealink/t53/directory.xml b/resources/templates/provision/yealink/t53/directory.xml new file mode 100644 index 0000000000..297b9e4108 --- /dev/null +++ b/resources/templates/provision/yealink/t53/directory.xml @@ -0,0 +1,83 @@ + +{foreach $contacts as $row} +{if $smarty.get.contacts == "users" && $row.category == "users"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} +{$row.effective_caller_id_name} +{/if} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} + +{elseif $smarty.get.contacts == "groups" && $row.category == "groups"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} + {$row.effective_caller_id_name} +{/if} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} + +{elseif $smarty.get.contacts == "extensions" && $row.category == "extensions"} + +{if $row.contact_name_given != ""} + {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.effective_caller_id_name} +{/if} +{if $row.phone_number != ""} + {$row.phone_number} +{else} + {$row.phone_extension} +{/if} + +{elseif $smarty.get.contacts == "all"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} + {$row.effective_caller_id_name} +{/if} +{if $row.category == "extensions"} +{if $row.phone_number != ""} + {$row.phone_number} +{else} + {$row.phone_extension} +{/if} +{else} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} +{/if} + +{/if} +{/foreach} + diff --git a/resources/templates/provision/yealink/t53/favorite_setting.xml b/resources/templates/provision/yealink/t53/favorite_setting.xml new file mode 100644 index 0000000000..ba7275358e --- /dev/null +++ b/resources/templates/provision/yealink/t53/favorite_setting.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/resources/templates/provision/yealink/t53/y000000000000.boot b/resources/templates/provision/yealink/t53/y000000000000.boot new file mode 100644 index 0000000000..0e9e03d6b5 --- /dev/null +++ b/resources/templates/provision/yealink/t53/y000000000000.boot @@ -0,0 +1,7 @@ +#!version:1.0.0.1 +## The header above must appear as-is in the first line + +include:config "y000000000095.cfg" +include:config "{$mac}.cfg" + +overwrite_mode = {$yealink_overwrite_mode} diff --git a/resources/templates/provision/yealink/t53/y000000000095.cfg b/resources/templates/provision/yealink/t53/y000000000095.cfg new file mode 100644 index 0000000000..a576003307 --- /dev/null +++ b/resources/templates/provision/yealink/t53/y000000000095.cfg @@ -0,0 +1,1971 @@ +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## + +####################################################################################### +## Network CDP ## +####################################################################################### +static.network.cdp.enable = {$yealink_cdp_enable} +static.network.cdp.packet_interval = {$yealink_cdp_packet_interval} + + + +####################################################################################### +## Network IPv6 ## +####################################################################################### +static.network.ipv6_static_dns_enable = +static.network.ipv6_icmp_v6.enable = +static.network.ipv6_secondary_dns = +static.network.ipv6_primary_dns = +static.network.ipv6_internet_port.gateway = +static.network.ipv6_internet_port.ip = +static.network.ipv6_internet_port.type = +static.network.ipv6_prefix = + +####################################################################################### +## Network WiFi ## +####################################################################################### +##static.wifi.X.label= +##static.wifi.X.ssid= +##static.wifi.X.priority= +##static.wifi.X.security_mode= +##static.wifi.X.cipher_type= +##static.wifi.X.password= +##static.wifi.X.eap_type= +##static.wifi.X.eap_user_name= +##static.wifi.x.eap_password= +##(X ranges from 1 to 5) +##Only T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G Models support these parameters. + +static.wifi.enable = {$yealink_wifi_enable} +static.wifi.1.label = {$yealink_wifi_1_label} +static.wifi.1.ssid = {$yealink_wifi_1_ssid} +static.wifi.1.priority = {$yealink_wifi_1_priority} +static.wifi.1.security_mode = {$yealink_wifi_1_security} +static.wifi.1.cipher_type = {$yealink_wifi_1_cipher} +static.wifi.1.password = {$yealink_wifi_1_password} +static.wifi.1.eap_type = {$yealink_wifi_1_type} +static.wifi.1.eap_user_name = {$yealink_wifi_1_username} +static.wifi.1.eap_password = {$yealink_wifi_1_password} +static.wifi.show_scan_prompt = {$yealink_wifi_scan_prompt} + + +##V83 Add +static.wifi.function.enable = + +####################################################################################### +## Network Internet ## +####################################################################################### +static.network.ip_address_mode = {$yealink_ip_address_mode} +static.network.span_to_pc_port = +static.network.vlan.pc_port_mode = +{if isset($dns_server_primary)}static.network.static_dns_enable = 1{else}static.network.static_dns_enable = 0{/if} +static.network.pc_port.enable = 1 +static.network.primary_dns = {$dns_server_primary} +static.network.secondary_dns = {$dns_server_secondary} +static.network.internet_port.gateway = +static.network.internet_port.mask = +static.network.internet_port.ip = +static.network.internet_port.type = + +##V83 Add +static.network.preference = + + +####################################################################################### +## Network Advanced ## +####################################################################################### +static.network.dhcp_host_name = +static.network.dhcp.option60type = +static.network.mtu_value = +static.network.qos.audiotos = +static.network.port.min_rtpport = +static.network.port.max_rtpport = +static.network.qos.signaltos = + +static.wui.http_enable = +static.wui.https_enable = +static.network.port.https = +static.network.port.http = + +static.network.pc_port.speed_duplex = +static.network.internet_port.speed_duplex = + +##V83 Add +static.network.redundancy.mode = +static.network.redundancy.failback.timeout = + + + +####################################################################################### +## Network LLDP ## +####################################################################################### +static.network.lldp.enable = {$yealink_lldp_enable} +static.network.lldp.packet_interval = {$yealink_lldp_packet_interval} + + + + +####################################################################################### +## Network VLAN ## +####################################################################################### +static.network.vlan.dhcp_enable = +static.network.vlan.dhcp_option = +static.network.vlan.vlan_change.enable = + +static.network.vlan.pc_port_priority = {$yealink_vlan_pc_cos} +static.network.vlan.pc_port_vid = {$yealink_vlan_pc_id} +static.network.vlan.pc_port_enable = + +static.network.vlan.internet_port_priority = {$yealink_vlan_cos} +static.network.vlan.internet_port_vid = {$yealink_vlan_id} +{if isset($yealink_vlan_enable)}static.network.vlan.internet_port_enable = {$yealink_vlan_enable}{else}static.network.vlan.internet_port_enable = 0{/if} + + + +####################################################################################### +## Network VPN ## +####################################################################################### +static.network.vpn_enable = {$yealink_network_vpn_enable} +static.openvpn.url = {$yealink_openvpn_url} + + + +####################################################################################### +## Network 802.1x ## +####################################################################################### +static.network.802_1x.mode = +static.network.802_1x.identity = +static.network.802_1x.md5_password = +static.network.802_1x.client_cert_url = +static.network.802_1x.root_cert_url = +static.network.802_1x.eap_fast_provision_mode = +static.network.802_1x.anonymous_identity = +static.network.802_1x.proxy_eap_logoff.enable = + + +static.auto_provision.custom.protect = +static.auto_provision.custom.sync = +static.auto_provision.custom.sync.path = +static.auto_provision.custom.upload_method = + + + + +####################################################################################### +## ZERO Touch ## +####################################################################################### +static.zero_touch.enable = {$yealink_zero_touch_enable} +static.zero_touch.wait_time = {$yealink_zero_touch_wait_time} +static.features.hide_zero_touch_url.enable = {$yealink_zero_touch_hide} +static.zero_touch.network_fail_delay_times = {$yealink_zero_touch_delay} +static.zero_touch.network_fail_wait_times = {$yealink_zero_touch_wait} + + +####################################################################################### +## Autop URL ## +####################################################################################### +static.auto_provision.server.url = {$yealink_provision_url} +static.auto_provision.server.username = {$http_auth_username} +static.auto_provision.server.password = {$http_auth_password} + + +####################################################################################### +## Autop Weekly ## +####################################################################################### +static.auto_provision.weekly.enable = {$yealink_autop_weekly_enable} +static.auto_provision.weekly.dayofweek = {$yealink_autop_weekly_dayofweek} +static.auto_provision.weekly.end_time = {$yealink_autop_weekly_end_time} +static.auto_provision.weekly.begin_time = {$yealink_autop_weekly_begin_time} +static.auto_provision.weekly_upgrade_interval = {$yealink_autop_weekly_interval} + +####################################################################################### +## Autop Repeat ## +####################################################################################### +static.auto_provision.repeat.enable = {$yealink_autop_repeat_enable} +static.auto_provision.repeat.minutes = {$yealink_autop_repeat_minutes} + + +####################################################################################### +## Autop DHCP ## +####################################################################################### +static.auto_provision.dhcp_option.list_user_options = +static.auto_provision.dhcp_option.enable = + +##V83 Add +static.auto_provision.dhcp_option.list_user6_options = + +####################################################################################### +## Autop Mode ## +####################################################################################### +static.auto_provision.power_on = {$yealink_autop_power_on} + + + +####################################################################################### +## Flexible Autop ## +####################################################################################### +static.auto_provision.flexible.end_time = +static.auto_provision.flexible.begin_time = +static.auto_provision.flexible.interval = +static.auto_provision.flexible.enable = + +####################################################################################### +## Autoprovision Other ## +####################################################################################### +static.auto_provision.prompt.enable = +static.auto_provision.attempt_expired_time = +static.auto_provision.attempt_before_failed = +static.network.attempt_expired_time = +static.auto_provision.update_file_mode = +static.auto_provision.retry_delay_after_file_transfer_failed= +static.auto_provision.inactivity_time_expire = +static.auto_provision.dns_resolv_timeout = +static.auto_provision.dns_resolv_nretry = +static.auto_provision.dns_resolv_nosys = +static.auto_provision.user_agent_mac.enable = +static.auto_provision.server.type = +features.action_uri_force_autop = +static.auto_provision.url_wildcard.pn = +static.auto_provision.reboot_force.enable = +static.auto_provision.dhcp_option.option60_value = +static.custom_mac_cfg.url = +static.auto_provision.aes_key_in_file = +static.auto_provision.aes_key_16.mac = +static.auto_provision.aes_key_16.com = +features.custom_version_info = +##V83 Add +static.auto_provision.authentication.expired_time = +static.auto_provision.connect.keep_alive = + +##V84 Add +static.auto_provision.config_version.mac= +static.auto_provision.config_version.com= + + +####################################################################################### +## Autop PNP ## +####################################################################################### +static.auto_provision.pnp_enable = {$yealink_autop_pnp} + + + +####################################################################################### +## Autop Code ## +####################################################################################### +##static.autoprovision.X.name +##static.autoprovision.X.code +##static.autoprovision.X.url +##static.autoprovision.X.user +##static.autoprovision.X.password +##static.autoprovision.X.com_aes +##static.autoprovision.X.mac_aes +##Autop Code(X ranges from 1 to 50) + +static.autoprovision.1.name = +static.autoprovision.1.code = +static.autoprovision.1.url = +static.autoprovision.1.user = +static.autoprovision.1.password = +static.autoprovision.1.com_aes = +static.autoprovision.1.mac_aes = + + + +####################################################################################### +## TR069 ## +####################################################################################### + +static.managementserver.enable = +static.managementserver.username = +static.managementserver.password = +static.managementserver.url = +static.managementserver.periodic_inform_enable = +static.managementserver.periodic_inform_interval = +static.managementserver.connection_request_password = +static.managementserver.connection_request_username = + + + +####################################################################################### +## Firmware Update ## +####################################################################################### +static.firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t53w} + + +####################################################################################### +## Confguration ## +####################################################################################### +features.reset_by_long_press_enable = +features.factory_pwd_enable = +static.configuration.url = +static.features.custom_factory_config.enable = +static.custom_factory_configuration.url = + + +####################################################################################### +## SYSLOG ## +####################################################################################### +static.syslog.enable = +static.syslog.server = +static.syslog.level = +static.syslog.server_port = +static.syslog.transport_type = +static.syslog.facility = +static.syslog.prepend_mac_address.enable = +static.local_log.enable = +static.local_log.level = +static.local_log.max_file_size = + + + +####################################################################################### +## Log Backup ## +####################################################################################### +static.auto_provision.local_log.backup.enable = +static.auto_provision.local_log.backup.path = +static.auto_provision.local_log.backup.upload_period = +static.auto_provision.local_log.backup.append = +static.auto_provision.local_log.backup.bootlog.upload_wait_time= +static.auto_provision.local_log.backup.append.max_file_size = +static.auto_provision.local_log.backup.append.limit_mode= + + + +####################################################################################### +## User Mode ## +####################################################################################### +static.security.var_enable = +static.web_item_level.url = + + +####################################################################################### +## Quick Login ## +####################################################################################### +wui.quick_login = + + +####################################################################################### +## Security ## +####################################################################################### +static.phone_setting.reserve_certs_enable = +features.relog_offtime = +static.security.default_ssl_method = {$yealink_security_default_ssl_method} +static.security.cn_validation = +static.security.dev_cert = +static.security.ca_cert = + +static.security.trust_certificates = {if $yealink_trust_certificates == "false"}0{elseif $yealink_trust_certificates == "true"}1{/if} + +security.tls_cipher_list = {$yealink_security_tls_cipher_list} + +{if isset($user_name) } +static.security.user_name.user = {$user_name} +static.security.user_password = {$user_name}:{$user_password} +{/if} + +{if isset($admin_name) } +static.security.user_name.admin = {$admin_name} +static.security.user_password = {$admin_name}:{$admin_password} +{/if} + +{if isset($var_name) } +static.security.user_name.var = {$var_name} +static.security.user_password = {$var_name}:{$var_password} +{/if} + + +##V83 Add +static.security.default_access_level = +phone_setting.reserve_certs_config.enable = + + +####################################################################################### +## Watch Dog ## +####################################################################################### +static.watch_dog.enable = + +####################################################################################### +## Server Certificates ## +####################################################################################### +static.server_certificates.url = +static.server_certificates.delete = + +####################################################################################### +## Trusted Certificates ## +####################################################################################### +static.trusted_certificates.url = +static.trusted_certificates.delete = + + + +####################################################################################### +## Secure Domain List ## +####################################################################################### +wui.secure_domain_list = + + +####################################################################################### +## Encryption ## +####################################################################################### +static.auto_provision.encryption.directory = +static.auto_provision.encryption.call_log = +static.auto_provision.encryption.config = + + + + +####################################################################################### +## Trnasfer ## +####################################################################################### +features.transfer_type= {$yealink_transfer_type} +dialplan.transfer.mode = {$yealink_transfer_mode} +transfer.on_hook_trans_enable = {$yealink_transfer_onhook} +transfer.tran_others_after_conf_enable = {$yealink_transfer_after_conf} +transfer.blind_tran_on_hook_enable = {$yealink_transfer_blind_on_hook} +transfer.semi_attend_tran_enable = {$yealink_transfer_semi_attended} +phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +features.conference.with_previous_call.enable = +features.local_conf.combine_with_one_press.enable= +phone_setting.call_appearance.conference_via_new_linekey= + + + +####################################################################################### +## Anonymous ## +####################################################################################### +features.anonymous_response_code= + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +phone_setting.incoming_call_when_dialing.priority= +phone_setting.hold_or_swap.mode= +features.play_held_tone.interval= +features.play_held_tone.delay= +features.play_held_tone.enable= +features.play_hold_tone.interval= +features.ignore_incoming_call.enable= +force.voice.ring_vol= +features.mute.autoanswer_mute.enable= +features.play_hold_tone.delay = +phone_setting.end_call_net_disconnect.enable = +features.custom_auto_answer_tone.enable= +default_input_method.dialing= +features.speaker_mode.enable= +features.headset_mode.enable= +features.handset_mode.enable= +features.conference.local.enable = +features.off_hook_answer.enable= +features.caller_name_type_on_dialing= +phone_setting.show_code403= +phone_setting.ring_for_tranfailed= +features.password_dial.length= +features.password_dial.prefix= +features.password_dial.enable= +features.group_listen_in_talking_enable= +phone_setting.call_info_display_method= +phone_setting.called_party_info_display.enable = +features.headset_training= +features.headset_prior= +features.dtmf.replace_tran = +features.dtmf.transfer = +phone_setting.ringing_timeout= +phone_setting.ringback_timeout= + +features.keep_mute.enable= +linekey.1.shortlabel= +features.config_dsskey_length.shorten = +transfer.dsskey_deal_type = {$yealink_dsskey_transfer_mode} +features.auto_linekeys.enable= +phone_setting.call_appearance.calls_per_linekey= +features.linekey_call_with_default_account= +##V83 Add +features.station_name.value = +features.station_name.scrolling_display = +voice.headset.autoreset_spk_vol = +voice.handset.autoreset_spk_vol = +voice.handfree.autoreset_spk_vol = +features.headset.ctrl_call.enable = +phone_setting.incoming_call.reject.enable = + +features.play_mute_tone.enable= +features.play_mute_tone.interval= + +features.call_out_directory_by_off_hook.enable= +features.congestion_tone.codelist= + + +##V84 Add +phone_setting.icon.delete= +phone_setting.icon.url= + + + +####################################################################################### +## Custom Softkey ## +####################################################################################### +phone_setting.custom_softkey_enable= +custom_softkey_talking.url= +custom_softkey_ring_back.url= +custom_softkey_dialing.url= +custom_softkey_connecting.url= +custom_softkey_call_in.url= +custom_softkey_call_failed.url= + +##V83 Add +features.homescreen_softkey.acd.enable = +features.homescreen_softkey.hoteling.enable = +phone_setting.custom_softkey.apply_to_states = +features.custom_softkey_dynamic.enable = + + +####################################################################################### +## Features Bluetooth ## +####################################################################################### +##Only T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G Models support the parameter. +features.bluetooth_enable= {$yealink_bluetooth_enable} +features.bluetooth_adapter_name= {$yealink_bluetooth_name} + +##V84 Add +bluetooth.a2dp_sink= +bluetooth.connect_confirm.enable= + +####################################################################################### +## Features USB Record ## +####################################################################################### +##Only T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G Models support the parameter. +features.usb_call_recording.enable = {$yealink_usb_record_enable} + +features.idle_recording.enable= + +####################################################################################### +## Features USB ## +####################################################################################### +##V83 Add +static.usb.power.enable = + +##V84 Add +static.usbdisk.function.enable= + +####################################################################################### +## Codec ## +####################################################################################### +voice.g726.aal2.enable= + + +####################################################################################### +## DTMF ## +####################################################################################### +features.dtmf.min_interval= +features.dtmf.volume= +features.dtmf.duration = + +####################################################################################### +## Tones ## +####################################################################################### +voice.tone.autoanswer = +voice.tone.message = +voice.tone.stutter = +voice.tone.info = +voice.tone.dialrecall = +voice.tone.callwaiting = +voice.tone.congestion = +voice.tone.busy = +voice.tone.ring = +voice.tone.dial = +voice.tone.country = +voice.side_tone = +features.partition_tone = +voice.tone.secondary_dial= +####################################################################################### +## Tones ## +####################################################################################### + +voice.tone.stutterdial= +voice.tone.stutter_dial_tone.apply_to_dnd.enable= +voice.tone.stutter_dial_tone.apply_to_fwd.enable= +voice.tone.stutter_dial_tone.apply_to_fwd.enable= + +####################################################################################### +## Jitter Buffer ## +####################################################################################### +voice.jib.normal= {$yealink_jib_normal} +voice.jib.max = {$yealink_jib_max} +voice.jib.min = {$yealink_jib_min} +voice.jib.adaptive = {$yealink_jib_adaptive} + +voice.jib.wifi.normal= {$yealink_jib_wifi_normal} +voice.jib.wifi.max= {$yealink_jib_wifi_max} +voice.jib.wifi.min= {$yealink_jib_wifi_min} +voice.jib.wifi.adaptive= {$yealink_jib_wifi_adaptive} + + +####################################################################################### +## Echo Cancellation ## +####################################################################################### +voice.echo_cancellation = {$yealink_echo_cancellation} +voice.cng = {$yealink_cng} +voice.vad = {$yealink_vad} + + +##V84 Add +voice.ans_nb.enable= +voice.tns.enable= + +################################################################ +# SIP Backup Server ## +################################################################ +static.network.dns.ttl_enable = +static.network.dns.last_cache_expired.enable= +static.network.dns.last_cache_expired +static.network.dns.query_timeout = +static.network.dns.retry_times = +sip.dns_transport_type= +sip.skip_redundant_failover_addr= + + +################################################################ +# SIP Basic Config ## +################################################################ +sip.use_out_bound_in_dialog= +sip.unreg_with_socket_close= +phone_setting.disable_account_without_username.enable= +features.auto_answer.first_call_only= + +##V84 Add +phone_setting.call_display_name.mode= + +################################################################ +# SIP Advanced config ## +################################################################ +sip.request_validation.event= +sip.sdp_early_answer_or_offer= +sip.cid_source.preference= +sip.request_validation.digest.realm= +sip.request_validation.digest.list= +sip.request_validation.source.list= +sip.send_keepalive_by_socket= +sip.reliable_protocol.timerae.enable= +sip.requesturi.e164.addglobalprefix= +sip.trust_ctrl = {$yealink_trust_ctrl} +sip.mac_in_ua= + +sip.timer_t1= +sip.timer_t2= +sip.timer_t4= + +sip.listen_mode= {if isset($yealink_sip_listen_port)}sip.listen_port = {$yealink_sip_listen_port}{else}sip.listen_port = 5060{/if} + +sip.listen_port= +sip.tls_listen_port= +sip.tcp_port_random_mode= +sip.escape_characters.enable= +sip.notify_reboot_enable= +sip.send_response_by_request= +sip.disp_incall_to_info= +features.call_invite_format= +phone_setting.early_media.rtp_sniffer.timeout= +sip.reg_surge_prevention = + +################################################################ +# V84 new add ÅäºÏsip.escape_characters.enable=ʹÓà ## +################################################################ +sip.reserve_characters= +sip.call_fail_use_reason.enable = {$yealink_sip_call_fail_use_reason_enable} + +##V83 Add +sip.dhcp.option120.mode = + +################################################################ +# NAT&ICE ## +################################################################ +static.sip.nat_turn.enable= +static.sip.nat_turn.username= +static.sip.nat_turn.password= +static.sip.nat_turn.server= +static.sip.nat_turn.port= + +static.sip.nat_stun.enable= +static.sip.nat_stun.server= +static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} + + + + +static.ice.enable= +static.network.static_nat.enable= {if isset($yealink_static_nat)}1{else}0{/if} +static.network.static_nat.addr= {$yealink_static_nat} + +####################################################################################### +## DNS ## +####################################################################################### +dns_cache_a.1.name = +dns_cache_a.1.ip = +dns_cache_a.1.ttl = +dns_cache_srv.1.name = +dns_cache_srv.1.port = +dns_cache_srv.1.priority = +dns_cache_srv.1.target = +dns_cache_srv.1.weight = +dns_cache_srv.1.ttl = +dns_cache_naptr.1.name = +dns_cache_naptr.1.order = +dns_cache_naptr.1.preference = +dns_cache_naptr.1.replace = +dns_cache_naptr.1.service = +dns_cache_naptr.1.ttl = + +####################################################################################### +## RTP ## +####################################################################################### +features.rtp_symmetric.enable= + + +####################################################################################### +## RTCP-XR ## +####################################################################################### +voice.rtcp.enable= {$yealink_rtcp_enable} +voice.rtcp_cname= {$yealink_rtcp_cname} +voice.rtcp_xr.enable= {$yealink_rtcpxr_enable} +phone_setting.vq_rtcpxr_display_symm_oneway_delay.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_round_trip_delay.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_moscq.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_moslq.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_packets_lost.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_jitter_buffer_max.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_jitter.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_remote_codec.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_local_codec.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_remote_call_id.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_local_call_id.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_stop_time.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_start_time.enable= {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_interval_period= {$yealink_rtcpxr_interval} +phone_setting.vq_rtcpxr_delay_threshold_critical= {$yealink_rtcpxr_delay_threshold_critical} +phone_setting.vq_rtcpxr_delay_threshold_warning= {$yealink_rtcpxr_delay_threshold_warning} +phone_setting.vq_rtcpxr_moslq_threshold_critical= {$yealink_rtcpxr_mos_threshold_critical} +phone_setting.vq_rtcpxr_moslq_threshold_warning= {$yealink_rtcpxr_mos_threshold_warning} +phone_setting.vq_rtcpxr.interval_report.enable= {$yealink_rtcpxr_interval_report_enable} +phone_setting.vq_rtcpxr.states_show_on_gui.enable= {$yealink_rtcpxr_show_gui_enable} +phone_setting.vq_rtcpxr.states_show_on_web.enable= {$yealink_rtcpxr_show_web_enable} +phone_setting.vq_rtcpxr.session_report.enable= {$yealink_rtcpxr_report_enable} + + +####################################################################################### +## Contact ## +####################################################################################### +static.directory_setting.url= https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=favorite_setting.xml + +super_search.url= + +local_contact.data.url= +local_contact.data.delete= + +##Only T54S/T52S/T48G/T48S/T46G/T46S/T29G Models support the parameter +phone_setting.contact_photo_display.enable= {$yealink_contact_photo_enable} + +phone_setting.incoming_call.horizontal_roll_interval= + +##Only T54S/T52S/T48G/T48S/T46G/T46S/T29G Models support the parameter +local_contact.data_photo_tar.url= +local_contact.photo.url= +local_contact.image.url= + +##Only T48G/S Models support the parameter +local_contact.icon_image.url= +local_contact.icon.url= + +search_in_dialing.local_directory.enable = +search_in_dialing.local_directory.priority = + +####################################################################################### +## Remote Phonebook ## +####################################################################################### +##remote_phonebook.data.X.url +##remote_phonebook.data.X.name +#remote_phonebook.data.X.username= +#remote_phonebook.data.X.password= +##(X ranges from 1 to 5) + +{if isset($yealink_remote_phonebook_1_name) } +remote_phonebook.data.1.name = {$yealink_remote_phonebook_1_name} +{else} +remote_phonebook.data.1.name = Users +{/if} +{if isset($yealink_remote_phonebook_1_url) } +remote_phonebook.data.1.url = {$yealink_remote_phonebook_1_url} +{else} +remote_phonebook.data.1.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=users +{/if} + +{if isset($yealink_remote_phonebook_2_name) } +remote_phonebook.data.2.name = {$yealink_remote_phonebook_2_name} +{else} +remote_phonebook.data.2.name = Groups +{/if} +{if isset($yealink_remote_phonebook_2_url) } +remote_phonebook.data.2.url = {$yealink_remote_phonebook_2_url} +{else} +remote_phonebook.data.2.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=groups +{/if} + +{if isset($yealink_remote_phonebook_3_name) } +remote_phonebook.data.3.name = {$yealink_remote_phonebook_3_name} +{else} +remote_phonebook.data.3.name = Extensions +{/if} +{if isset($yealink_remote_phonebook_3_url) } +remote_phonebook.data.3.url = {$yealink_remote_phonebook_3_url} +{else} +remote_phonebook.data.3.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=extensions +{/if} + +remote_phonebook.data.4.name = {$yealink_remote_phonebook_4_name} +remote_phonebook.data.4.url = {$yealink_remote_phonebook_4_url} + +remote_phonebook.data.5.name = {$yealink_remote_phonebook_5_name} +remote_phonebook.data.5.url = {$yealink_remote_phonebook_5_url} + + +####################################################################################### +## LDAP ## +####################################################################################### +ldap.enable = {$ldap_enable} +ldap.user = {$ldap_user} +ldap.password = {$ldap_password} +ldap.base = {$ldap_base} +ldap.port = {$ldap_port} +ldap.host = {$ldap_host} +ldap.customize_label= +ldap.incoming_call_special_search.enable= +ldap.tls_mode= +ldap.search_type= +ldap.numb_display_mode= +ldap.ldap_sort = {$ldap_sort} +ldap.call_in_lookup = {$ldap_call_in_lookup} +ldap.version = {$ldap_version} +ldap.display_name = {$ldap_display_name} +ldap.numb_attr = {$ldap_numb_attr} +ldap.name_attr = {$ldap_name_attr} +ldap.max_hits = {$ldap_max_hits} +ldap.number_filter = {$ldap_number_filter} +ldap.name_filter = {$ldap_name_filter} +ldap.call_out_lookup = {$ldap_dial_lookup} + +directory_setting.ldap.enable = +directory_setting.ldap.priority = +search_in_dialing.ldap.enable = +search_in_dialing.ldap.priority = + + + +####################################################################################### +## History ## +####################################################################################### +static.auto_provision.local_calllog.write_delay.terminated= +static.auto_provision.local_calllog.backup.path= +static.auto_provision.local_calllog.backup.enable= +super_search.recent_call= +features.call_out_history_by_off_hook.enable= +features.save_call_history= +features.call_log_show_num= +search_in_dialing.history.enable= +search_in_dialing.history.priority= +directory_setting.history.enable= +directory_setting.history.priority +features.save_init_num_to_history.enable= +features.redial_via_local_sip_server.enable= + +##V83 Add +features.calllog_detailed_information = + +##V84 Add +features.call_log_merge.enable= + + +####################################################################################### +## Contact Backup ## +####################################################################################### +static.auto_provision.local_contact.backup.path = +static.auto_provision.local_contact.backup.enable= + + +####################################################################################### +## Contact Other ## +####################################################################################### +directory.search_type= +directory_setting.local_directory.enable = +directory_setting.local_directory.priority = + +##V83 Add +phone_setting.search.highlight_keywords.enable = + +####################################################################################### +## Favorites ## +####################################################################################### +##V83 Add +local_contact.favorite.enable = +phone_setting.favorite_sequence_type = + +####################################################################################### +## Programablekey ## +####################################################################################### +#programablekey.X.type +#programablekey.X.line +#programablekey.X.value +#programablekey.X.xml_phonebook +#programablekey.X.history_type +#programablekey.X.label(X ranges from 1 to 4) +#programablekey.X.extension +##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## + +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = + +{/foreach} + +##V83 Add +programablekey.type_range.custom = + +####################################################################################### +## Linekey ## +####################################################################################### +##linekey.X.line +##linekey.X.value +##linekey.X.extension +##linekey.X.type +##linekey.X.xml_phonebook +##linekey.X.shortlabel +##linekey.X.label +##LineKeyX ranges(T48G/S: X ranges from 1 to 29. T54S/T46G/T46S/T29G: X ranges from 1 to 27. T42G/T42S/T41P/T41S: X ranges from 1 to 15. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T52S/T27P/T27G: X ranges from 1 to 21. T21(P) E2: X ranges from 1 to 2.)## +## Not support T19P_E2 + +{foreach $keys['line'] as $row} +#Configure Line Key {$row.device_key_id} +linekey.{$row.device_key_id}.line = {$row.device_key_line} +linekey.{$row.device_key_id}.value = {$row.device_key_value} +{if $row.device_key_type == "1" || $row.device_key_type == "16"} +linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension} +{else} +linekey.{$row.device_key_id}.extension = {$row.device_key_extension} +{/if} +linekey.{$row.device_key_id}.type = {$row.device_key_type} +linekey.{$row.device_key_id}.xml_phonebook = +linekey.{$row.device_key_id}.label = {$row.device_key_label} +{/foreach} + +##V83 Add +linekey.type_range.custom = + +####################################################################################### +## Dsskey ## +####################################################################################### +features.block_linekey_in_menu.enable = +features.shorten_linekey_label.enable = +features.flash_url_dsskey_led.enable = +features.config_dsskey_length = {$yealink_dsskey_length} +phone_setting.page_tip = +features.keep_switch_page_key.enable= + +##phone_setting.idle_dsskey_and_title.transparency(Only support T54S/T52S/T48G/T48S) +phone_setting.idle_dsskey_and_title.transparency= + +##V83 Add +phone_setting.keytype_sequence = +phone_setting.dsskey_label.display_method = +local.dsskey_type_config.mode = + + +####################################################################################### +## Expansion Key ## +####################################################################################### +##expansion_module.X.key.Y.type +##expansion_module.X.key.Y.line +##expansion_module.X.key.Y.value +##expansion_module.X.key.Y.extension +##expansion_module.X.key.Y.label +##expansion_module.X.key.Y.xml_phonebook +## Expansion Key X ranges(SIP-T54S/T52S: X ranges from 1 to 3, Y ranges from 1 to 60; SIP-T48G/T48S/T46G/T46S:X ranges from 1 to 6, Y ranges from 1 to 40; SIP-T29G/T27P/T27G:X ranges from 1 to 6, Y ranges from 1 to 20, 22 to 40 (Ext key 21 cannot be configured).)## +## Only SIP-T54S/T52S/T48G/T48S/T46G/T46S/T29G/T27P/T27G Models support the parameter. + +#expansion_module.1.key.1.type = +#expansion_module.1.key.1.label = +#expansion_module.1.key.1.value = +#expansion_module.1.key.1.line = +#expansion_module.1.key.1.pickup_value = +#expansion_module.1.key.1.extension = +#expansion_module.1.key.1.xml_phonebook = +#expansion_module.page_tip.blf_call_in.led = +#expansion_module.page_tip.blf_call_in.enable = + +{foreach $keys["expansion"] as $row} +expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.1.key.{$row.device_key_id}.xml_phonebook = +{/foreach} +{foreach $keys["expansion-1"] as $row} +expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.1.key.{$row.device_key_id}.xml_phonebook = +{/foreach} +{foreach $keys["expansion-2"] as $row} +expansion_module.2.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.2.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.2.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.2.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.2.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.2.key.{$row.device_key_id}.xml_phonebook = +{/foreach} + +##V83 Add +expkey.type_range.custom = + +####################################################################################### +## EDK ## +####################################################################################### +##EDK Soft Keys(X ranges from 1 to 10) + +features.enhanced_dss_keys.enable= +edk.id_mode.enable= +softkey.1.position= +softkey.1.use.dialing= +softkey.1.softkey_id= +softkey.1.use.dialtone= +softkey.1.use.conferenced= +softkey.1.use.held= +softkey.1.use.hold= +softkey.1.use.transfer_ring_back= +softkey.1.use.ring_back= +softkey.1.use.call_failed= +softkey.1.use.on_talk= +softkey.1.use.transfer_connecting= +softkey.1.use.connecting= +softkey.1.use.incoming_call= +softkey.1.use.idle= +softkey.1.action= +softkey.1.label= +softkey.1.enable= +edk.edklist.1.action= +edk.edklist.1.mname= +edk.edklist.1.enable= +edk.edkprompt.1.enable= +edk.edkprompt.1.label= +edk.edkprompt.1.type= +edk.edkprompt.1.userfeedback= + +##V84 Add +##edk.edkprompt.X.title= +(X ranges from 1 to 9) +edk.edkprompt.1.title= + + +####################################################################################### +## XML ## +####################################################################################### +push_xml.server= +push_xml.sip_notify= +push_xml.block_in_calling= +default_input_method.xml_browser_input_screen= + +##V83 Add +hoteling.authentication_mode = +push_xml.phonebook.search.delay = +features.xml_browser.loading_tip.delay = +features.xml_browser.pwd = +features.xml_browser.user_name = +push_xml.password = +push_xml.username = + + +####################################################################################### +## Forward ## +####################################################################################### +features.fwd.allow= +features.fwd_mode= +forward.no_answer.enable= +forward.busy.enable= +forward.always.enable= +forward.no_answer.timeout= +forward.no_answer.on_code= +forward.no_answer.off_code= +forward.busy.off_code= +forward.busy.on_code= +forward.always.off_code= +forward.always.on_code= +forward.no_answer.target= +forward.busy.target= +forward.always.target= + +features.forward.emergency.authorized_number= +features.forward.emergency.enable= +forward.idle_access_always_fwd.enable= +features.forward_call_popup.enable= + +##V83 Add +features.forward.no_answer.show_ring_times = + +##V84 Add +features.no_answer_code= + + +####################################################################################### +## DND ## +####################################################################################### +features.dnd.allow= +features.dnd_mode= +features.dnd.enable= + +features.dnd.off_code= *79 +features.dnd.on_code= *78 + +features.dnd.emergency_authorized_number= +features.dnd.emergency_enable= 1 +features.dnd.large_icon.enable= + +##V83 Add +features.keep_dnd.enable = + +####################################################################################### +## Phone Lock ## +####################################################################################### +phone_setting.phone_lock.enable = {$yealink_lock_enable} +phone_setting.phone_lock.lock_key_type = {$yealink_lock_key_type} +phone_setting.phone_lock.unlock_pin = {$yealink_lock_pin} +phone_setting.emergency.number = {$yealink_emergency_number} +phone_setting.phone_lock.lock_time_out = {$yealink_lock_timeout} + + +####################################################################################### +## Hotdesking ## +####################################################################################### +phone_setting.logon_wizard= +phone_setting.logon_wizard_forever_wait= + +hotdesking.startup_register_name_enable= +hotdesking.startup_username_enable= +hotdesking.startup_password_enable= +hotdesking.startup_sip_server_enable= +hotdesking.startup_outbound_enable= + +hotdesking.dsskey_register_name_enable= +hotdesking.dsskey_username_enable= +hotdesking.dsskey_password_enable= +hotdesking.dsskey_sip_server_enable= +hotdesking.dsskey_outbound_enable= + + +####################################################################################### +## Voice Mail ## +####################################################################################### +features.voice_mail_alert.enable= +features.voice_mail_popup.enable = {$yealink_voice_mail_popup_enable} +features.voice_mail_tone_enable= +features.hide_feature_access_codes.enable = {$yealink_hide_feature_access_codes_enable} +voice_mail.number.1= + + +####################################################################################### +## Text Message ## +####################################################################################### +features.text_message.enable= +features.text_message_popup.enable= + + + + + +####################################################################################### +## Audio Intercom ## +####################################################################################### +features.intercom.mode= +features.intercom.subscribe.enable= +features.intercom.led.enable= +features.intercom.feature_access_code= +features.blf.intercom_mode.enable= +features.intercom.ptt_mode.enable= + +features.redial_tone= +features.key_tone= +features.send_key_tone= + +features.intercom.allow= +features.intercom.barge= +features.intercom.tone= +features.intercom.mute= + + +voice.handset_send= +voice.handfree_send = +voice.headset_send = +features.intercom.headset_prior.enable= +features.ringer_device.is_use_headset= +features.intercom.barge_in_dialing.enable= + + + +####################################################################################### +## Feature General ## +####################################################################################### +features.ip_call.auto_answer.enable= +features.show_default_account= +features.call.dialtone_time_out= +features.missed_call_popup.enable = {$yealink_missed_call_popup_enable} +features.auto_answer_tone.enable= +features.play_hold_tone.enable= +features.key_as_send= +features.send_pound_key= +features.busy_tone_delay= +features.hotline_delay= +features.hotline_number= +features.direct_ip_call_enable = {$yealink_direct_ip_call_enable} +features.call_num_filter= +features.call_completion_enable= +features.allow_mute= +features.auto_answer_delay= +features.normal_refuse_code= +features.dnd_refuse_code= +features.upload_server= +features.dtmf.repetition= +features.dtmf.hide_delay= +features.dtmf.hide = {$yealink_dtmf_hide} +features.play_local_dtmf_tone_enable = +features.reboot_in_talk_enable = +features.fwd_diversion_enable= + +call_waiting.enable = {$yealink_call_waiting} +call_waiting.tone = {$yealink_call_waiting_tone} +call_waiting.off_code= +call_waiting.on_code= + +auto_redial.times= +auto_redial.interval= +auto_redial.enable= + +sip.rfc2543_hold = {$yealink_rfc2543_hold} +sip.use_23_as_pound= +forward.international.enable= +phone_setting.headsetkey_mode= +phone_setting.is_deal180= +phone_setting.change_183_to_180= + +##V84 Add +features.touch_tone= + +####################################################################################### +## Action URL&URI ## +####################################################################################### +features.csta_control.enable= +features.action_uri.enable= +features.action_uri_limit_ip= +features.show_action_uri_option= +action_url.call_remote_canceled= +action_url.remote_busy= +action_url.cancel_callout= +action_url.handfree= +action_url.headset= +action_url.unheld= +action_url.held= +action_url.transfer_failed= +action_url.transfer_finished= +action_url.answer_new_incoming_call= +action_url.reject_incoming_call= +action_url.forward_incoming_call= +action_url.ip_change= +action_url.idle_to_busy= +action_url.busy_to_idle= +action_url.call_terminated= +action_url.missed_call= +action_url.unmute= +action_url.mute= +action_url.unhold= +action_url.hold= +action_url.always_fwd_off = +action_url.always_fwd_on = +action_url.attended_transfer_call = +action_url.blind_transfer_call = +action_url.busy_fwd_off = +action_url.busy_fwd_on = +action_url.call_established = +action_url.call_waiting_off = +action_url.call_waiting_on = +action_url.dnd_off = +action_url.dnd_on = +action_url.incoming_call = +action_url.no_answer_fwd_off = +action_url.no_answer_fwd_on = +action_url.off_hook = +action_url.on_hook = +action_url.outgoing_call = +action_url.register_failed = +action_url.registered = +action_url.setup_autop_finish = +action_url.setup_completed = +action_url.transfer_call = +action_url.unregistered = + +##V84 Add +action_url.peripheral_information= + + + +####################################################################################### +## Power LED ## +####################################################################################### +phone_setting.hold_and_held_power_led_flash_enable= +phone_setting.mute_power_led_flash_enable= +phone_setting.talk_and_dial_power_led_enable= +phone_setting.mail_power_led_flash_enable = 1 +phone_setting.ring_power_led_flash_enable= +phone_setting.common_power_led_enable= +phone_setting.missed_call_power_led_flash.enable = {$yealink_missed_call_power_led_flash_enable} + + +####################################################################################### +## Time&Date ## +####################################################################################### +lcl.datetime.date.format = +auto_dst.url = {$yealink_auto_dst_url} +local_time.manual_time_enable = +local_time.manual_ntp_srv_prior = +local_time.time_format = {$yealink_time_format} +local_time.date_format = {$yealink_date_format} +local_time.dhcp_time = {$yealink_dhcp_time} + +local_time.summer_time = {$yealink_summer_time} +local_time.dst_time_type = {$yealink_dst_type} +local_time.start_time = {$yealink_time_zone_start_time} +local_time.end_time = {$yealink_time_zone_end_time} +local_time.offset_time = {$yealink_offset_time} +local_time.interval = {$yealink_time_update} + +local_time.ntp_server1 = {$ntp_server_primary} +local_time.ntp_server2 = {$ntp_server_secondary} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} + + +####################################################################################### +## Multicast Paging ## +####################################################################################### +##multicast.listen_address.X.label +##multicast.paging_address.X.channel +##multicast.listen_address.X.ip_address +##multicast.paging_address.X.ip_address +##multicast.paging_address.X.label +##multicast.listen_address.X.channel +##multicast.listen_address.X.volume +##Multicast(X ranges from 1 to 31.) + +multicast.codec= + +multicast.paging_address.1.channel= +multicast.paging_address.1.label= +multicast.paging_address.1.ip_address= +multicast.receive_priority.enable= +multicast.receive_priority.priority= + +multicast.receive.use_speaker= +multicast.receive.enhance_volume= +multicast.receive.ignore_dnd.priority= + +multicast.listen_address.1.channel= +multicast.listen_address.1.label= +multicast.listen_address.1.ip_address= +multicast.listen_address.1.volume= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +##Not support T19P_E2 +static.features.default_account= + +##Logo File Format: .dob +##Resolution: SIP-T42G/T42S/T41P/T41S: <=192*64 2 gray scale;SIP-T27P/G: <=240*120 2 gray scale;SIP-T40P/T40G/T23P/T23G/T21(P) E2/T19(P) E2: <=132*64 2 gray scale## +phone_setting.lcd_logo.mode= +lcd_logo.delete= +lcd_logo.url= + +phone_setting.contrast= +phone_setting.backlight_time = {$yealink_backlight_time} +phone_setting.inactive_backlight_level = 1 +phone_setting.active_backlight_level= +phone_setting.predial_autodial = 1 + +ringtone.url= {$yealink_ringtone_url} +ringtone.delete= {$yealink_ringtone_delete} +phone_setting.ring_type= {$yealink_ring_type} +phone_setting.inter_digit_time= {$yealink_inter_digit_time} + +##Only T54S Model supports the parameter +phone_setting.idle_clock_display.enable = + +####################################################################################### +## Digitmap ## +####################################################################################### +dialplan.digitmap.enable= +dialplan.digitmap.string= +dialplan.digitmap.no_match_action= +dialplan.digitmap.interdigit_short_timer= +dialplan.digitmap.interdigit_long_timer= +dialplan.digitmap.apply_to.press_send= +dialplan.digitmap.apply_to.forward= +dialplan.digitmap.apply_to.history_dial= +dialplan.digitmap.apply_to.directory_dial= +dialplan.digitmap.apply_to.on_hook_dial= +dialplan.digitmap.active.on_hook_dialing= + +##V83 Add +dialplan.digitmap.apply_to.prefix_key = + +##V84 ADD +features.local_calllog.received.replace_rule= + + + + +####################################################################################### +## Emergency Dialplan ## +####################################################################################### +dialplan.emergency.enable= +dialplan.emergency.1.value= +dialplan.emergency.server.1.address= +dialplan.emergency.server.1.transport_type= +dialplan.emergency.server.1.port= +dialplan.emergency.1.server_priority= +dialplan.emergency.custom_asserted_id= +dialplan.emergency.asserted_id_source= +dialplan.emergency.asserted_id.sip_account= +dialplan.emergency.held.request_element.1.name= +dialplan.emergency.held.request_element.1.value= +dialplan.emergency.held.request_type= +dialplan.emergency.held.server_url= + + + +####################################################################################### +## Dialplan ## +####################################################################################### +dialplan_replace_rule.url= +dialplan.replace.line_id.1= +dialplan.replace.replace.1= +dialplan.replace.prefix.1= +phone_setting.dialnow_delay= +dialplan_dialnow.url= +dialplan.dialnow.line_id.1= + +dialplan.dialnow.rule.1 = {$yealink_dialplan_dialnow_rule_1} +dialplan.dialnow.rule.2 = {$yealink_dialplan_dialnow_rule_2} +dialplan.dialnow.rule.3 = {$yealink_dialplan_dialnow_rule_3} +dialplan.dialnow.rule.4 = {$yealink_dialplan_dialnow_rule_4} +dialplan.dialnow.rule.5 = {$yealink_dialplan_dialnow_rule_5} + +dialplan.block_out.line_id.1= +dialplan.block_out.number.1= +dialplan.area_code.line_id = +dialplan.area_code.max_len = +dialplan.area_code.min_len= +dialplan.area_code.code= + +####################################################################################### +## Rings Settings ## +####################################################################################### +distinctive_ring_tones.alert_info.1.text = {$yealink_ring_text_1} +distinctive_ring_tones.alert_info.2.text = {$yealink_ring_text_2} +distinctive_ring_tones.alert_info.3.text = {$yealink_ring_text_3} +distinctive_ring_tones.alert_info.4.text = {$yealink_ring_text_4} +distinctive_ring_tones.alert_info.5.text = {$yealink_ring_text_5} +distinctive_ring_tones.alert_info.6.text = {$yealink_ring_text_6} +distinctive_ring_tones.alert_info.7.text = {$yealink_ring_text_7} +distinctive_ring_tones.alert_info.8.text = {$yealink_ring_text_8} +distinctive_ring_tones.alert_info.9.text = {$yealink_ring_text_9} +distinctive_ring_tones.alert_info.10.text = {$yealink_ring_text_10} + +distinctive_ring_tones.alert_info.1.ringer = {$yealink_ring_file_1} +distinctive_ring_tones.alert_info.2.ringer = {$yealink_ring_file_2} +distinctive_ring_tones.alert_info.3.ringer = {$yealink_ring_file_3} +distinctive_ring_tones.alert_info.4.ringer = {$yealink_ring_file_4} +distinctive_ring_tones.alert_info.5.ringer = {$yealink_ring_file_5} +distinctive_ring_tones.alert_info.6.ringer = {$yealink_ring_file_6} +distinctive_ring_tones.alert_info.7.ringer = {$yealink_ring_file_7} +distinctive_ring_tones.alert_info.8.ringer = {$yealink_ring_file_8} +distinctive_ring_tones.alert_info.9.ringer = {$yealink_ring_file_9} +distinctive_ring_tones.alert_info.10.ringer = {$yealink_ring_file_10} + + +####################################################################################### +## IME Settings ## +####################################################################################### +directory.search_default_input_method= +directory.edit_default_input_method= +gui_input_method.url= + +##V83 Add +##Only T48G/T48S Models support the parameter +phone_setting.virtual_keyboard.enable = + +####################################################################################### +## Language Settings ## +####################################################################################### +wui_lang.url= +wui_lang_note.url= +wui_lang.delete= +gui_input_method.delete= +gui_lang.url= +gui_lang.delete= +lang.gui= +lang.wui= + + +####################################################################################### +## Screensaver ## +####################################################################################### +screensaver.type= {$yealink_screensaver_type} +screensaver.delete= {$yealink_screensaver_delete} +screensaver.upload_url= {$yealink_screensaver_upload_url} +features.blf_active_backlight.enable= +screensaver.display_clock.enable= {$yealink_screensaver_clock} +screensaver.clock_move_interval= {$yealink_screensaver_clock_interval} +screensaver.picture_change_interval= {$yealink_screensaver_pic_interval} +screensaver.wait_time= {$yealink_screensaver_wait} +screensaver.xml_browser.url= {$yealink_screensaver_xml_url} + + + +####################################################################################### +## Power Saving ## +####################################################################################### +features.power_saving.enable= {$yealink_powersave_enable} +features.power_saving.power_led_flash.on_time= {$yealink_powersave_led_on_time} +features.power_saving.power_led_flash.off_time= {$yealink_powersave_led_off_time} +features.power_saving.office_hour.monday= {$yealink_powersave_hour_mon} +features.power_saving.office_hour.tuesday= {$yealink_powersave_hour_tue} +features.power_saving.office_hour.wednesday= {$yealink_powersave_wed} +features.power_saving.office_hour.thursday= {$yealink_powersave_thu} +features.power_saving.office_hour.friday= {$yealink_powersave_fri} +features.power_saving.office_hour.saturday= {$yealink_powersave_sat} +features.power_saving.office_hour.sunday = {$yealink_powersave_sun} +features.power_saving.user_input_ext.idle_timeout= {$yealink_powersave_user_input_timeout} +features.power_saving.off_hour.idle_timeout= {$yealink_powersave_off_hour_timeout} +features.power_saving.office_hour.idle_timeout= {$yealink_powersave_office_hour_timeout} +features.power_saving.intelligent_mode= {$yealink_powersave_intelligent_mode} + + +####################################################################################### +## Backgrounds Settings ## +####################################################################################### +##File Formate: +##SIP-T54S/T52S/T48S/T48G/T46G/T46S/T29G: .jpg/.png/.bmp/.jpeg; +##Resolution: +##SIP-T48S/T48G:<=2.0 megapixels; +##for SIP-T46G/T46S/T29G: <=1.8 megapixels;SIP-T54S/T52S:<=4.2 megapixels; +##Single File Size: <=5MB +##2MB of space should bereserved for the phone + +wallpaper_upload.url = {$yealink_t53w_wallpaper} +{if isset($yealink_t53w_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t53w_wallpaper_filename} +{else} +phone_setting.backgrounds = Config:yealink_t53w_wallpaper.png +{/if} + +## phone_setting.backgrounds_with_dsskey_unfold(Only support T48G/S) +phone_setting.backgrounds_with_dsskey_unfold= {$yealink_wallpaper_dsskey_unfold} + +##expansion_module.backgrounds(Only support T54S/T52S) +expansion_module.backgrounds= {$yealink_wallpaper_expansion} + + +####################################################################################### +## BSFT Setting ## +####################################################################################### +bw.enable = + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +phone_setting.auto_blf_list_enable= +phone_setting.blf_list_sequence_type= + +blf.enhanced.parked.enable= +blf.enhanced.parked.led = +blf.enhanced.parked.talking.action = +blf.enhanced.parked.callin.action = +blf.enhanced.parked.idle.action = + +blf.enhanced.talking.enable= +blf.enhanced.talking.led= +blf.enhanced.talking.talking.action = +blf.enhanced.talking.callin.action = +blf.enhanced.talking.idle.action = + +blf.enhanced.callout.enable = +blf.enhanced.callout.led= +blf.enhanced.callout.talking.action = +blf.enhanced.callout.callin.action = +blf.enhanced.callout.idle.action = + +blf.enhanced.callin.enable = +blf.enhanced.callin.led= +blf.enhanced.callin.talking.action = +blf.enhanced.callin.callin.action= +blf.enhanced.callin.idle.action= + +blf.enhanced.idle.enable= +blf.enhanced.idle.led= +blf.enhanced.idle.talking.action= +blf.enhanced.idle.callin.action= +blf.enhanced.idle.idle.action= + +features.blf_list_version= +sip.sub_refresh_random= +sip.terminate_notify_sub_delay_time= + +features.blf_led_mode = {$yealink_blf_led_mode} +features.blf_pickup_only_send_code= + +##V84 Add +blf.enhanced.dnd.enable= +blf.enhanced.dnd.led= +blf.enhanced.hold.enable= +blf.enhanced.hold.led= + +features.blf.show_callinfo.enable= + +####################################################################################### +## SCA ## +####################################################################################### +features.auto_release_bla_line= +features.barge_in_via_username.enable= + + + +####################################################################################### +## Call Park ## +####################################################################################### +features.call_park.enable= +features.call_park.park_mode= +features.call_park.park_code= +features.call_park.park_retrieve_code= +features.call_park.direct_send.enable= +features.call_park.park_visual_notify_enable= +features.call_park.park_ring= +features.call_park.group_enable= +features.call_park.group_park_code= +sip.call_park_without_blf= +features.call_park.line_restriction.enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +acd.enable= +acd.auto_available_timer= + + + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +bw.xsi.enable= +sip.authentication_for_xsi = +default_input_method.xsi_password= + + +####################################################################################### +## Broadsoft Network Directory ## +####################################################################################### +bw.xsi.directory.enable= +bw.calllog_and_dir = +bw.xsi.call_log.enable= +bw_phonebook.custom= +bw_phonebook.enterprise_common_enable= +bw_phonebook.enterprise_common_displayname= +bw_phonebook.enterprise_enable= +bw_phonebook.enterprise_displayname= +bw_phonebook.group_common_enable= +bw_phonebook.group_common_displayname= +bw_phonebook.personal_enable= +bw_phonebook.personal_displayname= +bw_phonebook.group_enable= +bw_phonebook.group_displayname = +directory.update_time_interval= +bw.xsi.directory.alphabetized_by_lastname.enable= +directory_setting.bw_directory.enable = +directory_setting.bw_directory.priority = +search_in_dialing.bw_directory.enable = +search_in_dialing.bw_directory.priority = +##V83 Add +bw.xsi.directory.update.enable = + +####################################################################################### +## Broadsoft Network Calllog ## +####################################################################################### +##V83 Add +bw.xsi.call_log.delete.enable = +bw.xsi.call_log.multiple_accounts.enable = +phone_setting.ring_duration = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +features.pickup.direct_pickup_enable = {$yealink_direct_pickup_enable} +features.pickup.group_pickup_enable = +features.pickup.direct_pickup_code = ** +features.pickup.group_pickup_code = +features.pickup.blf_audio_enable = +features.pickup.blf_visual_enable = +features.pickup_display.method = + +##V84 Add +features.pickup.blf_audio.list= +features.pickup.blf_visual.list= + + +####################################################################################### +## Alert Info ## +####################################################################################### +features.alert_info_tone = + + +####################################################################################### +## Broadsoft Visual Voice Mail ## +####################################################################################### +bw.voice_mail.visual.enable= +voice_mail.message_key.mode= +bw.voice_mail.visual.display_videomail.enable= + + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +bw.call_recording.mode = + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +features.call_decline.enable = + + +####################################################################################### +## BLF Ring Type ## +####################################################################################### +features.blf.ring_type = {$yealink_blf_ring_type} + + + +####################################################################################### +## Features Sync ## +####################################################################################### +features.feature_key_sync.enable = {$yealink_feature_key_sync} +features.forward.feature_key_sync.local_processing.enable = +features.forward.feature_key_sync.enable = +features.dnd.feature_key_sync.local_processing.enable = +features.dnd.feature_key_sync.enable = +call_waiting.mode = + + +####################################################################################### +## Broadsoft UC ## +####################################################################################### +##Only T54S/T52S/T48G/T48S/T46G/T46S/T29G Models support the parameter +bw.xmpp.enable = +features.uc_password = +features.uc_username = +bw.xmpp.presence_icon.mode = +bw.xmpp.change_presence.force_manual.enable = +bw.xmpp.change_presence.enable = +phone_setting.dsskey_directory_auto.enable = +features.uc_dir.match_tail_number= +directory_setting.bw_uc_buddies.enable = +directory_setting.bw_uc_buddies.priority = +search_in_dialing.bw_uc_buddies.enable = +search_in_dialing.bw_uc_buddies.priority = + +##V83 Add +phone_setting.uc_favorite_sequence_type = + +####################################################################################### +## Broadsoft Emergency Call ## +####################################################################################### +##V83 Add +bw.emergency_calling.enable = + + + +####################################################################################### +## Metaswitch Setting ## +####################################################################################### +meta.enable = +meta.login_mode = +meta.comm_portal.server.username = +meta.comm_portal.server.password = +meta.comm_portal.server.url = +meta.comm_portal.enable = +meta.comm_portal.contacts.update_interval = +meta.comm_portal.acd.enable= +meta.comm_portal.replace_local_call_list.enable= +meta.comm_portal.contacts.group.mlhgs.label= +meta.comm_portal.contacts.group.extensions.label= +meta.comm_portal.contacts.group.contacts.label= +meta.comm_portal.contacts.group.mlhgs.enable= +meta.comm_portal.contacts.group.extensions.enable= +meta.comm_portal.contacts.group.contacts.enable= +meta.comm_portal.call_list.enable= +meta.comm_portal.contacts.enable= +meta.comm_portal.message.enable= +meta.comm_portal.logout.enable = +meta.comm_portal.keep_alive_interval_time = + +##V83 Add +directory_setting.meta_directory.enable= +directory_setting.meta_directory.priority= +directory_setting.meta_call_log.enable= +directory_setting.meta_call_log.priority= +search_in_dialing.meta_call_log.priority = +search_in_dialing.meta_call_log.enable = +search_in_dialing.meta_directory.priority = +search_in_dialing.meta_directory.enable = + + + +####################################################################################### +## Genbend Setting ## +####################################################################################### +gb.sopi.enable= +gb.sopi.gab.enable= +gb.sopi.pab.enable= +features.pab.soupuser= +features.pab.enable= +gb.sopi.pab.match_in_calling.enable= +gb.sopi.gab.retain_search_filter= +gb.sopi.service_url= +gb.sopi.password= +gb.sopi.username= +directory_setting.gb_gab_directory.priority = +directory_setting.gb_gab_directory.enable = +directory_setting.gb_pab_directory.enable = +directory_setting.gb_pab_directory.priority = +search_in_dialing.gb_pab_directory.priority = +search_in_dialing.gb_pab_directory.enable = + + +####################################################################################### +## Loopback Call ## +####################################################################################### +##V83 Add +sip.loopback.enable = +sip.loopback_type = +sip.pkt_loopback_mode +sip.loopback.auto_answer.mode = +sip.pkt_loopback_encapsulated_payload = +sip.pkt_loopback_directed_payload = + + +####################################################################################### +## V84 add ## +####################################################################################### +google_contact_server.enable= + +static.features.network_test.check_policy= +static.features.network_test.enable= +static.features.network_test.host= +static.features.network_test.period= +static.features.network_unavailable_test.period= + +phone_setting.warnings_display.mode= + +bw.flexible_seating.remember_password.ldap.enable= + +vcaccount.enable= + +####################################################################################### +## V84 T5XW add VPM-Acoustic Shield ## +####################################################################################### +features.acoustic_shield.level = +features.acoustic_shield.mode = + + +####################################################################################### +## V84 T5XW add × ## +####################################################################################### + +base.active_handset.number= +base.pin_code= +base.repeater_mode.enable= +base.pin_code_for_register= +base.double_pin_code.enable= + + +custom.handset.auto_answer.enable= +custom.handset.auto_intercom= +custom.handset.backlight_out_of_charger.enable= +custom.handset.backlight_in_charger.enable= +custom.handset.color_scheme= +custom.handset.confirmation_tone.enable= +custom.handset.date_format= +custom.handset.eco_mode.enable= +custom.handset.keypad_light.enable= +custom.handset.keypad_tone.enable= +custom.handset.language= +custom.handset.low_battery_tone.enable= +custom.handset.missed_call_notify_light.enable= +custom.handset.screen_saver.enable= +custom.handset.time_format= +custom.handset.voice_mail_notify_light.enable= +custom.handset.wallpaper= + + +handset.x.dial_out_default_line= +handset.x.dial_out_lines= +handset.x.hac.enable= +handset.x.incoming_lines= +handset.x.name= + + +over_the_air.base_trigger= +over_the_air.handset_tip= +over_the_air.handset_trigger= +over_the_air.url= +over_the_air.url.w52h= +over_the_air.url.w56h= + + + + +auto_provision.custom.handset.protect= +auto_provision.handset_configured.enable= +phone_setting.end_call_on_hook.enable= + +directory_setting.shared_contact.enable= +shared_contact_list.url= + diff --git a/resources/templates/provision/yealink/t53/{$mac}.cfg b/resources/templates/provision/yealink/t53/{$mac}.cfg new file mode 100644 index 0000000000..734c94d05b --- /dev/null +++ b/resources/templates/provision/yealink/t53/{$mac}.cfg @@ -0,0 +1,5318 @@ +#!version:1.0.0.1 +#{$microtime} +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T54S/T48G/T48S/T46G/T46S/T29G: X ranges from 1 to 16. T52S/T42G/T42S: X ranges from 1 to 12. T41P/T41S/T27P/T27G: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.1.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.1.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.1.anonymous_call.server_base_only = +account.1.send_anonymous_rejection_code = +account.1.anonymous_reject_offcode = +account.1.anonymous_reject_oncode = +account.1.reject_anonymous_call= +account.1.anonymous_call_offcode = +account.1.anonymous_call_oncode = +account.1.anonymous_call = +account.1.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.1.music_server_uri= +account.1.music_on_hold_type= +account.1.auto_label.rule= +account.1.auto_label.enable= +account.1.number_of_linekey= +account.1.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.1.codec.ilbc_15_2kbps.priority= 0 +account.1.codec.ilbc_15_2kbps.enable= 0 +account.1.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.1.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.1.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.1.codec.opus.priority = {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.1.codec.opus.para= + +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.1.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.1.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.1.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.1.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.1.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.1.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.1.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.1.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.1.codec.G722_1_24kpbs.priority= +account.1.codec.G722_1_24kpbs.enable= +account.1.codec.G722_1c_24kpbs.priority= +account.1.codec.G722_1c_24kpbs.enable= +account.1.codec.G722_1c_32kpbs.priority= +account.1.codec.G722_1c_32kpbs.enable= +account.1.codec.G722_1c_48kpbs.priority= +account.1.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account Register ## +################################################################ +{if isset($account.1.password) } +account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} +account.1.label = {$account.1.display_name} +account.1.display_name = {$account.1.display_name} +account.1.auth_name = {$account.1.auth_id} +account.1.password = {$account.1.password} +{if isset($account.1.server.1.address)} +account.1.user_name = {$account.1.user_id}@{$account.1.server_address} +{else} +account.1.user_name = {$account.1.user_id} +{/if} + +account.1.sip_server.1.address= {$account.1.server_address} +account.1.sip_server.1.port= {$account.1.sip_port} + + +{if $account.1.sip_transport == 'udp'}account.1.sip_server.1.transport_type = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.1.transport_type = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.1.transport_type = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.1.transport_type = 3{/if} + +account.1.sip_server.1.expires= {$account.1.register_expires} +account.1.sip_server.1.retry_counts= 3 + +account.1.sip_server.2.address= {$account.1.server.2.address} +account.1.sip_server.2.port= {$account.1.sip_port} + + +{if $account.1.sip_transport == 'udp'}account.1.sip_server.2.transport_type = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.2.transport_type = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.2.transport_type = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.2.transport_type = 3{/if} + +account.1.sip_server.2.expires= {$account.1.register_expires} +account.1.sip_server.2.retry_counts= 3 + +account.1.outbound_proxy_enable= {if isset($account.1.outbound_proxy_primary)}1{else}0{/if} + +account.1.outbound_proxy.1.address= {$account.1.outbound_proxy_primary} + +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.1.outbound_proxy.1.port = {$account.1.sip_port} +{/if} + +account.1.outbound_proxy.2.address= {$account.1.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.1.outbound_proxy.2.port = {$account.1.sip_port} +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.1.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.1.outbound_proxy_fallback_interval = 120 +{/if} + +account.1.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.1.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.1.nat.udp_update_enable= 3 +account.1.nat.udp_update_time= 30 +account.1.nat.rport= {$yealink_rport} + +account.1.dtmf.type= {$yealink_dtmf_type} +account.1.dtmf.info_type= +account.1.dtmf.dtmf_payload= +account.1.100rel_enable= {$yealink_retransmission} + +account.1.subscribe_register= +account.1.cid_source= {$yealink_cid_source} +account.1.enable_user_equal_phone= +account.1.srtp_encryption= {$yealink_srtp_encryption} +account.1.ptime= 20 +account.1.register_line= +account.1.register_mac= +account.1.reg_fail_retry_interval= +account.1.unregister_on_reboot= + +account.1.session_timer.refresher= +account.1.session_timer.expires= +account.1.session_timer.enable= {$yealink_session_timer} + +account.1.conf_type= +account.1.sip_server_type= + +##V83 Add +account.1.srtp.unencrypted_rtcp.enable = +account.1.srtp.unencrypted_rtp.enable = +account.1.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.1.outbound_proxy.1.register_on_enable= +account.1.outbound_proxy.1.failback_timeout= +account.1.outbound_proxy.1.failback_mode= +account.1.outbound_proxy.1.retry_counts= +account.1.outbound_proxy.1.only_signal_with_registered= +account.1.outbound_proxy.1.failback_subscribe.enable= +account.1.outbound_proxy.1.invite_retry_counts= + +account.1.sip_server.1.register_on_enable= 0 +account.1.sip_server.1.failback_timeout= 3600 +account.1.sip_server.1.failback_mode= 0 +account.1.sip_server.1.failback_subscribe.enable= +account.1.sip_server.1.only_signal_with_registered= +account.1.sip_server.1.invite_retry_counts= + +account.1.outbound_proxy.2.register_on_enable= +account.1.outbound_proxy.2.failback_timeout= +account.1.outbound_proxy.2.failback_mode= +account.1.outbound_proxy.2.retry_counts= +account.1.outbound_proxy.2.only_signal_with_registered= +account.1.outbound_proxy.2.failback_subscribe.enable= +account.1.outbound_proxy.2.invite_retry_counts= + +account.1.sip_server.2.register_on_enable= +account.1.sip_server.2.failback_timeout= +account.1.sip_server.2.failback_mode= +account.1.sip_server.2.failback_subscribe.enable= +account.1.sip_server.2.only_signal_with_registered= +account.1.sip_server.2.invite_retry_counts= + +account.1.static_cache_pri= +account.1.dns_cache_type= +account.1.naptr_build= +account.1.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} +account.1.fallback.redundancy_type= +account.1.reg_failed_retry_max_time= +account.1.reg_failed_retry_min_time= +account.1.redundancy_with_reg_fail.enable = + +##V83 Add +account.1.sip_server.1.outbound_proxy_enable = +account.1.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.1.contact_take_line_param= +account.1.update_ack_while_dialing= +account.1.srtp_lifetime= +account.1.third_part_request_with_route.enable= +account.1.insert_outbound_in_route.enable= +account.1.path.enable= +account.1.sub_fail_retry_interval= +account.1.transfer_refer_to_contact_header.enable= +account.1.hold_use_inactive= +account.1.gruu.enable= +account.1.dial_tone= +account.1.call_id_mode= +account.1.subscribe_expires_overlap= +account.1.register_expires_overlap= +account.1.call_info= +account.1.custom_ua= +account.1.mwi_parse_terminated= +account.1.check_cseq.enable= +account.1.check_to_tag.enable= +account.1.vq_rtcpxr.collector_server_port= +account.1.vq_rtcpxr.collector_server_host= +account.1.vq_rtcpxr.collector_name= +account.1.compact_header_enable= +account.1.cp_source= +account.1.cid_source_ppi= +account.1.cid_source_privacy= +account.1.reg_with_pani_header.enable = +account.1.alert_info= +account.1.picture_info_enable= + +##V83 Add +account.1.invite_with_pani_header.enable = + +##V84 Add +account.1.invite_with_rpid_header.enable= + +account.1.auto_answer_mute_enable + +####################################################################################### +## History ## +####################################################################################### +account.1.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.1.timeout_fwd.off_code= +account.1.timeout_fwd.on_code= +account.1.timeout_fwd.timeout= +account.1.timeout_fwd.target= +account.1.timeout_fwd.enable= +account.1.busy_fwd.off_code= +account.1.busy_fwd.on_code= +account.1.busy_fwd.target= +account.1.busy_fwd.enable= +account.1.always_fwd.off_code= +account.1.always_fwd.on_code= +account.1.always_fwd.target= +account.1.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.1.dnd.enable= +account.1.dnd.off_code= +account.1.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.1.subscribe_mwi= +account.1.subscribe_mwi_to_vm= +account.1.subscribe_mwi_expires= +account.1.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.1.auto_dial_enable= +account.1.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.1.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.1.dialplan.digitmap.enable= +account.1.dialplan.digitmap.string= +account.1.dialplan.digitmap.no_match_action= +account.1.dialplan.digitmap.interdigit_short_timer= +account.1.dialplan.digitmap.interdigit_long_timer= +account.1.dialplan.digitmap.apply_to.press_send= +account.1.dialplan.digitmap.apply_to.forward= +account.1.dialplan.digitmap.apply_to.history_dial= +account.1.dialplan.digitmap.apply_to.directory_dial= +account.1.dialplan.digitmap.apply_to.on_hook_dial= +account.1.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.1.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.1.blf.blf_list_uri= +account.1.blf_list_barge_in_code= +account.1.blf_list_code= +account.1.blf_list_retrieve_call_parked_code= +account.1.blf.subscribe_period= +account.1.blf.match_host.enable= +account.1.out_dialog_blf_enable= +account.1.blf.subscribe_event= + +##V84 Add +account.1.blf_list_call_parked_code= +account.1.blf_list_call_parked_list= + +####################################################################################### +## SCA ## +####################################################################################### +account.1.shared_line= {$shared_line_1} +account.1.line_seize.expires= +account.1.shared_line_one_touch_bargein.enable= +account.1.shared_line_one_touch_retrieve.enable= +account.1.sca_manage_interface_display_time= +account.1.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.1.bla_number= +account.1.bla_subscribe_period= +account.1.bla.notify_with_expire.enable= +account.1.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.1.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.1.acd.enable= +account.1.acd.available= +account.1.acd.unavailable_reason_enable= +account.1.acd.initial_state= +account.1.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.1.reason_code.1= +account.1.reason_code_name.1= +account.1.bw_disp_code.1= +account.1.bw_disp_code_name.1= +account.1.supervisor_info_code.1= +account.1.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.1.call_center.call_info_enable= +account.1.call_center.show_call_info_time= +account.1.call_center.disp_code_enable= +account.1.call_center.trace_enable= +account.1.call_center.emergency_enable= +account.1.call_center.queue_status_enable= +account.1.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.1.hoteling.enable= +account.1.hoteling.user_id= +account.1.hoteling.password= +account.1.hoteling.expires= +account.1.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.1.xsi.user = +account.1.xsi.password = +account.1.xsi.host = +account.1.xsi.server_type = +account.1.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.1.direct_pickup_code = +account.1.group_pickup_code = +account.1.dialoginfo_callpickup = +account.1.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.1.call_recording.enable= + +####################################################################################### +## Network Conferene ## +####################################################################################### +account.1.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.1.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.1.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.1.flexible_seating.enable= +account.1.hoteling.pin= +account.1.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.1.features.forward.feature_key_sync.local_processing.enable= +account.1.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.1.dnd.feature_key_sync.enable= +account.1.feature_key_sync.enable= +account.1.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.1.acd.available_url= +account.1.acd.away_url = +account.1.acd.refresh_url = +account.1.acd.call_information= + + +####################################################################################### +## PSTN ## +####################################################################################### +pstn.account.1.enable= +pstn.account.1.label= + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +bw.virtual_user.1.enable= +bw.virtual_user.1.label= +bw.virtual_user.1.xsi.dnd.enable= +bw.virtual_user.1.xsi.host= +bw.virtual_user.1.xsi.password= +bw.virtual_user.1.xsi.port= +bw.virtual_user.1.xsi.server_type= +bw.virtual_user.1.xsi.user= + + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.2.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.2.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.2.anonymous_call.server_base_only = +account.2.send_anonymous_rejection_code = +account.2.anonymous_reject_offcode = +account.2.anonymous_reject_oncode = +account.2.reject_anonymous_call= +account.2.anonymous_call_offcode = +account.2.anonymous_call_oncode = +account.2.anonymous_call = +account.2.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.2.music_server_uri= +account.2.music_on_hold_type= +account.2.auto_label.rule= +account.2.auto_label.enable= +account.2.number_of_linekey= +account.2.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.2.codec.ilbc_15_2kbps.priority= +account.2.codec.ilbc_15_2kbps.enable= +account.2.codec.ilbc_13_33kbps.priority= +account.2.codec.ilbc_13_33kbps.enable = +account.2.codec.pcma.enable = 1 +account.2.codec.pcma.priority = {$yealink_codec_5_priority} + +account.2.codec.pcmu.enable = 1 +account.2.codec.pcmu.priority = {$yealink_codec_4_priority} + +account.2.codec.opus.enable = 1 +account.2.codec.opus.priority = {$yealink_codec_1_priority} +account.2.codec.opus.para= +account.2.codec.g726_40.enable= +account.2.codec.g726_40.priority= +account.2.codec.g726_32.enable= +account.2.codec.g726_32.priority= +account.2.codec.g726_24.enable= +account.2.codec.g726_24.priority= +account.2.codec.g726_16.enable= +account.2.codec.g726_16.priority= +account.2.codec.g723_63.priority= +account.2.codec.g723_63.enable= +account.2.codec.g723_53.priority= +account.2.codec.g723_53.enable= +account.2.codec.g729.enable = 1 +account.2.codec.g729.priority = {$yealink_codec_3_priority} + +account.2.codec.g722.enable = 1 +account.2.codec.g722.priority = {$yealink_codec_2_priority} + +account.2.codec.G722_1_24kpbs.priority= +account.2.codec.G722_1_24kpbs.enable= +account.2.codec.G722_1c_24kpbs.priority= +account.2.codec.G722_1c_24kpbs.enable= +account.2.codec.G722_1c_32kpbs.priority= +account.2.codec.G722_1c_32kpbs.enable= +account.2.codec.G722_1c_48kpbs.priority= +account.2.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account Register ## +################################################################ +{if isset($account.2.password) } +account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} +account.2.label = {$account.2.display_name} +account.2.display_name = {$account.2.display_name} +account.2.auth_name = {$account.2.auth_id} +account.2.password = {$account.2.password} +{if isset($account.2.server.1.address)} +account.2.user_name = {$account.2.user_id}@{$account.2.server_address} +{else} +account.2.user_name = {$account.2.user_id} +{/if} + +account.2.sip_server.1.address= {$account.2.server_address} +account.2.sip_server.1.port= {$account.2.sip_port} + + +{if $account.2.sip_transport == 'udp'}account.2.sip_server.1.transport_type = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.1.transport_type = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.1.transport_type = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.1.transport_type = 3{/if} + +account.2.sip_server.1.expires= {$account.2.register_expires} +account.2.sip_server.1.retry_counts= 3 + +account.2.sip_server.2.address= {$account.2.server.2.address} +account.2.sip_server.2.port= {$account.2.sip_port} + + +{if $account.2.sip_transport == 'udp'}account.2.sip_server.2.transport_type = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.2.transport_type = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.2.transport_type = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.2.transport_type = 3{/if} + +account.2.sip_server.2.expires= {$account.2.register_expires} +account.2.sip_server.2.retry_counts= 3 + +account.2.outbound_proxy_enable= {if isset($account.2.outbound_proxy_primary)}1{else}0{/if} + +account.2.outbound_proxy.1.address= {$account.2.outbound_proxy_primary} + +{if isset($outbound_proxy_1_port)} +account.2.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.2.outbound_proxy.1.port = {$account.2.sip_port} +{/if} + +account.2.outbound_proxy.2.address= {$account.2.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.2.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.2.outbound_proxy.2.port = {$account.2.sip_port} +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.2.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.2.outbound_proxy_fallback_interval = 120 +{/if} + +account.2.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.2.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.2.nat.udp_update_enable= 3 +account.2.nat.udp_update_time= 30 +account.2.nat.rport= {$yealink_rport} + +account.2.dtmf.type= {$yealink_dtmf_type} +account.2.dtmf.info_type= +account.2.dtmf.dtmf_payload= +account.2.100rel_enable= {$yealink_retransmission} + +account.2.subscribe_register= +account.2.cid_source= {$yealink_cid_source} +account.2.enable_user_equal_phone= +account.2.srtp_encryption= {$yealink_srtp_encryption} +account.2.ptime= 20 +account.2.register_line= +account.2.register_mac= +account.2.reg_fail_retry_interval= +account.2.unregister_on_reboot= + +account.2.session_timer.refresher= +account.2.session_timer.expires= +account.2.session_timer.enable= {$yealink_session_timer} + +account.2.conf_type= +account.2.sip_server_type= + +##V83 Add +account.2.srtp.unencrypted_rtcp.enable = +account.2.srtp.unencrypted_rtp.enable = +account.2.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.2.outbound_proxy.1.register_on_enable= +account.2.outbound_proxy.1.failback_timeout= +account.2.outbound_proxy.1.failback_mode= +account.2.outbound_proxy.1.retry_counts= +account.2.outbound_proxy.1.only_signal_with_registered= +account.2.outbound_proxy.1.failback_subscribe.enable= +account.2.outbound_proxy.1.invite_retry_counts= + +account.2.sip_server.1.register_on_enable= 0 +account.2.sip_server.1.failback_timeout= 3600 +account.2.sip_server.1.failback_mode= 0 +account.2.sip_server.1.failback_subscribe.enable= +account.2.sip_server.1.only_signal_with_registered= +account.2.sip_server.1.invite_retry_counts= + +account.2.outbound_proxy.2.register_on_enable= +account.2.outbound_proxy.2.failback_timeout= +account.2.outbound_proxy.2.failback_mode= +account.2.outbound_proxy.2.retry_counts= +account.2.outbound_proxy.2.only_signal_with_registered= +account.2.outbound_proxy.2.failback_subscribe.enable= +account.2.outbound_proxy.2.invite_retry_counts= + +account.2.sip_server.2.register_on_enable= +account.2.sip_server.2.failback_timeout= +account.2.sip_server.2.failback_mode= +account.2.sip_server.2.failback_subscribe.enable= +account.2.sip_server.2.only_signal_with_registered= +account.2.sip_server.2.invite_retry_counts= + +account.2.static_cache_pri= +account.2.dns_cache_type= +account.2.naptr_build= +account.2.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} +account.2.fallback.redundancy_type= +account.2.reg_failed_retry_max_time= +account.2.reg_failed_retry_min_time= +account.2.redundancy_with_reg_fail.enable = + +##V83 Add +account.2.sip_server.1.outbound_proxy_enable = +account.2.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.2.contact_take_line_param= +account.2.update_ack_while_dialing= +account.2.srtp_lifetime= +account.2.third_part_request_with_route.enable= +account.2.insert_outbound_in_route.enable= +account.2.path.enable= +account.2.sub_fail_retry_interval= +account.2.transfer_refer_to_contact_header.enable= +account.2.hold_use_inactive= +account.2.gruu.enable= +account.2.dial_tone= +account.2.call_id_mode= +account.2.subscribe_expires_overlap= +account.2.register_expires_overlap= +account.2.call_info= +account.2.custom_ua= +account.2.mwi_parse_terminated= +account.2.check_cseq.enable= +account.2.check_to_tag.enable= +account.2.vq_rtcpxr.collector_server_port= +account.2.vq_rtcpxr.collector_server_host= +account.2.vq_rtcpxr.collector_name= +account.2.compact_header_enable= +account.2.cp_source= +account.2.cid_source_ppi= +account.2.cid_source_privacy= +account.2.reg_with_pani_header.enable = +account.2.alert_info= +account.2.picture_info_enable= + +##V83 Add +account.2.invite_with_pani_header.enable = + +##V84 Add +account.2.invite_with_rpid_header.enable= + +account.2.auto_answer_mute_enable + +####################################################################################### +## History ## +####################################################################################### +account.2.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.2.timeout_fwd.off_code= +account.2.timeout_fwd.on_code= +account.2.timeout_fwd.timeout= +account.2.timeout_fwd.target= +account.2.timeout_fwd.enable= +account.2.busy_fwd.off_code= +account.2.busy_fwd.on_code= +account.2.busy_fwd.target= +account.2.busy_fwd.enable= +account.2.always_fwd.off_code= +account.2.always_fwd.on_code= +account.2.always_fwd.target= +account.2.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.2.dnd.enable= +account.2.dnd.off_code= +account.2.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.2.subscribe_mwi= +account.2.subscribe_mwi_to_vm= +account.2.subscribe_mwi_expires= +account.2.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.2.auto_dial_enable= +account.2.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.2.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.2.dialplan.digitmap.enable= +account.2.dialplan.digitmap.string= +account.2.dialplan.digitmap.no_match_action= +account.2.dialplan.digitmap.interdigit_short_timer= +account.2.dialplan.digitmap.interdigit_long_timer= +account.2.dialplan.digitmap.apply_to.press_send= +account.2.dialplan.digitmap.apply_to.forward= +account.2.dialplan.digitmap.apply_to.history_dial= +account.2.dialplan.digitmap.apply_to.directory_dial= +account.2.dialplan.digitmap.apply_to.on_hook_dial= +account.2.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.2.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.2.blf.blf_list_uri= +account.2.blf_list_barge_in_code= +account.2.blf_list_code= +account.2.blf_list_retrieve_call_parked_code= +account.2.blf.subscribe_period= +account.2.blf.match_host.enable= +account.2.out_dialog_blf_enable= +account.2.blf.subscribe_event= + +##V84 Add +account.2.blf_list_call_parked_code= +account.2.blf_list_call_parked_list= + +####################################################################################### +## SCA ## +####################################################################################### +account.2.shared_line= {$shared_line_1} +account.2.line_seize.expires= +account.2.shared_line_one_touch_bargein.enable= +account.2.shared_line_one_touch_retrieve.enable= +account.2.sca_manage_interface_display_time= +account.2.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.2.bla_number= +account.2.bla_subscribe_period= +account.2.bla.notify_with_expire.enable= +account.2.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.2.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.2.acd.enable= +account.2.acd.available= +account.2.acd.unavailable_reason_enable= +account.2.acd.initial_state= +account.2.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.2.reason_code.1= +account.2.reason_code_name.1= +account.2.bw_disp_code.1= +account.2.bw_disp_code_name.1= +account.2.supervisor_info_code.1= +account.2.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.2.call_center.call_info_enable= +account.2.call_center.show_call_info_time= +account.2.call_center.disp_code_enable= +account.2.call_center.trace_enable= +account.2.call_center.emergency_enable= +account.2.call_center.queue_status_enable= +account.2.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.2.hoteling.enable= +account.2.hoteling.user_id= +account.2.hoteling.password= +account.2.hoteling.expires= +account.2.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.2.xsi.user = +account.2.xsi.password = +account.2.xsi.host = +account.2.xsi.server_type = +account.2.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.2.direct_pickup_code = +account.2.group_pickup_code = +account.2.dialoginfo_callpickup = +account.2.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.2.call_recording.enable= + +####################################################################################### +## Network Conferene ## +####################################################################################### +account.2.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.2.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.2.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.2.flexible_seating.enable= +account.2.hoteling.pin= +account.2.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.2.features.forward.feature_key_sync.local_processing.enable= +account.2.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.2.dnd.feature_key_sync.enable= +account.2.feature_key_sync.enable= +account.2.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.2.acd.available_url= +account.2.acd.away_url = +account.2.acd.refresh_url = +account.2.acd.call_information= + + +####################################################################################### +## PSTN ## +####################################################################################### +pstn.account.2.enable= +pstn.account.2.label= + + + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.1.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.3.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.3.anonymous_call.server_base_only = +account.3.send_anonymous_rejection_code = +account.3.anonymous_reject_offcode = +account.3.anonymous_reject_oncode = +account.3.reject_anonymous_call= +account.3.anonymous_call_offcode = +account.3.anonymous_call_oncode = +account.3.anonymous_call = +account.3.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.3.music_server_uri= +account.3.music_on_hold_type= +account.3.auto_label.rule= +account.3.auto_label.enable= +account.3.number_of_linekey= +account.3.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.3.codec.ilbc_15_2kbps.priority= +account.3.codec.ilbc_15_2kbps.enable= +account.3.codec.ilbc_13_33kbps.priority= +account.3.codec.ilbc_13_33kbps.enable = +account.3.codec.pcma.enable = 1 +account.3.codec.pcma.priority = {$yealink_codec_5_priority} + +account.3.codec.pcmu.enable = 1 +account.3.codec.pcmu.priority = {$yealink_codec_4_priority} + +account.3.codec.opus.enable = 1 +account.3.codec.opus.priority = {$yealink_codec_1_priority} +account.3.codec.opus.para= +account.3.codec.g726_40.enable= +account.3.codec.g726_40.priority= +account.3.codec.g726_32.enable= +account.3.codec.g726_32.priority= +account.3.codec.g726_24.enable= +account.3.codec.g726_24.priority= +account.3.codec.g726_16.enable= +account.3.codec.g726_16.priority= +account.3.codec.g723_63.priority= +account.3.codec.g723_63.enable= +account.3.codec.g723_53.priority= +account.3.codec.g723_53.enable= +account.3.codec.g729.enable = 1 +account.3.codec.g729.priority = {$yealink_codec_3_priority} + +account.3.codec.g722.enable = 1 +account.3.codec.g722.priority = {$yealink_codec_2_priority} + +account.3.codec.G722_1_24kpbs.priority= +account.3.codec.G722_1_24kpbs.enable= +account.3.codec.G722_1c_24kpbs.priority= +account.3.codec.G722_1c_24kpbs.enable= +account.3.codec.G722_1c_32kpbs.priority= +account.3.codec.G722_1c_32kpbs.enable= +account.3.codec.G722_1c_48kpbs.priority= +account.3.codec.G722_1c_48kpbs.enable= + + +################################################################ +# Account Register ## +################################################################ +{if isset($account.3.password) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} +account.3.label = {$account.3.display_name} +account.3.display_name = {$account.3.display_name} +account.3.auth_name = {$account.3.auth_id} +account.3.password = {$account.3.password} +{if isset($account.3.server.1.address)} +account.3.user_name = {$account.3.user_id}@{$account.3.server_address} +{else} +account.3.user_name = {$account.3.user_id} +{/if} + +account.3.sip_server.1.address= {$account.3.server_address} +account.3.sip_server.1.port= {$account.3.sip_port} + + +{if $account.3.sip_transport == 'udp'}account.3.sip_server.1.transport_type = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.1.transport_type = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.1.transport_type = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.1.transport_type = 3{/if} + +account.3.sip_server.1.expires= {$account.3.register_expires} +account.3.sip_server.1.retry_counts= 3 + +account.3.sip_server.2.address= {$account.3.server.2.address} +account.3.sip_server.2.port= {$account.3.sip_port} + + +{if $account.3.sip_transport == 'udp'}account.3.sip_server.2.transport_type = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.2.transport_type = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.2.transport_type = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.2.transport_type = 3{/if} + +account.3.sip_server.2.expires= {$account.3.register_expires} +account.3.sip_server.2.retry_counts= 3 + +account.3.outbound_proxy_enable= {if isset($account.3.outbound_proxy_primary)}1{else}0{/if} + +account.3.outbound_proxy.1.address= {$account.3.outbound_proxy_primary} + +{if isset($outbound_proxy_1_port)} +account.3.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.3.outbound_proxy.1.port = {$account.3.sip_port} +{/if} + +account.3.outbound_proxy.2.address= {$account.3.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.3.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.3.outbound_proxy.2.port = {$account.3.sip_port} +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.3.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.3.outbound_proxy_fallback_interval = 120 +{/if} + +account.3.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.3.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.3.nat.udp_update_enable= 3 +account.3.nat.udp_update_time= 30 +account.3.nat.rport= {$yealink_rport} + +account.3.dtmf.type= {$yealink_dtmf_type} +account.3.dtmf.info_type= +account.3.dtmf.dtmf_payload= +account.3.100rel_enable= {$yealink_retransmission} + +account.3.subscribe_register= +account.3.cid_source= {$yealink_cid_source} +account.3.enable_user_equal_phone= +account.3.srtp_encryption= {$yealink_srtp_encryption} +account.3.ptime= 20 +account.3.register_line= +account.3.register_mac= +account.3.reg_fail_retry_interval= +account.3.unregister_on_reboot= + +account.3.session_timer.refresher= +account.3.session_timer.expires= +account.3.session_timer.enable= {$yealink_session_timer} + +account.3.conf_type= +account.3.sip_server_type= + +##V83 Add +account.3.srtp.unencrypted_rtcp.enable = +account.3.srtp.unencrypted_rtp.enable = +account.3.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.3.outbound_proxy.1.register_on_enable= +account.3.outbound_proxy.1.failback_timeout= +account.3.outbound_proxy.1.failback_mode= +account.3.outbound_proxy.1.retry_counts= +account.3.outbound_proxy.1.only_signal_with_registered= +account.3.outbound_proxy.1.failback_subscribe.enable= +account.3.outbound_proxy.1.invite_retry_counts= + +account.3.sip_server.1.register_on_enable= 0 +account.3.sip_server.1.failback_timeout= 3600 +account.3.sip_server.1.failback_mode= 0 +account.3.sip_server.1.failback_subscribe.enable= +account.3.sip_server.1.only_signal_with_registered= +account.3.sip_server.1.invite_retry_counts= + +account.3.outbound_proxy.2.register_on_enable= +account.3.outbound_proxy.2.failback_timeout= +account.3.outbound_proxy.2.failback_mode= +account.3.outbound_proxy.2.retry_counts= +account.3.outbound_proxy.2.only_signal_with_registered= +account.3.outbound_proxy.2.failback_subscribe.enable= +account.3.outbound_proxy.2.invite_retry_counts= + +account.3.sip_server.2.register_on_enable= +account.3.sip_server.2.failback_timeout= +account.3.sip_server.2.failback_mode= +account.3.sip_server.2.failback_subscribe.enable= +account.3.sip_server.2.only_signal_with_registered= +account.3.sip_server.2.invite_retry_counts= + +account.3.static_cache_pri= +account.3.dns_cache_type= +account.3.naptr_build= +account.3.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} +account.3.fallback.redundancy_type= +account.3.reg_failed_retry_max_time= +account.3.reg_failed_retry_min_time= +account.3.redundancy_with_reg_fail.enable = + +##V83 Add +account.3.sip_server.1.outbound_proxy_enable = +account.3.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.3.contact_take_line_param= +account.3.update_ack_while_dialing= +account.3.srtp_lifetime= +account.3.third_part_request_with_route.enable= +account.3.insert_outbound_in_route.enable= +account.3.path.enable= +account.3.sub_fail_retry_interval= +account.3.transfer_refer_to_contact_header.enable= +account.3.hold_use_inactive= +account.3.gruu.enable= +account.3.dial_tone= +account.3.call_id_mode= +account.3.subscribe_expires_overlap= +account.3.register_expires_overlap= +account.3.call_info= +account.3.custom_ua= +account.3.mwi_parse_terminated= +account.3.check_cseq.enable= +account.3.check_to_tag.enable= +account.3.vq_rtcpxr.collector_server_port= +account.3.vq_rtcpxr.collector_server_host= +account.3.vq_rtcpxr.collector_name= +account.3.compact_header_enable= +account.3.cp_source= +account.3.cid_source_ppi= +account.3.cid_source_privacy= +account.3.reg_with_pani_header.enable = +account.3.alert_info= +account.3.picture_info_enable= + +##V83 Add +account.3.invite_with_pani_header.enable = + +##V84 Add +account.3.invite_with_rpid_header.enable= + +account.3.auto_answer_mute_enable + +####################################################################################### +## History ## +####################################################################################### +account.3.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.3.timeout_fwd.off_code= +account.3.timeout_fwd.on_code= +account.3.timeout_fwd.timeout= +account.3.timeout_fwd.target= +account.3.timeout_fwd.enable= +account.3.busy_fwd.off_code= +account.3.busy_fwd.on_code= +account.3.busy_fwd.target= +account.3.busy_fwd.enable= +account.3.always_fwd.off_code= +account.3.always_fwd.on_code= +account.3.always_fwd.target= +account.3.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.3.dnd.enable= +account.3.dnd.off_code= +account.3.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.3.subscribe_mwi= +account.3.subscribe_mwi_to_vm= +account.3.subscribe_mwi_expires= +account.3.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.3.auto_dial_enable= +account.3.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.3.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.3.dialplan.digitmap.enable= +account.3.dialplan.digitmap.string= +account.3.dialplan.digitmap.no_match_action= +account.3.dialplan.digitmap.interdigit_short_timer= +account.3.dialplan.digitmap.interdigit_long_timer= +account.3.dialplan.digitmap.apply_to.press_send= +account.3.dialplan.digitmap.apply_to.forward= +account.3.dialplan.digitmap.apply_to.history_dial= +account.3.dialplan.digitmap.apply_to.directory_dial= +account.3.dialplan.digitmap.apply_to.on_hook_dial= +account.3.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.3.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.3.blf.blf_list_uri= +account.3.blf_list_barge_in_code= +account.3.blf_list_code= +account.3.blf_list_retrieve_call_parked_code= +account.3.blf.subscribe_period= +account.3.blf.match_host.enable= +account.3.out_dialog_blf_enable= +account.3.blf.subscribe_event= + +##V84 Add +account.3.blf_list_call_parked_code= +account.3.blf_list_call_parked_list= + +####################################################################################### +## SCA ## +####################################################################################### +account.3.shared_line= {$shared_line_1} +account.3.line_seize.expires= +account.3.shared_line_one_touch_bargein.enable= +account.3.shared_line_one_touch_retrieve.enable= +account.3.sca_manage_interface_display_time= +account.3.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.3.bla_number= +account.3.bla_subscribe_period= +account.3.bla.notify_with_expire.enable= +account.3.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.3.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.3.acd.enable= +account.3.acd.available= +account.3.acd.unavailable_reason_enable= +account.3.acd.initial_state= +account.3.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.3.reason_code.1= +account.3.reason_code_name.1= +account.3.bw_disp_code.1= +account.3.bw_disp_code_name.1= +account.3.supervisor_info_code.1= +account.3.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.3.call_center.call_info_enable= +account.3.call_center.show_call_info_time= +account.3.call_center.disp_code_enable= +account.3.call_center.trace_enable= +account.3.call_center.emergency_enable= +account.3.call_center.queue_status_enable= +account.3.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.3.hoteling.enable= +account.3.hoteling.user_id= +account.3.hoteling.password= +account.3.hoteling.expires= +account.3.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.3.xsi.user = +account.3.xsi.password = +account.3.xsi.host = +account.3.xsi.server_type = +account.3.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.3.direct_pickup_code = +account.3.group_pickup_code = +account.3.dialoginfo_callpickup = +account.3.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.3.call_recording.enable= + +####################################################################################### +## Network Conferene ## +####################################################################################### +account.3.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.3.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.3.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.3.flexible_seating.enable= +account.3.hoteling.pin= +account.3.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.3.features.forward.feature_key_sync.local_processing.enable= +account.3.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.3.dnd.feature_key_sync.enable= +account.3.feature_key_sync.enable= +account.3.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.3.acd.available_url= +account.3.acd.away_url = +account.3.acd.refresh_url = +account.3.acd.call_information= + + +####################################################################################### +## PSTN ## +####################################################################################### +pstn.account.3.enable= +pstn.account.3.label= + + + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.4.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.4.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.4.anonymous_call.server_base_only = +account.4.send_anonymous_rejection_code = +account.4.anonymous_reject_offcode = +account.4.anonymous_reject_oncode = +account.4.reject_anonymous_call= +account.4.anonymous_call_offcode = +account.4.anonymous_call_oncode = +account.4.anonymous_call = +account.4.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.4.music_server_uri= +account.4.music_on_hold_type= +account.4.auto_label.rule= +account.4.auto_label.enable= +account.4.number_of_linekey= +account.4.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.4.codec.ilbc_15_2kbps.priority= +account.4.codec.ilbc_15_2kbps.enable= +account.4.codec.ilbc_13_33kbps.priority= +account.4.codec.ilbc_13_33kbps.enable = +account.4.codec.pcma.enable = 1 +account.4.codec.pcma.priority = {$yealink_codec_5_priority} + +account.4.codec.pcmu.enable = 1 +account.4.codec.pcmu.priority = {$yealink_codec_4_priority} + +account.4.codec.opus.enable = 1 +account.4.codec.opus.priority = {$yealink_codec_1_priority} +account.4.codec.opus.para= +account.4.codec.g726_40.enable= +account.4.codec.g726_40.priority= +account.4.codec.g726_32.enable= +account.4.codec.g726_32.priority= +account.4.codec.g726_24.enable= +account.4.codec.g726_24.priority= +account.4.codec.g726_16.enable= +account.4.codec.g726_16.priority= +account.4.codec.g723_63.priority= +account.4.codec.g723_63.enable= +account.4.codec.g723_53.priority= +account.4.codec.g723_53.enable= +account.4.codec.g729.enable = 1 +account.4.codec.g729.priority = {$yealink_codec_3_priority} + +account.4.codec.g722.enable = 1 +account.4.codec.g722.priority = {$yealink_codec_2_priority} + +account.4.codec.G722_1_24kpbs.priority= +account.4.codec.G722_1_24kpbs.enable= +account.4.codec.G722_1c_24kpbs.priority= +account.4.codec.G722_1c_24kpbs.enable= +account.4.codec.G722_1c_32kpbs.priority= +account.4.codec.G722_1c_32kpbs.enable= +account.4.codec.G722_1c_48kpbs.priority= +account.4.codec.G722_1c_48kpbs.enable= + + +################################################################ +# Account Register ## +################################################################ +{if isset($account.4.password) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} +account.4.label = {$account.4.display_name} +account.4.display_name = {$account.4.display_name} +account.4.auth_name = {$account.4.auth_id} +account.4.password = {$account.4.password} +{if isset($account.4.server.1.address)} +account.4.user_name = {$account.4.user_id}@{$account.4.server_address} +{else} +account.4.user_name = {$account.4.user_id} +{/if} + +account.4.sip_server.1.address= {$account.4.server_address} +account.4.sip_server.1.port= {$account.4.sip_port} + + +{if $account.4.sip_transport == 'udp'}account.4.sip_server.1.transport_type = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.1.transport_type = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.1.transport_type = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.1.transport_type = 3{/if} + +account.4.sip_server.1.expires= {$account.4.register_expires} +account.4.sip_server.1.retry_counts= 3 + +account.4.sip_server.2.address= {$account.4.server.2.address} +account.4.sip_server.2.port= {$account.4.sip_port} + + +{if $account.4.sip_transport == 'udp'}account.4.sip_server.2.transport_type = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.2.transport_type = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.2.transport_type = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.2.transport_type = 3{/if} + +account.4.sip_server.2.expires= {$account.4.register_expires} +account.4.sip_server.2.retry_counts= 3 + +account.4.outbound_proxy_enable= {if isset($account.4.outbound_proxy_primary)}1{else}0{/if} + +account.4.outbound_proxy.1.address= {$account.4.outbound_proxy_primary} + +{if isset($outbound_proxy_1_port)} +account.4.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.4.outbound_proxy.1.port = {$account.4.sip_port} +{/if} + +account.4.outbound_proxy.2.address= {$account.4.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.4.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.4.outbound_proxy.2.port = {$account.4.sip_port} +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.4.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.4.outbound_proxy_fallback_interval = 120 +{/if} + +account.4.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.4.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.4.nat.udp_update_enable= 3 +account.4.nat.udp_update_time= 30 +account.4.nat.rport= {$yealink_rport} + +account.4.dtmf.type= {$yealink_dtmf_type} +account.4.dtmf.info_type= +account.4.dtmf.dtmf_payload= +account.4.100rel_enable= {$yealink_retransmission} + +account.4.subscribe_register= +account.4.cid_source= {$yealink_cid_source} +account.4.enable_user_equal_phone= +account.4.srtp_encryption= {$yealink_srtp_encryption} +account.4.ptime= 20 +account.4.register_line= +account.4.register_mac= +account.4.reg_fail_retry_interval= +account.4.unregister_on_reboot= + +account.4.session_timer.refresher= +account.4.session_timer.expires= +account.4.session_timer.enable= {$yealink_session_timer} + +account.4.conf_type= +account.4.sip_server_type= + +##V83 Add +account.4.srtp.unencrypted_rtcp.enable = +account.4.srtp.unencrypted_rtp.enable = +account.4.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.4.outbound_proxy.1.register_on_enable= +account.4.outbound_proxy.1.failback_timeout= +account.4.outbound_proxy.1.failback_mode= +account.4.outbound_proxy.1.retry_counts= +account.4.outbound_proxy.1.only_signal_with_registered= +account.4.outbound_proxy.1.failback_subscribe.enable= +account.4.outbound_proxy.1.invite_retry_counts= + +account.4.sip_server.1.register_on_enable= 0 +account.4.sip_server.1.failback_timeout= 3600 +account.4.sip_server.1.failback_mode= 0 +account.4.sip_server.1.failback_subscribe.enable= +account.4.sip_server.1.only_signal_with_registered= +account.4.sip_server.1.invite_retry_counts= + +account.4.outbound_proxy.2.register_on_enable= +account.4.outbound_proxy.2.failback_timeout= +account.4.outbound_proxy.2.failback_mode= +account.4.outbound_proxy.2.retry_counts= +account.4.outbound_proxy.2.only_signal_with_registered= +account.4.outbound_proxy.2.failback_subscribe.enable= +account.4.outbound_proxy.2.invite_retry_counts= + +account.4.sip_server.2.register_on_enable= +account.4.sip_server.2.failback_timeout= +account.4.sip_server.2.failback_mode= +account.4.sip_server.2.failback_subscribe.enable= +account.4.sip_server.2.only_signal_with_registered= +account.4.sip_server.2.invite_retry_counts= + +account.4.static_cache_pri= +account.4.dns_cache_type= +account.4.naptr_build= +account.4.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} +account.4.fallback.redundancy_type= +account.4.reg_failed_retry_max_time= +account.4.reg_failed_retry_min_time= +account.4.redundancy_with_reg_fail.enable = + +##V83 Add +account.4.sip_server.1.outbound_proxy_enable = +account.4.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.4.contact_take_line_param= +account.4.update_ack_while_dialing= +account.4.srtp_lifetime= +account.4.third_part_request_with_route.enable= +account.4.insert_outbound_in_route.enable= +account.4.path.enable= +account.4.sub_fail_retry_interval= +account.4.transfer_refer_to_contact_header.enable= +account.4.hold_use_inactive= +account.4.gruu.enable= +account.4.dial_tone= +account.4.call_id_mode= +account.4.subscribe_expires_overlap= +account.4.register_expires_overlap= +account.4.call_info= +account.4.custom_ua= +account.4.mwi_parse_terminated= +account.4.check_cseq.enable= +account.4.check_to_tag.enable= +account.4.vq_rtcpxr.collector_server_port= +account.4.vq_rtcpxr.collector_server_host= +account.4.vq_rtcpxr.collector_name= +account.4.compact_header_enable= +account.4.cp_source= +account.4.cid_source_ppi= +account.4.cid_source_privacy= +account.4.reg_with_pani_header.enable = +account.4.alert_info= +account.4.picture_info_enable= + +##V83 Add +account.4.invite_with_pani_header.enable = + +##V84 Add +account.4.invite_with_rpid_header.enable= + +account.4.auto_answer_mute_enable + +####################################################################################### +## History ## +####################################################################################### +account.4.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.4.timeout_fwd.off_code= +account.4.timeout_fwd.on_code= +account.4.timeout_fwd.timeout= +account.4.timeout_fwd.target= +account.4.timeout_fwd.enable= +account.4.busy_fwd.off_code= +account.4.busy_fwd.on_code= +account.4.busy_fwd.target= +account.4.busy_fwd.enable= +account.4.always_fwd.off_code= +account.4.always_fwd.on_code= +account.4.always_fwd.target= +account.4.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.4.dnd.enable= +account.4.dnd.off_code= +account.4.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.4.subscribe_mwi= +account.4.subscribe_mwi_to_vm= +account.4.subscribe_mwi_expires= +account.4.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.4.auto_dial_enable= +account.4.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.4.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.4.dialplan.digitmap.enable= +account.4.dialplan.digitmap.string= +account.4.dialplan.digitmap.no_match_action= +account.4.dialplan.digitmap.interdigit_short_timer= +account.4.dialplan.digitmap.interdigit_long_timer= +account.4.dialplan.digitmap.apply_to.press_send= +account.4.dialplan.digitmap.apply_to.forward= +account.4.dialplan.digitmap.apply_to.history_dial= +account.4.dialplan.digitmap.apply_to.directory_dial= +account.4.dialplan.digitmap.apply_to.on_hook_dial= +account.4.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.4.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.4.blf.blf_list_uri= +account.4.blf_list_barge_in_code= +account.4.blf_list_code= +account.4.blf_list_retrieve_call_parked_code= +account.4.blf.subscribe_period= +account.4.blf.match_host.enable= +account.4.out_dialog_blf_enable= +account.4.blf.subscribe_event= + +##V84 Add +account.4.blf_list_call_parked_code= +account.4.blf_list_call_parked_list= + +####################################################################################### +## SCA ## +####################################################################################### +account.4.shared_line= {$shared_line_1} +account.4.line_seize.expires= +account.4.shared_line_one_touch_bargein.enable= +account.4.shared_line_one_touch_retrieve.enable= +account.4.sca_manage_interface_display_time= +account.4.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.4.bla_number= +account.4.bla_subscribe_period= +account.4.bla.notify_with_expire.enable= +account.4.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.4.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.4.acd.enable= +account.4.acd.available= +account.4.acd.unavailable_reason_enable= +account.4.acd.initial_state= +account.4.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.4.reason_code.1= +account.4.reason_code_name.1= +account.4.bw_disp_code.1= +account.4.bw_disp_code_name.1= +account.4.supervisor_info_code.1= +account.4.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.4.call_center.call_info_enable= +account.4.call_center.show_call_info_time= +account.4.call_center.disp_code_enable= +account.4.call_center.trace_enable= +account.4.call_center.emergency_enable= +account.4.call_center.queue_status_enable= +account.4.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.4.hoteling.enable= +account.4.hoteling.user_id= +account.4.hoteling.password= +account.4.hoteling.expires= +account.4.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.4.xsi.user = +account.4.xsi.password = +account.4.xsi.host = +account.4.xsi.server_type = +account.4.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.4.direct_pickup_code = +account.4.group_pickup_code = +account.4.dialoginfo_callpickup = +account.4.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.4.call_recording.enable= + +####################################################################################### +## Network Conferene ## +####################################################################################### +account.4.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.4.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.4.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.4.flexible_seating.enable= +account.4.hoteling.pin= +account.4.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.4.features.forward.feature_key_sync.local_processing.enable= +account.4.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.4.dnd.feature_key_sync.enable= +account.4.feature_key_sync.enable= +account.4.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.4.acd.available_url= +account.4.acd.away_url = +account.4.acd.refresh_url = +account.4.acd.call_information= + + +####################################################################################### +## PSTN ## +####################################################################################### +pstn.account.4.enable= +pstn.account.4.label= + + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.5.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.5.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.5.anonymous_call.server_base_only = +account.5.send_anonymous_rejection_code = +account.5.anonymous_reject_offcode = +account.5.anonymous_reject_oncode = +account.5.reject_anonymous_call= +account.5.anonymous_call_offcode = +account.5.anonymous_call_oncode = +account.5.anonymous_call = +account.5.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.5.music_server_uri= +account.5.music_on_hold_type= +account.5.auto_label.rule= +account.5.auto_label.enable= +account.5.number_of_linekey= +account.5.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.5.codec.ilbc_15_2kbps.priority= +account.5.codec.ilbc_15_2kbps.enable= +account.5.codec.ilbc_13_33kbps.priority= +account.5.codec.ilbc_13_33kbps.enable = +account.5.codec.pcma.enable = 1 +account.5.codec.pcma.priority = {$yealink_codec_5_priority} + +account.5.codec.pcmu.enable = 1 +account.5.codec.pcmu.priority = {$yealink_codec_4_priority} + +account.5.codec.opus.enable = 1 +account.5.codec.opus.priority = {$yealink_codec_1_priority} +account.5.codec.opus.para= +account.5.codec.g726_40.enable= +account.5.codec.g726_40.priority= +account.5.codec.g726_32.enable= +account.5.codec.g726_32.priority= +account.5.codec.g726_24.enable= +account.5.codec.g726_24.priority= +account.5.codec.g726_16.enable= +account.5.codec.g726_16.priority= +account.5.codec.g723_63.priority= +account.5.codec.g723_63.enable= +account.5.codec.g723_53.priority= +account.5.codec.g723_53.enable= +account.5.codec.g729.enable = 1 +account.5.codec.g729.priority = {$yealink_codec_3_priority} + +account.5.codec.g722.enable = 1 +account.5.codec.g722.priority = {$yealink_codec_2_priority} + +account.5.codec.G722_1_24kpbs.priority= +account.5.codec.G722_1_24kpbs.enable= +account.5.codec.G722_1c_24kpbs.priority= +account.5.codec.G722_1c_24kpbs.enable= +account.5.codec.G722_1c_32kpbs.priority= +account.5.codec.G722_1c_32kpbs.enable= +account.5.codec.G722_1c_48kpbs.priority= +account.5.codec.G722_1c_48kpbs.enable= + + +################################################################ +# Account Register ## +################################################################ +{if isset($account.5.password) } +account.5.enable = 1 +{else} +account.5.enable = 0 +{/if} +account.5.label = {$account.5.display_name} +account.5.display_name = {$account.5.display_name} +account.5.auth_name = {$account.5.auth_id} +account.5.password = {$account.5.password} +{if isset($account.5.server.1.address)} +account.5.user_name = {$account.5.user_id}@{$account.5.server_address} +{else} +account.5.user_name = {$account.5.user_id} +{/if} + +account.5.sip_server.1.address= {$account.5.server_address} +account.5.sip_server.1.port= {$account.5.sip_port} + + +{if $account.5.sip_transport == 'udp'}account.5.sip_server.1.transport_type = 0{/if} +{if $account.5.sip_transport == 'tcp'}account.5.sip_server.1.transport_type = 1{/if} +{if $account.5.sip_transport == 'tls'}account.5.sip_server.1.transport_type = 2{/if} +{if $account.5.sip_transport == 'dns srv'}account.5.sip_server.1.transport_type = 3{/if} + +account.5.sip_server.1.expires= {$account.5.register_expires} +account.5.sip_server.1.retry_counts= 3 + +account.5.sip_server.2.address= {$account.5.server.2.address} +account.5.sip_server.2.port= {$account.5.sip_port} + + +{if $account.5.sip_transport == 'udp'}account.5.sip_server.2.transport_type = 0{/if} +{if $account.5.sip_transport == 'tcp'}account.5.sip_server.2.transport_type = 1{/if} +{if $account.5.sip_transport == 'tls'}account.5.sip_server.2.transport_type = 2{/if} +{if $account.5.sip_transport == 'dns srv'}account.5.sip_server.2.transport_type = 3{/if} + +account.5.sip_server.2.expires= {$account.5.register_expires} +account.5.sip_server.2.retry_counts= 3 + +account.5.outbound_proxy_enable= {if isset($account.5.outbound_proxy_primary)}1{else}0{/if} + +account.5.outbound_proxy.1.address= {$account.5.outbound_proxy_primary} + +{if isset($outbound_proxy_1_port)} +account.5.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.5.outbound_proxy.1.port = {$account.5.sip_port} +{/if} + +account.5.outbound_proxy.2.address= {$account.5.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.5.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.5.outbound_proxy.2.port = {$account.5.sip_port} +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.5.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.5.outbound_proxy_fallback_interval = 120 +{/if} + +account.5.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.5.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.5.nat.udp_update_enable= 3 +account.5.nat.udp_update_time= 30 +account.5.nat.rport= {$yealink_rport} + +account.5.dtmf.type= {$yealink_dtmf_type} +account.5.dtmf.info_type= +account.5.dtmf.dtmf_payload= +account.5.100rel_enable= {$yealink_retransmission} + +account.5.subscribe_register= +account.5.cid_source= {$yealink_cid_source} +account.5.enable_user_equal_phone= +account.5.srtp_encryption= {$yealink_srtp_encryption} +account.5.ptime= 20 +account.5.register_line= +account.5.register_mac= +account.5.reg_fail_retry_interval= +account.5.unregister_on_reboot= + +account.5.session_timer.refresher= +account.5.session_timer.expires= +account.5.session_timer.enable= {$yealink_session_timer} + +account.5.conf_type= +account.5.sip_server_type= + +##V83 Add +account.5.srtp.unencrypted_rtcp.enable = +account.5.srtp.unencrypted_rtp.enable = +account.5.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.5.outbound_proxy.1.register_on_enable= +account.5.outbound_proxy.1.failback_timeout= +account.5.outbound_proxy.1.failback_mode= +account.5.outbound_proxy.1.retry_counts= +account.5.outbound_proxy.1.only_signal_with_registered= +account.5.outbound_proxy.1.failback_subscribe.enable= +account.5.outbound_proxy.1.invite_retry_counts= + +account.5.sip_server.1.register_on_enable= 0 +account.5.sip_server.1.failback_timeout= 3600 +account.5.sip_server.1.failback_mode= 0 +account.5.sip_server.1.failback_subscribe.enable= +account.5.sip_server.1.only_signal_with_registered= +account.5.sip_server.1.invite_retry_counts= + +account.5.outbound_proxy.2.register_on_enable= +account.5.outbound_proxy.2.failback_timeout= +account.5.outbound_proxy.2.failback_mode= +account.5.outbound_proxy.2.retry_counts= +account.5.outbound_proxy.2.only_signal_with_registered= +account.5.outbound_proxy.2.failback_subscribe.enable= +account.5.outbound_proxy.2.invite_retry_counts= + +account.5.sip_server.2.register_on_enable= +account.5.sip_server.2.failback_timeout= +account.5.sip_server.2.failback_mode= +account.5.sip_server.2.failback_subscribe.enable= +account.5.sip_server.2.only_signal_with_registered= +account.5.sip_server.2.invite_retry_counts= + +account.5.static_cache_pri= +account.5.dns_cache_type= +account.5.naptr_build= +account.5.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} +account.5.fallback.redundancy_type= +account.5.reg_failed_retry_max_time= +account.5.reg_failed_retry_min_time= +account.5.redundancy_with_reg_fail.enable = + +##V83 Add +account.5.sip_server.1.outbound_proxy_enable = +account.5.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.5.contact_take_line_param= +account.5.update_ack_while_dialing= +account.5.srtp_lifetime= +account.5.third_part_request_with_route.enable= +account.5.insert_outbound_in_route.enable= +account.5.path.enable= +account.5.sub_fail_retry_interval= +account.5.transfer_refer_to_contact_header.enable= +account.5.hold_use_inactive= +account.5.gruu.enable= +account.5.dial_tone= +account.5.call_id_mode= +account.5.subscribe_expires_overlap= +account.5.register_expires_overlap= +account.5.call_info= +account.5.custom_ua= +account.5.mwi_parse_terminated= +account.5.check_cseq.enable= +account.5.check_to_tag.enable= +account.5.vq_rtcpxr.collector_server_port= +account.5.vq_rtcpxr.collector_server_host= +account.5.vq_rtcpxr.collector_name= +account.5.compact_header_enable= +account.5.cp_source= +account.5.cid_source_ppi= +account.5.cid_source_privacy= +account.5.reg_with_pani_header.enable = +account.5.alert_info= +account.5.picture_info_enable= + +##V83 Add +account.5.invite_with_pani_header.enable = + +##V84 Add +account.5.invite_with_rpid_header.enable= + +account.5.auto_answer_mute_enable + +####################################################################################### +## History ## +####################################################################################### +account.5.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.5.timeout_fwd.off_code= +account.5.timeout_fwd.on_code= +account.5.timeout_fwd.timeout= +account.5.timeout_fwd.target= +account.5.timeout_fwd.enable= +account.5.busy_fwd.off_code= +account.5.busy_fwd.on_code= +account.5.busy_fwd.target= +account.5.busy_fwd.enable= +account.5.always_fwd.off_code= +account.5.always_fwd.on_code= +account.5.always_fwd.target= +account.5.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.5.dnd.enable= +account.5.dnd.off_code= +account.5.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.5.subscribe_mwi= +account.5.subscribe_mwi_to_vm= +account.5.subscribe_mwi_expires= +account.5.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.5.auto_dial_enable= +account.5.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.5.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.5.dialplan.digitmap.enable= +account.5.dialplan.digitmap.string= +account.5.dialplan.digitmap.no_match_action= +account.5.dialplan.digitmap.interdigit_short_timer= +account.5.dialplan.digitmap.interdigit_long_timer= +account.5.dialplan.digitmap.apply_to.press_send= +account.5.dialplan.digitmap.apply_to.forward= +account.5.dialplan.digitmap.apply_to.history_dial= +account.5.dialplan.digitmap.apply_to.directory_dial= +account.5.dialplan.digitmap.apply_to.on_hook_dial= +account.5.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.5.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.5.blf.blf_list_uri= +account.5.blf_list_barge_in_code= +account.5.blf_list_code= +account.5.blf_list_retrieve_call_parked_code= +account.5.blf.subscribe_period= +account.5.blf.match_host.enable= +account.5.out_dialog_blf_enable= +account.5.blf.subscribe_event= + +##V84 Add +account.5.blf_list_call_parked_code= +account.5.blf_list_call_parked_list= + +####################################################################################### +## SCA ## +####################################################################################### +account.5.shared_line= {$shared_line_1} +account.5.line_seize.expires= +account.5.shared_line_one_touch_bargein.enable= +account.5.shared_line_one_touch_retrieve.enable= +account.5.sca_manage_interface_display_time= +account.5.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.5.bla_number= +account.5.bla_subscribe_period= +account.5.bla.notify_with_expire.enable= +account.5.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.5.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.5.acd.enable= +account.5.acd.available= +account.5.acd.unavailable_reason_enable= +account.5.acd.initial_state= +account.5.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.5.reason_code.1= +account.5.reason_code_name.1= +account.5.bw_disp_code.1= +account.5.bw_disp_code_name.1= +account.5.supervisor_info_code.1= +account.5.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.5.call_center.call_info_enable= +account.5.call_center.show_call_info_time= +account.5.call_center.disp_code_enable= +account.5.call_center.trace_enable= +account.5.call_center.emergency_enable= +account.5.call_center.queue_status_enable= +account.5.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.5.hoteling.enable= +account.5.hoteling.user_id= +account.5.hoteling.password= +account.5.hoteling.expires= +account.5.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.5.xsi.user = +account.5.xsi.password = +account.5.xsi.host = +account.5.xsi.server_type = +account.5.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.5.direct_pickup_code = +account.5.group_pickup_code = +account.5.dialoginfo_callpickup = +account.5.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.5.call_recording.enable= + +####################################################################################### +## Network Conferene ## +####################################################################################### +account.5.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.5.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.5.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.5.flexible_seating.enable= +account.5.hoteling.pin= +account.5.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.5.features.forward.feature_key_sync.local_processing.enable= +account.5.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.5.dnd.feature_key_sync.enable= +account.5.feature_key_sync.enable= +account.5.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.5.acd.available_url= +account.5.acd.away_url = +account.5.acd.refresh_url = +account.5.acd.call_information= + + +####################################################################################### +## PSTN ## +####################################################################################### +pstn.account.5.enable= +pstn.account.5.label= + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +bw.virtual_user.1.enable= +bw.virtual_user.1.label= +bw.virtual_user.1.xsi.dnd.enable= +bw.virtual_user.1.xsi.host= +bw.virtual_user.1.xsi.password= +bw.virtual_user.1.xsi.port= +bw.virtual_user.1.xsi.server_type= +bw.virtual_user.1.xsi.user= + + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.6.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.6.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.6.anonymous_call.server_base_only = +account.6.send_anonymous_rejection_code = +account.6.anonymous_reject_offcode = +account.6.anonymous_reject_oncode = +account.6.reject_anonymous_call= +account.6.anonymous_call_offcode = +account.6.anonymous_call_oncode = +account.6.anonymous_call = +account.6.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.6.music_server_uri= +account.6.music_on_hold_type= +account.6.auto_label.rule= +account.6.auto_label.enable= +account.6.number_of_linekey= +account.6.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.6.codec.ilbc_15_2kbps.priority= +account.6.codec.ilbc_15_2kbps.enable= +account.6.codec.ilbc_13_33kbps.priority= +account.6.codec.ilbc_13_33kbps.enable = +account.6.codec.pcma.enable = 1 +account.6.codec.pcma.priority = {$yealink_codec_5_priority} + +account.6.codec.pcmu.enable = 1 +account.6.codec.pcmu.priority = {$yealink_codec_4_priority} + +account.6.codec.opus.enable = 1 +account.6.codec.opus.priority = {$yealink_codec_1_priority} +account.6.codec.opus.para= +account.6.codec.g726_40.enable= +account.6.codec.g726_40.priority= +account.6.codec.g726_32.enable= +account.6.codec.g726_32.priority= +account.6.codec.g726_24.enable= +account.6.codec.g726_24.priority= +account.6.codec.g726_16.enable= +account.6.codec.g726_16.priority= +account.6.codec.g723_63.priority= +account.6.codec.g723_63.enable= +account.6.codec.g723_53.priority= +account.6.codec.g723_53.enable= +account.6.codec.g729.enable = 1 +account.6.codec.g729.priority = {$yealink_codec_3_priority} + +account.6.codec.g722.enable = 1 +account.6.codec.g722.priority = {$yealink_codec_2_priority} + +account.6.codec.G722_1_24kpbs.priority= +account.6.codec.G722_1_24kpbs.enable= +account.6.codec.G722_1c_24kpbs.priority= +account.6.codec.G722_1c_24kpbs.enable= +account.6.codec.G722_1c_32kpbs.priority= +account.6.codec.G722_1c_32kpbs.enable= +account.6.codec.G722_1c_48kpbs.priority= +account.6.codec.G722_1c_48kpbs.enable= + + +################################################################ +# Account Register ## +################################################################ +{if isset($account.6.password) } +account.6.enable = 1 +{else} +account.6.enable = 0 +{/if} +account.6.label = {$account.6.display_name} +account.6.display_name = {$account.6.display_name} +account.6.auth_name = {$account.6.auth_id} +account.6.password = {$account.6.password} +{if isset($account.6.server.1.address)} +account.6.user_name = {$account.6.user_id}@{$account.6.server_address} +{else} +account.6.user_name = {$account.6.user_id} +{/if} + +account.6.sip_server.1.address= {$account.6.server_address} +account.6.sip_server.1.port= {$account.6.sip_port} + + +{if $account.6.sip_transport == 'udp'}account.6.sip_server.1.transport_type = 0{/if} +{if $account.6.sip_transport == 'tcp'}account.6.sip_server.1.transport_type = 1{/if} +{if $account.6.sip_transport == 'tls'}account.6.sip_server.1.transport_type = 2{/if} +{if $account.6.sip_transport == 'dns srv'}account.6.sip_server.1.transport_type = 3{/if} + +account.6.sip_server.1.expires= {$account.6.register_expires} +account.6.sip_server.1.retry_counts= 3 + +account.6.sip_server.2.address= {$account.6.server.2.address} +account.6.sip_server.2.port= {$account.6.sip_port} + + +{if $account.6.sip_transport == 'udp'}account.6.sip_server.2.transport_type = 0{/if} +{if $account.6.sip_transport == 'tcp'}account.6.sip_server.2.transport_type = 1{/if} +{if $account.6.sip_transport == 'tls'}account.6.sip_server.2.transport_type = 2{/if} +{if $account.6.sip_transport == 'dns srv'}account.6.sip_server.2.transport_type = 3{/if} + +account.6.sip_server.2.expires= {$account.6.register_expires} +account.6.sip_server.2.retry_counts= 3 + +account.6.outbound_proxy_enable= {if isset($account.6.outbound_proxy_primary)}1{else}0{/if} + +account.6.outbound_proxy.1.address= {$account.6.outbound_proxy_primary} + +{if isset($outbound_proxy_1_port)} +account.6.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.6.outbound_proxy.1.port = {$account.6.sip_port} +{/if} + +account.6.outbound_proxy.2.address= {$account.6.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.6.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.6.outbound_proxy.2.port = {$account.6.sip_port} +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.6.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.6.outbound_proxy_fallback_interval = 120 +{/if} + +account.6.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.6.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.6.nat.udp_update_enable= 3 +account.6.nat.udp_update_time= 30 +account.6.nat.rport= {$yealink_rport} + +account.6.dtmf.type= {$yealink_dtmf_type} +account.6.dtmf.info_type= +account.6.dtmf.dtmf_payload= +account.6.100rel_enable= {$yealink_retransmission} + +account.6.subscribe_register= +account.6.cid_source= {$yealink_cid_source} +account.6.enable_user_equal_phone= +account.6.srtp_encryption= {$yealink_srtp_encryption} +account.6.ptime= 20 +account.6.register_line= +account.6.register_mac= +account.6.reg_fail_retry_interval= +account.6.unregister_on_reboot= + +account.6.session_timer.refresher= +account.6.session_timer.expires= +account.6.session_timer.enable= {$yealink_session_timer} + +account.6.conf_type= +account.6.sip_server_type= + +##V83 Add +account.6.srtp.unencrypted_rtcp.enable = +account.6.srtp.unencrypted_rtp.enable = +account.6.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.6.outbound_proxy.1.register_on_enable= +account.6.outbound_proxy.1.failback_timeout= +account.6.outbound_proxy.1.failback_mode= +account.6.outbound_proxy.1.retry_counts= +account.6.outbound_proxy.1.only_signal_with_registered= +account.6.outbound_proxy.1.failback_subscribe.enable= +account.6.outbound_proxy.1.invite_retry_counts= + +account.6.sip_server.1.register_on_enable= 0 +account.6.sip_server.1.failback_timeout= 3600 +account.6.sip_server.1.failback_mode= 0 +account.6.sip_server.1.failback_subscribe.enable= +account.6.sip_server.1.only_signal_with_registered= +account.6.sip_server.1.invite_retry_counts= + +account.6.outbound_proxy.2.register_on_enable= +account.6.outbound_proxy.2.failback_timeout= +account.6.outbound_proxy.2.failback_mode= +account.6.outbound_proxy.2.retry_counts= +account.6.outbound_proxy.2.only_signal_with_registered= +account.6.outbound_proxy.2.failback_subscribe.enable= +account.6.outbound_proxy.2.invite_retry_counts= + +account.6.sip_server.2.register_on_enable= +account.6.sip_server.2.failback_timeout= +account.6.sip_server.2.failback_mode= +account.6.sip_server.2.failback_subscribe.enable= +account.6.sip_server.2.only_signal_with_registered= +account.6.sip_server.2.invite_retry_counts= + +account.6.static_cache_pri= +account.6.dns_cache_type= +account.6.naptr_build= +account.6.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} +account.6.fallback.redundancy_type= +account.6.reg_failed_retry_max_time= +account.6.reg_failed_retry_min_time= +account.6.redundancy_with_reg_fail.enable = + +##V83 Add +account.6.sip_server.1.outbound_proxy_enable = +account.6.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.6.contact_take_line_param= +account.6.update_ack_while_dialing= +account.6.srtp_lifetime= +account.6.third_part_request_with_route.enable= +account.6.insert_outbound_in_route.enable= +account.6.path.enable= +account.6.sub_fail_retry_interval= +account.6.transfer_refer_to_contact_header.enable= +account.6.hold_use_inactive= +account.6.gruu.enable= +account.6.dial_tone= +account.6.call_id_mode= +account.6.subscribe_expires_overlap= +account.6.register_expires_overlap= +account.6.call_info= +account.6.custom_ua= +account.6.mwi_parse_terminated= +account.6.check_cseq.enable= +account.6.check_to_tag.enable= +account.6.vq_rtcpxr.collector_server_port= +account.6.vq_rtcpxr.collector_server_host= +account.6.vq_rtcpxr.collector_name= +account.6.compact_header_enable= +account.6.cp_source= +account.6.cid_source_ppi= +account.6.cid_source_privacy= +account.6.reg_with_pani_header.enable = +account.6.alert_info= +account.6.picture_info_enable= + +##V83 Add +account.6.invite_with_pani_header.enable = + +##V84 Add +account.6.invite_with_rpid_header.enable= + +account.6.auto_answer_mute_enable + +####################################################################################### +## History ## +####################################################################################### +account.6.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.6.timeout_fwd.off_code= +account.6.timeout_fwd.on_code= +account.6.timeout_fwd.timeout= +account.6.timeout_fwd.target= +account.6.timeout_fwd.enable= +account.6.busy_fwd.off_code= +account.6.busy_fwd.on_code= +account.6.busy_fwd.target= +account.6.busy_fwd.enable= +account.6.always_fwd.off_code= +account.6.always_fwd.on_code= +account.6.always_fwd.target= +account.6.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.6.dnd.enable= +account.6.dnd.off_code= +account.6.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.6.subscribe_mwi= +account.6.subscribe_mwi_to_vm= +account.6.subscribe_mwi_expires= +account.6.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.6.auto_dial_enable= +account.6.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.6.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.6.dialplan.digitmap.enable= +account.6.dialplan.digitmap.string= +account.6.dialplan.digitmap.no_match_action= +account.6.dialplan.digitmap.interdigit_short_timer= +account.6.dialplan.digitmap.interdigit_long_timer= +account.6.dialplan.digitmap.apply_to.press_send= +account.6.dialplan.digitmap.apply_to.forward= +account.6.dialplan.digitmap.apply_to.history_dial= +account.6.dialplan.digitmap.apply_to.directory_dial= +account.6.dialplan.digitmap.apply_to.on_hook_dial= +account.6.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.6.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.6.blf.blf_list_uri= +account.6.blf_list_barge_in_code= +account.6.blf_list_code= +account.6.blf_list_retrieve_call_parked_code= +account.6.blf.subscribe_period= +account.6.blf.match_host.enable= +account.6.out_dialog_blf_enable= +account.6.blf.subscribe_event= + +##V84 Add +account.6.blf_list_call_parked_code= +account.6.blf_list_call_parked_list= + +####################################################################################### +## SCA ## +####################################################################################### +account.6.shared_line= {$shared_line_1} +account.6.line_seize.expires= +account.6.shared_line_one_touch_bargein.enable= +account.6.shared_line_one_touch_retrieve.enable= +account.6.sca_manage_interface_display_time= +account.6.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.6.bla_number= +account.6.bla_subscribe_period= +account.6.bla.notify_with_expire.enable= +account.6.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.6.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.6.acd.enable= +account.6.acd.available= +account.6.acd.unavailable_reason_enable= +account.6.acd.initial_state= +account.6.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.6.reason_code.1= +account.6.reason_code_name.1= +account.6.bw_disp_code.1= +account.6.bw_disp_code_name.1= +account.6.supervisor_info_code.1= +account.6.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.6.call_center.call_info_enable= +account.6.call_center.show_call_info_time= +account.6.call_center.disp_code_enable= +account.6.call_center.trace_enable= +account.6.call_center.emergency_enable= +account.6.call_center.queue_status_enable= +account.6.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.6.hoteling.enable= +account.6.hoteling.user_id= +account.6.hoteling.password= +account.6.hoteling.expires= +account.6.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.6.xsi.user = +account.6.xsi.password = +account.6.xsi.host = +account.6.xsi.server_type = +account.6.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.6.direct_pickup_code = +account.6.group_pickup_code = +account.6.dialoginfo_callpickup = +account.6.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.6.call_recording.enable= + +####################################################################################### +## Network Conferene ## +####################################################################################### +account.6.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.6.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.6.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.6.flexible_seating.enable= +account.6.hoteling.pin= +account.6.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.6.features.forward.feature_key_sync.local_processing.enable= +account.6.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.6.dnd.feature_key_sync.enable= +account.6.feature_key_sync.enable= +account.6.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.6.acd.available_url= +account.6.acd.away_url = +account.6.acd.refresh_url = +account.6.acd.call_information= + + +####################################################################################### +## PSTN ## +####################################################################################### +pstn.account.6.enable= +pstn.account.6.label= + + + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.7.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.7.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.7.anonymous_call.server_base_only = +account.7.send_anonymous_rejection_code = +account.7.anonymous_reject_offcode = +account.7.anonymous_reject_oncode = +account.7.reject_anonymous_call= +account.7.anonymous_call_offcode = +account.7.anonymous_call_oncode = +account.7.anonymous_call = +account.7.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.7.music_server_uri= +account.7.music_on_hold_type= +account.7.auto_label.rule= +account.7.auto_label.enable= +account.7.number_of_linekey= +account.7.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.7.codec.ilbc_15_2kbps.priority= +account.7.codec.ilbc_15_2kbps.enable= +account.7.codec.ilbc_13_33kbps.priority= +account.7.codec.ilbc_13_33kbps.enable = +account.7.codec.pcma.enable = 1 +account.7.codec.pcma.priority = {$yealink_codec_5_priority} + +account.7.codec.pcmu.enable = 1 +account.7.codec.pcmu.priority = {$yealink_codec_4_priority} + +account.7.codec.opus.enable = 1 +account.7.codec.opus.priority = {$yealink_codec_1_priority} +account.7.codec.opus.para= +account.7.codec.g726_40.enable= +account.7.codec.g726_40.priority= +account.7.codec.g726_32.enable= +account.7.codec.g726_32.priority= +account.7.codec.g726_24.enable= +account.7.codec.g726_24.priority= +account.7.codec.g726_16.enable= +account.7.codec.g726_16.priority= +account.7.codec.g723_63.priority= +account.7.codec.g723_63.enable= +account.7.codec.g723_53.priority= +account.7.codec.g723_53.enable= +account.7.codec.g729.enable = 1 +account.7.codec.g729.priority = {$yealink_codec_3_priority} + +account.7.codec.g722.enable = 1 +account.7.codec.g722.priority = {$yealink_codec_2_priority} + +account.7.codec.G722_1_24kpbs.priority= +account.7.codec.G722_1_24kpbs.enable= +account.7.codec.G722_1c_24kpbs.priority= +account.7.codec.G722_1c_24kpbs.enable= +account.7.codec.G722_1c_32kpbs.priority= +account.7.codec.G722_1c_32kpbs.enable= +account.7.codec.G722_1c_48kpbs.priority= +account.7.codec.G722_1c_48kpbs.enable= + + +################################################################ +# Account Register ## +################################################################ +{if isset($account.7.password) } +account.7.enable = 1 +{else} +account.7.enable = 0 +{/if} +account.7.label = {$account.7.display_name} +account.7.display_name = {$account.7.display_name} +account.7.auth_name = {$account.7.auth_id} +account.7.password = {$account.7.password} +{if isset($account.7.server.1.address)} +account.7.user_name = {$account.7.user_id}@{$account.7.server_address} +{else} +account.7.user_name = {$account.7.user_id} +{/if} + +account.7.sip_server.1.address= {$account.7.server_address} +account.7.sip_server.1.port= {$account.7.sip_port} + + +{if $account.7.sip_transport == 'udp'}account.7.sip_server.1.transport_type = 0{/if} +{if $account.7.sip_transport == 'tcp'}account.7.sip_server.1.transport_type = 1{/if} +{if $account.7.sip_transport == 'tls'}account.7.sip_server.1.transport_type = 2{/if} +{if $account.7.sip_transport == 'dns srv'}account.7.sip_server.1.transport_type = 3{/if} + +account.7.sip_server.1.expires= {$account.7.register_expires} +account.7.sip_server.1.retry_counts= 3 + +account.7.sip_server.2.address= {$account.7.server.2.address} +account.7.sip_server.2.port= {$account.7.sip_port} + + +{if $account.7.sip_transport == 'udp'}account.7.sip_server.2.transport_type = 0{/if} +{if $account.7.sip_transport == 'tcp'}account.7.sip_server.2.transport_type = 1{/if} +{if $account.7.sip_transport == 'tls'}account.7.sip_server.2.transport_type = 2{/if} +{if $account.7.sip_transport == 'dns srv'}account.7.sip_server.2.transport_type = 3{/if} + +account.7.sip_server.2.expires= {$account.7.register_expires} +account.7.sip_server.2.retry_counts= 3 + +account.7.outbound_proxy_enable= {if isset($account.7.outbound_proxy_primary)}1{else}0{/if} + +account.7.outbound_proxy.1.address= {$account.7.outbound_proxy_primary} + +{if isset($outbound_proxy_1_port)} +account.7.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.7.outbound_proxy.1.port = {$account.7.sip_port} +{/if} + +account.7.outbound_proxy.2.address= {$account.7.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.7.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.7.outbound_proxy.2.port = {$account.7.sip_port} +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.7.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.7.outbound_proxy_fallback_interval = 120 +{/if} + +account.7.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.7.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.7.nat.udp_update_enable= 3 +account.7.nat.udp_update_time= 30 +account.7.nat.rport= {$yealink_rport} + +account.7.dtmf.type= {$yealink_dtmf_type} +account.7.dtmf.info_type= +account.7.dtmf.dtmf_payload= +account.7.100rel_enable= {$yealink_retransmission} + +account.7.subscribe_register= +account.7.cid_source= {$yealink_cid_source} +account.7.enable_user_equal_phone= +account.7.srtp_encryption= {$yealink_srtp_encryption} +account.7.ptime= 20 +account.7.register_line= +account.7.register_mac= +account.7.reg_fail_retry_interval= +account.7.unregister_on_reboot= + +account.7.session_timer.refresher= +account.7.session_timer.expires= +account.7.session_timer.enable= {$yealink_session_timer} + +account.7.conf_type= +account.7.sip_server_type= + +##V83 Add +account.7.srtp.unencrypted_rtcp.enable = +account.7.srtp.unencrypted_rtp.enable = +account.7.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.7.outbound_proxy.1.register_on_enable= +account.7.outbound_proxy.1.failback_timeout= +account.7.outbound_proxy.1.failback_mode= +account.7.outbound_proxy.1.retry_counts= +account.7.outbound_proxy.1.only_signal_with_registered= +account.7.outbound_proxy.1.failback_subscribe.enable= +account.7.outbound_proxy.1.invite_retry_counts= + +account.7.sip_server.1.register_on_enable= 0 +account.7.sip_server.1.failback_timeout= 3600 +account.7.sip_server.1.failback_mode= 0 +account.7.sip_server.1.failback_subscribe.enable= +account.7.sip_server.1.only_signal_with_registered= +account.7.sip_server.1.invite_retry_counts= + +account.7.outbound_proxy.2.register_on_enable= +account.7.outbound_proxy.2.failback_timeout= +account.7.outbound_proxy.2.failback_mode= +account.7.outbound_proxy.2.retry_counts= +account.7.outbound_proxy.2.only_signal_with_registered= +account.7.outbound_proxy.2.failback_subscribe.enable= +account.7.outbound_proxy.2.invite_retry_counts= + +account.7.sip_server.2.register_on_enable= +account.7.sip_server.2.failback_timeout= +account.7.sip_server.2.failback_mode= +account.7.sip_server.2.failback_subscribe.enable= +account.7.sip_server.2.only_signal_with_registered= +account.7.sip_server.2.invite_retry_counts= + +account.7.static_cache_pri= +account.7.dns_cache_type= +account.7.naptr_build= +account.7.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} +account.7.fallback.redundancy_type= +account.7.reg_failed_retry_max_time= +account.7.reg_failed_retry_min_time= +account.7.redundancy_with_reg_fail.enable = + +##V83 Add +account.7.sip_server.1.outbound_proxy_enable = +account.7.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.7.contact_take_line_param= +account.7.update_ack_while_dialing= +account.7.srtp_lifetime= +account.7.third_part_request_with_route.enable= +account.7.insert_outbound_in_route.enable= +account.7.path.enable= +account.7.sub_fail_retry_interval= +account.7.transfer_refer_to_contact_header.enable= +account.7.hold_use_inactive= +account.7.gruu.enable= +account.7.dial_tone= +account.7.call_id_mode= +account.7.subscribe_expires_overlap= +account.7.register_expires_overlap= +account.7.call_info= +account.7.custom_ua= +account.7.mwi_parse_terminated= +account.7.check_cseq.enable= +account.7.check_to_tag.enable= +account.7.vq_rtcpxr.collector_server_port= +account.7.vq_rtcpxr.collector_server_host= +account.7.vq_rtcpxr.collector_name= +account.7.compact_header_enable= +account.7.cp_source= +account.7.cid_source_ppi= +account.7.cid_source_privacy= +account.7.reg_with_pani_header.enable = +account.7.alert_info= +account.7.picture_info_enable= + +##V83 Add +account.7.invite_with_pani_header.enable = + +##V84 Add +account.7.invite_with_rpid_header.enable= + +account.7.auto_answer_mute_enable + +####################################################################################### +## History ## +####################################################################################### +account.7.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.7.timeout_fwd.off_code= +account.7.timeout_fwd.on_code= +account.7.timeout_fwd.timeout= +account.7.timeout_fwd.target= +account.7.timeout_fwd.enable= +account.7.busy_fwd.off_code= +account.7.busy_fwd.on_code= +account.7.busy_fwd.target= +account.7.busy_fwd.enable= +account.7.always_fwd.off_code= +account.7.always_fwd.on_code= +account.7.always_fwd.target= +account.7.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.7.dnd.enable= +account.7.dnd.off_code= +account.7.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.7.subscribe_mwi= +account.7.subscribe_mwi_to_vm= +account.7.subscribe_mwi_expires= +account.7.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.7.auto_dial_enable= +account.7.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.7.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.7.dialplan.digitmap.enable= +account.7.dialplan.digitmap.string= +account.7.dialplan.digitmap.no_match_action= +account.7.dialplan.digitmap.interdigit_short_timer= +account.7.dialplan.digitmap.interdigit_long_timer= +account.7.dialplan.digitmap.apply_to.press_send= +account.7.dialplan.digitmap.apply_to.forward= +account.7.dialplan.digitmap.apply_to.history_dial= +account.7.dialplan.digitmap.apply_to.directory_dial= +account.7.dialplan.digitmap.apply_to.on_hook_dial= +account.7.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.7.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.7.blf.blf_list_uri= +account.7.blf_list_barge_in_code= +account.7.blf_list_code= +account.7.blf_list_retrieve_call_parked_code= +account.7.blf.subscribe_period= +account.7.blf.match_host.enable= +account.7.out_dialog_blf_enable= +account.7.blf.subscribe_event= + +##V84 Add +account.7.blf_list_call_parked_code= +account.7.blf_list_call_parked_list= + +####################################################################################### +## SCA ## +####################################################################################### +account.7.shared_line= {$shared_line_1} +account.7.line_seize.expires= +account.7.shared_line_one_touch_bargein.enable= +account.7.shared_line_one_touch_retrieve.enable= +account.7.sca_manage_interface_display_time= +account.7.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.7.bla_number= +account.7.bla_subscribe_period= +account.7.bla.notify_with_expire.enable= +account.7.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.7.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.7.acd.enable= +account.7.acd.available= +account.7.acd.unavailable_reason_enable= +account.7.acd.initial_state= +account.7.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.7.reason_code.1= +account.7.reason_code_name.1= +account.7.bw_disp_code.1= +account.7.bw_disp_code_name.1= +account.7.supervisor_info_code.1= +account.7.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.7.call_center.call_info_enable= +account.7.call_center.show_call_info_time= +account.7.call_center.disp_code_enable= +account.7.call_center.trace_enable= +account.7.call_center.emergency_enable= +account.7.call_center.queue_status_enable= +account.7.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.7.hoteling.enable= +account.7.hoteling.user_id= +account.7.hoteling.password= +account.7.hoteling.expires= +account.7.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.7.xsi.user = +account.7.xsi.password = +account.7.xsi.host = +account.7.xsi.server_type = +account.7.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.7.direct_pickup_code = +account.7.group_pickup_code = +account.7.dialoginfo_callpickup = +account.7.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.7.call_recording.enable= + +####################################################################################### +## Network Conferene ## +####################################################################################### +account.7.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.7.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.7.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.7.flexible_seating.enable= +account.7.hoteling.pin= +account.7.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.7.features.forward.feature_key_sync.local_processing.enable= +account.7.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.7.dnd.feature_key_sync.enable= +account.7.feature_key_sync.enable= +account.7.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.7.acd.available_url= +account.7.acd.away_url = +account.7.acd.refresh_url = +account.7.acd.call_information= + + +####################################################################################### +## PSTN ## +####################################################################################### +pstn.account.7.enable= +pstn.account.7.label= + + + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.8.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.8.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.8.anonymous_call.server_base_only = +account.8.send_anonymous_rejection_code = +account.8.anonymous_reject_offcode = +account.8.anonymous_reject_oncode = +account.8.reject_anonymous_call= +account.8.anonymous_call_offcode = +account.8.anonymous_call_oncode = +account.8.anonymous_call = +account.8.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.8.music_server_uri= +account.8.music_on_hold_type= +account.8.auto_label.rule= +account.8.auto_label.enable= +account.8.number_of_linekey= +account.8.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.8.codec.ilbc_15_2kbps.priority= +account.8.codec.ilbc_15_2kbps.enable= +account.8.codec.ilbc_13_33kbps.priority= +account.8.codec.ilbc_13_33kbps.enable = +account.8.codec.pcma.enable = 1 +account.8.codec.pcma.priority = {$yealink_codec_5_priority} + +account.8.codec.pcmu.enable = 1 +account.8.codec.pcmu.priority = {$yealink_codec_4_priority} + +account.8.codec.opus.enable = 1 +account.8.codec.opus.priority = {$yealink_codec_1_priority} +account.8.codec.opus.para= +account.8.codec.g726_40.enable= +account.8.codec.g726_40.priority= +account.8.codec.g726_32.enable= +account.8.codec.g726_32.priority= +account.8.codec.g726_24.enable= +account.8.codec.g726_24.priority= +account.8.codec.g726_16.enable= +account.8.codec.g726_16.priority= +account.8.codec.g723_63.priority= +account.8.codec.g723_63.enable= +account.8.codec.g723_53.priority= +account.8.codec.g723_53.enable= +account.8.codec.g729.enable = 1 +account.8.codec.g729.priority = {$yealink_codec_3_priority} + +account.8.codec.g722.enable = 1 +account.8.codec.g722.priority = {$yealink_codec_2_priority} + +account.8.codec.G722_1_24kpbs.priority= +account.8.codec.G722_1_24kpbs.enable= +account.8.codec.G722_1c_24kpbs.priority= +account.8.codec.G722_1c_24kpbs.enable= +account.8.codec.G722_1c_32kpbs.priority= +account.8.codec.G722_1c_32kpbs.enable= +account.8.codec.G722_1c_48kpbs.priority= +account.8.codec.G722_1c_48kpbs.enable= + + +################################################################ +# Account Register ## +################################################################ +{if isset($account.8.password) } +account.8.enable = 1 +{else} +account.8.enable = 0 +{/if} +account.8.label = {$account.8.display_name} +account.8.display_name = {$account.8.display_name} +account.8.auth_name = {$account.8.auth_id} +account.8.password = {$account.8.password} +{if isset($account.8.server.1.address)} +account.8.user_name = {$account.8.user_id}@{$account.8.server_address} +{else} +account.8.user_name = {$account.8.user_id} +{/if} + +account.8.sip_server.1.address= {$account.8.server_address} +account.8.sip_server.1.port= {$account.8.sip_port} + + +{if $account.8.sip_transport == 'udp'}account.8.sip_server.1.transport_type = 0{/if} +{if $account.8.sip_transport == 'tcp'}account.8.sip_server.1.transport_type = 1{/if} +{if $account.8.sip_transport == 'tls'}account.8.sip_server.1.transport_type = 2{/if} +{if $account.8.sip_transport == 'dns srv'}account.8.sip_server.1.transport_type = 3{/if} + +account.8.sip_server.1.expires= {$account.8.register_expires} +account.8.sip_server.1.retry_counts= 3 + +account.8.sip_server.2.address= {$account.8.server.2.address} +account.8.sip_server.2.port= {$account.8.sip_port} + + +{if $account.8.sip_transport == 'udp'}account.8.sip_server.2.transport_type = 0{/if} +{if $account.8.sip_transport == 'tcp'}account.8.sip_server.2.transport_type = 1{/if} +{if $account.8.sip_transport == 'tls'}account.8.sip_server.2.transport_type = 2{/if} +{if $account.8.sip_transport == 'dns srv'}account.8.sip_server.2.transport_type = 3{/if} + +account.8.sip_server.2.expires= {$account.8.register_expires} +account.8.sip_server.2.retry_counts= 3 + +account.8.outbound_proxy_enable= {if isset($account.8.outbound_proxy_primary)}1{else}0{/if} + +account.8.outbound_proxy.1.address= {$account.8.outbound_proxy_primary} + +{if isset($outbound_proxy_1_port)} +account.8.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.8.outbound_proxy.1.port = {$account.8.sip_port} +{/if} + +account.8.outbound_proxy.2.address= {$account.8.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.8.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.8.outbound_proxy.2.port = {$account.8.sip_port} +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.8.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.8.outbound_proxy_fallback_interval = 120 +{/if} + +account.8.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.8.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.8.nat.udp_update_enable= 3 +account.8.nat.udp_update_time= 30 +account.8.nat.rport= {$yealink_rport} + +account.8.dtmf.type= {$yealink_dtmf_type} +account.8.dtmf.info_type= +account.8.dtmf.dtmf_payload= +account.8.100rel_enable= {$yealink_retransmission} + +account.8.subscribe_register= +account.8.cid_source= {$yealink_cid_source} +account.8.enable_user_equal_phone= +account.8.srtp_encryption= {$yealink_srtp_encryption} +account.8.ptime= 20 +account.8.register_line= +account.8.register_mac= +account.8.reg_fail_retry_interval= +account.8.unregister_on_reboot= + +account.8.session_timer.refresher= +account.8.session_timer.expires= +account.8.session_timer.enable= {$yealink_session_timer} + +account.8.conf_type= +account.8.sip_server_type= + +##V83 Add +account.8.srtp.unencrypted_rtcp.enable = +account.8.srtp.unencrypted_rtp.enable = +account.8.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.8.outbound_proxy.1.register_on_enable= +account.8.outbound_proxy.1.failback_timeout= +account.8.outbound_proxy.1.failback_mode= +account.8.outbound_proxy.1.retry_counts= +account.8.outbound_proxy.1.only_signal_with_registered= +account.8.outbound_proxy.1.failback_subscribe.enable= +account.8.outbound_proxy.1.invite_retry_counts= + +account.8.sip_server.1.register_on_enable= 0 +account.8.sip_server.1.failback_timeout= 3600 +account.8.sip_server.1.failback_mode= 0 +account.8.sip_server.1.failback_subscribe.enable= +account.8.sip_server.1.only_signal_with_registered= +account.8.sip_server.1.invite_retry_counts= + +account.8.outbound_proxy.2.register_on_enable= +account.8.outbound_proxy.2.failback_timeout= +account.8.outbound_proxy.2.failback_mode= +account.8.outbound_proxy.2.retry_counts= +account.8.outbound_proxy.2.only_signal_with_registered= +account.8.outbound_proxy.2.failback_subscribe.enable= +account.8.outbound_proxy.2.invite_retry_counts= + +account.8.sip_server.2.register_on_enable= +account.8.sip_server.2.failback_timeout= +account.8.sip_server.2.failback_mode= +account.8.sip_server.2.failback_subscribe.enable= +account.8.sip_server.2.only_signal_with_registered= +account.8.sip_server.2.invite_retry_counts= + +account.8.static_cache_pri= +account.8.dns_cache_type= +account.8.naptr_build= +account.8.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} +account.8.fallback.redundancy_type= +account.8.reg_failed_retry_max_time= +account.8.reg_failed_retry_min_time= +account.8.redundancy_with_reg_fail.enable = + +##V83 Add +account.8.sip_server.1.outbound_proxy_enable = +account.8.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.8.contact_take_line_param= +account.8.update_ack_while_dialing= +account.8.srtp_lifetime= +account.8.third_part_request_with_route.enable= +account.8.insert_outbound_in_route.enable= +account.8.path.enable= +account.8.sub_fail_retry_interval= +account.8.transfer_refer_to_contact_header.enable= +account.8.hold_use_inactive= +account.8.gruu.enable= +account.8.dial_tone= +account.8.call_id_mode= +account.8.subscribe_expires_overlap= +account.8.register_expires_overlap= +account.8.call_info= +account.8.custom_ua= +account.8.mwi_parse_terminated= +account.8.check_cseq.enable= +account.8.check_to_tag.enable= +account.8.vq_rtcpxr.collector_server_port= +account.8.vq_rtcpxr.collector_server_host= +account.8.vq_rtcpxr.collector_name= +account.8.compact_header_enable= +account.8.cp_source= +account.8.cid_source_ppi= +account.8.cid_source_privacy= +account.8.reg_with_pani_header.enable = +account.8.alert_info= +account.8.picture_info_enable= + +##V83 Add +account.8.invite_with_pani_header.enable = + +##V84 Add +account.8.invite_with_rpid_header.enable= + +account.8.auto_answer_mute_enable + +####################################################################################### +## History ## +####################################################################################### +account.8.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.8.timeout_fwd.off_code= +account.8.timeout_fwd.on_code= +account.8.timeout_fwd.timeout= +account.8.timeout_fwd.target= +account.8.timeout_fwd.enable= +account.8.busy_fwd.off_code= +account.8.busy_fwd.on_code= +account.8.busy_fwd.target= +account.8.busy_fwd.enable= +account.8.always_fwd.off_code= +account.8.always_fwd.on_code= +account.8.always_fwd.target= +account.8.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.8.dnd.enable= +account.8.dnd.off_code= +account.8.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.8.subscribe_mwi= +account.8.subscribe_mwi_to_vm= +account.8.subscribe_mwi_expires= +account.8.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.8.auto_dial_enable= +account.8.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.8.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.8.dialplan.digitmap.enable= +account.8.dialplan.digitmap.string= +account.8.dialplan.digitmap.no_match_action= +account.8.dialplan.digitmap.interdigit_short_timer= +account.8.dialplan.digitmap.interdigit_long_timer= +account.8.dialplan.digitmap.apply_to.press_send= +account.8.dialplan.digitmap.apply_to.forward= +account.8.dialplan.digitmap.apply_to.history_dial= +account.8.dialplan.digitmap.apply_to.directory_dial= +account.8.dialplan.digitmap.apply_to.on_hook_dial= +account.8.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.8.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.8.blf.blf_list_uri= +account.8.blf_list_barge_in_code= +account.8.blf_list_code= +account.8.blf_list_retrieve_call_parked_code= +account.8.blf.subscribe_period= +account.8.blf.match_host.enable= +account.8.out_dialog_blf_enable= +account.8.blf.subscribe_event= + +##V84 Add +account.8.blf_list_call_parked_code= +account.8.blf_list_call_parked_list= + +####################################################################################### +## SCA ## +####################################################################################### +account.8.shared_line= {$shared_line_1} +account.8.line_seize.expires= +account.8.shared_line_one_touch_bargein.enable= +account.8.shared_line_one_touch_retrieve.enable= +account.8.sca_manage_interface_display_time= +account.8.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.8.bla_number= +account.8.bla_subscribe_period= +account.8.bla.notify_with_expire.enable= +account.8.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.8.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.8.acd.enable= +account.8.acd.available= +account.8.acd.unavailable_reason_enable= +account.8.acd.initial_state= +account.8.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.8.reason_code.1= +account.8.reason_code_name.1= +account.8.bw_disp_code.1= +account.8.bw_disp_code_name.1= +account.8.supervisor_info_code.1= +account.8.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.8.call_center.call_info_enable= +account.8.call_center.show_call_info_time= +account.8.call_center.disp_code_enable= +account.8.call_center.trace_enable= +account.8.call_center.emergency_enable= +account.8.call_center.queue_status_enable= +account.8.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.8.hoteling.enable= +account.8.hoteling.user_id= +account.8.hoteling.password= +account.8.hoteling.expires= +account.8.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.8.xsi.user = +account.8.xsi.password = +account.8.xsi.host = +account.8.xsi.server_type = +account.8.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.8.direct_pickup_code = +account.8.group_pickup_code = +account.8.dialoginfo_callpickup = +account.8.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.8.call_recording.enable= + +####################################################################################### +## Network Conferene ## +####################################################################################### +account.8.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.8.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.8.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.8.flexible_seating.enable= +account.8.hoteling.pin= +account.8.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.8.features.forward.feature_key_sync.local_processing.enable= +account.8.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.8.dnd.feature_key_sync.enable= +account.8.feature_key_sync.enable= +account.8.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.8.acd.available_url= +account.8.acd.away_url = +account.8.acd.refresh_url = +account.8.acd.call_information= + + +####################################################################################### +## PSTN ## +####################################################################################### +pstn.account.8.enable= +pstn.account.8.label= + + + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.9.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.9.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.9.anonymous_call.server_base_only = +account.9.send_anonymous_rejection_code = +account.9.anonymous_reject_offcode = +account.9.anonymous_reject_oncode = +account.9.reject_anonymous_call= +account.9.anonymous_call_offcode = +account.9.anonymous_call_oncode = +account.9.anonymous_call = +account.9.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.9.music_server_uri= +account.9.music_on_hold_type= +account.9.auto_label.rule= +account.9.auto_label.enable= +account.9.number_of_linekey= +account.9.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.9.codec.ilbc_15_2kbps.priority= +account.9.codec.ilbc_15_2kbps.enable= +account.9.codec.ilbc_13_33kbps.priority= +account.9.codec.ilbc_13_33kbps.enable = +account.9.codec.pcma.enable = 1 +account.9.codec.pcma.priority = {$yealink_codec_5_priority} + +account.9.codec.pcmu.enable = 1 +account.9.codec.pcmu.priority = {$yealink_codec_4_priority} + +account.9.codec.opus.enable = 1 +account.9.codec.opus.priority = {$yealink_codec_1_priority} +account.9.codec.opus.para= +account.9.codec.g726_40.enable= +account.9.codec.g726_40.priority= +account.9.codec.g726_32.enable= +account.9.codec.g726_32.priority= +account.9.codec.g726_24.enable= +account.9.codec.g726_24.priority= +account.9.codec.g726_16.enable= +account.9.codec.g726_16.priority= +account.9.codec.g723_63.priority= +account.9.codec.g723_63.enable= +account.9.codec.g723_53.priority= +account.9.codec.g723_53.enable= +account.9.codec.g729.enable = 1 +account.9.codec.g729.priority = {$yealink_codec_3_priority} + +account.9.codec.g722.enable = 1 +account.9.codec.g722.priority = {$yealink_codec_2_priority} + +account.9.codec.G722_1_24kpbs.priority= +account.9.codec.G722_1_24kpbs.enable= +account.9.codec.G722_1c_24kpbs.priority= +account.9.codec.G722_1c_24kpbs.enable= +account.9.codec.G722_1c_32kpbs.priority= +account.9.codec.G722_1c_32kpbs.enable= +account.9.codec.G722_1c_48kpbs.priority= +account.9.codec.G722_1c_48kpbs.enable= + + +################################################################ +# Account Register ## +################################################################ +{if isset($account.9.password) } +account.9.enable = 1 +{else} +account.9.enable = 0 +{/if} +account.9.label = {$account.9.display_name} +account.9.display_name = {$account.9.display_name} +account.9.auth_name = {$account.9.auth_id} +account.9.password = {$account.9.password} +{if isset($account.9.server.1.address)} +account.9.user_name = {$account.9.user_id}@{$account.9.server_address} +{else} +account.9.user_name = {$account.9.user_id} +{/if} + +account.9.sip_server.1.address= {$account.9.server_address} +account.9.sip_server.1.port= {$account.9.sip_port} + + +{if $account.9.sip_transport == 'udp'}account.9.sip_server.1.transport_type = 0{/if} +{if $account.9.sip_transport == 'tcp'}account.9.sip_server.1.transport_type = 1{/if} +{if $account.9.sip_transport == 'tls'}account.9.sip_server.1.transport_type = 2{/if} +{if $account.9.sip_transport == 'dns srv'}account.9.sip_server.1.transport_type = 3{/if} + +account.9.sip_server.1.expires= {$account.9.register_expires} +account.9.sip_server.1.retry_counts= 3 + +account.9.sip_server.2.address= {$account.9.server.2.address} +account.9.sip_server.2.port= {$account.9.sip_port} + + +{if $account.9.sip_transport == 'udp'}account.9.sip_server.2.transport_type = 0{/if} +{if $account.9.sip_transport == 'tcp'}account.9.sip_server.2.transport_type = 1{/if} +{if $account.9.sip_transport == 'tls'}account.9.sip_server.2.transport_type = 2{/if} +{if $account.9.sip_transport == 'dns srv'}account.9.sip_server.2.transport_type = 3{/if} + +account.9.sip_server.2.expires= {$account.9.register_expires} +account.9.sip_server.2.retry_counts= 3 + +account.9.outbound_proxy_enable= {if isset($account.9.outbound_proxy_primary)}1{else}0{/if} + +account.9.outbound_proxy.1.address= {$account.9.outbound_proxy_primary} + +{if isset($outbound_proxy_1_port)} +account.9.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.9.outbound_proxy.1.port = {$account.9.sip_port} +{/if} + +account.9.outbound_proxy.2.address= {$account.9.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.9.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.9.outbound_proxy.2.port = {$account.9.sip_port} +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.9.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.9.outbound_proxy_fallback_interval = 120 +{/if} + +account.9.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.9.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.9.nat.udp_update_enable= 3 +account.9.nat.udp_update_time= 30 +account.9.nat.rport= {$yealink_rport} + +account.9.dtmf.type= {$yealink_dtmf_type} +account.9.dtmf.info_type= +account.9.dtmf.dtmf_payload= +account.9.100rel_enable= {$yealink_retransmission} + +account.9.subscribe_register= +account.9.cid_source= {$yealink_cid_source} +account.9.enable_user_equal_phone= +account.9.srtp_encryption= {$yealink_srtp_encryption} +account.9.ptime= 20 +account.9.register_line= +account.9.register_mac= +account.9.reg_fail_retry_interval= +account.9.unregister_on_reboot= + +account.9.session_timer.refresher= +account.9.session_timer.expires= +account.9.session_timer.enable= {$yealink_session_timer} + +account.9.conf_type= +account.9.sip_server_type= + +##V83 Add +account.9.srtp.unencrypted_rtcp.enable = +account.9.srtp.unencrypted_rtp.enable = +account.9.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.9.outbound_proxy.1.register_on_enable= +account.9.outbound_proxy.1.failback_timeout= +account.9.outbound_proxy.1.failback_mode= +account.9.outbound_proxy.1.retry_counts= +account.9.outbound_proxy.1.only_signal_with_registered= +account.9.outbound_proxy.1.failback_subscribe.enable= +account.9.outbound_proxy.1.invite_retry_counts= + +account.9.sip_server.1.register_on_enable= 0 +account.9.sip_server.1.failback_timeout= 3600 +account.9.sip_server.1.failback_mode= 0 +account.9.sip_server.1.failback_subscribe.enable= +account.9.sip_server.1.only_signal_with_registered= +account.9.sip_server.1.invite_retry_counts= + +account.9.outbound_proxy.2.register_on_enable= +account.9.outbound_proxy.2.failback_timeout= +account.9.outbound_proxy.2.failback_mode= +account.9.outbound_proxy.2.retry_counts= +account.9.outbound_proxy.2.only_signal_with_registered= +account.9.outbound_proxy.2.failback_subscribe.enable= +account.9.outbound_proxy.2.invite_retry_counts= + +account.9.sip_server.2.register_on_enable= +account.9.sip_server.2.failback_timeout= +account.9.sip_server.2.failback_mode= +account.9.sip_server.2.failback_subscribe.enable= +account.9.sip_server.2.only_signal_with_registered= +account.9.sip_server.2.invite_retry_counts= + +account.9.static_cache_pri= +account.9.dns_cache_type= +account.9.naptr_build= +account.9.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} +account.9.fallback.redundancy_type= +account.9.reg_failed_retry_max_time= +account.9.reg_failed_retry_min_time= +account.9.redundancy_with_reg_fail.enable = + +##V83 Add +account.9.sip_server.1.outbound_proxy_enable = +account.9.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.9.contact_take_line_param= +account.9.update_ack_while_dialing= +account.9.srtp_lifetime= +account.9.third_part_request_with_route.enable= +account.9.insert_outbound_in_route.enable= +account.9.path.enable= +account.9.sub_fail_retry_interval= +account.9.transfer_refer_to_contact_header.enable= +account.9.hold_use_inactive= +account.9.gruu.enable= +account.9.dial_tone= +account.9.call_id_mode= +account.9.subscribe_expires_overlap= +account.9.register_expires_overlap= +account.9.call_info= +account.9.custom_ua= +account.9.mwi_parse_terminated= +account.9.check_cseq.enable= +account.9.check_to_tag.enable= +account.9.vq_rtcpxr.collector_server_port= +account.9.vq_rtcpxr.collector_server_host= +account.9.vq_rtcpxr.collector_name= +account.9.compact_header_enable= +account.9.cp_source= +account.9.cid_source_ppi= +account.9.cid_source_privacy= +account.9.reg_with_pani_header.enable = +account.9.alert_info= +account.9.picture_info_enable= + +##V83 Add +account.9.invite_with_pani_header.enable = + +##V84 Add +account.9.invite_with_rpid_header.enable= + +account.9.auto_answer_mute_enable + +####################################################################################### +## History ## +####################################################################################### +account.9.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.9.timeout_fwd.off_code= +account.9.timeout_fwd.on_code= +account.9.timeout_fwd.timeout= +account.9.timeout_fwd.target= +account.9.timeout_fwd.enable= +account.9.busy_fwd.off_code= +account.9.busy_fwd.on_code= +account.9.busy_fwd.target= +account.9.busy_fwd.enable= +account.9.always_fwd.off_code= +account.9.always_fwd.on_code= +account.9.always_fwd.target= +account.9.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.9.dnd.enable= +account.9.dnd.off_code= +account.9.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.9.subscribe_mwi= +account.9.subscribe_mwi_to_vm= +account.9.subscribe_mwi_expires= +account.9.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.9.auto_dial_enable= +account.9.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.9.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.9.dialplan.digitmap.enable= +account.9.dialplan.digitmap.string= +account.9.dialplan.digitmap.no_match_action= +account.9.dialplan.digitmap.interdigit_short_timer= +account.9.dialplan.digitmap.interdigit_long_timer= +account.9.dialplan.digitmap.apply_to.press_send= +account.9.dialplan.digitmap.apply_to.forward= +account.9.dialplan.digitmap.apply_to.history_dial= +account.9.dialplan.digitmap.apply_to.directory_dial= +account.9.dialplan.digitmap.apply_to.on_hook_dial= +account.9.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.9.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.9.blf.blf_list_uri= +account.9.blf_list_barge_in_code= +account.9.blf_list_code= +account.9.blf_list_retrieve_call_parked_code= +account.9.blf.subscribe_period= +account.9.blf.match_host.enable= +account.9.out_dialog_blf_enable= +account.9.blf.subscribe_event= + +##V84 Add +account.9.blf_list_call_parked_code= +account.9.blf_list_call_parked_list= + +####################################################################################### +## SCA ## +####################################################################################### +account.9.shared_line= {$shared_line_1} +account.9.line_seize.expires= +account.9.shared_line_one_touch_bargein.enable= +account.9.shared_line_one_touch_retrieve.enable= +account.9.sca_manage_interface_display_time= +account.9.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.9.bla_number= +account.9.bla_subscribe_period= +account.9.bla.notify_with_expire.enable= +account.9.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.9.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.9.acd.enable= +account.9.acd.available= +account.9.acd.unavailable_reason_enable= +account.9.acd.initial_state= +account.9.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.9.reason_code.1= +account.9.reason_code_name.1= +account.9.bw_disp_code.1= +account.9.bw_disp_code_name.1= +account.9.supervisor_info_code.1= +account.9.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.9.call_center.call_info_enable= +account.9.call_center.show_call_info_time= +account.9.call_center.disp_code_enable= +account.9.call_center.trace_enable= +account.9.call_center.emergency_enable= +account.9.call_center.queue_status_enable= +account.9.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.9.hoteling.enable= +account.9.hoteling.user_id= +account.9.hoteling.password= +account.9.hoteling.expires= +account.9.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.9.xsi.user = +account.9.xsi.password = +account.9.xsi.host = +account.9.xsi.server_type = +account.9.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.9.direct_pickup_code = +account.9.group_pickup_code = +account.9.dialoginfo_callpickup = +account.9.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.9.call_recording.enable= + +####################################################################################### +## Network Conferene ## +####################################################################################### +account.9.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.9.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.9.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.9.flexible_seating.enable= +account.9.hoteling.pin= +account.9.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.9.features.forward.feature_key_sync.local_processing.enable= +account.9.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.9.dnd.feature_key_sync.enable= +account.9.feature_key_sync.enable= +account.9.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.9.acd.available_url= +account.9.acd.away_url = +account.9.acd.refresh_url = +account.9.acd.call_information= + + +####################################################################################### +## PSTN ## +####################################################################################### +pstn.account.9.enable= +pstn.account.9.label= + + + +####################################################################################### +## Trnasfer ## +####################################################################################### +account.10.phone_setting.call_appearance.transfer_via_new_linekey= + + +####################################################################################### +## Conference ## +####################################################################################### +account.10.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.10.anonymous_call.server_base_only = +account.10.send_anonymous_rejection_code = +account.10.anonymous_reject_offcode = +account.10.anonymous_reject_oncode = +account.10.reject_anonymous_call= +account.10.anonymous_call_offcode = +account.10.anonymous_call_oncode = +account.10.anonymous_call = +account.10.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.10.music_server_uri= +account.10.music_on_hold_type= +account.10.auto_label.rule= +account.10.auto_label.enable= +account.10.number_of_linekey= +account.10.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.10.codec.ilbc_15_2kbps.priority= +account.10.codec.ilbc_15_2kbps.enable= +account.10.codec.ilbc_13_33kbps.priority= +account.10.codec.ilbc_13_33kbps.enable = +account.10.codec.pcma.enable = 1 +account.10.codec.pcma.priority = {$yealink_codec_5_priority} + +account.10.codec.pcmu.enable = 1 +account.10.codec.pcmu.priority = {$yealink_codec_4_priority} + +account.10.codec.opus.enable = 1 +account.10.codec.opus.priority = {$yealink_codec_1_priority} +account.10.codec.opus.para= +account.10.codec.g726_40.enable= +account.10.codec.g726_40.priority= +account.10.codec.g726_32.enable= +account.10.codec.g726_32.priority= +account.10.codec.g726_24.enable= +account.10.codec.g726_24.priority= +account.10.codec.g726_16.enable= +account.10.codec.g726_16.priority= +account.10.codec.g723_63.priority= +account.10.codec.g723_63.enable= +account.10.codec.g723_53.priority= +account.10.codec.g723_53.enable= +account.10.codec.g729.enable = 1 +account.10.codec.g729.priority = {$yealink_codec_3_priority} + +account.10.codec.g722.enable = 1 +account.10.codec.g722.priority = {$yealink_codec_2_priority} + +account.10.codec.G722_1_24kpbs.priority= +account.10.codec.G722_1_24kpbs.enable= +account.10.codec.G722_1c_24kpbs.priority= +account.10.codec.G722_1c_24kpbs.enable= +account.10.codec.G722_1c_32kpbs.priority= +account.10.codec.G722_1c_32kpbs.enable= +account.10.codec.G722_1c_48kpbs.priority= +account.10.codec.G722_1c_48kpbs.enable= + + +################################################################ +# Account Register ## +################################################################ +{if isset($account.10.password) } +account.10.enable = 1 +{else} +account.10.enable = 0 +{/if} +account.10.label = {$account.10.display_name} +account.10.display_name = {$account.10.display_name} +account.10.auth_name = {$account.10.auth_id} +account.10.password = {$account.10.password} +{if isset($account.10.server.1.address)} +account.10.user_name = {$account.10.user_id}@{$account.10.server_address} +{else} +account.10.user_name = {$account.10.user_id} +{/if} + +account.10.sip_server.1.address= {$account.10.server_address} +account.10.sip_server.1.port= {$account.10.sip_port} + + +{if $account.10.sip_transport == 'udp'}account.10.sip_server.1.transport_type = 0{/if} +{if $account.10.sip_transport == 'tcp'}account.10.sip_server.1.transport_type = 1{/if} +{if $account.10.sip_transport == 'tls'}account.10.sip_server.1.transport_type = 2{/if} +{if $account.10.sip_transport == 'dns srv'}account.10.sip_server.1.transport_type = 3{/if} + +account.10.sip_server.1.expires= {$account.10.register_expires} +account.10.sip_server.1.retry_counts= 3 + +account.10.sip_server.2.address= {$account.10.server.2.address} +account.10.sip_server.2.port= {$account.10.sip_port} + + +{if $account.10.sip_transport == 'udp'}account.10.sip_server.2.transport_type = 0{/if} +{if $account.10.sip_transport == 'tcp'}account.10.sip_server.2.transport_type = 1{/if} +{if $account.10.sip_transport == 'tls'}account.10.sip_server.2.transport_type = 2{/if} +{if $account.10.sip_transport == 'dns srv'}account.10.sip_server.2.transport_type = 3{/if} + +account.10.sip_server.2.expires= {$account.10.register_expires} +account.10.sip_server.2.retry_counts= 3 + +account.10.outbound_proxy_enable= {if isset($account.10.outbound_proxy_primary)}1{else}0{/if} + +account.10.outbound_proxy.1.address= {$account.10.outbound_proxy_primary} + +{if isset($outbound_proxy_1_port)} +account.10.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.10.outbound_proxy.1.port = {$account.10.sip_port} +{/if} + +account.10.outbound_proxy.2.address= {$account.10.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.10.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.10.outbound_proxy.2.port = {$account.10.sip_port} +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.10.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.10.outbound_proxy_fallback_interval = 120 +{/if} + +account.10.nat.nat_traversal= + + +################################################################ +# Account Basic ## +################################################################ +account.10.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.10.nat.udp_update_enable= 3 +account.10.nat.udp_update_time= 30 +account.10.nat.rport= {$yealink_rport} + +account.10.dtmf.type= {$yealink_dtmf_type} +account.10.dtmf.info_type= +account.10.dtmf.dtmf_payload= +account.10.100rel_enable= {$yealink_retransmission} + +account.10.subscribe_register= +account.10.cid_source= {$yealink_cid_source} +account.10.enable_user_equal_phone= +account.10.srtp_encryption= {$yealink_srtp_encryption} +account.10.ptime= 20 +account.10.register_line= +account.10.register_mac= +account.10.reg_fail_retry_interval= +account.10.unregister_on_reboot= + +account.10.session_timer.refresher= +account.10.session_timer.expires= +account.10.session_timer.enable= {$yealink_session_timer} + +account.10.conf_type= +account.10.sip_server_type= + +##V83 Add +account.10.srtp.unencrypted_rtcp.enable = +account.10.srtp.unencrypted_rtp.enable = +account.10.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.10.outbound_proxy.1.register_on_enable= +account.10.outbound_proxy.1.failback_timeout= +account.10.outbound_proxy.1.failback_mode= +account.10.outbound_proxy.1.retry_counts= +account.10.outbound_proxy.1.only_signal_with_registered= +account.10.outbound_proxy.1.failback_subscribe.enable= +account.10.outbound_proxy.1.invite_retry_counts= + +account.10.sip_server.1.register_on_enable= 0 +account.10.sip_server.1.failback_timeout= 3600 +account.10.sip_server.1.failback_mode= 0 +account.10.sip_server.1.failback_subscribe.enable= +account.10.sip_server.1.only_signal_with_registered= +account.10.sip_server.1.invite_retry_counts= + +account.10.outbound_proxy.2.register_on_enable= +account.10.outbound_proxy.2.failback_timeout= +account.10.outbound_proxy.2.failback_mode= +account.10.outbound_proxy.2.retry_counts= +account.10.outbound_proxy.2.only_signal_with_registered= +account.10.outbound_proxy.2.failback_subscribe.enable= +account.10.outbound_proxy.2.invite_retry_counts= + +account.10.sip_server.2.register_on_enable= +account.10.sip_server.2.failback_timeout= +account.10.sip_server.2.failback_mode= +account.10.sip_server.2.failback_subscribe.enable= +account.10.sip_server.2.only_signal_with_registered= +account.10.sip_server.2.invite_retry_counts= + +account.10.static_cache_pri= +account.10.dns_cache_type= +account.10.naptr_build= +account.10.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} +account.10.fallback.redundancy_type= +account.10.reg_failed_retry_max_time= +account.10.reg_failed_retry_min_time= +account.10.redundancy_with_reg_fail.enable = + +##V83 Add +account.10.sip_server.1.outbound_proxy_enable = +account.10.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.10.contact_take_line_param= +account.10.update_ack_while_dialing= +account.10.srtp_lifetime= +account.10.third_part_request_with_route.enable= +account.10.insert_outbound_in_route.enable= +account.10.path.enable= +account.10.sub_fail_retry_interval= +account.10.transfer_refer_to_contact_header.enable= +account.10.hold_use_inactive= +account.10.gruu.enable= +account.10.dial_tone= +account.10.call_id_mode= +account.10.subscribe_expires_overlap= +account.10.register_expires_overlap= +account.10.call_info= +account.10.custom_ua= +account.10.mwi_parse_terminated= +account.10.check_cseq.enable= +account.10.check_to_tag.enable= +account.10.vq_rtcpxr.collector_server_port= +account.10.vq_rtcpxr.collector_server_host= +account.10.vq_rtcpxr.collector_name= +account.10.compact_header_enable= +account.10.cp_source= +account.10.cid_source_ppi= +account.10.cid_source_privacy= +account.10.reg_with_pani_header.enable = +account.10.alert_info= +account.10.picture_info_enable= + +##V83 Add +account.10.invite_with_pani_header.enable = + +##V84 Add +account.10.invite_with_rpid_header.enable= + +account.10.auto_answer_mute_enable + +####################################################################################### +## History ## +####################################################################################### +account.10.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.10.timeout_fwd.off_code= +account.10.timeout_fwd.on_code= +account.10.timeout_fwd.timeout= +account.10.timeout_fwd.target= +account.10.timeout_fwd.enable= +account.10.busy_fwd.off_code= +account.10.busy_fwd.on_code= +account.10.busy_fwd.target= +account.10.busy_fwd.enable= +account.10.always_fwd.off_code= +account.10.always_fwd.on_code= +account.10.always_fwd.target= +account.10.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.10.dnd.enable= +account.10.dnd.off_code= +account.10.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.10.subscribe_mwi= +account.10.subscribe_mwi_to_vm= +account.10.subscribe_mwi_expires= +account.10.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.10.auto_dial_enable= +account.10.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.10.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.10.dialplan.digitmap.enable= +account.10.dialplan.digitmap.string= +account.10.dialplan.digitmap.no_match_action= +account.10.dialplan.digitmap.interdigit_short_timer= +account.10.dialplan.digitmap.interdigit_long_timer= +account.10.dialplan.digitmap.apply_to.press_send= +account.10.dialplan.digitmap.apply_to.forward= +account.10.dialplan.digitmap.apply_to.history_dial= +account.10.dialplan.digitmap.apply_to.directory_dial= +account.10.dialplan.digitmap.apply_to.on_hook_dial= +account.10.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.10.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.10.blf.blf_list_uri= +account.10.blf_list_barge_in_code= +account.10.blf_list_code= +account.10.blf_list_retrieve_call_parked_code= +account.10.blf.subscribe_period= +account.10.blf.match_host.enable= +account.10.out_dialog_blf_enable= +account.10.blf.subscribe_event= + +##V84 Add +account.10.blf_list_call_parked_code= +account.10.blf_list_call_parked_list= + +####################################################################################### +## SCA ## +####################################################################################### +account.10.shared_line= {$shared_line_1} +account.10.line_seize.expires= +account.10.shared_line_one_touch_bargein.enable= +account.10.shared_line_one_touch_retrieve.enable= +account.10.sca_manage_interface_display_time= +account.10.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.10.bla_number= +account.10.bla_subscribe_period= +account.10.bla.notify_with_expire.enable= +account.10.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.10.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.10.acd.enable= +account.10.acd.available= +account.10.acd.unavailable_reason_enable= +account.10.acd.initial_state= +account.10.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.10.reason_code.1= +account.10.reason_code_name.1= +account.10.bw_disp_code.1= +account.10.bw_disp_code_name.1= +account.10.supervisor_info_code.1= +account.10.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.10.call_center.call_info_enable= +account.10.call_center.show_call_info_time= +account.10.call_center.disp_code_enable= +account.10.call_center.trace_enable= +account.10.call_center.emergency_enable= +account.10.call_center.queue_status_enable= +account.10.call_center.queue_status_light_enable = + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.10.hoteling.enable= +account.10.hoteling.user_id= +account.10.hoteling.password= +account.10.hoteling.expires= +account.10.hoteling.auto_login_enable= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.10.xsi.user = +account.10.xsi.password = +account.10.xsi.host = +account.10.xsi.server_type = +account.10.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.10.direct_pickup_code = +account.10.group_pickup_code = +account.10.dialoginfo_callpickup = +account.10.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.10.call_recording.enable= + +####################################################################################### +## Network Conferene ## +####################################################################################### +account.10.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.10.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.10.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.10.flexible_seating.enable= +account.10.hoteling.pin= +account.10.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.10.features.forward.feature_key_sync.local_processing.enable= +account.10.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.10.dnd.feature_key_sync.enable= +account.10.feature_key_sync.enable= +account.10.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.10.acd.available_url= +account.10.acd.away_url = +account.10.acd.refresh_url = +account.10.acd.call_information= + + +####################################################################################### +## PSTN ## +####################################################################################### +pstn.account.10.enable= +pstn.account.10.label= + + From 347a50c6278a83fef1e8bc2d1eec237fc6e4f855 Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Fri, 6 Nov 2020 17:43:41 -0700 Subject: [PATCH 168/677] Update {$mac}.cfg updated to conform to firmware 2.2.10 tags. improved button display format. added keys to provisioning. --- .../templates/provision/fanvil/x7/{$mac}.cfg | 2913 ++++++----------- 1 file changed, 960 insertions(+), 1953 deletions(-) diff --git a/resources/templates/provision/fanvil/x7/{$mac}.cfg b/resources/templates/provision/fanvil/x7/{$mac}.cfg index a3b3f5f6ff..89ca982271 100644 --- a/resources/templates/provision/fanvil/x7/{$mac}.cfg +++ b/resources/templates/provision/fanvil/x7/{$mac}.cfg @@ -1,4 +1,5 @@ + 2.0000000000 @@ -19,6 +20,7 @@ user123 password 2 + 1500 @@ -32,7 +34,36 @@ Fanvil X7 {$fanvil_wifi_enable} + 0 + 0 + 192.168.1.179 + 255.255.255.0 + 192.168.1.1 + + 8.8.8.8 + 202.96.134.133 + 1 + 1 + 1 + 0 + Fanvil X7 + 0 + user123 + password + + + + + + + 1 + 1 + 0 + + + 10 + 1 @@ -53,9 +84,10 @@ 16384 16384 1 + 0 - 11 + {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if} 1 0 350+440/0 @@ -108,22 +140,25 @@ {$account.1.auth_id} {$account.1.password} {$account.1.register_expires} + 0 5060 0 3600 + 0 {if isset($account.1.password)}1{else}0{/if} {$account.1.outbound_proxy_primary} {$account.1.sip_port} {$account.1.auth_id} {$account.1.password} + 0 {$account.1.outbound_proxy_secondary} {$account.1.sip_port} + 0 {if isset($account.1.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -184,7 +219,7 @@ 1 0 - *97 + @@ -195,19 +230,19 @@ 5 1 - 1 - *78 - *79 - *72 - *73 - *72 - *73 - *72 - *73 + 0 + + + + + + + + - *67 - *67 + + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB @@ -222,7 +257,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -233,7 +268,7 @@ 0 0 1 - 0 + 2 0 @@ -251,6 +286,12 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 {$account.2.user_id} @@ -261,22 +302,25 @@ {$account.2.auth_id} {$account.2.password} {$account.2.register_expires} + 0 5060 0 3600 + 0 {if isset($account.2.password)}1{else}0{/if} {$account.2.outbound_proxy_primary} {$account.2.sip_port} {$account.2.auth_id} {$account.2.password} + 0 {$account.2.outbound_proxy_secondary} {$account.2.sip_port} + 0 {if isset($account.2.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -337,7 +381,7 @@ 1 0 - *97 + @@ -348,19 +392,19 @@ 5 1 - 1 - *78 - *79 - *72 - *73 - *72 - *73 - *72 - *73 + 0 + + + + + + + + - *67 - *67 + + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB @@ -375,7 +419,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -386,7 +430,7 @@ 0 0 1 - 0 + 2 0 @@ -404,6 +448,12 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 {$account.3.user_id} @@ -414,22 +464,25 @@ {$account.3.auth_id} {$account.3.password} {$account.3.register_expires} + 0 5060 0 3600 + 0 {if isset($account.3.password)}1{else}0{/if} {$account.3.outbound_proxy_primary} {$account.3.sip_port} {$account.3.auth_id} {$account.3.password} + 0 {$account.3.outbound_proxy_secondary} {$account.3.sip_port} + 0 {if isset($account.3.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -490,7 +543,7 @@ 1 0 - *97 + @@ -501,19 +554,17 @@ 5 1 - 1 - *78 - *79 - *72 - *73 - *72 - *73 - *72 - *73 + 0 + + + + + + + + - *67 - *67 @@ -530,7 +581,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -541,7 +592,7 @@ 0 0 1 - 0 + 2 0 @@ -559,6 +610,12 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 {$account.4.user_id} @@ -569,22 +626,25 @@ {$account.4.auth_id} {$account.4.password} {$account.4.register_expires} + 0 5060 0 3600 + 0 {if isset($account.4.password)}1{else}0{/if} {$account.4.outbound_proxy_primary} {$account.4.sip_port} {$account.4.auth_id} {$account.4.password} + 0 {$account.4.outbound_proxy_secondary} {$account.4.sip_port} + 0 {if isset($account.4.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -645,7 +705,7 @@ 1 0 - *97 + @@ -656,19 +716,19 @@ 5 1 - 1 - *78 - *79 - *72 - *73 - *72 - *73 - *72 - *73 + 0 + + + + + + + + - *67 - *67 + + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB @@ -683,7 +743,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -694,7 +754,7 @@ 0 0 1 - 0 + 2 0 @@ -712,6 +772,12 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 {$account.5.user_id} @@ -722,22 +788,25 @@ {$account.5.auth_id} {$account.5.password} {$account.5.register_expires} + 0 5060 0 3600 + 0 {if isset($account.5.password)}1{else}0{/if} {$account.5.outbound_proxy_primary} {$account.5.sip_port} {$account.5.auth_id} {$account.5.password} + 0 {$account.5.outbound_proxy_secondary} {$account.5.sip_port} + 0 {if isset($account.5.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -798,7 +867,7 @@ 1 0 - *97 + @@ -809,19 +878,19 @@ 5 1 - 1 - *78 - *79 - *72 - *73 - *72 - *73 - *72 - *73 + 0 + + + + + + + + - *67 - *67 + + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB @@ -836,7 +905,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -847,7 +916,7 @@ 0 0 1 - 0 + 2 0 @@ -865,6 +934,12 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 {$account.6.user_id} @@ -875,22 +950,25 @@ {$aaccount.6.uth_id} {$account.6.password} {$account.6.register_expires} + 0 5060 0 3600 + 0 {if isset($account.6.password)}1{else}0{/if} {$account.6.outbound_proxy_primary} {$account.6.sip_port} {$account.6.auth_id} {$account.6.password} + 0 {$account.6.outbound_proxy_secondary} {$account.6.sip_port} + 0 {if isset($account.6.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -951,7 +1029,7 @@ 1 0 - *97 + @@ -962,19 +1040,19 @@ 5 1 - 1 - *78 - *79 - *72 - *73 - *72 - *73 - *72 - *73 + 0 + + + + + + + + - *67 - *67 + + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB @@ -989,7 +1067,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -1000,7 +1078,7 @@ 0 0 1 - 0 + 2 0 @@ -1018,32 +1096,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.7.user_id} + {$account.7.display_name} - - 5060 - - - 3600 + {$account.7.server_address} + {$account.7.sip_port} + {$account.7.auth_id} + {$account.7.password} + {$account.7.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.7.password)}1{else}0{/if} + {$account.7.outbound_proxy_primary} + {$account.7.sip_port} + {$account.7.auth_id} + {$account.7.password} + 0 + {$account.7.outbound_proxy_secondary} + {$account.7.sip_port} + 0 + {if isset($account.7.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1063,7 +1150,7 @@ - default + {if isset($fanvil_ringtone_line7)}{$fanvil_ringtone_line7}{else}default{/if} 2 30 0 @@ -1078,14 +1165,14 @@ 0 1 0 - 3600 + {$account.7.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.7.sip_transport == 'dns srv'}1{/if} + {if $account.7.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -1094,11 +1181,13 @@ 1 0 5060 - 0 + {if $account.7.sip_transport == 'udp'}0{/if} + {if $account.7.sip_transport == 'tcp'}1{/if} + {if $account.7.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -1128,8 +1217,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -1140,7 +1229,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -1151,7 +1240,7 @@ 0 0 1 - 0 + 2 0 @@ -1169,32 +1258,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.8.user_id} + {$account.8.display_name} - - 5060 - - - 3600 + {$account.8.server_address} + {$account.8.sip_port} + {$account.8.auth_id} + {$account.8.password} + {$account.8.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.8.password)}1{else}0{/if} + {$account.8.outbound_proxy_primary} + {$account.8.sip_port} + {$account.8.auth_id} + {$account.8.password} + 0 + {$account.8.outbound_proxy_secondary} + {$account.8.sip_port} + 0 + {if isset($account.8.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1214,7 +1312,7 @@ - default + {if isset($fanvil_ringtone_line8)}{$fanvil_ringtone_line8}{else}default{/if} 2 30 0 @@ -1229,14 +1327,14 @@ 0 1 0 - 3600 + {$account.8.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.8.sip_transport == 'dns srv'}1{/if} + {if $account.8.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -1245,11 +1343,13 @@ 1 0 5060 - 0 + {if $account.8.sip_transport == 'udp'}0{/if} + {if $account.8.sip_transport == 'tcp'}1{/if} + {if $account.8.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -1279,8 +1379,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -1291,7 +1391,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -1302,7 +1402,7 @@ 0 0 1 - 0 + 2 0 @@ -1320,32 +1420,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.9.user_id} + {$account.9.display_name} - - 5060 - - - 3600 + {$account.9.server_address} + {$account.9.sip_port} + {$account.9.auth_id} + {$account.9.password} + {$account.9.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.9.password)}1{else}0{/if} + {$account.9.outbound_proxy_primary} + {$account.9.sip_port} + {$account.9.auth_id} + {$account.9.password} + 0 + {$account.9.outbound_proxy_secondary} + {$account.9.sip_port} + 0 + {if isset($account.9.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1365,7 +1474,7 @@ - default + {if isset($fanvil_ringtone_line9)}{$fanvil_ringtone_line9}{else}default{/if} 2 30 0 @@ -1380,14 +1489,14 @@ 0 1 0 - 3600 + {$account.9.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.9.sip_transport == 'dns srv'}1{/if} + {if $account.9.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -1396,11 +1505,13 @@ 1 0 5060 - 0 + {if $account.9.sip_transport == 'udp'}0{/if} + {if $account.9.sip_transport == 'tcp'}1{/if} + {if $account.9.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -1430,8 +1541,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -1442,7 +1553,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -1453,7 +1564,7 @@ 0 0 1 - 0 + 2 0 @@ -1471,32 +1582,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.10.user_id} + {$account.10.display_name} - - 5060 - - - 3600 + {$account.10.server_address} + {$account.10.sip_port} + {$account.10.auth_id} + {$account.10.password} + {$account.10.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.10.password)}1{else}0{/if} + {$account.10.outbound_proxy_primary} + {$account.10.sip_port} + {$account.10.auth_id} + {$account.10.password} + 0 + {$account.10.outbound_proxy_secondary} + {$account.10.sip_port} + 0 + {if isset($account.10.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1516,7 +1636,7 @@ - default + {if isset($fanvil_ringtone_line10)}{$fanvil_ringtone_line10}{else}default{/if} 2 30 0 @@ -1531,14 +1651,14 @@ 0 1 0 - 3600 + {$account.10.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.10.sip_transport == 'dns srv'}1{/if} + {if $account.10.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -1547,11 +1667,13 @@ 1 0 5060 - 0 + {if $account.10.sip_transport == 'udp'}0{/if} + {if $account.10.sip_transport == 'tcp'}1{/if} + {if $account.10.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -1581,8 +1703,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -1593,7 +1715,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -1604,7 +1726,7 @@ 0 0 1 - 0 + 2 0 @@ -1622,32 +1744,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.11.user_id} + {$account.11.display_name} - - 5060 - - - 3600 + {$account.11.server_address} + {$account.11.sip_port} + {$account.11.auth_id} + {$account.11.password} + {$account.11.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.11.password)}1{else}0{/if} + {$account.11.outbound_proxy_primary} + {$account.11.sip_port} + {$account.11.auth_id} + {$account.11.password} + 0 + {$account.11.outbound_proxy_secondary} + {$account.11.sip_port} + 0 + {if isset($account.11.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1667,7 +1798,7 @@ - default + {if isset($fanvil_ringtone_line11)}{$fanvil_ringtone_line11}{else}default{/if} 2 30 0 @@ -1682,14 +1813,14 @@ 0 1 0 - 3600 + {$account.11.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.11.sip_transport == 'dns srv'}1{/if} + {if $account.11.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -1698,11 +1829,13 @@ 1 0 5060 - 0 + {if $account.11.sip_transport == 'udp'}0{/if} + {if $account.11.sip_transport == 'tcp'}1{/if} + {if $account.11.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -1732,8 +1865,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -1744,7 +1877,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -1755,7 +1888,7 @@ 0 0 1 - 0 + 2 0 @@ -1773,32 +1906,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.12.user_id} + {$account.12.display_name} - - 5060 - - - 3600 + {$account.12.server_address} + {$account.12.sip_port} + {$account.12.auth_id} + {$account.12.password} + {$account.12.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.12.password)}1{else}0{/if} + {$account.12.outbound_proxy_primary} + {$account.12.sip_port} + {$account.12.auth_id} + {$account.12.password} + 0 + {$account.12.outbound_proxy_secondary} + {$account.12.sip_port} + 0 + {if isset($account.12.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1818,7 +1960,7 @@ - default + {if isset($fanvil_ringtone_line12)}{$fanvil_ringtone_line12}{else}default{/if} 2 30 0 @@ -1833,14 +1975,14 @@ 0 1 0 - 3600 + {$account.12.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.12.sip_transport == 'dns srv'}1{/if} + {if $account.12.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -1849,11 +1991,13 @@ 1 0 5060 - 0 + {if $account.12.sip_transport == 'udp'}0{/if} + {if $account.12.sip_transport == 'tcp'}1{/if} + {if $account.12.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -1883,8 +2027,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -1895,7 +2039,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -1906,7 +2050,7 @@ 0 0 1 - 0 + 2 0 @@ -1924,32 +2068,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.13.user_id} + {$account.13.display_name} - - 5060 - - - 3600 + {$account.13.server_address} + {$account.13.sip_port} + {$account.13.auth_id} + {$account.13.password} + {$account.13.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.13.password)}1{else}0{/if} + {$account.13.outbound_proxy_primary} + {$account.13.sip_port} + {$account.13.auth_id} + {$account.13.password} + 0 + {$account.13.outbound_proxy_secondary} + {$account.13.sip_port} + 0 + {if isset($account.13.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1969,7 +2122,7 @@ - default + {if isset($fanvil_ringtone_line13)}{$fanvil_ringtone_line13}{else}default{/if} 2 30 0 @@ -1984,14 +2137,14 @@ 0 1 0 - 3600 + {$account.13.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.13.sip_transport == 'dns srv'}1{/if} + {if $account.13.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -2000,11 +2153,13 @@ 1 0 5060 - 0 + {if $account.13.sip_transport == 'udp'}0{/if} + {if $account.13.sip_transport == 'tcp'}1{/if} + {if $account.13.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -2034,8 +2189,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -2046,7 +2201,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -2057,7 +2212,7 @@ 0 0 1 - 0 + 2 0 @@ -2075,32 +2230,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.14.user_id} + {$account.14.display_name} - - 5060 - - - 3600 + {$account.14.server_address} + {$account.14.sip_port} + {$account.14.auth_id} + {$account.14.password} + {$account.14.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.14.password)}1{else}0{/if} + {$account.14.outbound_proxy_primary} + {$account.14.sip_port} + {$account.14.auth_id} + {$account.14.password} + 0 + {$account.14.outbound_proxy_secondary} + {$account.14.sip_port} + 0 + {if isset($account.14.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2120,7 +2284,7 @@ - default + {if isset($fanvil_ringtone_line14)}{$fanvil_ringtone_line14}{else}default{/if} 2 30 0 @@ -2135,14 +2299,14 @@ 0 1 0 - 3600 + {$account.14.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.14.sip_transport == 'dns srv'}1{/if} + {if $account.14.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -2151,11 +2315,13 @@ 1 0 5060 - 0 + {if $account.14.sip_transport == 'udp'}0{/if} + {if $account.14.sip_transport == 'tcp'}1{/if} + {if $account.14.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -2185,8 +2351,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -2197,7 +2363,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -2208,7 +2374,7 @@ 0 0 1 - 0 + 2 0 @@ -2226,32 +2392,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.15.user_id} + {$account.15.display_name} - - 5060 - - - 3600 + {$account.15.server_address} + {$account.15.sip_port} + {$account.15.auth_id} + {$account.15.password} + {$account.15.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.15.password)}1{else}0{/if} + {$account.15.outbound_proxy_primary} + {$account.15.sip_port} + {$account.15.auth_id} + {$account.15.password} + 0 + {$account.15.outbound_proxy_secondary} + {$account.15.sip_port} + 0 + {if isset($account.15.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2271,7 +2446,7 @@ - default + {if isset($fanvil_ringtone_line15)}{$fanvil_ringtone_line15}{else}default{/if} 2 30 0 @@ -2286,14 +2461,14 @@ 0 1 0 - 3600 + {$account.15.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.15.sip_transport == 'dns srv'}1{/if} + {if $account.15.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -2302,11 +2477,13 @@ 1 0 5060 - 0 + {if $account.15.sip_transport == 'udp'}0{/if} + {if $account.15.sip_transport == 'tcp'}1{/if} + {if $account.15.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -2336,8 +2513,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -2348,7 +2525,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -2359,7 +2536,7 @@ 0 0 1 - 0 + 2 0 @@ -2377,32 +2554,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.16.user_id} + {$account.16.display_name} - - 5060 - - - 3600 + {$account.16.server_address} + {$account.16.sip_port} + {$account.16.auth_id} + {$account.16.password} + {$account.16.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.16.password)}1{else}0{/if} + {$account.16.outbound_proxy_primary} + {$account.16.sip_port} + {$account.16.auth_id} + {$account.16.password} + 0 + {$account.16.outbound_proxy_secondary} + {$account.16.sip_port} + 0 + {if isset($account.16.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2422,7 +2608,7 @@ - default + {if isset($fanvil_ringtone_line16)}{$fanvil_ringtone_line16}{else}default{/if} 2 30 0 @@ -2437,14 +2623,14 @@ 0 1 0 - 3600 + {$account.16.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.16.sip_transport == 'dns srv'}1{/if} + {if $account.16.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -2453,11 +2639,13 @@ 1 0 5060 - 0 + {if $account.16.sip_transport == 'udp'}0{/if} + {if $account.16.sip_transport == 'tcp'}1{/if} + {if $account.16.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -2487,8 +2675,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -2499,7 +2687,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -2510,7 +2698,7 @@ 0 0 1 - 0 + 2 0 @@ -2528,32 +2716,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.17.user_id} + {$account.17.display_name} - - 5060 - - - 3600 + {$account.17.server_address} + {$account.17.sip_port} + {$account.17.auth_id} + {$account.17.password} + {$account.17.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.17.password)}1{else}0{/if} + {$account.17.outbound_proxy_primary} + {$account.17.sip_port} + {$account.17.auth_id} + {$account.17.password} + 0 + {$account.17.outbound_proxy_secondary} + {$account.17.sip_port} + 0 + {if isset($account.17.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2573,7 +2770,7 @@ - default + {if isset($fanvil_ringtone_line17)}{$fanvil_ringtone_line17}{else}default{/if} 2 30 0 @@ -2588,14 +2785,14 @@ 0 1 0 - 3600 + {$account.17.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.17.sip_transport == 'dns srv'}1{/if} + {if $account.17.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -2604,11 +2801,13 @@ 1 0 5060 - 0 + {if $account.17.sip_transport == 'udp'}0{/if} + {if $account.17.sip_transport == 'tcp'}1{/if} + {if $account.17.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -2638,8 +2837,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -2650,7 +2849,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -2661,7 +2860,7 @@ 0 0 1 - 0 + 2 0 @@ -2679,32 +2878,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.18.user_id} + {$account.18.display_name} - - 5060 - - - 3600 + {$account.18.server_address} + {$account.18.sip_port} + {$account.18.auth_id} + {$account.18.password} + {$account.18.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.18.password)}1{else}0{/if} + {$account.18.outbound_proxy_primary} + {$account.18.sip_port} + {$account.18.auth_id} + {$account.18.password} + 0 + {$account.18.outbound_proxy_secondary} + {$account.18.sip_port} + 0 + {if isset($account.18.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2724,7 +2932,7 @@ - default + {if isset($fanvil_ringtone_line18)}{$fanvil_ringtone_line18}{else}default{/if} 2 30 0 @@ -2739,14 +2947,14 @@ 0 1 0 - 3600 + {$account.18.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.18.sip_transport == 'dns srv'}1{/if} + {if $account.18.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -2755,11 +2963,13 @@ 1 0 5060 - 0 + {if $account.18.sip_transport == 'udp'}0{/if} + {if $account.18.sip_transport == 'tcp'}1{/if} + {if $account.18.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -2789,8 +2999,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -2801,7 +3011,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -2812,7 +3022,7 @@ 0 0 1 - 0 + 2 0 @@ -2830,32 +3040,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.19.user_id} + {$account.19.display_name} - - 5060 - - - 3600 + {$account.19.server_address} + {$account.19.sip_port} + {$account.19.auth_id} + {$account.19.password} + {$account.19.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.19.password)}1{else}0{/if} + {$account.19.outbound_proxy_primary} + {$account.19.sip_port} + {$account.19.auth_id} + {$account.19.password} + 0 + {$account.19.outbound_proxy_secondary} + {$account.19.sip_port} + 0 + {if isset($account.19.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2875,7 +3094,7 @@ - default + {if isset($fanvil_ringtone_line19)}{$fanvil_ringtone_line19}{else}default{/if} 2 30 0 @@ -2890,14 +3109,14 @@ 0 1 0 - 3600 + {$account.19.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.19.sip_transport == 'dns srv'}1{/if} + {if $account.19.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -2906,11 +3125,13 @@ 1 0 5060 - 0 + {if $account.19.sip_transport == 'udp'}0{/if} + {if $account.19.sip_transport == 'tcp'}1{/if} + {if $account.19.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -2940,8 +3161,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -2952,7 +3173,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -2963,7 +3184,7 @@ 0 0 1 - 0 + 2 0 @@ -2981,32 +3202,41 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 - - + {$account.20.user_id} + {$account.20.display_name} - - 5060 - - - 3600 + {$account.20.server_address} + {$account.20.sip_port} + {$account.20.auth_id} + {$account.20.password} + {$account.20.register_expires} + 0 5060 0 3600 - 0 - - 5060 - - - - 5060 - 1 + 0 + {if isset($account.20.password)}1{else}0{/if} + {$account.20.outbound_proxy_primary} + {$account.20.sip_port} + {$account.20.auth_id} + {$account.20.password} + 0 + {$account.20.outbound_proxy_secondary} + {$account.20.sip_port} + 0 + {if isset($account.20.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -3026,7 +3256,7 @@ - default + {if isset($fanvil_ringtone_line20)}{$fanvil_ringtone_line20}{else}default{/if} 2 30 0 @@ -3041,14 +3271,14 @@ 0 1 0 - 3600 + {$account.20.register_expires} 0 0 1 0 0 - 0 - 0 + {if $account.20.sip_transport == 'dns srv'}1{/if} + {if $account.20.sip_transport == 'dns srv'}1{/if} 0 0 0 @@ -3057,11 +3287,13 @@ 1 0 5060 - 0 + {if $account.20.sip_transport == 'udp'}0{/if} + {if $account.20.sip_transport == 'tcp'}1{/if} + {if $account.20.sip_transport == 'tls'}2{/if} 0 0 - 0 + 1 1 0 @@ -3091,8 +3323,8 @@ - PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -3103,7 +3335,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -3114,7 +3346,7 @@ 0 0 1 - 0 + 2 0 @@ -3132,7 +3364,22 @@ 1 0 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + 0 + 30 + 1 + 0 + 0 + 0 + 1 + @@ -3151,7 +3398,6 @@ 0 0 0 - 1 1 1 1 @@ -3164,7 +3410,7 @@ 1 0 1 - 1 + 0 0 0 30 @@ -3183,8 +3429,8 @@ 0 0 1 - 2 - 2 + {$fanvil_default_answer_mode} + {$fanvil_default_dial_mode} 0 1 1 @@ -3206,6 +3452,10 @@ 0 + 0 + 120 + 120 + 0 1 @@ -3221,47 +3471,57 @@ - Type 1 + -1 + {if isset($fanvil_default_ringtone_ext)}{$fanvil_default_ringtone_ext}{else}Type 1{/if} - Type 1 + -1 + {if isset($fanvil_default_ringtone_ext2)}{$fanvil_default_ringtone_ext2}{else}Type 4{/if} + -1 Type 1 + -1 Type 1 + -1 Type 1 + -1 Type 1 + -1 Type 1 + -1 Type 1 + -1 Type 1 + -1 Type 1 - 123 + {if isset($fanvil_menu_password)}{$fanvil_menu_password}{else}123{/if} 123 0 @@ -3276,18 +3536,23 @@ 0 1 1 - $name@$protocol$instance + $name 0 0 1 1 30 + + 0 + 0 + 0 + - VOIP PHONE + {$fanvil_greeting} 5 - 4 - 12 - 45 + {if isset($fanvil_display_brightness_inactive)}{$fanvil_display_brightness_inactive}{else}4{/if} + {if isset($fanvil_display_brightness_active)}{$fanvil_display_brightness_active}{else}12{/if} + {if isset($fanvil_display_inactivity_time)}{$fanvil_display_inactivity_time}{else}45{/if} 0 bcm911188sv @@ -3310,14 +3575,25 @@ 0 1 + terminated 1 2 - 1 - 1 + early + 1 + 0 + + 1 + 1 + confirmed + 1 + 0 + 2 0 + failed 0 3 + parked @@ -3328,19 +3604,21 @@ - + {if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 2{/if} - 1 - 0.pool.ntp.org - time.nist.gov - 32 - UTC+8 + {if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if} + {$ntp_server_primary} + {$ntp_server_secondary} + {$fanvil_time_zone} + {$fanvil_time_zone_name} + {$fanvil_enable_dst} + {if isset($fanvil_dst_fixed_type)}{$fanvil_dst_fixed_type}{else}0{/if} 60 - 0 - 0 + 1 + {if isset($fanvil_location)}{$fanvil_location}{else}4{/if} 0 - 60 + {if isset($fanvil_dst_minute_offset)}{$fanvil_dst_minute_offset}{else}60{/if} 3 5 0 @@ -3352,27 +3630,28 @@ 0 - 0 - 0 - 0 + {if isset($fanvil_time_display)}{$fanvil_time_display}{else}0{/if} + {if isset($fanvil_date_display)}{$fanvil_date_display}{else}6{/if} + {if isset($fanvil_date_separator)}{$fanvil_date_separator}{else}0{/if} 0 - 2 - history;contact;dnd;menu; - hold;xfer;conf;end; - accept;none;forward;reject; + {if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if} + {if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu; + {if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end; + {if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject; end;none;none;none; end;none;none;xfer; hold;none;split;end; xfer;accept;reject;end; redial;none;none;end; - send;2aB;delete;exit; + send;save;delete;exit; send;2aB;delete;exit; delete;xfer;send;exit; send;2aB;delete;exit; - history;status;none;none;none; + {if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none; pline;nline;none;none;none; + none;none;none;none;none; none;none;voldown;volup;none; status;none;none;none;reset; contact;clogs;redial;video;cancel; @@ -3612,6 +3891,9 @@ 120 + 0 + 2 + 6 1 @@ -3661,10 +3943,8 @@ - - 0 - - + + 0000000000000000 @@ -3672,56 +3952,72 @@ 0 0 + 0 + 0 + 1 0 + 0 0 + 0 0 + 0 0 + 0 0 + 0 0 + 0 0 + 0 0 + 0 0 + 0 0 + 0 + + 60 + 0 @@ -3729,6 +4025,12 @@ 4 1 0 + 0 + 0 + 16 + 360 + 1080 + 1 0 0 0 @@ -3744,1446 +4046,74 @@ - - 2 - SIP1 - - Green - - - 2 - SIP2 - - Green - - - 2 - SIP3 - - Green - - - 2 - SIP4 - - Green - - - 2 - SIP5 - - Green - - - 2 - SIP6 - - Green - - - 3 - F_MWI - - Green - - - 3 - F_HEADSET - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - + {strip}{*-- 11 dssSide keys --*}{/strip} + + {foreach $keys["line"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + {$row.device_key_icon} + + {/foreach} + + {strip}{*-- 4 pages containing 29 keys each --*}{/strip} - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - + {foreach $keys["memory"] as $row} + {if $row.device_key_id <= 29} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + {$row.device_key_icon} + + {/if} + {/foreach} - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - + {foreach $keys["memory"] as $row} + {if $row.device_key_id > 29 && $row.device_key_id <= 58} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + {$row.device_key_icon} + + {/if} + {/foreach} - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - + {foreach $keys["memory"] as $row} + {if $row.device_key_id > 58 && $row.device_key_id <= 87} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + {$row.device_key_icon} + + {/if} + {/foreach} - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - + {foreach $keys["memory"] as $row} + {if $row.device_key_id > 87 && $row.device_key_id <= 116} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + {$row.device_key_icon} + + {/if} + {/foreach} - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - - 0 - - - Green - - + {strip}{*-- 11 dssSoft keys --*}{/strip} + {foreach $keys["programmable"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + + {/foreach} 0 @@ -5219,7 +4149,7 @@ 1 - 00100400FV02001000000c383e30234d + 1 0 0.0.0.0 @@ -5231,7 +4161,7 @@ dps dps 3600 - 0 + 2 020 0 @@ -5245,23 +4175,88 @@ 224.0.2.0 16360 SIP Hotspot + 0 + 0 + 0 1 + 1 + 1 + 1 + 1 + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + @@ -5282,18 +4277,18 @@ 0 - - + {$http_auth_username} + {$http_auth_password} 1 - 0 + 1 5 - - - 2 - 0 + {if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if} + {$fanvil_firmware_config} + 5 + 1 1 720 0 @@ -5308,30 +4303,31 @@ 66 0 0 + 0 - 0 - - - 24 + {if isset($fanvil_enable_auto_upgrade)}{$fanvil_enable_auto_upgrade}{else}0{/if} + {if isset($fanvil_firmware_upgrade_server_1)}{$fanvil_firmware_upgrade_server_1}{else}{/if} + {if isset($fanvil_firmware_upgrade_server_2)}{$fanvil_firmware_upgrade_server_2}{else}{/if} + {if isset($fanvil_firmware_upgrade_interval)}{$fanvil_firmware_upgrade_interval}{else}24{/if} - 0 - 256 - 0 - 254 - 0 - 0 - 0 + {if isset($fanvil_enable_vlan)}{$fanvil_enable_vlan}{else}0{/if} + {if isset($fanvil_lan_port_vlan)}{$fanvil_lan_port_vlan}{else}256{/if} + {if isset($fanvil_pc_port_vlan)}2{else}1{/if} + {if isset($fanvil_pc_port_vlan)}{$fanvil_pc_port_vlan}{else}254{/if} + {if isset($fanvil_qos_sip)}{$fanvil_qos_sip}{else}0{/if} + {if isset($fanvil_qos_rtp_voice)}{$fanvil_qos_rtp_voice}{else}0{/if} + {if isset($fanvil_qos_rtp_video)}{$fanvil_qos_rtp_video}{else}0{/if} 0 - 0 - 46 - 46 - 46 - 1 - 60 - 1 + {if isset($fanvil_enable_diffserv)}{$fanvil_enable_diffserv}{else}0{/if} + {if isset($fanvil_dscp_sip)}{$fanvil_dscp_sip}{else}46{/if} + {if isset($fanvil_dscp_rtp_voice)}{$fanvil_dscp_rtp_voice}{else}46{/if} + {if isset($fanvil_dscp_rtp_video)}{$fanvil_dscp_rtp_video}{else}34{/if} + {if isset($fanvil_lldp_tx_enable)}{$fanvil_lldp_tx_enable}{else}0{/if} + {if isset($fanvil_lldp_refresh)}{$fanvil_lldp_refresh}{else}60{/if} + {if isset($fanvil_lldp_learn)}{$fanvil_lldp_learn}{else}0{/if} 0 1 60 @@ -5364,12 +4360,10 @@ 0 Fanvil X7 - 00:00:00:00:00:00 - 0 1 - 0 + 7200 0 0 @@ -5379,5 +4373,18 @@ 1 1 0 + 0 + 0xffffff + 0xffffff + 0xffffff + 0x262626 + 0x5a9dba + 0xc4012f + 0x007bb0 + 0xffffff + 0xffffff + 0 + 1,1,1,1 + 0 From b0c8b2be4cc3f52c5cfd59c8520dcce43fae5b05 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 7 Nov 2020 12:14:31 -0700 Subject: [PATCH 169/677] Update login.php Minor changes add new line and is_array. --- resources/login.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/login.php b/resources/login.php index 66d73757b1..666d778443 100644 --- a/resources/login.php +++ b/resources/login.php @@ -108,6 +108,7 @@ $reset_button = email_button(strtoupper($text['label-reset_password']), $reset_link, '#2e82d0', '#fff'); $logo_full = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAABGCAYAAADl5IkzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NjAzQjkyMEYxMzA5MTFFNEJCMEVBNTk1RkYzM0FEMjciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NjAzQjkyMTAxMzA5MTFFNEJCMEVBNTk1RkYzM0FEMjciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2MDNCOTIwRDEzMDkxMUU0QkIwRUE1OTVGRjMzQUQyNyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo2MDNCOTIwRTEzMDkxMUU0QkIwRUE1OTVGRjMzQUQyNyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PufA528AAFJVSURBVHja7H0HnBRV8n/15Lg5B9hdwpKDkiQJBlA5Eczp7sR05sN0Zw5n+OmZw5m9UzFgVowICh4gIhmJy7I5787O7OTY8//Wm55lWBZEz/Pu703zaWZ2Zvr169fvW/WtelXVUjQapd62t99+mw5lO+200w72tZTwPkr/3k36hc6T3JLbz7YdKs5+Avb22TQ/N9i2b98upaSkdAO8qKhI/ingwwBIh3Ch0YMIkgMdnxQEye1/bvs5gC41NDSo+I1er5eys7PFh+3t7fK2bduiB5I8PYAsxfe8vDy1RqNRDR06VKt8p+pxqKxSqSRZlqPr168Pd3R0hJ1OZ1yYRBOB3EMQ9BQCScAntyTQD0GbCu0NkEsMcP4sEAhEV69eLR8E1ALM0Pjq4cOHGw0GgxF/G9RqtRG7GQC24tUiSRLvJuxqBehxsMswNbj9CPYwwO4vLi524TN3OBzm3YPPPOiHz263e3HekAJouQf4o0nQJ7ck0A8R5EzRGeSJ2rsXzamCltfk5OSYzGZzqlarzQSYs7FnAdi5eM3Bawb2NACbwZ6GPQXvDfH+4b0AuuJPiMaBjr/9kUikC69dALgLeyf2duxtmZmZraWlpfzeHgqFHB6Px4k+egB+uQfwk2BPbkmg9wS4YocTgxyUOQrwyL2BG9TbZLFY0gFsBnUewFsASt5X2UvxWTE+s2A3RtxuQ3tVFfna2sjNu8NBQZeLIoEARYJBikYiFOfmKq2WNHo9aUwm0mK3pKeTMTeXzAUFlFtaGlVJkg/gdjPYoeFbsNdAGNRDyNRnZWU14+9WAL/NZrN17dmzxw8GEgUrkdFf1ZAhQxJt+CTwk9v/rkaHRjwQENT9+vUzpKenp0HL5wHg/QDogdj5tT/+7o/XnIjPJ9WuXk0Na9dS265dZKupIV97O/kB7JDPR2HsQYBbDodJBsDjqwKJ/DuqUpGkVpNFo6FMAF8NwJPZTJA+kgTmkF5WZiodOTKncMSIYVkjR5LZag2jvSYAfDeAXgXg7zEajbtzc3NrmAGkpqba29ra/BBakR+w7ZNbcvv/cpN+4vJaos2tHjRoUArAkqfT6foB5MMB6CEA9iD8PTDo81laNm+m6q++op3LllHLzp0kA8zRUEiAGLSc1AAs7wTwavGqYiDjc7xh3i4ALiV42gBO8ZkRgiAd73UQCjgXaVnb43gWErDTyYv2261WShs4kAaMH08FkyZR+ogRlJmW1smgx74dv1vn9/vXgZ1UAegOxSxIgj25/SLbf+vyWhzgqoKCAn1+fn4WNGMf1tgA+BiAbTxrcr/Nlr7j00+pdsUKqli+nJorKoQGNhoMpAcg1UYjaSwWAs3uBrUAdswg3/c10ROnAJ3b4m9lAJu9bTpuB5+puX1odj00vDE1lYwpKaTDubx1dWT76CP6JwaVz23p1y8je9as8cOmTRufnpMzA/b7xwD9wpEjR1ZDiDjRlzAofQCUPpQEfXL7n6LubMOC3qoyMjKAn5RMALs/gD0K+2F4Px6vJdsXL1ZtXbSIqr75hppgxxO0tgmAs2Rmkh6alsEswB2jEmInaGWo6ARRIsWkSQ+tToowiFN4SVG9QewmtCO0PLfD79FmCPRf4/eTFsBOB30vzMigSRACrq4uam9ooJoFC+jDW2+lnNNPLzzujjtOhw3vBqWvhNDy4TxOXGN9Tk5OHa7ZoXjvk4BPbr96oEtdXV2avn37prMjzWQyTQSwgRvzUZFAIG3tK6/QmpdeogaAm21trV5PKWlppGI6DnBqAbwwQCcD+BJ2BrdaFdPCWrVG2NwsAKIMaABVmBORMIUje8HLbanRrhZg1YAVRBLoPL+P8HEMdrQdYecdzhMBhQ+BwqthKnjtdmEaWPr3p9yJE2kYKH3zhg305V13U+SWW1JwTTO1Ot1p6E9xKBxaD0q/Vq1Wr8L1bkhPT2+y2+1u9tgnwZ7cftVAh9Y247UUmu63APgcZ2trwZLnnqOVTz1FHaDGTJF1AKIlK4v0AGwYGjUA0EcBMq1OS6k5uZTety9Zc3PIkp9PhuwcMkMYpIDCq40GUuF4/BCIDZHsD1DI6aIut5v8Djt5mprJ29ZKflsndeJcDH6m6bJC6+NAjyhaXXjpWbgw2Nmxx3/jcwZ90OEgNSi/IT2dDKD2Um4ue/HDUjhcIDlaMmoeO59Sj/r9mJSJp7IpMg6mxaug9Z87HI5qhUAkt+T2qwS6WC6DlrVCuw21WCxnrnr++Yz37rqLOpqaKAtgMYMWMw1ngIWdTuEIS8vOpmHHHEO5hx9OOUMGU/aAAZRZXBzVZGT2bD+2OJ7gFJT22uf7hLGGQburli+Xvrj5ZiFEVBAs4QSgh6HBGdwaAJm1OTvl+DUCYSNYAFgFe/Y1Hg8ZsLOW7+JIvhiL0ETCPnKu+5LsK74ky6gnqOCCvx5uGjDO53Q6K3HdbW63O3665JbcfpUaXQ0QcaRaXwbEtx98QA0AeT7sbwao3+UUFNwKwI+aO4fKTziBSiZPJlN2TjTaw63fC6ClHuDeTxDEj1FDqJTPmUMrH3hA8nZ0CKDzNwHsWvbOQ2sHAWDZ6yUT+qKF1mdmIcCOVzWEQJjX5tmMAFtwVVezYy7eB7Xsw3WYBX0h16a15Nm+itIHHdEHfeM1f2Y0To7yS9L35Parpe6grxqAXQfQSUUFBbQOH/qhYTNBw/uPP4oOP+VkGnX66RAD2m5wM/Ck2NYNaIfTT502p2Tr9FJbm5u6uvzkcgcoLEdJUkkJwkCitFQDlQ/IkcaMLhZtckPehgbJb7PF7Hlli4e6RQHmDmhuc3k5dVZUUCEYhrawUGh5LXah4Rnk/AqB0Pn991R44myK+f5UqmBnI3EMntqkF+fXpOUITY/rSOHrT7AUklty+1UCnem4HAwGfZFIJABqbC2Cdj3qkkvosDPPiOaOGMkx6NEQECFFIpIqtokoum1bG6Wd25qporKD6psd1AGA2xx+cnugYdUSGSwG4WSTI7Ct8S8oS2Rz+sjX5SW7w0eeLg+t//qP0sihBULr1yxdSoGWFmFfy4n8HqB2gc6XX345HQWzYsOiRbTlj38ko9Uq2o9Auwt7nbU6NH4YQG/fXUmDB/QXQgT9VYdbd5FKxwE5Eqm0OlKZUtgcCGAP+/3+pBZPbr96oEdhn4P1BtoBpj2TL700a9r8P1J6/wFBAJ8FAGeUqbTYOC59xVfb6ZMPvpeqatsBGBXpDTqypFooLdNCpQNzSWfQCi97KCyTNyiT2x+igDdIQfzdGYpSpstHsicEwdBFoWAa5eenUZwW1K5cSUHY2bxkF1HUKwOetbYLDGLkBRcIrl88Zoy0Q6MRVF144hWNzjt/BsObWvB+2vCRIg5HrVZrQx3b0V+18N6T0UzarBKCJnfj+lxerzeeIJPcktuvD+hDhw6V2traJJ/P58HebLfbt2YWF2cYDIYcKDoNa0KSNMbNG6vp/bc3SCuX7aCCwlQaOaYfnTxuDECtIZ1OC01N5PGHyYfdD2B7/EFyh2Tyh6MU8AQA+gh1BqHRAyGK+gIUxHd7Gl10w+WTKDfTLPriqaulJmh0PbQ5r6+r45QdwOwCcIvGjaPMkhLx2+ply8gFO74A1F144KHNdQx4xWZ3NjaSr29fSklPZTAL+yLcuAF2v5ZkKG+1VkOajDwKRCIC6BBoAuhJ+zy5/Wo1ul6vlx0OhxeK0sGx4Xj1QXlr6mo7jIs/3aJa/tVWcjtDdPSxw+ieh04nk1lLIYDFCzB7fGFy+SLkC4QpADAHg3gPoLuBfL/MJkEYmjxCdoA8xHZ6KEzusES7bCHK65tJV5w3rrsf37/8CjmbGslUWCS87VHlAgBGnN9JZTNndvsUbBs2iGU+9hOI5BjY7gx2NV55haBlxQoqHjM2HoarCns7Kdq5hyRodO6YyqAnTRbOY2t3cQqsQh6SIE9uv16gs30OrcfY8kGTa81mS/97/vKOaeOGaupTnEW/v3AqDR/eF/QZgIUN7nFDcweC0NxhaG6ZfAB3EN8FgmEBeA9rcoAaX1MUn3cFZAJjF6Bz4bMmn0TtriA99+eplGbRiz546+to23PPki49Q4TAxr1igs/D3k7Jz6fS446L9Rd7x6pVlAr7nNfW40ttQqvzWjte6+obaMRVV/E5RSEL/54VUjTiA1Hg0NwwaVOySK1R4bAwp8D6kkBPbr96oHO+ucKSZWhyq98XNL3+8jJ64bUraMSIPuTpCpPd7gbeQqDeADY0uT8Q6QY5a/KQAHkINjmoOlrCxxAMoNBAe0iBT0dEBc2upj1tTjptRjnNmzu8uw+rbryR/HYH6bKzhcddpaCOaTmntJbPnk15w4aJ37Zu2kTtW7ZQGqg5a3S23xnkGuz8nr32bbDfc4+cLoQL+xdCNSuV0NtYvJ0mrz+bBDgsyAkwcY2+XxGNHzne3UUvkiZAcvuvArqSbx5f6+alJkpLs8ijDx+okmQNOTuDZGt3UyDEkWcyeaHJAwC51x/pBnmwW5PDBsf0Znudvexu2ObBCEe0RakxDJD7YVs3OmlIeQ49e8tReyn7U09R5QcfkDEtnSIazT4oY1rOGW/lJ53U/fu6jz8mNce7Y9dw7Htco3PGHD7jpbecIUPImmqNSux4Y/u87mvRoEiwgWFg6DtUOOKw21wul5NlSnp6unrAgAEpGo0mlavh4DMD0/4DZQB22xExP2KE8+TxWyfsfefq1as9nAefBPzPu/VSoqw3Ydu99Rz/XmoVHnIbBzj2UEqb9TxPb4VQov9WoCeeyOv1+kDjXaFw2DVoUGHq+jU1VJCfBlBzBJosNHZAaHIAnal6iCl7GNode4QXzyTQdZns4OdVrU6q7/BDm4OuQ5N7wxzfHqURg3Jo0V1HUYoulrPWtOJr+u6OO0ijN4hAFnbAhZUOqRjMXi9lDx1Kw845p7ujW998k6wpKRThUFyAWw2qL7zuDHRo9araWup/7bUi3E+AvH07ReyVMftcuNyiZCgdw0B3QKN34Lq93G5paWmeXq8fajQap3J+PT4yEXWTC/qBm8gVcWycFuvxeFbj+N1sdCTNgZ8P4EOHDlWPGTOGS5Sx99YEgarqDTS45bi1oYDf7/ctXbrUa7fbu82y/v3769LS0sxow4L7peMV48TjlaVYfglgbgRaW1s98ZJlUASqgQMHchUlEx+bcC6PGxt+F+zFoct1FtXFxcUGzC0L5ir3W83nYCsUpqMPu1en0wWUMm3RfzfQZafT6cZE7cBuHz6iJPW9d9bSzBNGABAx+ztG16G9xd+y+NznC1OrM0QNHR7a2eQiJ7R8HwiHocMKaVauiXIyzGQ1aknPy3B6DR05IofMBjFGZNu4nr783e9FoowpJyeW0Ra/cxy2yuD1+2n0xRd3d3I7QO6oqqLCzEwuKhfT5qxO8crHeFpbyYW/844+Ni4lpdDOj6SoywHb38yePSKdgXR9RsOs8LfhJnVSDP68ejjQZDKdVVdf97sG2PgHiebbX0pGuQENjRo1ciZu2n3oSzvfyHhm3MG0zAG0xU/6/SFosB9s+1/p10/p4yH2FRhR82pQP4zvELwvwGcW2re4qFiN5RJkXGfQarW2AZz1AHzdnj17uBoRZ2cWQpAP43Rr3N90vu89tKqsCG03fmdHG40FBQX1AL0X507FzgVWShXGx6ajG23VoT87Ro4cWbt582Z7PDmKrwfn15SUlORxv7mGA1djwmFcSzGAY21cNwFt7QH2GhXF8G/X6DIA7sUFtft8vqYB5fklthY3NTQ6KAJNzM421uw+AJxpfBiUvd3mpeVbmsmH4T1sZDHdNnsYTRmVRwU51kMyb+s++ZRaa2oplePRlcw28cqJKwC5F7Z2n7Fjxdp5fFv/7LPQzFoKcVpsjC8Lbc7x71GAnSvaZIw+jIrLSmIBfLye3/ClIluh0cM+0uUPI21GFgUaGtpwzTZuBlLXihs/xGKxnHrHbXfS7h0NlJufTSKpVvphkLOjcvv2LbRg4Yv548aOOxZao6qsrGxLSkpKCDeZC4AwtQ+APPg5D56lN0+G7du3q/A9ayouoqlHH3QxpaKK4vcilmf9+vXeqqqqONGRioqKNNBuBkxEo0pRPxzoBKXiV7RKd6zRuHHjuDAnMxOhvbDxf9ywnzVWe3t7aPny5ZFe6KmKNdjw4cNNmNg67Go+uMe5QtRLIQ9ug7XY6NGjTQAl91GjgIJ9Ij5cj4+vJ/GcRxxxhKgMDK3Hvxfn42tDP4M2m41JFyw4TRku+XSNJM0LORyp+1VVQffE/NFoZLXZHNKbTI2RYHATALYW92IN7rUf7Y8EG7wyYLMNY/anCPPEuG0WKbKk08m6lJQumIYVOGYbhEUNzp+r02pnh93uEp6fYp6iC5aioiaNx7MQ7z8BK9xUXV3dpdQuVPfp06eA07x5XuGYE8OdnQbOshTZmmp1VG+1/tPhcDyG37J+8v9Up/AhB8wokwNjEeDJ31pSmhXNzrVKtbUdlJ+XQT5vEJo8Sn4GOSa1Hxr+0zX1dPWF4+h3J42I/oDN0+s25OKLaPsrr1DnnioyMXC5tBQGEIKG/E4n8RL+xDvv3OtPeO01qlu7llSg7UFOgWVVzE44Jckl5HZTa3sHDTrh+O4A+kjbVlWk+isisAkewijMD9Pgo5jys1BrxQQSQMdk4AKWfRlofK9Hjx5FRX0KIeTkQ7oWvmibrSMWjqvVDobmOBNAGYfJEVU0RCfGdRf+rgG1b8VnTPUEaMEiMjAZ+uK4cnxfiD4YebUAux3H7MBv90CrtDGmCwsLcwCeYv6dUniTaaQM8HVA+7QAYI3QDg2VlZXuAQMGpOJ3fSBIhuCVNaCBccrt4to5N39PfX09axKvUgmFNZAafUpDW7noTz7az+NCn1y5V6G2rIk6IcBacnJymqGRWgHajjht5d+A3hpw/TzBy5gl4dhM5dhOnLeCz4s/m3GMLz58EByW1NTUYvyejynjIqIkQijkTvx+N8bMzcVPNAbDKYsuuCDVX1lJGSUlUjzNWTQCQRZlM85gUMkWiyYnI6N/3pQp/Qcee+x0tPcZzrEbgmLSnq++GvYZWOLAqVOFksDxUqK/JcK2oNGo1qSmZuUWFWWVnXrqxJTc3Ap8p1395psl/4RZePiRRwpl4/d4SJeXVzD3uecu4/RpCHh27H7P9zwvL8+K8402m81nOyorT1o8fz6lZWSQxmgkf10dbayrk/787bdHYlw+xpzfSv9CCPaP0ujYg5BcTN1bcnP1rpKy/JStmxopc5pF2OWsuXkVjkHu4iUzScUg7y4ZxeNUD9t8R10XVbT6qMnppy4c5PJDQOA3Me+7imaPzqZ5k4tIn5NHx774PH0852RyNjeTCu2ZQeELRx9OBrz2mzOb+kyf3i2JNr38MgUDAbIq+eoRRaNHldRVL4SDPy+PDjvj7LjgkYLbF5Lswfc6kyDoUehFQ9l4boft6WaAwq5cO2u9VMERcQPxOTnsZvohR1x8iwm/AMZBxUIjH5NyLrerVLjlwQkCFFs7OjoewoRgye1TLotBzTUAzoDUP4cr5YoCHLHzcmRiE94/lJ+fvxsAt+J3hwG4R+D9MKVsNttBDF4/tF8jgMR59iugHWvxmQngOReTbYbyW0kBXAi/rezs7HwYbXE/BAsYMWJEBgDMNQCHoP0RXHhEASozDZarrETDim3ZgnNtxDVtLC8v3wwBtGvTpk0dCsfOwHHjISzOwziMVSr+suzFIcEt+P4NvF8OAbFHccloWFvimMkQENcAlPnsGI4fg/7vxPsv8Fl+IBRKyQRQDr/nHsqaODFWtix+j+IZlvjMA2bXsmoVbfvb36jivfcyj3/mmdNw3l3Y0zgD88jjjqNxL7xAMudVxGlZ7AKFAxiMgRw7dlDlsmX0xfnn09ibbx5YOnly16iTTw52LlqkG3/ZZZQ9ebIIzf783HNp1YIFhvFnnXUK8FMLe7wNArQzNzeXTcGZOotl9rK//IWm//a3VPb73wsmsBZ/56amkspi2eVpakKXfT9lleenOeN40DHBO3HSOmi61uEjilPeeGMVjRpfSh7cDo5qY9ruDUOrY85YrTq66r6vqLAgVdpS30W7mtxk90ZFZFxTN6njLBLs7AiLxm7rB9+2UE66nmYNzaacKdNo1qJFVLngNcqaNJEKZ/yGTLnp+z3VwQ6t316xW0hDtuXjobGcvsppsyquH1dbS32uu470OjXTxKikVqtCW/8Gbc5Xh89CPlKnZZCu7xhyer3NuClN7AhRAKnhBJe40HI4ushkNnYLsVAwRC4whljue3QfAcDvQ6EgNTXUx5052nnzztOuXPEtxsjKTj9eszd+9dXSSZjM3wC8VbzayN1nYDOwMJlPvPbaa7Jef+0tgvYW5+lyOoyrvlmRajZb5mCCVmPSDIQwOHbZsmWq119/nbZs3grpAUaj1lBeQU7KrBNOyDnnnLNHQysfid8vY4cUgDbjzjvvyHn15TfIkmIlLpsP7Whc8OrLhw0ZMuQY/IZB5ABFz8Bx4wH8Y9CXY7Radclnn31Bn372CW37fht12rtEWLNer6WBgwbQscfMyPnNibNGQIOdjPY+wTUsHTVq1EqAvRXXVAQhMQ0U9tizzz4XbNAvav2ppKhxwWuvTBkwYGCUa/P379+/C8yDx4EzpYpw7hlfffXVgHnnzaOsrFxRYMTv9Rjvf+C+8ccce6yMOelUqdUaHhv7nj0UxVzgnAamwZJS4Yi/ixkeKio88UTKhzDY+Nxz9Onll+tnPf54P85t4KCqrtZWsq9fT367PVYZiY/HMXFzjwWGrk8fOuzSS6nPxo205JJLyPrRR5b0Pn28I6++WrP0mmtU026/XdRZGA6gfwbmOXjGjL643ydCWNVj/Gtxvybhfh239sUXpXQwz+yRI8m2Zg21rlhBu8FMT1m8OAqJsBuYa23jDLB/wXH7Y2vGcby7GwBoZBCMm1gy4KUFK6ihzUNmkz5mp4djgTAc7TaiJI2+g40e2NxCOo2KXAAT7gNpjVrKsGqBaYnCALmsUQNnGEQoN/5M9sl06kuVtOkaI5XnWyh30mSxH2xL7VNK6SWl5GhpEVI3rATOiDBZ0PYgQNhhMtPJF19K8Uy44LonJBkTNMomahDnhfmhGzIRNnppNNjQIICu2EUCn3uRKzEYxM4ytqvLSXtqttOYMaNIpzOwagaLiIoknTjQw0ENHT1zEsEWZDopb9r8PQ0eOILycvME0D/8+H1ofD8Z9cYSzpaL3xscyx7kYnQ3bU9lDRXklND4w8cBFGp66bUXye3xUkZG5kiAYKQ/4Cs+ac5J9N03m2ncmAk0bNDhilkqEUx/evrxV+ieu/9KDz/y1/K5c+fmsq8FbZsrdldQnz4DqaykRPR56dKl1MFpwCoVO5WKYVfy0uIETMozMDmPfOGFF+mxRx4Dq/HTqOGHUZ/CgdSvRBtjTrhkj9tDD/zfk3TdNTfQeeefa4WAOtNqTRmCfhSASaxkRxnaLWNTxucO0rjDJ5PFaqJNW76nP//pRlr8xedTodmbwTa4f98y0AHqTBzTpw0ADAc0NGHMFFEteBf6XgsByiaEgC8AybkQPmhsLgcunLGcB1FVFVuK5RLhRUWkgYD1QBiwACg7+mhas2AB7V650lA6YYLMsVsAuOTG9yHcY74ud309uZuaxAoO7GZK7d+fVAYDOdE+VyEee9pp9OVNN6nPevNNXfHYscGKWbMM255+mgaedRZ7/2gYBMrya66hua++OgFAb4ewrMT1HWtvayvZ+eCDNB0KqGPbNsFAvoWQnvbii+Rsb9+G+7ABzIorF/tob9nEf7tG5xP5ITkbMUnqi0uKfNmZKca6mg4qG5gPkOPLoAzNHhbLaq5ghApzTNCqErWHJTLjaC90cRDwk6KxenBqjVoMNgOdYHNz0lvQIJHfJdOoR7fRpxeW0/QBaQlrfOtg7H5OUmALpCpM2YyLSMo+l9RaifoePZ1qVq4QTjfYUQKhDHQdbnRTWzuNuuHPlJqdwXZdVMXafPNDrMjFr1hCC9rebyIFfD727tRAkrbEaauU4GKPqmRB3a1WswBRQ10DjRwxkt5++90IbwxktnX3dch1q3h+q7NyeWqMAU8CNEhmi570Wh1/ycsrxriMwmRm5xvbv2qLxQzNp6ZwJEy8+mIymshg0HO7ZlxO2gnH/YbsHV76zawTRREOGV0QzkKcQwdNO27cGGpr76B5v7uYdAt1aTNmzOB+SinWFGojdyyOAP+4FBhPaGxcunsQQD4UlP30ltamERdeeAlt2biTpk85hlLTLeI8QgOEw93XikkMoXc4RcKj6d03P6F333mPHnz4gRGzTpjFBQqKICBdGLds7pNOrxNj4AcIhw0dQp9++ik98cSTdOmll8zAte+GkKln5xWPCY7VazBGXLFI2N4yTxmMnUmYUGw66NFrie1qD0w9TVqa0MINoNfNXV2UA0EWRD/d0NRFoMVZhx0mfDf8nIBM/N3yySfqsiOO0LBpxgD3ANzMAFwQGlvRRub48YL8haHld61cSQNAzblSEd9aLjqqBpUHMNWwuV1H33yzeuHUqVrrl19SCsdsFBZScPVq+v799y2DTzxxGgTzCIxT2YfnnUeD0C4HcXHEZ8U771DJ2WdT/rBhjtra2g12u30D5lpTgiPuF9HofKIAblQ79j0Ae9u0o4f1Xfj+esotyRFe9yBoOWeh2Rnwip+qHXPAJ5bJJXIx0DEwQaZBvOPiZA6C0fDfahH1pmaKlYab3xakc96qoT3XjyIjW5qe70jaMT52ycJe4t6AWQLovA075Uza8Oxz5IVU1Gm1FED7BkwIzptn23zclX+MU2cpuPYhKdxSS7LKAKmPPgQhgqyppB9wDLSftxnXV40BtilAV+/jWIPM93o95PX4hOXhhVYNhUM82cM4tsvtdrMfwyV0v2L24ivOnNECMDmZmZnF/CEkNWm0GiEYmYZyRVyWQZjEcbtdwufMAMSSPwOis9NO9k6HiElgjYbJwtejv//++1U7tu6haUceQ20QanxeO9iKzdZOWoAjKzMLQsHAsoUG9BtKl/zhMqpvqDULoQcm5XA6yNZhFecI+L1C4PITc6DFx4N+D6qqqhz0m9/MpZBfTVMnTcM99lNri0+wkQCXDeN8Arw3QLtx6W29EBYSjRo1mmqqa+ics35PT/7t0bxzzjnnZAgRdvRlaHV68vkC1GHrRN+04oKHDB5Gd95+F8068fj0vJz8WRAyO1paWjZg/IRjTSXYiQeAsmO8Q+Tscsalpyoe18jU2tvWRhqAkJVI6/btNPqFF6IDp0wJsC3UXFWlWzV/vkQbNpAhPz9W1xBj3wXhIHKscQ3s7PWAHTLQO6FpC2bMoGMefDCE+xFmv8qORYu02++4Q1U2fboQJixMrTCpmlatUg86/ngVqK9v8oMPar865xwazhWKIXSKBw+mtffeSwPnzMnRwSTb9PLLRnnzZtKdcILor2vXLuqEwJhzww3U0NCwxeFwfGez2SpwRU5liZd+KaDzBmHncWBCV2OvP2nusL6PP7OM3DYnaLhWpJ7aQ6CqykoYh7VyJjdjvkuW2HtEYQCagc22OQNd2NRcwhl/RzSg9Hy7IjjIKGPCqPeuhDq+joFcn0Bg/G3gWTtIMgymrCEDaMAJs+i7V14WEpbb5DpxLQ4HHXXrrZSakSYUqywHpeDmJ0lwtCi0KDor+2HLlhxBhv5j5M7GxlpcWx17mxXhti/Q0f9gyE++gEcUy/AFPdC02liNeqhWTHKx9MOrTQrYGbAMVomXTMRnOK6jo1OYMoFgAJNWFlpUlsM9V4W6mQQX1HR0OQQwuPPhcBCswoK5rNEu/vxLSk/PArg7xbg3NNZRRo6Fzjh7NrV3dtDrrywkszFDXLO9s41U2iDV19epi4qKuYAAOewOmA0m4V/wAeiwwTl11wKQjwOdL5h78mmCZZWXDwQraBPRjtDw6E87pWdaqXxQOY6xErQvNTY0g51YqbCgEOc0k8lsoaK8fnTZJVdSYVFB1tQpR6qZ+XAdfr6GTpgJRrMhZjpD6KjVZvz2cvr8889Hgd4el5+f78SYGOKj4fUB6GAmLFy5qq+U4AtRxVzxYulVjZ0LkHL5MDUrl2CQH+EVzisu1h12xRXW7847T+o/e3asRgHb+2grCBDz8iyHVXvQL27Lh891aIMzGGHO8ZyIDps7N23jffepXI2NpGF2xvMaLCDQ2Smxnc9KovCww9T9fvtbc8U//kF9p0wR9noaGMSKO+9UH/6nP1k3/u1v1Le8XKRMRyD0t69bR3PAHKDFq6AE1uCVvfM2xTEb+SVt9HjRVS/A3sDLESUlWWPGjCszbK91Ur+yLLIxyGGf81KYDZrSK8ovy9QJjsz54mHFDg9EEowBOWb3kklLosSLHFVWEjR03KAUMiq9jNpWk+RLCIFQKT7Z+kehpp4VHx1586205YP3xbIGF5yox80qxSBP/OPV7GiK2ebf3CuFm2ooatBTNAAWEY7RduPIudBmfofL5dqFa2s40ACzHev1ucnj8wqtxRTZ0WUDuOq1RoMpLRQKpsuxNVRBhmPCJSJCNbKzsz0sbSAPyO3rIqMHNr0/AFYROoQAHEmc1+XqEsFAPNFNRrPkdDp0VXuqQGEzyOmJ1exTa6O0Zs3qqA+oZZf1Gaedqp88eSplZ+XSNddfRjffehOFQ7KPKS+flqN8LSkWsVwYCuN4tagUpAYLSLvwgguourKBhg0ZQV1OOwRTiPZUVdCowwfTU889QLNO+A2DIBzzcanUFRU7pbvuvpfeePVtKu3bjyyWFGh6PQSBheZfOZ+2bN1s4YxAnUYj2IDT00URKdQt1bIzM+mLxV/T0888I80777wp7LzyserHhOBxC4R81MXHsO3tde3jjOYpwYyQQatlRxqEGNcfoJgpIitL/bIJ58C9Jj8AJnw47e0wAzPEkiwzqxB/h+MZ6AG0Zdx7b7pzqZgt8G84hwJSRAgGEzQ3WE4XgLoT5/JPuP32Ua9//rnUAc1t5rRo7NUvvUQ1y5dLmfy4MbThA5PgpxeN+ctfKLtfP3d9ff16aPMNmIP1vMyqzPLoL63RBX1HR5pxAyrRmcZ5Z4/td86V71JaYToFfbjoQJC4jKKb1EJDdEVYm2vIIzMolAATq4pSss2UmgKKB17O694OfO/twoEBJSAe3509IkfhEbhpre/HPGzMbFkgwFamkExS6CWKlj6EgbdgIAvpyOuvo/f+9KdY5RrQyKNuuY00UsxKlp21UmDdX0nWspMOtB1tyQEfSdB2lvHnk93lqoQQq4RE7lBoe68D7Pf7YMt7hI3Itvr2rbtAm49mra0S9rFSq16cU44Iiooz0VfLl5lGjRoJja4ht9sF6m1AW34ANyKYwsEYmgS7PBAG0AFmGbiKyLGitGyzuzxucTslFTQTBIfRpBHzkQNK2IMNaRxdsmSJgTVyRkamw9Zhb2PBEjMjMO7+mAARdfcwAVnbsqmxc/sO1Ssvv0aF+SXkdDvEeWvqq+m00+bQW2+9TZgHraCZ7WBAHEEYBZtJycnJy3v5pZdyxo4Zo54//1oqKigBnddTVlYGbd+5nR595DHt5VdcoeeH6UYiQXK5nWykdGtlZjapKal020230slz55Rgns3EeXaxicL94nnvQV9EeDVofKJ8lJQoSDdrcy5aCtAGoI3NmZkSzBz2dUQ9brd6wwMPSCkw51ygzHyTuioqKPP443mtPQK6rvFCo7sBfr75XgA9jeMyYAOhb6lM3Td88IEmUFtLftjeEtqXebkVvy+eMiUK07ER2ngLxr0R9nr69CefLPnwyCOpmFkrzIL03FxyVVaSql8/sWzsrKoi07hxdNj8+dTe2LgFdv5qUHaOj7AfbA7+u4EuYMfpm5CyNQD6nslT+/XrW5BC1RXtVJipIw/umSOigZKO4r1ETsYubkpZYQadOCGfjh6eRcP6pFEm6JpOqxbPaGAlHsJxnb4Q7Wj309f1bso0qWlKH2PsjNXPxwIAxYqrSlk7U8XogDtI0q6biIY+Ln46+frrqeLLZfTN4s/ojBtvpkHHHi0ccDxz/V9eTBGXHwLAStEgtDkERcTjJ+OkeWjb4HO2trI2r1HCDXutKsMTKxjxkRcCgjUM/80TsNPmEGymuza9gnReyw/LMccCa9vYWrJEHq+TjG49+ZkWyhFSqQ6u0WOyQwYgHSK3IF5ANzUlXU5LTVE3NzYDOFkCKFV7GujMM8+S3njj9VReRuMQzYkTJwZxz7pAr7/v6upq5KAV2MC5HIDj9WNiu42CfYVDDHRdFNekf+yJx9X4hPwwUwJBmBu2Dho5apgAOSZjTWNj41porx0cQciaEvY52H7aANBtsOMrypsaG7V/feABysosgOmhIq3aRM+/8CJdc+21RiMoLxMBv89BbNFExJKhnSzmVAhAPTW31tEf/nAJvffeeyPYSckFOlWqmBXlBANh2u9Bv/YLZeCoSWhXDYDOk4ufCrT0d78jXWqqLghAsjMtit0M+5wf6qmCYLPBvBs0cqTw4bBdzlSO25DZjwRlUbNkCb37299qJLdb4wVdd3JhUauVfG63OB9T+PzTTqOUrCxvR1XVbozv92CGeoxFdt+RI7NG33CDZd0dd1BuWRlB6pEBfXOj/Qj6YUMb5zz1FLk7O6va29u/YU87Pwz056Ds/wrQldVugtBz1QIUu7xe/+gLfzcu+/q7FlNuejG5/UxTMVig6w5ip1CILjixnF64ZlL0QFVg+X/OYzEDMMUpWprRz9ojo6aOJBft9cKppb1kjSf97ieIii4iSo2ltp7y0ss0ac03nNUWLyxJgfVPScEdS3DjoOnDGnRRRRGAlR3G1smXc805jg/YDWlcrwxy78sZytObnc5OimkYheqElbry0cSlNQ7a2euR1ut1sYvmgC3IEZu9je1yEeWn+gHqHh+7js5WcQzFIpj44sJTpk5Uv/HGQmrrgM2oiXmy33rrTdi5n6ruvff/jJdccomRs/G4BibaaQaoOGCG+Xkkdh8iot14dKzZbBLlu77++mvxd2dXB8XYeZTuv/8+XnVoaW5uXgVt/iU7ZpUQTe6gCd/t4r9ZUNxy260DXn7lFWpt5aUprRAku3bt5LgCyajXCWbENneQY4TkmB+Cr0Gtio3rhx9+SAsXLtSecsophezs1Om0Ij/Bhr5GFSd0z2GLKnxXxRpZ+H7U5Nm1i9xxIcvhpdCsrtZW8UARpxcmGEA76Pzzw5GY91M4Z1gI8GO/xOi0tFDzwoXihoqSwRBSLKCjACknVhmGDqVTX32Vx4UFng2CtV7Ed9jtawH28umg8A0YSxtscD3MBnZEC4EEATPpiScoq6TEi7Hcit+v5xUtZTx/tvJlqp94nByn77jJO7nu+UmzBlOf/FTaWuUQGWzsSfZ5AyTBngO3pKIsowhSUZaeumOtZY+N5K4mcPtG6FBMtPAB4vb7XhnrLcOPVb9fWXDwq2JiB3c2+t3emPeU3KzowNmzY5qcJVPHLpX/n9fHouUi7GnnsFh87vCQadQppC8ZCo3mrgTQKzGfHAejTHHABUMBaGV39+4PeoU3OhQJ4JKDYo/RazlBK8feR5QhiAOW6b30A7cj2uMYwRCCwtsfuu2227v7yppOjsZMAKfTRdCslJOTQ48++qiFI9tKSkom9enTp8xqtabFSoEl3tbYZjKZJYyFVFdXF+tvrJIWBICZZs6YyWHIDbjvnIm3CV9wJl61slfywysxN9awr8OgN/iOP/6E7jbi4Pz6639CSOoxPrF+BtgUCvroN7Nn0bRp07s/5+3iiy9mbW/mQCOYAIqYjfRUGN2bG5K7Eq810JYN0Jp1AHwTQM5rVBzPW4vv90CzV4KSbwFImb5Nf+wxMlmtIRECLMsSO2iqAMJ6HMt7IwDdhPvOx/N3dR6PaLceNn4FTC83tDQ/XATCjbPn9EpEoR1jUY+9neNPhlxwATEfr4VZwW1Wc3QdhNBE3B+Yb1z3oEFxAncpYSA/W2aj6l84lu+EGzeUacpWnVZlP2PucGpv7iKvN0x2P+eDR4W3k7Qq+nhtC6n2clMpULlKan1gLLU/chh1PDuROl6YQJ0vjSPny6PJ/dYE8i8+jUJbX9x7M9PLKTrgaoo6FQgGpb17SCN8eVSzluRVF++3ds3OWN9n5xCMDUxlC0AOjQeTIuLxYiS1ZJ14MZeiqgfQeYLuUWh7+EBZVL05zfgzjljLzc2j9PQMSktLp9TUNLFbrCliyclisQpbdd9l9YO3GxdUB8oSUJbfQgCvb/ny5SJDrreNl/JuvPFGGjBgAG3evHkQqPWs1NTUIZxQIvXSMOYqtHCbxP6DxG348OGiKg8HtPCz5/FRq2JLupSdhWQLBMEe/KaGWURZWel+7VfBLo09YHPfKQhzgj766CMyGA3dn3FgEhgJFLFGjz73dkP210LKNAko+sCloIf3TmVnJ0xuWhpd8uabNOzssz2Yx82C4SjCON6GX5kQzoQ23MoeUKzJnWvW0N+GDWOzIBt9HFZUVMS5AzLem5RcBcuKe+8VgAsm7J0wE5bdeScvk6ZBiJqysrI0CrbknxPoP9VG7/a+Axh10AxbIN1HXXDOYWP/sXAD7WmwUVpWCqn1GuHsSsXr+i0t9OXGRmnaiDzFt9ZE7g3rSAOGruFaj2BqYHbEYQ/MzCPSGlKp36FoVwXpJt0fO+vIu0mufIOkrhaoHIwFh3HzEpnMnm2t0Bjy2udBgXNIP/HueLEMyf3JxRSs3EAyLx+FDfgdQB4MQ5uDco04kYyjjo02NzZW4EZvgxZqU+6f/GMGZOrUqfTVV191P/C1u5i91F2rXmy8PMOBH7Is9+JTl3oG1wgw7I3Hk3pjFxIA5Ya9XD969OiCxsamrAugORgsvW28/DVlyhQOTMk96qijDPGVgd48/GKloMfGAku5rgD65laWIEMQivEKPCEFGw4eeiUhqDcB1atg6+pysZAJP/boY5o//OEP3Z8vWLCAmYkWwlTqLWEoceNagWz4mZXveKQPnzEj9gguDC0HyKSUllLRtGnU/5hjyOV0ttbW1m7nzLnCwsLhasgbY0KOK0+GsiFDaOBJJ4GhBsUTfhpWrqSaCsxN5Rz82uBy0ZfXX0/H//3vwzMzM8dDMFnxOoaB//n8+bRn+3bK6KFdeaC+gO0+ZO5cS2pp6SgIxnIOFGppafFSQkWi/xTQ42DnTCU7wFEBwG8uKUkrn3fOmJTr71lC4ZQwqXVqEVyi0cri6p75tJKOGlXAGihqPfyUaGdxPykCBapS4wZAE/G6N6nZKQVqquEa7H6SV/6VpL4nk7ZoPEkM1DEvUujjWRhwdvFCI0RVIngkNiKYUCovhb+5h+RAkLRH3C4Fvn2U/AB/RMt03SSCYyJhCRZCgCIqI6VMv4q8bncz9x9Ar0ywjX4cNeJYABixYAWdaKdFKT8VVQAvKwEzGtz0fEjt0khkfxBJMb+DKnEu4HfxB2JIvQGDQ22DoaADtt0uaL4mTNSR77//fvbSpUs1d999N63EhOxtO+mkuaDfHo7Ci/TubQ2BlaRyTOk+psIeDhuFGoaG4swrXaLXIrFbMBH0+J6z40xNTU37tS/i9XsRdhR7Mq584YUXyq+88opq1apV3V+dd9550j333HNIk1qnvMrK+3MXL+ZlL56vnMnHjyDgRBFHTXV1I3v0MX41UFiZGOr+IpJQOV6lSLK+EybQ9Dvv5CSiMMdIcOzCkquvVi9//HER1sG/5bjlikWL6Kiurjy0NY0zAzmvoH7VKv3XMA2sSl+iijY3KO3zhPt43jy6YP36UZgnx+IcNQD7GrAwN/2HbfR9tDo6xOGi32Owdl5z8QQaVJZJPncg5hnGoGlxQ816Nb2zspYqm1yxmAZJilqPvppgzlI4oKZwiG1mftVg54qtZgDfAs2LEyy9pFu9agaeQKox11LIS2LtOcwOtbAK7/HKx8opFIam9337AHW9MJI8K+7E32grbIl9H1KhbZkirphtbhl1DC8RbUP/N0NgNcU9nQcvmrD/sHEACZsmaGdPQ0PDElDTd2pqat6CjfsWtMU7+Pvt5ubmpRx7wFT7QFpOrVZzeSq1EqQTD7IROdu9CgcVJ5LodaB9Kmhbzv5yAPB2MAwPGEYIO02aNGl/IIcC9Nhjj/MSu643H6Df549mZmbJ+fl5+3ze2NhIu3fv5ii7wrS0tP4QXKz4NJxSq+Sqi6jj3Nzc/haLZRD6lMJ96LmNHz9eedR1D1MlKpyZMpcXf/bZZ/f5dseOHXTdddcdIAl4Xx9KXFrGU744go/HBfdmI9r5GPtbfE/q6+vfxT1aBEb0Lca9kcMspARpq0pY8mDhwMwJ97ESc6VzxqOPRlPUMReHWonjcsKW79y1i+9JOcey64zG/p+cd54AilYRPGajkUadfLJgCpLCPHZs2EDf3HcfzDvLdBYSMK1KlUOk/zTQKUE4dWGC7wTQNwWCYccdV08nr9MPMIZJCmOPyKTjdVJfkO5+czMpxRDkjJmXR7UFh1HY7QP4QKcBwkhQJQAfCWEPGCisNlOgchN5P7+m+5bqpz5IUr/jKdTJKYdcs50j4NQxgREEmAHqsJxKoY5GCAIOAsEe1gqQs08p4mZnlZkyT76TuhyOagiqdej7bsUMC/6w9j5QeIEIdeU11G8xHt9AgPwTE2MZ2l+GScbhjGvwPXtUwykp+9uaEAjszMmCFijDJGEFYYTm6w/NyM9+0/emGTnkFJMqFZp8DOz0aRAKAzG2KTARnLzGPW7cONfXX38dPieh1FZ8++ab1ZISwbffdx6PqJ5F48aN3e+7G264gSfkYNDSE8rLy6cOHTq0D86dyvvgwYPzcc4p+G4WfjP673//B9cd3Od4joXHRBYZfT0tpLhLAsD0Dxw4MHz77bf3btsnLEX27D5nwmnikjJ+d2Jhuh3t7e0r0cYHEMLvMcBbW1u/gnDkDjZAKHk4iDH+zIDEXVJuOqdpe73eJi4PxeOWUlAQ8+QrWl04e2PefSPay1px8820h9fJld/wN9MeeohOf/ddKhs+XFB3raLdl9x4I7kbG7MwbicA7IfDzk+Pn/6/AejM6zyYzNXQVt/jdcsZc0fQSTPLqbO1CxctC6BrcUN5+ezdZTW0vcEpxeoAyNH0k26jkMsP8IViIBc7g57rvQHsQSPJMODdKx4h77qXu8FuOvFtWFIDKGz3iWqyMSHBwoGXzFhQ6CgCsLPjjdsTgoTb9skU7HRQ2qxrSJNT7AP4NoJqb+abFw95/aESSL1SaKU2ASaZz2QycZmoOsULXavsdbjxnCTTwTnbffv23a+NhQvfIBzbF9R+1vDhw8+GJj4rLy9vLrT1MGhSDYC5z++zs3NIr9NG0G5qS0t73/nz56fgWPVzzz2rRzvMFDlkswvX5r7vvvvk3oJ+evgB9qYpwtLgYmcXXnThfse999579NDDD6shjI4GoC9CHy8uLS09F0A/CwC+KCMj43J8d+KOHTvT/vCHi/Zrm9fGA2IL7r8GHmOqXLasBXOp8Q7Yr4MHD0kQshrhwFNJ6gNPaqUceKJmjsZiG+xgRbz0t0PZK5R7w/fLBSEZiT8rMFGjC4ERK0oaBYvJys7OLsT4pmDSU1d9fYziK+dkwPIDRjjYyFZRYfznvfcKyq5RqOKQsWNpzCWXsK/Gd8yTT4qaURHlOBZ7n5x7Lq9sjMJ+DO7lUAhxw38D0Lttddbq/BQXDt0DcOrumD9ZRL25HB6SmdaGI2RRR8nT5qRH3tosxcsOpYyfHbVMOJtCdhs0sizAzRo6tsfoeCSaIuzqrkVXkr/6m5gENZrJfOYSilqgGexu8Vuxh9T7viptxYRAFFreRoayCZQx5yYO+NiB/q7D6y7FmXpItvmBvO5igoCsgNaGFKHhVZyz7LR1Y5K5gB1RnmrixIn7tfHww4/T2rXrzbBvpwJAl+NGX4eJNRft9bnssstp76pkbJs+fbqwZ0HBjf37l9JTTz0lPn/66WdJrdEaAbZcaAf2+BqWLv1qv05nc4kuUiKO9zMjZOFzmDljZnTChCP2+/56UOg///kGDUA3Dee5GPuf0Neb8Ho5tNHM119/LWPCuHGxAKJEbavWgBH8mZ8TEGSg93QwMoh5anCGZFtb2/e4P40LFryyz3RTCaCrDng/oj2AGrf9uao32IRHAXa7skLgVnxi4cR2ugUFr7nzePhFzjxHA5UAhAMd27ZlfDB7tsRaTity6SUB2Iy8PM4rZ+FrWDJvngjs1SkTiwE/45lneBmXc0W6CidODE286qruSceg37FqFa1je95qPQb7kf369ev7c1B4zb+KcqXIHV8jL0/UYVKuw14ydFCf7D9dMsF484Nfg17qSA+qxZlaBr2KXvpoF10wc5A0bnCmWFfPPesetW/bSgo77KROTY9ltKmjIuRTVoMRqHTYs0lytJHtpVMo46IlZCwaRrqsvtGU3y+RbM8eQxGvj6Iqo9CsjAf2xMsRtXgvwlz5bzeEDkhU1il3Uigc7OAUQHbCgU63HZptTt2JFzFmoVKmnhxP6+wGfDyKX2lPjBEmtw+SvBU3uvrUU08d8Ntzf98dxsqtud1dNG36NDr9tFMNA8vL8w0Q5ryOvXjxYtjFFQn2aKyLs2efJIDe0tLSw7NeRSOGD1effeaZpj4lfWnnzl30JLRHzw3CRo5lhO0v8JWUfQ6H9S1YsMDCy3I9/UIPPPBXevPNN2nGsTNSB5YPTOVHb9XV1RMH2axfv67XsXv88ccJwoAr0MgidqAHSGNLbuIJO+28osNe/pEjR2befPMthnvuuVusBLCwSDyu5xKdVqHuIoyXi3rsvS8y7lNYwV04YaVAlSgwmKaLnFf2o+D86RASDUuW0JtHHqnlYqQhl4s6KyvJj7Gz6PWxoqU4DzdSeswxfF5p3aOPqqvXrqV42BefdMott1D60KEcy74dQHeA/Qw+9rHHymo++ojaqqtJr/x2BSh82Zw52dasrOMwZ6qUAhwt/0qUnIZ+ni2u1XFvHDsA9NWgNkU3XTltzOdfVtLKTU2Uq00TwWxWgL3d4adbn18rLX1sFseFR3S5feXMk29WNT1/FUU1QVKZ9OD1LLWjFMEgqgToOW89l8JtrdT25EzKvuJzMhUNJ33BkKh5xv9JnQsvA/+xdoM8GonF1Yv3DHLYTeFOJ+zya8g65pgIpwEC6N8p6+aug62bx5fpogo/j9trkjIpWfvtE+XX+8MdxBgB5E0ul2sn6O3YO+68Lf3WW29R2lfHQmsDfnr11Vd7dThxbEvcAz5o0FA688zTYQ4GQhdffJH+oYce3EcQ7NixnW69/bYeINIQp8kzjTWbrXT++fPYpxBmJ3ov3nzOwvJzzH9BQX7hhx9+kHpSQu38mM6TAexaeuHF5w9CGPeuEN1440108R8uDmHM7cwyZE5+6qbgcQEWwxwA6cJY7eAlOgiGwrvvvuvwDz9cRFu3bhEhxXHB2oNRiTHnpBaN8tp9U2Jev4OWY4om1IYTyS0xhkaSxUL+jg4Rl96dbsVLeFzNiKvNcOJLOEyQdDQd9nfQ7VZ9C1AbFKHjx3clI0bQlLvuoubm5oqmpqbl7BhEd+3ASeqMF1/MfOOo2HMMTDify+ejldD0sz/8cCzu7wyAvTk3N9fV2trq+qlA/zmoe7zCp9DqXE8ON3JTR0fHt9Dw9U/fewKlmzXktnvF41nU4RClm7T05fJKeuLNTcIZxLZ65vEXRdOOPp8itk7Y0RFhc4cVb7qg38Izb6CIOocCbe3U8uhJ5K7eJEqW+nZ9R6GQUXHGqWO2fUQdc+qxN94PGgq73DRoEuWddz9T9grs3wDo27i4oELd5B9aPusGs7x33Xsv9VQlTiTVAaIJg7A7mzGBd2J8Nt9yy810/IzjlEkWjhV9UOtF+KfExTmw83v+TMPho8q6tlZjoL///QWOTnNy7jsHy/zlzrsTqK1mvzY0aiXmQDGKn3nmaZE/HwsPVu3nvRZJM5EI+152NTY2bpwxY4ZryZKllJuT1305sfPoxGucKKsAMbXEn2n3ifn46/0PEMAaAfvY1d7eXgGm4AmLtfR9PeeSqEei4tRbzqdoxm/Xg8Kv4hWRp576W3eEnZxQlDMasz2kRImqJPN33ww5ZqOL8rk/oLDYeUSKE4lUvHPZKGhus8kkPObsTNQZDGI+iGKlTOuZli9YIGoaLj7zTAFWXs7gIihM3Y9+7jkCHho4lh3zbg3uG2eorcE82NgXJtiEq6+OlVngFSq8bFkEofb3vxPMuBlQnKNhZhUoiln6jwE9Aeysbpy4oCpOmsdFrRs4INt3/43Hks/pxe4jKRAmvRwiKG26/ek1VNXkUilUTS667HEyDhxDEU4m8HEJIJXwpsvCW67Y4Bzwosshf5uNGh85lapvPoLsKxYSD0+425mnOPS4PBTsctntIo0xlfIvfYIzzjpYCGECrwd9avihKLiECDVefw0KOhuO0W0O0+QwV0HNgsG4VogcJKqJ12/ZG76T840xPtsXfbKILrv0yu72OHyWX9kc4D3+Wew8UTps1Bha9c0KGjFieCcAuB7M5DsAYdett91MN910q2Jzh5U2ImKP95M/1wCYzz33PJ111pkhFhQMKl566rkcHhK172Q3xmgnzrMcdPOfEyaMt23esomuuOwqYp0ZO0+s3Xi+MSfARKJ7Q3BnzjieVq9eTVf98UoP2lgDU2QZa2qMpSMEYRIMBvcJv+Xae4owCkFrOwH2JgBjHSd6TJx4RPC6a6+PjXckuI82ZwcnMxBezQk5nYJe+pTkFGGAA4xcjomXNg+kFfn+cqlqLvMsjgdIfR6PSFzh3e/1ikw43rkSMT/Xg6v69psyhU5eupTKTzklsvaBB2jDZ58JNHLBU55cR9x0E+WNGcNLc+y/WscBMbEIXftGzINv2Rcx6Z57qKhfP0Et42sRn19wAXXt3JnJdepxXZn/CgP/uah7otbice3ERW1FB3P58coXnjt20vfbWunxZ1eQuiiDdEYdmaFF2pvsdOmdS+iL505RxQCikovmv6iqvvNEijjtJBlyYzRZ6uXOmFIp7Ia95KgjSZ/BT0uL5bRHlfLvgnpxnrmPIgEv5Vz0IBn6Dg7U1tZ+y8tfnC+sOOCCh3JdHGwRz9CChlV4Y3zlIyxCW0FM2FHd1dtk6uHLqMYkXsPFFNhuf+TRB4dccunFxoVvLKRPP/2MamvrRf24aCRWAiotNVWshZ922uk09+TZImsMgFkP7fgdL6OhjTous3zHHbeOPOXkOYZnn32ePvtssaj7xokonA5aUlJMs0G9L7zwfA4z7QDo6nhdGNppqFql1u/PYNgkifADBCohkBr4gRN478zKyjr80ccfLr32umu077z7Ln3y0Se0dds28ri9IgPPaNBTn9K+dMJxx9GcuXMIwoH7W1tdXb0JE3o1xr0yMzMznyPAmLoboB35mX1xU4Cr4XB9e4DWiTFinHbiOraazeZizKW8++6/dwyXm9q+Y++SnU6rZ4HBT0NphgbMG3HZZZbCsWNF2W/OWGJBwJ5wGwYM53UdgL1F+JycUJI5ZMjYWTfcQGoOt+3hQ5DiNddZs+fmUsagQWIP+P1ero/PlXV+c/PNXL1VVKfRgQUMvfxywrVvZOXHMRuKI5DTh/kpxetxTC4ofO7MV1/NaVi8mCR+4i9XRursJH97O+nz8qy4Pk3ChIv+R4GeOJkxoLw8sl6r1WZiT334rhnDtu1soi9XVlFOQbrIIEq3aGjp0p30lydXSLdePlmsrRuKy6nw8mdUDQ+dG0sBtWTEJHz84Q0JXlRIC4ChR05+NIEJsja0t1D2addS5ozzZGg/1gwrMPE2KaHOh+qA4wAOXqaqxw1b8/gTj0y+9767RTioyIqD/c9lmpzOrl2gmBzV5DnAZBJxBwCQHX3YhjGSefmLaWl2dlb/W269uejue+7ics4qt9sjnklnMhpE/DoLGvyuHYBhtsTe6A24FhZWnI1Wj2P4+fVtRcVF5Y8/8WgRJo/J5/OLvnGlWR5LnMvFy6DYtrHjFPfFwDmlf7nrzoHX/+m67kw81vAQBh7Y399z27wExTQIAHTxMiSOHWqxWPpcdtklBVdf/Ud+jJDGBdYkQzClWC18n/hhHz70l2u61+P325X+cm1yfp4dvnJtLS0rHVpZWZGrrFaIaDymxxgbZluNbDrw73HeNvyezcFcXFf6xk3r+9lsdmGng99TWkqKp6m5iYOeKtFfV+7UqWMLjjuO21UrD5TwtrS1sTbdhjGy0f6FHKK4lxzV2Iw2N1BmZvawW27hPABdT2ApkcyiJiBXrOH7V1Nd7ea8fwjNlNJ58/KUB20wKPncvqaWlgooFzY/NuH3zXEWyW1zVB6n9jIWs8rKxg+9/voC5YEW7KgOerzeWgjajaxlWIjE05z/0xo9DvZQLEjIXY3JswYXwo/KSX/16dMLjz7peaqqd1Bappn0uJ4Uo4ru/9tKGto/U3XyzMEiiSNl9FHRvHn3SW0LbiV1Rg4knKX3NSAx8BGi3mqrY5zDDdsoZexxlPu7u6mluXkLQPo1JhFrwQZlWSV0iA85ZKcXPz5rd1NT01IApxODngcyb1BoPWxvD3vTN3GaKwuF3oCeIAi9PHlxk8Eo/RzJVoeJ0A8TpQ/2HIxZCiaLlp1LDrsMdhjy4vxcZpuzmzhegcNda5XcjDDeM9Nw4rUebZbzchzayeY67xx263DYQ5iULpyrhVNKMeEreMIDrOkAohdY5xrtubgeLkTJms1VVbWHH4qwkSv+KkLRDiHh4Xp6mLD8oIO+HB2Hnc/DD54UEZ2dnZyhGXQFlLr4XGQT7exO6C9/H0Zb33HWKTTZIH5oJQs31uS4R+ysXMd1DriIpMK4nPiskh9zxPwc/R6C8c+KRFQa7mttXW0Vr6Bw37BX4LdVGMM85Qk0HH7MzKQa/dnKQTO9AJ2TdII4Xwuun9vhZ6ptxvlSlTLfiYJaAJ3vOXYvsxy+XrbsMA4Wnus8HsoTdUTdBmZcGO8daHcX7a3/Jtgvr/hwVCabDVxRBmORr/SbGZVga/jNNn5wCvrzH/e6H8gLj/G37+ALx8Cn9enTZ+aCZ09PnXPGS2TrcFFampnMXJQvEKLL//QxDeqXrRrSP4sHUc44+ncqORSUbO/cR7p+hwHsZpHjvr93uOe1S2K5JdRcQbqcEiq48gVy2e3VmEAroRG+4aKPP2bNXAEn3xQProULYoYBlFoMejqXEVQmqJ+derghdZyxxWWS6AAVO5X2lMRaNh39YsmNJTsmbw72TK7VxtpEPB8J9Jo1Ej/w0R97FhzTPrsyYeIPeeBHEvmwd7CjETQ3D2PO7XCxBm1MqUUY6OJxWooDkuuacf87GVT8UAV+EIPyW37iKz+LrJofwUV7n/nFDyZ0KWWwvwfIs7BncvIGzmNQgqAYAOyUtfP50E4n7c1uExE6ACILxy38dBUcu0Wp2qLm59Arzxur4Xx5tM0aUzgAeKLjuM147cJYbVf6yxpbsEem3Nj5PGpc+05+EEOsTJbEF8Qa14b3NvYNHODesG3WiTHcjmtp4+KVOJ6XtjV7syBjW8x/LASwT5nncVONHwvFj6gyK9jivvswhja+LvSrK+74TVCIrEC4DgJH2rGASuMHWij3nhWCg80mtOnA9f3kApHSgZ40ojyC51CAcKDjpXisPzpZnJubO5lTIwsLC49cvmyX8ezfvSYe35QCzc4LuR1dPhrYL4e+eP8iyssyReLPLe/45FnJ9v7DZBg2BXZRCoAd3mc5RgA9upevc4mmYCMYrd9DRde/TmFrZivs0S9gnn0KoK+nWFql9xApe+K1qJWYBouyG5VYiPgyqU8Bb3xCH9TBp7SpSsjBMCbsugR7TFYmkl/pd+LkiiQ4VTVKuDUfb1Jetd3Gb0wzxoN44qWDtUqotVX5vTrhtx7lWjy0Nze/t/4aEnJI4rHA8f7GfWF+ZYzi9da0Sh9TlPPrlbZDCePopr0VVuIrXvHxtyYcE78ujzIupPQnPobRhP7Es0MjB3jYpFo5zqC0r01YSYn28EXJCdcaZ29q5Rh1wliGlXMHep5bOaeUcO/ie3wsQ8px8WPDieuVB8LeLwr0hAvhgUuDdC7NzMycXFBQcDzAPvHDDzYbLrjodQFyc4pRXG+73UPjxpTQp+9fFLWYdRGlfpjK9sU/VJ3vPkTGMTNIa82CYg91r6FwPfaYpgfIuaJqw04KtVRR0fy/UzS3zMYeY9CwxewIgnRsVCZv5Mc+lzxhIsTDmhNDqaMJNz3+NCg6lHMk3GxVj3bVvUyq+C73bD9BcKgS+pj42OD4pAsnrAokXk/i0k0k4beCMvUyOVU9wsF7jkViX+UENpN4vDbhminhOuPn7QmKnuMvHQBwUsK1U8L1yrT/Y4sPdC+kg6xKRfdZKtjXMyT1WK8/6Lnjz7TrEbErJbSbePw+SyP/NUBPiDpiKZXOj4bNzs6ekpeXN6OoqOiID97bqLv0D6+Jp7GaUgwiqq2t00NTJw+kd969KGo1acQk4yoojn++rer44CEyjz6WdJlFFA2H9gKdH1Sg0VOgZTf5d62ngsv+RqrCckdDQ8M/ock/b29vXwPKVqeAPPhjQd5jIlAvQTHRxNef0n4vbfc2sX7so4ilg7WR8Ftpv7C7Q7iWXo4/5P4e5NwHPPaHrq0XwUeHOm4/MI4HWk4+pGN/4Lf7R0YdWLD8KOz90kCPSyoGu3h+dVZW1iRo9pnQ7OM/+3CT/qJ5L5PHHaC0DIu4IpvNTWPGltFbH10azcmyiKefsGfXs/Vrdfs/biL90CPI2G+sUpCNV+U05KtaR74dq6nwsqeJCgc6oMlXAuSLAfJvcXi9Etf8k0Ge3JLbv2M7VJz9q0BX/bsvRAFWvLoPO2iq2CnW3Ny8BGD89rjZI/2vvnUR5cJWt3HR/UCIMq16Wru2guZOf1iqqbJpWKPzArVp6NRQ4Z9fpXBDBXk3LRGFKDSZBeTf8x35K9dT4RXPMMjtaHcFqPpS9rAD5A1x51sS5Mntf3VT/RInSQC7CKYB2PcA7Cubmpq+AL3+Zsr0cs+ir+bT8P4F1Obu5PImlG3Q09YdNXTSkQ/Q11/u0GixMdhVmX2CRTe8JautaeT48hVyLH6ewu31VDz/JYrklLWjva+hyZdw5BkX5lNAzppcTt7u5JYE+i8Mdi4eCK27AmD/rL6+fkXfsizbZ2tupONnjKZGfzt5Al6yGLS0p7mRTj/hIXrmscW8bKLnMkAhUvlyz38wkj55LmlT0qnwjy+S15hWx443MAXheOPnUCt0PZAEeXJLAv0X3HqCPRgM8vr2KoD907q6ui+j0VD1e4uvoxv+OIfcUTfZ/HYy6yXyyG664tqn6IJzn1L7AzKX/VVxbTb12Dkd1t8/0N7S5V4LYfE52+RgCt/Jshy3yX/WkrnJLbn9/7ppfukTJgSgCLBzmirAyRFEHE3lAPgn3vvIOUOHHV4k3Xj1K1RvqycTWYhzsV5euJDeeftL+mb9I8b8AksDB4dwyCmOq8e+W6nHxnm78YiqaNIuT27J7T8A9F7AzllhEYCWI4hc2Dlk0H3q6UcMnzhpgPmqy56ljxdzcUFeadPRGeceSRaLgQv97cExX3PkHcwAjh/uVLR4vPxwkq4nt+T2nwR6Ao1nwIvikgxOaOcgNLuHs4hgY9tycnJGf/T5XwoeeXgkPfXkB/TIY5fRCbPGh2GHf9fY2MbJKd+yNqe90Wi9Rj0lt+SWBPp/eGPNq4BdREJBOwdB5TlWuoN3gH/YlVedNPzqa07RdXV1NdXU1Gzr7OxcDY2+Ad/XsCYvKioKpaamigisIUOGJEGe3JLbfxvQE6h8RKHdYS4PyskLnIjg9Xpruegk1zbn5ADODgP4t3A2k0LVAw0NDREAXQLIk3Q9uSW3/1ag9wB7vKxT0OFwcFpko16v53KlWiUDq1WW5Q6F7ifmkyc1eXJLbv/tQO9ht/OyWMRisXB5Xn7GV2c8XxnvOc9d5JIn7fHkltwObfuXY93/nX2jfTOkJNo3IyqpxZPb//T2Y2LdNf/F1xEPromnVxL1yKxKbsktuR3apvov718isJMgT27J7Sdu/0+AAQDJxwXsCF3uggAAAABJRU5ErkJggg=='; $logo_shield = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAeCAYAAADU8sWcAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACVVJREFUeNqcVgtwlNUV/v59b3Y3u2Gzm2XJg7wJIUASSBShToECArUwjhAqVVt8tEVn+lBbRtFAtQ4gPlBaFftQUSi+WpmkKPJQCkyCgBBDSMhrEzab3Wyy2ezj3/0f+/f8a9JBC07wzny789+593z3nHPPdy4jSRJGh2L0P4Grj1TCRIKDMIGgJjCj63nCEMFD6CNEMI6hGjVwNVI7oVqGGI9XBFyuyUPd3bZQf39aNBBQCrEYEqJIFlTQ6PVItVgEg9MZMGRleUxOZ4fBaGwiw6dofwNh4GrkzBWey0NHWEpY6b1wYf6lI0ecPY2N8LW0INjTg3gwCFEmHV0sjbosn36SUgmrxQJDZiashYVIKSqCQf4vKPA4ysoOm8zmF0cP8n/kZsK9bCBwT+OePcVf7NuHS8eOYSSRSMbWQDARtFotGPJU9piPxyHSXp3ZDE1GBkw8nzxAqtUKY3o6DDTPmExgJk5EkNYWrFnTbCsre53MeAnvyamRw54X9Pk+OLB16/Rju3ahd2QENposLilBzuzZyJ5WknAU5klmm1XSGVLAKBSQBA4DHj/jbutmXP85ruhqbICgViPKMNCEw9AQqYFgzc+HY9EiXDp0CMFhNts22LbJ9daz+kl3P3WXKtVaI5OXHtq1a/qz27fjlqJi3P7oBqFq1Y8E/eQSZjSiTJh+BsNgvFH6kGeUQMZMSNnLwGdWVmraV6xQ8OQpy7KQ6HAMRSGFUhQeGABHKePIc2vpTI67fEDqfuYVvT6vfL59+f3lMrm7ZNYs32t7XreX1dzpo29Nj1/QtR7pVPV2eZRefwSDw1EEQnGEWBHBGI8LFzyYXmRH3d6fKQJNZxmRiBgiDwwP47Z335WCZ8+if+dOJoXCH/J4wNOhTGkaBft5q84wmcokLSM+FvYLJYsX7wvEpHvrPm6xeDrcGo4VoFCr5CQjNc0AlVEPTYSHIhCFGGQRoqr8Yc1NyfI89+bbyfxyRGwtLUVedTWOf/ghI5C3Asch0N4OLitbMjBQ+nrOqNRUsBqrU857r1zb8dZWd+nOLXu1iIU1FZV5uGFeMRw59mQZhaMcfME4LntD6BliUd/kR9W8Kfj5imJcfPE5eBsaYbLbESfyslWrkpe4t74eaoMBVKLwdXXBWDBVkMuacx1TaDMMUFud/fTtkz2XRD4h5mQ7MGNGPlouuDE4EkcwyqO1axBt3ghYiS6ZgoFfUKC6Ohd7ty0Be+YkDj36BIx0m/lQKHnLq9avR9cnn8Df1ARzRQUEurwhyv/kqnkJhM+reLcbuuwqIs/sJN6YTI7iKc6GTw+3LDx1qgNcQgE/edrtCcI+KU1auqwMMwrTGbvV8DWB2P3LXyEok8qyRv9LNm6EitJ08vnnIdKlE6gcA53EMbMczmyLFDvytEoMUtlmTaeKQdOYwkGpUjaYU1PQ/GUfnPkT0dkXBK9U4f61syVeSDDnXcNobvRgICIgyCXw0KqpuH1rLXb/eB0s06ox86ZlmLvxHnR8VIfmAweQmZUFiTz2eb2YumGzHHJEm95VMnpAXyCLJk7/j1z+yMlN7/qsoTtX70yHQqXECF2sNY/sV7QEePRGpa+W6rRkRcTBtiBOPr4E67q7ITEqMMqhpJGIP5QUII5qfogUUU0qV7L6VhFdb6m47k4obUbo8m5so6VnrmwmfeWzcj9ValXo6PJjiHI+wkkIiAwYgx6qCaRvDgtpaBpQkYVWVwxr/txO59GAcS8BjpIsBTZg2h01cM6YCV9fH1xUflPW/0YkvZZCh7ao+BDd8pxq6LJKj45p/Rg5UgzautKpk/BFcz9CVMuDMRF9IQE9PSMQ+ARMFh3M6UYwlFfodMgvzKNdLUDrwa8E/uJfksZueqgWnZEIrPPno/KuGhHNO9WxjiYIJE76aStkqv1XdrWx8fGiBVPOv/HPpukezwg6KdRKixHbH6hKLKjKkpyOFLrvYIaokZ2jc8+RG+vFfwFy0VhJ8lw0mfEkytc+Jt3R9HumbO19lOtBJlD/sJKLkZcTMmGcvfoErT54NfKRgnzbm3Mqsra9tO8ckG7BFKcFD9xaHNcgwuD0Szrww0g3aFDkzKfltxHpAkikVUxQ/MrCZxvBGBcwy7c8zSUN7v6eJu5jERumxrS4Bmqzba+sK9dqqbaWi97j1St3FQomI1i1Fnt23MnVVIqJtp86dBqGhT6dTkxbUuYshX5lHYSTT0A4shlKh5bUL45EigP6nzQm2IZXmeD+JxkOGnB8GnIe/7xFY8ucO/ro+NrrZWwMlEzJeGX92tlgXX7QLrz6j2MaesQk7MsfTkSpw/A6J3ijBSPH6xE7/TJUN24i+fw+gpfiiCmtYP1DGNiSpxg++Awj6BwI9XBIvflBEPGLVxJfzXN5GMKh2NHypS/PavdTslINeP9Pa+MrK9MSFx8s0SeGW0kosqDg/VCIUdh+3QBNVpU0sKOC4S+fpZA4kHzlJPSIXO6HylGOom2nDjNKxcLR9weu5XmyXI0m3Ybtjy0CQvQUC4Txhx0HtfLGwvte4NhBCRFvDDEhA9GwGr1/nAth2I0Jd9dLbMyM6KCAWNSMsE9APKLFxLufE4i49pvESXGrra292vOqs7jApo2GY/NOfHIR/f0kHnqdYsGymzkmwaj9R+sYhS6N9D6NnlYRBE+8w7C97Qzr6QcfU0KIK8H2kFreuRnpC9duIntvjucN982o7F+2+rWl9e+fhyLXjo/fWsctmD1RcD13b0rgxIfQ55RSeEUkosMQ2SBUqRnUiqk5dn8J8w3LkfvIG++QjVXXIvg2cnlkRSLxwzcveqHg9IlWZJYX4vhHv41n29Riz45fpLCuZugnT6PWGaXWKL8BdIh7u6AyWZH78N/PKLQpcp4D35VcHjN83lD9ksXPO8+eO4+yWZU4eviR6ASTQnT/9XcmbsgHQ0E5JIpA3NOBRCyCSeu2dKot9ltob9u3WpbJx4HyAe9I79yKWjrpQml60aNSX180QvMD/rqdQu/fHpM8+7ZJva8+JMX97naanzoeu+MllzE1znKtq5dsp13VUobpLunzU+4QzbuGT3wQd+/eLPFD/efou2C8Nq+HXIaNsP+pje/RzjmEQmnTE+/QlHRcksQH6d9+Pfaul3wMmw78u1GqqnhA2v3GoSh9z/8udsZz4a41fkCgZo63x14m1zv+K8AAzpBEP7qfQcsAAAAASUVORK5CYII='; + //get email template from db $sql = "select template_subject, template_body from v_email_templates "; $sql .= "where template_language = :template_language "; @@ -120,8 +121,10 @@ $parameters['domain_uuid'] = $domain_uuid; $database = new database; $row = $database->select($sql, $parameters, 'row'); - $email_subject = $row['template_subject']; - $email_body = $row['template_body']; + if (is_array($row)) { + $email_subject = $row['template_subject']; + $email_body = $row['template_body']; + } unset($sql, $parameters, $row); //replace variables in email body @@ -400,4 +403,4 @@ $login_page = true; include "resources/footer.php"; -?> \ No newline at end of file +?> From cfe259d86889efb16bc9b9a7fe98534b8a9c5c7d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 7 Nov 2020 19:21:19 -0700 Subject: [PATCH 170/677] Update send_mail.lua Change header from X-FusionPBX-Email-Call-UUID to the correct value of X-FusionPBX-Call-UUID --- .../resources/scripts/resources/functions/send_mail.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/scripts/resources/scripts/resources/functions/send_mail.lua b/app/scripts/resources/scripts/resources/functions/send_mail.lua index 1fcc83f119..aa5837a4cc 100644 --- a/app/scripts/resources/scripts/resources/functions/send_mail.lua +++ b/app/scripts/resources/scripts/resources/functions/send_mail.lua @@ -19,7 +19,7 @@ if (email_queue_enabled == 'true') then local domain_uuid = headers["X-FusionPBX-Domain-UUID"]; local domain_name = headers["X-FusionPBX-Domain-Name"]; local email_type = headers["X-FusionPBX-Email-Type"] or 'info'; - local call_uuid = headers["X-FusionPBX-Email-Call-UUID"]; + local call_uuid = headers["X-FusionPBX-Call-UUID"]; local local_after_email = headers["X-FusionPBX-local_after_email"] or ''; if (local_after_email == 'false') then @@ -56,7 +56,9 @@ if (email_queue_enabled == 'true') then sql = sql .. " email_subject, "; sql = sql .. " email_body, "; sql = sql .. " email_status, "; + sql = sql .. " email_uuid, "; sql = sql .. " email_action_after "; + sql = sql .. ") "; sql = sql .. "values ( "; sql = sql .. " :email_queue_uuid, "; @@ -68,6 +70,7 @@ if (email_queue_enabled == 'true') then sql = sql .. " :email_subject, "; sql = sql .. " :email_body, "; sql = sql .. " :email_status, "; + sql = sql .. " :email_uuid, "; sql = sql .. " :email_action_after "; sql = sql .. ") "; local params = { @@ -79,6 +82,7 @@ if (email_queue_enabled == 'true') then email_subject = email_subject; email_body = email_body; email_status = email_status; + email_uuid = call_uuid; email_action_after = email_action_after; } db:query(sql, params); @@ -156,7 +160,7 @@ else local domain_uuid = headers["X-FusionPBX-Domain-UUID"] local domain_name = headers["X-FusionPBX-Domain-Name"] local email_type = headers["X-FusionPBX-Email-Type"] or 'info' - local call_uuid = headers["X-FusionPBX-Email-Call-UUID"] + local call_uuid = headers["X-FusionPBX-Call-UUID"] local db = dbh or Database.new('system') local settings = Settings.new(db, domain_name, domain_uuid) From 816b1c7a2bc0673173e9c54311800215dc3324db Mon Sep 17 00:00:00 2001 From: mbarvoipdrs <71390678+mbarvoipdrs@users.noreply.github.com> Date: Mon, 9 Nov 2020 15:18:26 -0500 Subject: [PATCH 171/677] Update Yealink T54W mac.cfg Allows for updating the server address to that of the primary server address if the username = user@domain --- resources/templates/provision/yealink/t54w/{$mac}.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/yealink/t54w/{$mac}.cfg b/resources/templates/provision/yealink/t54w/{$mac}.cfg index 734c94d05b..73196af299 100644 --- a/resources/templates/provision/yealink/t54w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t54w/{$mac}.cfg @@ -123,7 +123,7 @@ account.1.user_name = {$account.1.user_id}@{$account.1.server_address} account.1.user_name = {$account.1.user_id} {/if} -account.1.sip_server.1.address= {$account.1.server_address} +{if isset($account.1.server.1.address)} account.1.sip_server.1.address= {$account.1.server.1.address} {else} account.1.sip_server.1.address= {$account.1.server_address} {/if} account.1.sip_server.1.port= {$account.1.sip_port} From b494732eb7fda7704b4f341843665e4d5e7780a4 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 9 Nov 2020 21:38:04 -0700 Subject: [PATCH 172/677] Update mwi_notify.lua Add debug information. --- .../scripts/app/voicemail/resources/functions/mwi_notify.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/mwi_notify.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/mwi_notify.lua index f274ddffc5..39936cbdc3 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/mwi_notify.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/mwi_notify.lua @@ -12,6 +12,11 @@ array = explode("/", sofia_contact); sip_profile = array[2]; + --debug info + --freeswitch.consoleLog("NOTICE", "sofia_contact */"..account.."\n"); + --freeswitch.consoleLog("NOTICE", "sip_profile="..sip_profile.."\n"); + --freeswitch.consoleLog("NOTICE", "sofia_contact="..sofia_contact.."\n"); + --set the variables new_messages = tonumber(new_messages) or 0 saved_messages = tonumber(saved_messages) or 0 From f5b4a54403ac1fdd708b5617486d54ad75af18a3 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 9 Nov 2020 21:41:29 -0700 Subject: [PATCH 173/677] Create mwi_notify.lua Add new mwi_notify.lua script. --- .../resources/scripts/mwi_notify.lua | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/scripts/resources/scripts/app/voicemail/resources/scripts/mwi_notify.lua diff --git a/app/scripts/resources/scripts/app/voicemail/resources/scripts/mwi_notify.lua b/app/scripts/resources/scripts/app/voicemail/resources/scripts/mwi_notify.lua new file mode 100644 index 0000000000..92c1d74e84 --- /dev/null +++ b/app/scripts/resources/scripts/app/voicemail/resources/scripts/mwi_notify.lua @@ -0,0 +1,21 @@ + +--get the argv values + voicemail_id = argv[1]; + domain_name = argv[2]; + new_messages = argv[3]; + saved_messages = argv[4]; + +--include the lua script + require "resources.functions.config"; + +--send MWI NOTIFY message + require "app.voicemail.resources.functions.mwi_notify"; + +--debug info + --freeswitch.consoleLog("NOTICE", "voicemail_id="..voicemail_id.."\n"); + --freeswitch.consoleLog("NOTICE", "domain_name="..domain_name.."\n"); + --freeswitch.consoleLog("NOTICE", "new_messages="..new_messages.."\n"); + --freeswitch.consoleLog("NOTICE", "saved_messages="..saved_messages.."\n"); + +--send the message waiting event + mwi_notify(voicemail_id..'@'..domain_name, domain_name, new_messages, saved_messages); From e5cf6bde5136fb456d60fde95f1d4135f4c2883b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 9 Nov 2020 22:03:33 -0700 Subject: [PATCH 174/677] Update mwi_notify.lua Add 0 as default values for new and saved messages. --- .../scripts/app/voicemail/resources/scripts/mwi_notify.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/scripts/mwi_notify.lua b/app/scripts/resources/scripts/app/voicemail/resources/scripts/mwi_notify.lua index 92c1d74e84..fdc83fcdc3 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/scripts/mwi_notify.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/scripts/mwi_notify.lua @@ -2,8 +2,8 @@ --get the argv values voicemail_id = argv[1]; domain_name = argv[2]; - new_messages = argv[3]; - saved_messages = argv[4]; + new_messages = argv[3] or '0'; + saved_messages = argv[4] or '0'; --include the lua script require "resources.functions.config"; @@ -19,3 +19,4 @@ --send the message waiting event mwi_notify(voicemail_id..'@'..domain_name, domain_name, new_messages, saved_messages); + From cbd8a542aa8ba10e587f54fba85738b20a077817 Mon Sep 17 00:00:00 2001 From: Andrew Querol Date: Tue, 10 Nov 2020 12:34:57 -0600 Subject: [PATCH 175/677] Fix issue where accounts would not be removed. --- .../provision/grandstream/gxv3370/{$mac}.xml | 299 +++++++++--------- 1 file changed, 149 insertions(+), 150 deletions(-) diff --git a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml index 085bd7a811..3875638899 100644 --- a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml @@ -27,336 +27,336 @@ - {foreach $lines as $row} - {if $row.line_number neq ""} + {for $line=1 to 16} + {$row=$lines.$line} - {if $row.enabled}Yes{else}No{/if} + {if filter_var($row.enabled, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if} - {$row.display_name} + {$row.display_name} - {$row.server_address} + {$row.server_address} - {$row.user_id} + {$row.user_id} - {$row.auth_id} + {$row.auth_id} - {$row.password} + {$row.password} - *97 + *97 - {$row.display_name} + {$row.display_name} - Disabled + Disabled - {$row.outbound_proxy_primary} + {$row.outbound_proxy_primary} - {$row.outbound_proxy_secondary} + {$row.outbound_proxy_secondary} - ARecord + ARecord - Default + Default - Auto + Auto - + - Yes + Yes - Instance + Instance - {$row.register_expires} + {$row.register_expires} - 0 + 0 - 20 + 20 - Yes + Yes - No + No - 30 + 30 - 3 + 3 - No + No - Default + Default - Default + Default - {if $row.sip_transport=='tcp'}TCP{elseif $row.sip_transport=='tls'}TlsOrTcp{else}UDP{/if} + {if $row.sip_transport=='tcp'}TCP{elseif $row.sip_transport=='tls'}TlsOrTcp{else}UDP{/if} - {$row.sip_port} + {$row.sip_port} - sip + sip - No + No - Yes + Yes - 0_5sec + 0_5sec - 4sec + 4sec - 0 + 0 - InRoute + InRoute - No + No - 180 + 180 - 90 + 90 - Omit + Omit - UAC + UAC - No + No - No + No - No + No - No + No - PCMU - PCMA - G_726_32 - G_722 - G_729AOrB - iLBC - OPUS + PCMU + PCMA + G_726_32 + G_722 + G_729AOrB + iLBC + OPUS - Callee + Callee - No + No - 30ms + 30ms - 1 + 1 - 126 + 126 - 123 + 123 - No - Yes - No + No + Yes + No - 101 + 101 - Adaptive + Adaptive - No + No - 121 + 121 - 124 + 124 - No + No - 2 + 2 - Yes + Yes - No + No - 0 + 0 - 120 + 120 - Non-Interleaved + Non-Interleaved - 720P + 720P - No + No - BP&MP&HP + BP&MP&HP - 2048 + 2048 - MediaLevel + MediaLevel - 99 + 99 - Yes + Yes - 1080P + 1080P - BP&MP&HP + BP&MP&HP - 1024 + 1024 - 15 + 15 - UDP + UDP - Disabled + Disabled - AES128And256Bit + AES128And256Bit - Yes + Yes - + - No + No - Disable + Disable - Yes + Yes - Prompt + Prompt - EnableIntercom/Paging + EnableIntercom/Paging - Yes + Yes - No + No - Yes + Yes - No + No - No + No - All + All - No + No - No + No - Yes + Yes - + - + - 4 + 4 - 60 + 60 - No + No - Yes + Yes - + - 0 + 0 - {$grandstream_dial_plan} + {$grandstream_dial_plan} - Auto + Auto - content://settings/system/ringtone + content://settings/system/ringtone - No + No - + - content://settings/system/ringtone + content://settings/system/ringtone - + - content://settings/system/ringtone + content://settings/system/ringtone - + - content://settings/system/ringtone + content://settings/system/ringtone - No + No - No + No - No + No - Disabled + Disabled - No + No - No + No - No + No - No + No - + - -1 + -1 - 100 + 100 - No + No - + - ** + ** - {if filter_var($grandstream_feature_key_sync, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if} + {if filter_var($grandstream_feature_key_sync, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if} - No + No - + - No + No - No + No - No + No - {if isset($row.shared_line)}Yes{else}No{/if} + {if isset($row.shared_line)}Yes{else}No{/if} - {if isset($row.shared_line)}Yes{else}No{/if} + {if isset($row.shared_line)}Yes{else}No{/if} - Yes + Yes - + - 15 - {/if} - {/foreach} + 15 + {/for} From 3f426baf62601b7879d70e6831ecd04fef9a50c2 Mon Sep 17 00:00:00 2001 From: Greenbea Date: Wed, 11 Nov 2020 01:15:46 -0500 Subject: [PATCH 176/677] Add gateway ping-min/max params --- app/gateways/app_config.php | 8 ++++ app/gateways/app_languages.php | 42 +++++++++++++++++++ app/gateways/gateway_edit.php | 28 +++++++++++++ .../scripts/configuration/sofia.conf.lua | 6 +++ 4 files changed, 84 insertions(+) diff --git a/app/gateways/app_config.php b/app/gateways/app_config.php index 5486038064..8cddfbb9c4 100644 --- a/app/gateways/app_config.php +++ b/app/gateways/app_config.php @@ -197,6 +197,14 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "ping_min"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "ping_max"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "caller_id_in_from"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; diff --git a/app/gateways/app_languages.php b/app/gateways/app_languages.php index c7fef8b760..75a4823a4f 100644 --- a/app/gateways/app_languages.php +++ b/app/gateways/app_languages.php @@ -484,6 +484,48 @@ $text['label-ping']['ru-ru'] = "Пинг"; $text['label-ping']['sv-se'] = "Ping"; $text['label-ping']['uk-ua'] = "Пінг"; +$text['label-ping_min']['en-us'] = "Ping Min"; +$text['label-ping_min']['en-gb'] = ""; +$text['label-ping_min']['ar-eg'] = ""; +$text['label-ping_min']['de-at'] = ""; +$text['label-ping_min']['de-ch'] = ""; +$text['label-ping_min']['de-de'] = ""; +$text['label-ping_min']['es-cl'] = ""; +$text['label-ping_min']['es-mx'] = ""; +$text['label-ping_min']['fr-ca'] = ""; +$text['label-ping_min']['fr-fr'] = ""; +$text['label-ping_min']['he-il'] = ""; +$text['label-ping_min']['it-it'] = ""; +$text['label-ping_min']['nl-nl'] = ""; +$text['label-ping_min']['pl-pl'] = ""; +$text['label-ping_min']['pt-br'] = ""; +$text['label-ping_min']['pt-pt'] = ""; +$text['label-ping_min']['ro-ro'] = ""; +$text['label-ping_min']['ru-ru'] = ""; +$text['label-ping_min']['sv-se'] = ""; +$text['label-ping_min']['uk-ua'] = ""; + +$text['label-ping_max']['en-us'] = "Ping Max"; +$text['label-ping_max']['en-gb'] = ""; +$text['label-ping_max']['ar-eg'] = ""; +$text['label-ping_max']['de-at'] = ""; +$text['label-ping_max']['de-ch'] = ""; +$text['label-ping_max']['de-de'] = ""; +$text['label-ping_max']['es-cl'] = ""; +$text['label-ping_max']['es-mx'] = ""; +$text['label-ping_max']['fr-ca'] = ""; +$text['label-ping_max']['fr-fr'] = ""; +$text['label-ping_max']['he-il'] = ""; +$text['label-ping_max']['it-it'] = ""; +$text['label-ping_max']['nl-nl'] = ""; +$text['label-ping_max']['pl-pl'] = ""; +$text['label-ping_max']['pt-br'] = ""; +$text['label-ping_max']['pt-pt'] = ""; +$text['label-ping_max']['ro-ro'] = ""; +$text['label-ping_max']['ru-ru'] = ""; +$text['label-ping_max']['sv-se'] = ""; +$text['label-ping_max']['uk-ua'] = ""; + $text['label-password']['en-us'] = "Password"; $text['label-password']['en-gb'] = "Password"; $text['label-password']['ar-eg'] = "كلمة السر"; diff --git a/app/gateways/gateway_edit.php b/app/gateways/gateway_edit.php index 17dda4f7f2..ec1eff8424 100644 --- a/app/gateways/gateway_edit.php +++ b/app/gateways/gateway_edit.php @@ -94,6 +94,8 @@ $retry_seconds = $_POST["retry_seconds"]; $extension = $_POST["extension"]; $ping = $_POST["ping"]; + $ping_min = $_POST["ping_min"]; + $ping_max = $_POST["ping_max"]; $channels = $_POST["channels"]; $caller_id_in_from = $_POST["caller_id_in_from"]; $supress_cng = $_POST["supress_cng"]; @@ -178,6 +180,8 @@ $array['gateways'][$x]["retry_seconds"] = $retry_seconds; $array['gateways'][$x]["extension"] = $extension; $array['gateways'][$x]["ping"] = $ping; + $array['gateways'][$x]["ping_min"] = $ping_min; + $array['gateways'][$x]["ping_max"] = $ping_max; $array['gateways'][$x]["channels"] = $channels; $array['gateways'][$x]["caller_id_in_from"] = $caller_id_in_from; $array['gateways'][$x]["supress_cng"] = $supress_cng; @@ -279,6 +283,8 @@ $retry_seconds = $row["retry_seconds"]; $extension = $row["extension"]; $ping = $row["ping"]; + $ping_min = $row["ping_min"]; + $ping_max = $row["ping_max"]; $channels = $row["channels"]; $caller_id_in_from = $row["caller_id_in_from"]; $supress_cng = $row["supress_cng"]; @@ -706,6 +712,28 @@ echo "\n"; echo "\n"; + echo "\n"; + echo "\n"; + echo " ".$text['label-ping_min']."\n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo "
\n"; + echo $text['description-ping_min']."\n"; + echo "\n"; + echo "\n"; + + echo "\n"; + echo "\n"; + echo " ".$text['label-ping_max']."\n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo "
\n"; + echo $text['description-ping_max']."\n"; + echo "\n"; + echo "\n"; + if (permission_exists('gateway_channels')) { echo "\n"; echo "\n"; diff --git a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua index 71beae1443..6274ab2e4c 100644 --- a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua +++ b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua @@ -181,6 +181,12 @@ if (string.len(field.ping) > 0) then table.insert(xml, [[ ]]); end + if (string.len(field.ping_min) > 0) then + table.insert(xml, [[ ]]); + end + if (string.len(field.ping_max) > 0) then + table.insert(xml, [[ ]]); + end if (string.len(field.context) > 0) then table.insert(xml, [[ ]]); end From 4d183c1ffa195cc18499c359f05d8ad3a8900df7 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 11 Nov 2020 09:34:42 -0700 Subject: [PATCH 177/677] Update destinations.php Fix a PHP warning. --- app/destinations/resources/classes/destinations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/destinations/resources/classes/destinations.php b/app/destinations/resources/classes/destinations.php index f6307194ce..0bbd9569e2 100644 --- a/app/destinations/resources/classes/destinations.php +++ b/app/destinations/resources/classes/destinations.php @@ -776,7 +776,7 @@ if (!class_exists('destinations')) { $text2 = $language2->get($_SESSION['domain']['language']['code'], 'app/'.$name); } - if (count($row['result']['data']) > 0 and strlen($row['select_value'][$destination_type]) > 0) { + if (is_array($row['result']['data']) && strlen($row['select_value'][$destination_type]) > 0) { $label2 = $label; foreach ($row['result']['data'] as $data) { $select_value = $row['select_value'][$destination_type]; From 99ca02ec6390938fa932fa002ef3773a2f74e32a Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 11 Nov 2020 16:28:18 -0500 Subject: [PATCH 178/677] Create {$mac}.cfg --- .../provision/yealink/t58a/{$mac}.cfg | 3070 +++++++++++++++++ 1 file changed, 3070 insertions(+) create mode 100644 resources/templates/provision/yealink/t58a/{$mac}.cfg diff --git a/resources/templates/provision/yealink/t58a/{$mac}.cfg b/resources/templates/provision/yealink/t58a/{$mac}.cfg new file mode 100644 index 0000000000..ed14c9ca0f --- /dev/null +++ b/resources/templates/provision/yealink/t58a/{$mac}.cfg @@ -0,0 +1,3070 @@ +#!version:1.0.0.1 +#{$microtime} + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## + +####################################################################################### +## Account 1 Basic Settings ## +####################################################################################### +{if isset($account.1.password) } +account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} +account.1.label = {$account.1.display_name} +account.1.display_name = {$account.1.display_name} +account.1.auth_name = {$account.1.auth_id} +{if isset($account.1.server.1.address)} +account.1.user_name = {$account.1.user_id}@{$account.1.server_address} +{else} +account.1.user_name = {$account.1.user_id} +{/if} +account.1.password = {$account.1.password} +account.1.outbound_proxy_enable = {if isset($account.1.outbound_proxy_primary)}1{else}0{/if} + +account.1.outbound_proxy.1.address = {$account.1.outbound_proxy_primary} +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.1.outbound_proxy.1.port = {$account.1.sip_port} +{/if} +account.1.dial_tone = +account.1.outbound_proxy.2.address = {$account.1.outbound_proxy_secondary} +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.1.outbound_proxy.2.port = {$account.1.sip_port} +{/if} +account.1.outbound_proxy_fallback_interval = 120 + +##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + +{if $account.1.sip_transport == 'udp'}account.1.sip_server.1.transport_type = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.1.transport_type = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.1.transport_type = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.1.transport_type = 3{/if} + +##It configures the backup server transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + +{if $account.1.sip_transport == 'udp'}account.1.sip_server.2.transport_type = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.2.transport_type = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.2.transport_type = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.2.transport_type = 3{/if} + +####################################################################################### +## Failback ## +####################################################################################### + +account.1.naptr_build = 0 +account.1.fallback.redundancy_type = 0 +account.1.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} + +{if isset($account.1.server.1.address)} +account.1.sip_server.1.address = {$account.1.server.1.address} +{else} +account.1.sip_server.1.address = {$account.1.server_address} +{/if} + +account.1.sip_server.1.port = {$account.1.sip_port} +account.1.sip_server.1.expires = {$account.1.register_expires} +account.1.sip_server.1.retry_counts = 3 +account.1.sip_server.1.failback_mode = 0 +account.1.sip_server.1.failback_timeout = 3600 +account.1.sip_server.1.register_on_enable = 0 +account.1.sip_server.2.address = {$account.1.server.2.address} +account.1.sip_server.2.port = {$account.1.sip_port} +account.1.sip_server.2.expires = {$account.1.register_expires} +account.1.sip_server.2.retry_counts = 3 +account.1.sip_server.2.failback_mode = 0 +account.1.sip_server.2.failback_timeout = 3600 +account.1.sip_server.2.register_on_enable = 0 + +account.1.dns_cache_type = +account.1.static_cache_pri = +account.1.register_expires_overlap = +account.1.subscribe_expires_overlap = + + +####################################################################################### +## Register Advanced ## +####################################################################################### +##It configures the SIP server type for account X.0-Default,2-BroadSoft,4-Cosmocom,6-UCAP +##The default value is 0. + +account.1.sip_server_type = + +account.1.unregister_on_reboot = +account.1.proxy_require = +account.1.srv_ttl_timer_enable = +account.1.register_mac = +account.1.register_line = +account.1.reg_fail_retry_interval = + + +###################################################################################### +## NAT Settings ## +###################################################################################### +##It enables or disables the NAT traversal for account X.0-Disabled,1-Enabled +##The default value is 0. +account.1.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} + +##It configures the type of keep-alive packets sent by the phone to the NAT static to keep the communication port open so that NAT can continue to function for account X. +##0-Dsiabled,1-Default: the phone sends UDP packets to the server,2-Option: the phone sends SIP OPTION packets to the server,3-Notify: the phone sends SIP NOTIFY packets to the server. +##The default value is 1. +account.1.nat.udp_update_enable = 3 + +##It configures the keep-alive interval (in seconds) for account X. +##The default value is 30.Integer from 15 to 2147483647 +account.1.nat.udp_update_time = 30 + +##It enables or disables NAT Rport feature for account X.0-Disabled,1-Enabled +##The default value is 0. +account.1.nat.rport = {$yealink_rport} + + +####################################################################################### +## Account1 Advance Settings ## +####################################################################################### + +##It configures the voice mail number for account X. +##The default value is blank. +voice_mail.number.1 = {$voicemail_number} + +##Except T19P/T21P Models +account.1.auto_dial_enable = +account.1.auto_dial_num = + +account.1.call_id_mode = +account.1.call_info = + + +####################################################################################### +## Subscribe ## +####################################################################################### +##It enables or disables the phone to subscribe the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.1.subscribe_mwi = + +##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes. +##The default value is 0(Don't handle terminated values) +account.1.mwi_parse_terminated = + +##It configures the interval (in seconds) of MWI subscription for account X. +##The default value is 3600. +account.1.subscribe_mwi_expires = + +##It enables or disables the phone to subscribe to the voice mail number for the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.1.subscribe_mwi_to_vm = + +##It configures the period (in seconds) of ACD subscription for account X. +##The default value is 1800.Except T19P/T21P Models +account.1.subscribe_acd_expires= + +account.1.display_mwi.enable= + + +####################################################################################### +## BLF List(Except T19D Model) ## +####################################################################################### +##It configures the BLF List URI to monitor a list of users for account X. +##The default value is blank. +account.1.blf.blf_list_uri = + +##It configures the feature access code for directed call pickup (default: *97) for account X. +##The default value is blank. +account.1.blf_list_code = + +##It configures the feature access code for directed call pickup with barge-in (default: *33) for account X. +##The default value is blank. +account.1.blf_list_barge_in_code = + +##It configures the period (in seconds) of the BLF subscription for account X. +##The default value is 1800.Integer from 30 to 2147483647. +account.1.blf.subscribe_period = + +##It configures the event of the BLF subscription for account X.0-Dialog,1-Presence. +##The default value is 0. +account.1.blf.subscribe_event = + +##It enables or disables the phone to handle NOTIFY messages out of the BLF dialog for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.1.out_dialog_blf_enable = + +##It configures the BLF List Retrieve call parked code for account X. +##The default value is blank +account.1.blf_list_retrieve_call_parked_code = + +account.1.blf.match_host.enable= + + +####################################################################################### +## BLA/SCA ## +####################################################################################### +##It enables or disables Broadsoft SCA feature for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.1.shared_line = {$account.1.shared_line} + +##It configures the BLA number for account X. +##The default value is blank. +account.1.bla_number = + +##It configures the period (in seconds) of BLA subscription for account X. +##The default value is 300.Integer from 60 to 7200 +account.1.bla_subscribe_period = + +##Except T19P/T21P Models +##It configures the Call Pull Feature access code for account X. +##The default value is blank. +account.1.shared_line_callpull_code = +##It configures number of linekey for line. +##The default value is 1,you should enable auto line keys first. +account.1.number_of_linekey = +##It config whether you can retrieve the remote hold call through line key +##The default value is 1 +account.1.shared_line_one_touch_retrieve.enable= +##It config whether you can barge in the active call through line key +##The default value is 1 +account.1.shared_line_one_touch_bargein.enable = + + +####################################################################################### +## Brosoft Callpark ## +####################################################################################### +##It enables or disables Broadsoft Callpark for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.1.callpark_enable = + + +####################################################################################### +## Audio Codec ## +####################################################################################### + +account.1.codec.ilbc_15_2kbps.priority= 0 +account.1.codec.ilbc_15_2kbps.enable= 0 +account.1.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} +account.1.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} +account.1.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} +account.1.codec.opus.priority = {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.opus.para= +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} +account.1.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} +account.1.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} +account.1.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.1.codec.g722_1_24kpbs.enable = +account.1.codec.g722_1_24kpbs.para = +account.1.codec.g722_1_24kpbs.priority = +account.1.codec.g722_1_24kpbs.rtpmap = +account.1.codec.g722_1_24kpbs.samplerate = + +account.1.codec.g722_1c_24kpbs.enable = +account.1.codec.g722_1c_24kpbs.para = +account.1.codec.g722_1c_24kpbs.priority = +account.1.codec.g722_1c_24kpbs.rtpmap = +account.1.codec.g722_1c_24kpbs.samplerate = + +account.1.codec.g722_1c_24kpbs.enable = +account.1.codec.g722_1c_24kpbs.para = +account.1.codec.g722_1c_24kpbs.priority = +account.1.codec.g722_1c_24kpbs.rtpmap = +account.1.codec.g722_1c_24kpbs.samplerate = + +account.1.codec.g722_1c_32kpbs.enable = +account.1.codec.g722_1c_32kpbs.para = +account.1.codec.g722_1c_32kpbs.priority = +account.1.codec.g722_1c_32kpbs.rtpmap = +account.1.codec.g722_1c_32kpbs.samplerate = + +account.1.codec.g722_1c_48kpbs.enable = +account.1.codec.g722_1c_48kpbs.para = +account.1.codec.g722_1c_48kpbs.priority = +account.1.codec.g722_1c_48kpbs.rtpmap = +account.1.codec.g722_1c_48kpbs.samplerate = + + +####################################################################################### +## Audio Advanced ## +####################################################################################### +##It configures the RTP packet time for account X.0 (Disabled), 10, 20, 30, 40, 50 or 60. +##The default value is 20. +account.1.ptime = + + +####################################################################################### +## Anonymous Call ## +####################################################################################### +account.1.send_anonymous_code = +account.1.anonymous_call = +account.1.anonymous_call_oncode = +account.1.anonymous_call_offcode = +account.1.reject_anonymous_call = +account.1.anonymous_reject_oncode = +account.1.anonymous_reject_offcode = +account.1.send_anonymous_rejection_code = + + +####################################################################################### +## Pickup Code ## +####################################################################################### +##It enables or disables the phone to pick up a call according to the SIP header of dialog-info for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.1.dialoginfo_callpickup = + +##It configures the group pickup code for account X. +##The default value is blank. +account.1.group_pickup_code = + +##It configures the directed pickup code for account X. +##The default value is blank. +account.1.direct_pickup_code = + + +####################################################################################### +## DTMF ## +####################################################################################### +account.1.dtmf.type = {$yealink_dtmf_type} +account.1.dtmf.info_type = +account.1.dtmf.dtmf_payload = + + +####################################################################################### +## Alert info ## +####################################################################################### +##It enables or disables the distinctive ringtones by the Alert-Info SIP header for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.1.alert_info_url_enable = +##Except T19P/T21P Models +##The default value is blank.Values range 256 characters in length +account.1.alert_info = + +account.1.ringtone.ring_type = + +###Only for T46G Model +##It enables or disables the phone to download the picture information for account X when receiving an incoming call or during a call.0-Disabled,1-Enabled. +##The default value is 0. +account.1.picture_info_enable = + + +####################################################################################### +## Conference ## +####################################################################################### +##It configures the conference type for account X.0-Local Conference,2-Network Conference. +##The default value is 0. +account.1.conf_type = + +##It configures the network conference URI for account X. +##The default value is blank. +account.1.conf_uri = + + +####################################################################################### +## CID Source ## +####################################################################################### +account.1.cid_source = {$yealink_cid_source} +account.1.cid_source_privacy = 1 +account.1.cid_source_ppi = 1 +account.1.cp_source = 2 + + +####################################################################################### +## Session Timer ## +####################################################################################### +account.1.session_timer.enable = {$yealink_session_timer} +account.1.session_timer.expires = +account.1.session_timer.refresher = + + +####################################################################################### +## Music on Hold ## +####################################################################################### +##It configures the way on how the phone processes Music On Hold when placing an active call on hold for account X. +##0-Calling the music server before holding +##1-Calling the music server after holding +##The default value is 0. +account.1.music_on_hold_type = + +##It configures the URI of the Music On Hold server for account X. +##The default value is blank. +account.1.music_server_uri = + + +####################################################################################### +## Advanced ## +####################################################################################### +account.1.auto_answer = +account.1.missed_calllog = +account.1.100rel_enable = {$yealink_retransmission} +account.1.enable_user_equal_phone = +account.1.compact_header_enable = +account.1.custom_ua = + + +####################################################################################### +## DND(Except T19 Model) ## +####################################################################################### +account.1.dnd.enable = +account.1.dnd.on_code = +account.1.dnd.off_code = + + +####################################################################################### +## Call Forward(Except T19 Model) ## +####################################################################################### +account.1.always_fwd.enable = +account.1.always_fwd.target = +account.1.always_fwd.off_code = +account.1.always_fwd.on_code = +account.1.busy_fwd.enable = +account.1.busy_fwd.target = +account.1.busy_fwd.off_code = +account.1.busy_fwd.on_code = +account.1.timeout_fwd.enable = +account.1.timeout_fwd.target = +account.1.timeout_fwd.timeout = +account.1.timeout_fwd.off_code = +account.1.timeout_fwd.on_code = + + +####################################################################################### +## Voice Monitoring (Except T19P/T21P Models) ## +####################################################################################### +account.1.vq_rtcpxr.collector_name= +account.1.vq_rtcpxr.collector_server_host= +account.1.vq_rtcpxr.collector_server_port= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +##It configures the user name for XSI authentication for account X.Example:account.1.xsi.user = 3502@as.iop1.broadworks.net. +##The default value is blank. +account.1.xsi.user = + +##It configures the password for XSI authentication for account X.Example:account.1.xsi.password = 123456. +##The default value is blank. +account.1.xsi.password = + +##It configures the access URL of the Xtended Services Platform server for account X.Example:account.1.xsi.host = xsp1.iop1.broadworks.net. +##The default value is blank. +account.1.xsi.host = + +##It configures the server type of the Xtended Services Platform server for account X.Example:account.1.xsi.server_type = http. +##The default value is http. +account.1.xsi.server_type = + +##It configures the server port of the Xtended Services Platform server for account X.Example:account.1.xsi.port = 80. +##The default value is 80.Integer from 1 to 65535 +account.1.xsi.port = + + +####################################################################################### +## Account 2 Basic Settings ## +####################################################################################### +{if isset($account.2.password) } +account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} +account.2.label = {$account.2.display_name} +account.2.display_name = {$account.2.display_name} +account.2.auth_name = {$account.2.auth_id} +account.2.password = {$account.2.password} + +{if isset($account.2.server.1.address)} +account.2.user_name = {$account.2.user_id}@{$account.2.server_address} +{else} +account.2.user_name = {$account.2.user_id} +{/if} + +account.2.outbound_proxy_enable = {if isset($account.2.outbound_proxy_primary)}1{else}0{/if} + +account.2.outbound_proxy.1.address = {$account.2.outbound_proxy_primary} +account.2.outbound_proxy.1.port = {$account.2.sip_port} +account.2.dial_tone = +account.2.outbound_proxy.2.address = {$account.2.outbound_proxy_secondary} +account.2.outbound_proxy.2.port = {$account.2.sip_port} +account.2.outbound_proxy_fallback_interval = + +##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + +{if $account.2.sip_transport == 'udp'}account.2.sip_server.1.transport_type = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.1.transport_type = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.1.transport_type = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.1.transport_type = 3{/if} + +##It configures the backup server transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + +{if $account.2.sip_transport == 'udp'}account.2.sip_server.2.transport_type = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.2.transport_type = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.2.transport_type = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.2.transport_type = 3{/if} + + +####################################################################################### +## Failback ## +####################################################################################### + +account.2.naptr_build = 0 +account.2.fallback.redundancy_type = 0 +account.2.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} + +{if isset($account.2.server.1.address)} +account.2.sip_server.1.address = {$account.2.server.1.address} +{else} +account.2.sip_server.1.address = {$account.2.server_address} +{/if} + +account.2.sip_server.1.port = {$account.2.sip_port} +account.2.sip_server.1.expires = {$account.2.register_expires} +account.2.sip_server.1.retry_counts = 3 +account.2.sip_server.1.failback_mode = 0 +account.2.sip_server.1.failback_timeout = 3600 +account.2.sip_server.1.register_on_enable = 0 +account.2.sip_server.2.address = {$account.2.server.2.address} +account.2.sip_server.2.port = {$account.2.sip_port} +account.2.sip_server.2.expires = {$account.2.register_expires} +account.2.sip_server.2.retry_counts = 3 +account.2.sip_server.2.failback_mode = 0 +account.2.sip_server.2.failback_timeout = 3600 +account.2.sip_server.2.register_on_enable = 0 + +account.2.dns_cache_type = +account.2.static_cache_pri = +account.2.register_expires_overlap = +account.2.subscribe_expires_overlap = + + +####################################################################################### +## Register Advanced ## +####################################################################################### +##It configures the SIP server type for account X.0-Default,2-BroadSoft,4-Cosmocom,6-UCAP +##The default value is 0. +account.2.sip_server_type = +account.2.unregister_on_reboot = +account.2.proxy_require = +account.2.srv_ttl_timer_enable = +account.2.register_mac = +account.2.register_line = +account.2.reg_fail_retry_interval = + + +###################################################################################### +## NAT Settings ## +###################################################################################### +##It enables or disables the NAT traversal for account X.0-Disabled,1-Enabled +##The default value is 0. +account.2.nat.nat_traversal = +##It configures the type of keep-alive packets sent by the phone to the NAT static to keep the communication port open so that NAT can continue to function for account X. +##0-Dsiabled,1-Default: the phone sends UDP packets to the server,2-Option: the phone sends SIP OPTION packets to the server,3-Notify: the phone sends SIP NOTIFY packets to the server. +##The default value is 1. +account.2.nat.udp_update_enable = + +##It configures the keep-alive interval (in seconds) for account X. +##The default value is 30.Integer from 15 to 2147483647 +account.2.nat.udp_update_time = + +##It enables or disables NAT Rport feature for account X.0-Disabled,1-Enabled +##The default value is 0. +account.2.nat.rport = {$yealink_rport} + + +####################################################################################### +## Account2 Advance Settings ## +####################################################################################### + +##It configures the voice mail number for account X. +##The default value is blank. +voice_mail.number.2 = {$voicemail_number} +##Except T19P/T21P Models +account.2.auto_dial_enable = +account.2.auto_dial_num = + +account.2.call_id_mode = +account.2.call_info = + + +####################################################################################### +## Subscribe ## +####################################################################################### +##It enables or disables the phone to subscribe the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.2.subscribe_mwi = +##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes. +##The default value is 0(Don't handle terminated values) +account.2.mwi_parse_terminated = +##It configures the interval (in seconds) of MWI subscription for account X. +##The default value is 3600. +account.2.subscribe_mwi_expires = +##It enables or disables the phone to subscribe to the voice mail number for the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.2.subscribe_mwi_to_vm = +##It configures the period (in seconds) of ACD subscription for account X. +##The default value is 1800.Except T19P/T21P Models +account.2.subscribe_acd_expires= +##Except T19P/T21P Models +account.2.display_mwi.enable = +##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes. +##The default value is 0(Don't handle terminated values) +account.2.mwi_parse_terminated = + + +####################################################################################### +## BLF List(Except T19D Model) ## +####################################################################################### +##It configures the BLF List URI to monitor a list of users for account X. +##The default value is blank. +account.2.blf.blf_list_uri = +##It configures the feature access code for directed call pickup (default: *97) for account X. +##The default value is blank. +account.2.blf_list_code = +##It configures the feature access code for directed call pickup with barge-in (default: *33) for account X. +##The default value is blank. +account.2.blf_list_barge_in_code = + +##It configures the period (in seconds) of the BLF subscription for account X. +##The default value is 1800.Integer from 30 to 2147483647. +account.2.blf.subscribe_period = +##It configures the event of the BLF subscription for account X.0-Dialog,1-Presence. +##The default value is 0. +account.2.blf.subscribe_event = +##It enables or disables the phone to handle NOTIFY messages out of the BLF dialog for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.2.out_dialog_blf_enable = +##It configures the BLF List Retrieve call parked code for account X. +##The default value is blank +account.2.blf_list_retrieve_call_parked_code = +account.2.blf.match_host.enable= + + +####################################################################################### +## BLA/SCA ## +####################################################################################### +##It enables or disables Broadsoft SCA feature for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.2.shared_line = {$account.2.shared_line} +##It configures the BLA number for account X. +##The default value is blank. +account.2.bla_number = +##It configures the period (in seconds) of BLA subscription for account X. +##The default value is 300.Integer from 60 to 7200 +account.2.bla_subscribe_period = +##It configures the Call Pull Feature access code for account X. +##The default value is blank. +account.2.shared_line_callpull_code = +##It configures number of linekey for line. +##The default value is 1,you should enable auto line keys first. +account.2.number_of_linekey = + +##It config whether you can retrieve the remote hold call through line key +##The default value is 1 +account.2.shared_line_one_touch_retrieve.enable= + +##It config whether you can barge in the active call through line key +##The default value is 1 +account.2.shared_line_one_touch_bargein.enable = + + +####################################################################################### +## Brosoft Callpark ## +####################################################################################### +##It enables or disables Broadsoft Callpark for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.2.callpark_enable = + + +####################################################################################### +## Audio Codec ## +####################################################################################### +account.2.codec.g722.enable = +account.2.codec.g722.priority = + +account.2.codec.g729.enable = +account.2.codec.g729.priority = + +account.2.codec.g723_53.enable = +account.2.codec.g723_53.priority = + +account.2.codec.g723_63.enable = +account.2.codec.g723_63.priority = + +account.2.codec.g726_16.enable = +account.2.codec.g726_16.priority = +account.2.codec.g726_16.rtpmap = + +account.2.codec.g726_24.enable = +account.2.codec.g726_24.priority = +account.2.codec.g726_24.rtpmap = + +account.2.codec.g726_32.enable = +account.2.codec.g726_32.priority = +account.2.codec.g726_32.rtpmap = + +account.2.codec.g726_40.enable = +account.2.codec.g726_40.priority = +account.2.codec.g726_40.rtpmap = + +account.2.codec.ilbc.enable = +account.2.codec.ilbc.priority = +account.2.codec.ilbc.rtpmap = + +account.2.codec.opus.enable = +account.2.codec.opus.priority = +account.2.codec.opus.rtpmap = +account.2.codec.opus.samplerate = + +account.2.codec.pcmu.enable = +account.2.codec.pcmu.priority = + +account.2.codec.pcma.enable = +account.2.codec.pcma.priority = + +account.2.codec.g722_1_24kpbs.enable = +account.2.codec.g722_1_24kpbs.para = +account.2.codec.g722_1_24kpbs.priority = +account.2.codec.g722_1_24kpbs.rtpmap = +account.2.codec.g722_1_24kpbs.samplerate = + +account.2.codec.g722_1c_24kpbs.enable = +account.2.codec.g722_1c_24kpbs.para = +account.2.codec.g722_1c_24kpbs.priority = +account.2.codec.g722_1c_24kpbs.rtpmap = +account.2.codec.g722_1c_24kpbs.samplerate = + +account.2.codec.g722_1c_24kpbs.enable = +account.2.codec.g722_1c_24kpbs.para = +account.2.codec.g722_1c_24kpbs.priority = +account.2.codec.g722_1c_24kpbs.rtpmap = +account.2.codec.g722_1c_24kpbs.samplerate = + +account.2.codec.g722_1c_32kpbs.enable = +account.2.codec.g722_1c_32kpbs.para = +account.2.codec.g722_1c_32kpbs.priority = +account.2.codec.g722_1c_32kpbs.rtpmap = +account.2.codec.g722_1c_32kpbs.samplerate = + +account.2.codec.g722_1c_48kpbs.enable = +account.2.codec.g722_1c_48kpbs.para = +account.2.codec.g722_1c_48kpbs.priority = +account.2.codec.g722_1c_48kpbs.rtpmap = +account.2.codec.g722_1c_48kpbs.samplerate = + + +####################################################################################### +## Audio Advanced ## +####################################################################################### +##It configures the RTP packet time for account X.0 (Disabled), 10, 20, 30, 40, 50 or 60. +##The default value is 20. +account.2.ptime = + + +####################################################################################### +## Anonymous Call ## +####################################################################################### +account.2.send_anonymous_code = +account.2.anonymous_call = +account.2.anonymous_call_oncode = +account.2.anonymous_call_offcode = +account.2.reject_anonymous_call = +account.2.anonymous_reject_oncode = +account.2.anonymous_reject_offcode = +account.2.send_anonymous_rejection_code = + + +####################################################################################### +## Pickup Code ## +####################################################################################### +##It enables or disables the phone to pick up a call according to the SIP header of dialog-info for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.2.dialoginfo_callpickup = +##It configures the group pickup code for account X. +##The default value is blank. +account.2.group_pickup_code = +##It configures the directed pickup code for account X. +##The default value is blank. +account.2.direct_pickup_code = + + +####################################################################################### +## DTMF ## +####################################################################################### +account.2.dtmf.type = {$yealink_dtmf_type} +account.2.dtmf.info_type = +account.2.dtmf.dtmf_payload = + + +####################################################################################### +## Alert info ## +####################################################################################### +##It enables or disables the distinctive ringtones by the Alert-Info SIP header for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.2.alert_info_url_enable = +##The default value is blank.Values range 256 characters in length +account.2.alert_info = +account.2.ringtone.ring_type = + +##It enables or disables the phone to download the picture information for account X when receiving an incoming call or during a call.0-Disabled,1-Enabled. +##The default value is 0. +account.2.picture_info_enable = + + +####################################################################################### +## Conference ## +####################################################################################### +##It configures the conference type for account X.0-Local Conference,2-Network Conference. +##The default value is 0. +account.2.conf_type = +##It configures the network conference URI for account X. +##The default value is blank. +account.2.conf_uri = + + +####################################################################################### +## CID Source ## +####################################################################################### +account.2.cid_source = {$yealink_cid_source} +account.2.cid_source_privacy = 1 +account.2.cid_source_ppi = 1 +account.2.cp_source = 2 + + +####################################################################################### +## Session Timer ## +####################################################################################### +account.2.session_timer.enable = +account.2.session_timer.expires = +account.2.session_timer.refresher = + + +####################################################################################### +## Music on Hold ## +####################################################################################### +##It configures the way on how the phone processes Music On Hold when placing an active call on hold for account X. +##0-Calling the music server before holding +##1-Calling the music server after holding +##The default value is 0. +account.2.music_on_hold_type = +##It configures the URI of the Music On Hold server for account X. +##The default value is blank. +account.2.music_server_uri = + + +####################################################################################### +## Advanced ## +####################################################################################### +account.2.auto_answer = +account.2.missed_calllog = +account.2.100rel_enable = {$yealink_retransmission} +account.2.enable_user_equal_phone = +account.2.compact_header_enable = +account.2.custom_ua = + + +####################################################################################### +## DND(Except T19 Model) ## +####################################################################################### +account.2.dnd.enable = +account.2.dnd.on_code = +account.2.dnd.off_code = + + +####################################################################################### +## Call Forward(Except T19 Model) ## +####################################################################################### +account.2.always_fwd.enable = +account.2.always_fwd.target = +account.2.always_fwd.off_code = +account.2.always_fwd.on_code = +account.2.busy_fwd.enable = +account.2.busy_fwd.target = +account.2.busy_fwd.off_code = +account.2.busy_fwd.on_code = +account.2.timeout_fwd.enable = +account.2.timeout_fwd.target = +account.2.timeout_fwd.timeout = +account.2.timeout_fwd.off_code = +account.2.timeout_fwd.on_code = + + +####################################################################################### +## Voice Monitoring (Except T19P/T21P Models) ## +####################################################################################### +account.2.vq_rtcpxr.collector_name= +account.2.vq_rtcpxr.collector_server_host= +account.2.vq_rtcpxr.collector_server_port= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +##It configures the user name for XSI authentication for account X.Example:account.2.xsi.user = 3502@as.iop1.broadworks.net. +##The default value is blank. +account.2.xsi.user = + +##It configures the password for XSI authentication for account X.Example:account.2.xsi.password = 123456. +##The default value is blank. +account.2.xsi.password = + +##It configures the access URL of the Xtended Services Platform server for account X.Example:account.2.xsi.host = xsp1.iop1.broadworks.net. +##The default value is blank. +account.2.xsi.host = + +##It configures the server type of the Xtended Services Platform server for account X.Example:account.2.xsi.server_type = http. +##The default value is http. +account.2.xsi.server_type = + +##It configures the server port of the Xtended Services Platform server for account X.Example:account.2.xsi.port = 80. +##The default value is 80.Integer from 1 to 65535 +account.2.xsi.port = + + +####################################################################################### +## Account 3 Basic Settings ## +####################################################################################### +{if isset($account.3.password) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} +account.3.label = {$account.3.display_name} +account.3.display_name = {$account.3.display_name} +account.3.auth_name = {$account.3.auth_id} +account.3.password = {$account.3.password} + +{if isset($account.3.server.1.address)} +account.3.user_name = {$account.3.user_id}@{$account.3.server_address} +{else} +account.3.user_name = {$account.3.user_id} +{/if} + +account.3.outbound_proxy_enable = {if isset($account.3.outbound_proxy_primary)}1{else}0{/if} + +account.3.outbound_proxy.1.address = {$account.3.outbound_proxy_primary} +account.3.outbound_proxy.1.port = {$account.3.sip_port} +account.3.dial_tone = +account.3.outbound_proxy.2.address = {$account.3.outbound_proxy_secondary} +account.3.outbound_proxy.2.port = {$account.3.sip_port} +account.3.outbound_proxy_fallback_interval = + +##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + +{if $account.3.sip_transport == 'udp'}account.3.sip_server.1.transport_type = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.1.transport_type = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.1.transport_type = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.1.transport_type = 3{/if} + +##It configures the backup server transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + + +{if $account.3.sip_transport == 'udp'}account.3.sip_server.2.transport_type = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.2.transport_type = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.2.transport_type = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.2.transport_type = 3{/if} + + +####################################################################################### +## Failback ## +####################################################################################### + +account.3.naptr_build = 0 +account.3.fallback.redundancy_type = 0 +account.3.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} + +{if isset($account.3.server.1.address)} +account.3.sip_server.1.address = {$account.3.server.1.address} +{else} +account.3.sip_server.1.address = {$account.3.server_address} +{/if} + +account.3.sip_server.1.port = {$account.3.sip_port} +account.3.sip_server.1.expires = {$account.3.register_expires} +account.3.sip_server.1.retry_counts = 3 +account.3.sip_server.1.failback_mode = 0 +account.3.sip_server.1.failback_timeout = 3600 +account.3.sip_server.1.register_on_enable = 0 +account.3.sip_server.2.address = {$account.3.server.2.address} +account.3.sip_server.2.port = {$account.3.sip_port} +account.3.sip_server.2.expires = {$account.3.register_expires} +account.3.sip_server.2.retry_counts = 3 +account.3.sip_server.2.failback_mode = 0 +account.3.sip_server.2.failback_timeout = 3600 +account.3.sip_server.2.register_on_enable = 0 + +account.3.dns_cache_type = +account.3.static_cache_pri = +account.3.register_expires_overlap = +account.3.subscribe_expires_overlap = + + +####################################################################################### +## Register Advanced ## +####################################################################################### +##It configures the SIP server type for account X.0-Default,2-BroadSoft,4-Cosmocom,6-UCAP +##The default value is 0. +account.3.sip_server_type = +account.3.unregister_on_reboot = +account.3.proxy_require = +account.3.srv_ttl_timer_enable = +account.3.register_mac = +account.3.register_line = +account.3.reg_fail_retry_interval = + + +###################################################################################### +## NAT Settings ## +###################################################################################### +##It enables or disables the NAT traversal for account X.0-Disabled,1-Enabled +##The default value is 0. +account.3.nat.nat_traversal = + +##It configures the type of keep-alive packets sent by the phone to the NAT static to keep the communication port open so that NAT can continue to function for account X. +##0-Dsiabled,1-Default: the phone sends UDP packets to the server,2-Option: the phone sends SIP OPTION packets to the server,3-Notify: the phone sends SIP NOTIFY packets to the server. +##The default value is 1. +account.3.nat.udp_update_enable = + +##It configures the keep-alive interval (in seconds) for account X. +##The default value is 30.Integer from 15 to 2147483647 +account.3.nat.udp_update_time = + +##It enables or disables NAT Rport feature for account X.0-Disabled,1-Enabled +##The default value is 0. +account.3.nat.rport = {$yealink_rport} + + +####################################################################################### +## Account3 Advance Settings ## +####################################################################################### +##It configures the voice mail number for account X. +##The default value is blank. +voice_mail.number.3 = {$voicemail_number} +##Except T19P/T21P Models +account.3.auto_dial_enable = +account.3.auto_dial_num = + +account.3.call_id_mode = +account.3.call_info = + + +####################################################################################### +## Subscribe ## +####################################################################################### +##It enables or disables the phone to subscribe the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.3.subscribe_mwi = +##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes. +##The default value is 0(Don't handle terminated values) +account.3.mwi_parse_terminated = + +##It configures the interval (in seconds) of MWI subscription for account X. +##The default value is 3600. +account.3.subscribe_mwi_expires = +##It enables or disables the phone to subscribe to the voice mail number for the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.3.subscribe_mwi_to_vm = +##It configures the period (in seconds) of ACD subscription for account X. +##The default value is 1800.Except T19P/T21P Models +account.3.subscribe_acd_expires= +account.3.display_mwi.enable = +##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes. +##The default value is 0(Don't handle terminated values) +account.3.mwi_parse_terminated = + + +####################################################################################### +## BLF List(Except T19D Model) ## +####################################################################################### +##It configures the BLF List URI to monitor a list of users for account X. +##The default value is blank. +account.3.blf.blf_list_uri = +##It configures the feature access code for directed call pickup (default: *97) for account X. +##The default value is blank. +account.3.blf_list_code = +##It configures the feature access code for directed call pickup with barge-in (default: *33) for account X. +##The default value is blank. +account.3.blf_list_barge_in_code = +##It configures the period (in seconds) of the BLF subscription for account X. +##The default value is 1800.Integer from 30 to 2147483647. +account.3.blf.subscribe_period = +##It configures the event of the BLF subscription for account X.0-Dialog,1-Presence. +##The default value is 0. +account.3.blf.subscribe_event = +##It enables or disables the phone to handle NOTIFY messages out of the BLF dialog for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.3.out_dialog_blf_enable = + +##It configures the BLF List Retrieve call parked code for account X. +##The default value is blank +account.3.blf_list_retrieve_call_parked_code = +account.3.blf.match_host.enable= + + +####################################################################################### +## BLA/SCA ## +####################################################################################### +##It enables or disables Broadsoft SCA feature for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.3.shared_line = {$account.3.shared_line} +##It configures the BLA number for account X. +##The default value is blank. +account.3.bla_number = +##It configures the period (in seconds) of BLA subscription for account X. +##The default value is 300.Integer from 60 to 7200 +account.3.bla_subscribe_period = +##It configures the Call Pull Feature access code for account X. +##The default value is blank. +account.3.shared_line_callpull_code = +##It configures number of linekey for line. +##The default value is 1,you should enable auto line keys first. +account.3.number_of_linekey = +##It config whether you can retrieve the remote hold call through line key +##The default value is 1. +account.3.shared_line_one_touch_retrieve.enable= + +##It config whether you can barge in the active call through line key +##The default value is 1 +account.3.shared_line_one_touch_bargein.enable = + + +####################################################################################### +## Brosoft Callpark ## +####################################################################################### +##It enables or disables Broadsoft Callpark for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.3.callpark_enable = + + +####################################################################################### +## Audio Codec ## +####################################################################################### +account.3.codec.g722.enable = +account.3.codec.g722.priority = + +account.3.codec.g729.enable = +account.3.codec.g729.priority = + +account.3.codec.g723_53.enable = +account.3.codec.g723_53.priority = + +account.3.codec.g723_63.enable = +account.3.codec.g723_63.priority = + +account.3.codec.g726_16.enable = +account.3.codec.g726_16.priority = +account.3.codec.g726_16.rtpmap = + +account.3.codec.g726_24.enable = +account.3.codec.g726_24.priority = +account.3.codec.g726_24.rtpmap = + +account.3.codec.g726_32.enable = +account.3.codec.g726_32.priority = +account.3.codec.g726_32.rtpmap = + +account.3.codec.g726_40.enable = +account.3.codec.g726_40.priority = +account.3.codec.g726_40.rtpmap = + +account.3.codec.ilbc.enable = +account.3.codec.ilbc.priority = +account.3.codec.ilbc.rtpmap = + +account.3.codec.opus.enable = +account.3.codec.opus.priority = +account.3.codec.opus.rtpmap = +account.3.codec.opus.samplerate = + +account.3.codec.pcmu.enable = +account.3.codec.pcmu.priority = + +account.3.codec.pcma.enable = +account.3.codec.pcma.priority = + +account.3.codec.g722_1_24kpbs.enable = +account.3.codec.g722_1_24kpbs.para = +account.3.codec.g722_1_24kpbs.priority = +account.3.codec.g722_1_24kpbs.rtpmap = +account.3.codec.g722_1_24kpbs.samplerate = + +account.3.codec.g722_1c_24kpbs.enable = +account.3.codec.g722_1c_24kpbs.para = +account.3.codec.g722_1c_24kpbs.priority = +account.3.codec.g722_1c_24kpbs.rtpmap = +account.3.codec.g722_1c_24kpbs.samplerate = + +account.3.codec.g722_1c_24kpbs.enable = +account.3.codec.g722_1c_24kpbs.para = +account.3.codec.g722_1c_24kpbs.priority = +account.3.codec.g722_1c_24kpbs.rtpmap = +account.3.codec.g722_1c_24kpbs.samplerate = + +account.3.codec.g722_1c_32kpbs.enable = +account.3.codec.g722_1c_32kpbs.para = +account.3.codec.g722_1c_32kpbs.priority = +account.3.codec.g722_1c_32kpbs.rtpmap = +account.3.codec.g722_1c_32kpbs.samplerate = + +account.3.codec.g722_1c_48kpbs.enable = +account.3.codec.g722_1c_48kpbs.para = +account.3.codec.g722_1c_48kpbs.priority = +account.3.codec.g722_1c_48kpbs.rtpmap = +account.3.codec.g722_1c_48kpbs.samplerate = + + +####################################################################################### +## Audio Advanced ## +####################################################################################### +##It configures the RTP packet time for account X.0 (Disabled), 10, 20, 30, 40, 50 or 60. +##The default value is 20. +account.3.ptime = + + +####################################################################################### +## Anonymous Call ## +####################################################################################### +account.3.send_anonymous_code = +account.3.anonymous_call = +account.3.anonymous_call_oncode = +account.3.anonymous_call_offcode = +account.3.reject_anonymous_call = +account.3.anonymous_reject_oncode = +account.3.anonymous_reject_offcode = +account.3.send_anonymous_rejection_code = + + +####################################################################################### +## Pickup Code ## +####################################################################################### +##It enables or disables the phone to pick up a call according to the SIP header of dialog-info for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.3.dialoginfo_callpickup = + +##It configures the group pickup code for account X. +##The default value is blank. +account.3.group_pickup_code = +##It configures the directed pickup code for account X. +##The default value is blank. +account.3.direct_pickup_code = + + +####################################################################################### +## DTMF ## +####################################################################################### +account.3.dtmf.type = {$yealink_dtmf_type} +account.3.dtmf.info_type = +account.3.dtmf.dtmf_payload = + + +####################################################################################### +## Alert info ## +####################################################################################### +##It enables or disables the distinctive ringtones by the Alert-Info SIP header for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.3.alert_info_url_enable = +##The default value is blank.Values range 256 characters in length +account.3.alert_info = +account.3.ringtone.ring_type = + +##It enables or disables the phone to download the picture information for account X when receiving an incoming call or during a call.0-Disabled,1-Enabled. +##The default value is 0. +account.3.picture_info_enable = + + +####################################################################################### +## Conference ## +####################################################################################### +##It configures the conference type for account X.0-Local Conference,2-Network Conference. +##The default value is 0. +account.3.conf_type = +##It configures the network conference URI for account X. +##The default value is blank. +account.3.conf_uri = + + +####################################################################################### +## CID Source ## +####################################################################################### +account.3.cid_source = {$yealink_cid_source} +account.3.cid_source_privacy = 1 +account.3.cid_source_ppi = 1 +account.3.cp_source = 2 + + +####################################################################################### +## Session Timer ## +####################################################################################### +account.3.session_timer.enable = {$yealink_session_timer} +account.3.session_timer.expires = +account.3.session_timer.refresher = + + +####################################################################################### +## Music on Hold ## +####################################################################################### +##It configures the way on how the phone processes Music On Hold when placing an active call on hold for account X. +##0-Calling the music server before holding +##1-Calling the music server after holding +##The default value is 0. +account.3.music_on_hold_type = +##It configures the URI of the Music On Hold server for account X. +##The default value is blank. +account.3.music_server_uri = + + +####################################################################################### +## Advanced ## +####################################################################################### +account.3.auto_answer = +account.3.missed_calllog = +account.3.100rel_enable = {$yealink_retransmission} +account.3.enable_user_equal_phone = +account.3.compact_header_enable = +account.3.custom_ua = + + +####################################################################################### +## DND(Except T19 Model) ## +####################################################################################### +account.3.dnd.enable = +account.3.dnd.on_code = +account.3.dnd.off_code = + + +####################################################################################### +## Call Forward(Except T19 Model) ## +####################################################################################### +account.3.always_fwd.enable = +account.3.always_fwd.target = +account.3.always_fwd.off_code = +account.3.always_fwd.on_code = +account.3.busy_fwd.enable = +account.3.busy_fwd.target = +account.3.busy_fwd.off_code = +account.3.busy_fwd.on_code = +account.3.timeout_fwd.enable = +account.3.timeout_fwd.target = +account.3.timeout_fwd.timeout = +account.3.timeout_fwd.off_code = +account.3.timeout_fwd.on_code = + + +####################################################################################### +## Voice Monitoring (Except T19P/T21P Models) ## +####################################################################################### +account.3.vq_rtcpxr.collector_name= +account.3.vq_rtcpxr.collector_server_host= +account.3.vq_rtcpxr.collector_server_port= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +##It configures the user name for XSI authentication for account X.Example:account.3.xsi.user = 3502@as.iop1.broadworks.net. +##The default value is blank. +account.3.xsi.user = + +##It configures the password for XSI authentication for account X.Example:account.3.xsi.password = 123456. +##The default value is blank. +account.3.xsi.password = + +##It configures the access URL of the Xtended Services Platform server for account X.Example:account.3.xsi.host = xsp1.iop1.broadworks.net. +##The default value is blank. +account.3.xsi.host = + +##It configures the server type of the Xtended Services Platform server for account X.Example:account.3.xsi.server_type = http. +##The default value is http. +account.3.xsi.server_type = + +##It configures the server port of the Xtended Services Platform server for account X.Example:account.3.xsi.port = 80. +##The default value is 80.Integer from 1 to 65535 +account.3.xsi.port = + + +####################################################################################### +## Account 4 Basic Settings ## +####################################################################################### +{if isset($account.4.password) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} +account.4.label = {$account.4.display_name} +account.4.display_name = {$account.4.display_name} +account.4.auth_name = {$account.4.auth_id} +account.4.password = {$account.4.password} +{if isset($account.4.server.1.address)} +account.4.user_name = {$account.4.user_id}@{$account.4.server_address} +{else} +account.4.user_name = {$account.4.user_id} +{/if} +account.4.outbound_proxy_enable = {if isset($account.4.outbound_proxy_primary)}1{else}0{/if} + +account.4.outbound_proxy.1.address = {$account.4.outbound_proxy_primary} +account.4.outbound_proxy.1.port = {$account.4.sip_port} +account.4.dial_tone = +account.4.outbound_proxy.2.address = {$account.4.outbound_proxy_secondary} +account.4.outbound_proxy.2.port = {$account.4.sip_port} +account.4.outbound_proxy_fallback_interval = + +##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + +{if $account.4.sip_transport == 'udp'}account.4.sip_server.1.transport_type = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.1.transport_type = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.1.transport_type = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.1.transport_type = 3{/if} + +##It configures the backup server transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + +{if $account.4.sip_transport == 'udp'}account.4.sip_server.2.transport_type = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.2.transport_type = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.2.transport_type = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.2.transport_type = 3{/if} + + +####################################################################################### +## Failback ## +####################################################################################### + +account.4.naptr_build = 0 +account.4.fallback.redundancy_type = 0 +account.4.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} + +{if isset($account.4.server.1.address)} +account.4.sip_server.1.address = {$account.4.server.1.address} +{else} +account.4.sip_server.1.address = {$account.4.server_address} +{/if} + +account.4.sip_server.1.port = {$account.4.sip_port} +account.4.sip_server.1.expires = {$account.4.register_expires} +account.4.sip_server.1.retry_counts = 3 +account.4.sip_server.1.failback_mode = 0 +account.4.sip_server.1.failback_timeout = 3600 +account.4.sip_server.1.register_on_enable = 0 +account.4.sip_server.2.address = {$account.4.server.2.address} +account.4.sip_server.2.port = {$account.4.sip_port} +account.4.sip_server.2.expires = {$account.4.register_expires} +account.4.sip_server.2.retry_counts = 3 +account.4.sip_server.2.failback_mode = 0 +account.4.sip_server.2.failback_timeout = 3600 +account.4.sip_server.2.register_on_enable = 0 + +account.4.dns_cache_type = +account.4.static_cache_pri = +account.4.register_expires_overlap = +account.4.subscribe_expires_overlap = + + +####################################################################################### +## Register Advanced ## +####################################################################################### +##It configures the SIP server type for account X.0-Default,2-BroadSoft,4-Cosmocom,6-UCAP +##The default value is 0. +account.4.sip_server_type = +account.4.unregister_on_reboot = +account.4.proxy_require = +account.4.srv_ttl_timer_enable = +account.4.register_mac = +account.4.register_line = +account.4.reg_fail_retry_interval = + + +###################################################################################### +## NAT Settings ## +###################################################################################### +##It enables or disables the NAT traversal for account X.0-Disabled,1-Enabled +##The default value is 0. +account.4.nat.nat_traversal = +##It configures the type of keep-alive packets sent by the phone to the NAT static to keep the communication port open so that NAT can continue to function for account X. +##0-Dsiabled,1-Default: the phone sends UDP packets to the server,2-Option: the phone sends SIP OPTION packets to the server,3-Notify: the phone sends SIP NOTIFY packets to the server. +##The default value is 1. +account.4.nat.udp_update_enable = + +##It configures the keep-alive interval (in seconds) for account X. +##The default value is 30.Integer from 15 to 2147483647 +account.4.nat.udp_update_time = + +##It enables or disables NAT Rport feature for account X.0-Disabled,1-Enabled +##The default value is 0. +account.4.nat.rport = {$yealink_rport} + + +####################################################################################### +## Account4 Advance Settings ## +####################################################################################### + +##It configures the voice mail number for account X. +##The default value is blank. +voice_mail.number.4 = {$voicemail_number} +##Except T19P/T21P Models +account.4.auto_dial_enable = +account.4.auto_dial_num = + +account.4.call_id_mode = +account.4.call_info = + + +####################################################################################### +## Subscribe ## +####################################################################################### +##It enables or disables the phone to subscribe the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.4.subscribe_mwi = + +##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes. +##The default value is 0(Don't handle terminated values) +account.4.mwi_parse_terminated = + +##It configures the interval (in seconds) of MWI subscription for account X. +##The default value is 3600. +account.4.subscribe_mwi_expires = + +##It enables or disables the phone to subscribe to the voice mail number for the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.4.subscribe_mwi_to_vm = + +##It configures the period (in seconds) of ACD subscription for account X. +##The default value is 1800.Except T19P/T21P Models +account.4.subscribe_acd_expires= + +account.4.display_mwi.enable= + + +####################################################################################### +## BLF List(Except T19D Model) ## +####################################################################################### +##It configures the BLF List URI to monitor a list of users for account X. +##The default value is blank. +account.4.blf.blf_list_uri = +##It configures the feature access code for directed call pickup (default: *97) for account X. +##The default value is blank. +account.4.blf_list_code = +##It configures the feature access code for directed call pickup with barge-in (default: *33) for account X. +##The default value is blank. +account.4.blf_list_barge_in_code = + +##It configures the period (in seconds) of the BLF subscription for account X. +##The default value is 1800.Integer from 30 to 2147483647. +account.4.blf.subscribe_period = + +##It configures the event of the BLF subscription for account X.0-Dialog,1-Presence. +##The default value is 0. +account.4.blf.subscribe_event = + +##It enables or disables the phone to handle NOTIFY messages out of the BLF dialog for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.4.out_dialog_blf_enable = + +##It configures the BLF List Retrieve call parked code for account X. +##The default value is blank +account.4.blf_list_retrieve_call_parked_code = + +account.4.blf.match_host.enable= + + +####################################################################################### +## BLA/SCA ## +####################################################################################### +##It enables or disables Broadsoft SCA feature for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.4.shared_line = {$account.4.shared_line} +##It configures the BLA number for account X. +##The default value is blank. +account.4.bla_number = +##It configures the period (in seconds) of BLA subscription for account X. +##The default value is 300.Integer from 60 to 7200 +account.4.bla_subscribe_period = +##It configures the Call Pull Feature access code for account X. +##The default value is blank. +account.4.shared_line_callpull_code = +##It configures number of linekey for line. +##The default value is 1,you should enable auto line keys first. +account.4.number_of_linekey = + +##It config whether you can retrieve the remote hold call through line key +##The default value is 1 +account.4.shared_line_one_touch_retrieve.enable= + +##It config whether you can barge in the active call through line key +##The default value is 1 +account.4.shared_line_one_touch_bargein.enable = + + +####################################################################################### +## Brosoft Callpark ## +####################################################################################### +##It enables or disables Broadsoft Callpark for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.4.callpark_enable = + + +####################################################################################### +## Audio Codec ## +####################################################################################### +account.4.codec.g722.enable = +account.4.codec.g722.priority = + +account.4.codec.g729.enable = +account.4.codec.g729.priority = + +account.4.codec.g723_53.enable = +account.4.codec.g723_53.priority = + +account.4.codec.g723_63.enable = +account.4.codec.g723_63.priority = + +account.4.codec.g726_16.enable = +account.4.codec.g726_16.priority = +account.4.codec.g726_16.rtpmap = + +account.4.codec.g726_24.enable = +account.4.codec.g726_24.priority = +account.4.codec.g726_24.rtpmap = + +account.4.codec.g726_32.enable = +account.4.codec.g726_32.priority = +account.4.codec.g726_32.rtpmap = + +account.4.codec.g726_40.enable = +account.4.codec.g726_40.priority = +account.4.codec.g726_40.rtpmap = + +account.4.codec.ilbc.enable = +account.4.codec.ilbc.priority = +account.4.codec.ilbc.rtpmap = + +account.4.codec.opus.enable = +account.4.codec.opus.priority = +account.4.codec.opus.rtpmap = +account.4.codec.opus.samplerate = + +account.4.codec.pcmu.enable = +account.4.codec.pcmu.priority = + +account.4.codec.pcma.enable = +account.4.codec.pcma.priority = + +account.4.codec.g722_1_24kpbs.enable = +account.4.codec.g722_1_24kpbs.para = +account.4.codec.g722_1_24kpbs.priority = +account.4.codec.g722_1_24kpbs.rtpmap = +account.4.codec.g722_1_24kpbs.samplerate = + +account.4.codec.g722_1c_24kpbs.enable = +account.4.codec.g722_1c_24kpbs.para = +account.4.codec.g722_1c_24kpbs.priority = +account.4.codec.g722_1c_24kpbs.rtpmap = +account.4.codec.g722_1c_24kpbs.samplerate = + +account.4.codec.g722_1c_24kpbs.enable = +account.4.codec.g722_1c_24kpbs.para = +account.4.codec.g722_1c_24kpbs.priority = +account.4.codec.g722_1c_24kpbs.rtpmap = +account.4.codec.g722_1c_24kpbs.samplerate = + +account.4.codec.g722_1c_32kpbs.enable = +account.4.codec.g722_1c_32kpbs.para = +account.4.codec.g722_1c_32kpbs.priority = +account.4.codec.g722_1c_32kpbs.rtpmap = +account.4.codec.g722_1c_32kpbs.samplerate = + +account.4.codec.g722_1c_48kpbs.enable = +account.4.codec.g722_1c_48kpbs.para = +account.4.codec.g722_1c_48kpbs.priority = +account.4.codec.g722_1c_48kpbs.rtpmap = +account.4.codec.g722_1c_48kpbs.samplerate = + + +####################################################################################### +## Audio Advanced ## +####################################################################################### +##It configures the RTP packet time for account X.0 (Disabled), 10, 20, 30, 40, 50 or 60. +##The default value is 20. +account.4.ptime = + + +####################################################################################### +## Anonymous Call ## +####################################################################################### +account.4.send_anonymous_code = +account.4.anonymous_call = +account.4.anonymous_call_oncode = +account.4.anonymous_call_offcode = +account.4.reject_anonymous_call = +account.4.anonymous_reject_oncode = +account.4.anonymous_reject_offcode = +account.4.send_anonymous_rejection_code = + + +####################################################################################### +## Pickup Code ## +####################################################################################### +##It enables or disables the phone to pick up a call according to the SIP header of dialog-info for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.4.dialoginfo_callpickup = +##It configures the group pickup code for account X. +##The default value is blank. +account.4.group_pickup_code = +##It configures the directed pickup code for account X. +##The default value is blank. +account.4.direct_pickup_code = + + +####################################################################################### +## DTMF ## +####################################################################################### +account.4.dtmf.type = {$yealink_dtmf_type} +account.4.dtmf.info_type = +account.4.dtmf.dtmf_payload = + + +####################################################################################### +## Alert info ## +####################################################################################### +##It enables or disables the distinctive ringtones by the Alert-Info SIP header for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.4.alert_info_url_enable = +##The default value is blank.Values range 256 characters in length +account.4.alert_info = +account.4.ringtone.ring_type = + +###Only for T46G Model +##It enables or disables the phone to download the picture information for account X when receiving an incoming call or during a call.0-Disabled,1-Enabled. +##The default value is 0. +account.4.picture_info_enable = + + +####################################################################################### +## Conference ## +####################################################################################### +##It configures the conference type for account X.0-Local Conference,2-Network Conference. +##The default value is 0. +account.4.conf_type = + +##It configures the network conference URI for account X. +##The default value is blank. +account.4.conf_uri = + + +####################################################################################### +## CID Source ## +####################################################################################### +account.4.cid_source = {$yealink_cid_source} +account.4.cid_source_privacy = 1 +account.4.cid_source_ppi = 1 +account.4.cp_source = 2 + + +####################################################################################### +## Session Timer ## +####################################################################################### +account.4.session_timer.enable = {$yealink_session_timer} +account.4.session_timer.expires = +account.4.session_timer.refresher = + + +####################################################################################### +## Music on Hold ## +####################################################################################### +##It configures the way on how the phone processes Music On Hold when placing an active call on hold for account X. +##0-Calling the music server before holding +##1-Calling the music server after holding +##The default value is 0. +account.4.music_on_hold_type = +##It configures the URI of the Music On Hold server for account X. +##The default value is blank. +account.4.music_server_uri = + + +####################################################################################### +## Advanced ## +####################################################################################### +account.4.auto_answer = +account.4.missed_calllog = +account.4.100rel_enable = {$yealink_retransmission} +account.4.enable_user_equal_phone = +account.4.compact_header_enable = +account.4.custom_ua = + + +####################################################################################### +## DND(Except T19 Model) ## +####################################################################################### +account.4.dnd.enable = +account.4.dnd.on_code = +account.4.dnd.off_code = + + +####################################################################################### +## Call Forward(Except T19 Model) ## +####################################################################################### +account.4.always_fwd.enable = +account.4.always_fwd.target = +account.4.always_fwd.off_code = +account.4.always_fwd.on_code = +account.4.busy_fwd.enable = +account.4.busy_fwd.target = +account.4.busy_fwd.off_code = +account.4.busy_fwd.on_code = +account.4.timeout_fwd.enable = +account.4.timeout_fwd.target = +account.4.timeout_fwd.timeout = +account.4.timeout_fwd.off_code = +account.4.timeout_fwd.on_code = + + +####################################################################################### +## Voice Monitoring (Except T19P/T21P Models) ## +####################################################################################### +account.4.vq_rtcpxr.collector_name= +account.4.vq_rtcpxr.collector_server_host= +account.4.vq_rtcpxr.collector_server_port= + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +##It configures the user name for XSI authentication for account X.Example:account.4.xsi.user = 3502@as.iop1.broadworks.net. +##The default value is blank. +account.4.xsi.user = + +##It configures the password for XSI authentication for account X.Example:account.4.xsi.password = 123456. +##The default value is blank. +account.4.xsi.password = + +##It configures the access URL of the Xtended Services Platform server for account X.Example:account.4.xsi.host = xsp1.iop1.broadworks.net. +##The default value is blank. +account.4.xsi.host = + +##It configures the server type of the Xtended Services Platform server for account X.Example:account.4.xsi.server_type = http. +##The default value is http. +account.4.xsi.server_type = + +##It configures the server port of the Xtended Services Platform server for account X.Example:account.4.xsi.port = 80. +##The default value is 80.Integer from 1 to 65535 +account.4.xsi.port = + + +####################################################################################### +## Account 5 Basic Settings ## +####################################################################################### +{if isset($account.5.password) } +account.5.enable = 1 +{else} +account.5.enable = 0 +{/if} +account.5.label = {$account.5.display_name} +account.5.display_name = {$account.5.display_name} +account.5.auth_name = {$account.5.auth_id} +account.5.password = {$account.5.password} +{if isset($account.5.server.1.address)} +account.5.user_name = {$account.5.user_id}@{$account.5.server_address} +{else} +account.5.user_name = {$account.5.user_id} +{/if} +account.5.outbound_proxy_enable = {if isset($account.5.outbound_proxy_primary)}1{else}0{/if} + +account.5.outbound_proxy.1.address = {$account.5.outbound_proxy_primary} +account.5.outbound_proxy.1.port = {$account.5.sip_port} +account.5.dial_tone = +account.5.outbound_proxy.2.address = {$account.5.outbound_proxy_secondary} +account.5.outbound_proxy.2.port = {$account.5.sip_port} +account.5.outbound_proxy_fallback_interval = + +##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + +{if $account.5.sip_transport == 'udp'}account.5.sip_server.1.transport_type = 0{/if} +{if $account.5.sip_transport == 'tcp'}account.5.sip_server.1.transport_type = 1{/if} +{if $account.5.sip_transport == 'tls'}account.5.sip_server.1.transport_type = 2{/if} +{if $account.5.sip_transport == 'dns srv'}account.5.sip_server.1.transport_type = 3{/if} + +##It configures the backup server transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + +{if $account.5.sip_transport == 'udp'}account.5.sip_server.2.transport_type = 0{/if} +{if $account.5.sip_transport == 'tcp'}account.5.sip_server.2.transport_type = 1{/if} +{if $account.5.sip_transport == 'tls'}account.5.sip_server.2.transport_type = 2{/if} +{if $account.5.sip_transport == 'dns srv'}account.5.sip_server.2.transport_type = 3{/if} + + +####################################################################################### +## Failback ## +####################################################################################### + +account.5.naptr_build = 0 +account.5.fallback.redundancy_type = 0 +account.5.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} + +{if isset($account.5.server.1.address)} +account.5.sip_server.1.address = {$account.5.server.1.address} +{else} +account.5.sip_server.1.address = {$account.5.server_address} +{/if} + +account.5.sip_server.1.port = {$account.5.sip_port} +account.5.sip_server.1.expires = {$account.5.register_expires} +account.5.sip_server.1.retry_counts = 3 +account.5.sip_server.1.failback_mode = 0 +account.5.sip_server.1.failback_timeout = 3600 +account.5.sip_server.1.register_on_enable = 0 +account.5.sip_server.2.address = {$account.5.server.2.address} +account.5.sip_server.2.port = {$account.5.sip_port} +account.5.sip_server.2.expires = {$account.5.register_expires} +account.5.sip_server.2.retry_counts = 3 +account.5.sip_server.2.failback_mode = 0 +account.5.sip_server.2.failback_timeout = 3600 +account.5.sip_server.2.register_on_enable = 0 + +account.5.dns_cache_type = +account.5.static_cache_pri = +account.5.register_expires_overlap = +account.5.subscribe_expires_overlap = + + +####################################################################################### +## Register Advanced ## +####################################################################################### +##It configures the SIP server type for account X.0-Default,2-BroadSoft,4-Cosmocom,6-UCAP +##The default value is 0. +account.5.sip_server_type = +account.5.unregister_on_reboot = +account.5.proxy_require = +account.5.srv_ttl_timer_enable = +account.5.register_mac = +account.5.register_line = +account.5.reg_fail_retry_interval = + + +###################################################################################### +## NAT Settings ## +###################################################################################### +##It enables or disables the NAT traversal for account X.0-Disabled,1-Enabled +##The default value is 0. +account.5.nat.nat_traversal = + +##It configures the type of keep-alive packets sent by the phone to the NAT static to keep the communication port open so that NAT can continue to function for account X. +##0-Dsiabled,1-Default: the phone sends UDP packets to the server,2-Option: the phone sends SIP OPTION packets to the server,3-Notify: the phone sends SIP NOTIFY packets to the server. +##The default value is 1. +account.5.nat.udp_update_enable = + +##It configures the keep-alive interval (in seconds) for account X. +##The default value is 30.Integer from 15 to 2147483647 +account.5.nat.udp_update_time = + +##It enables or disables NAT Rport feature for account X.0-Disabled,1-Enabled +##The default value is 0. +account.5.nat.rport = {$yealink_rport} + + +####################################################################################### +## Account5 Advance Settings ## +####################################################################################### + +##It configures the voice mail number for account X. +##The default value is blank. +voice_mail.number.5 = {$voicemail_number} +##Except T19P/T21P Models +account.5.auto_dial_enable = +account.5.auto_dial_num = + +account.5.call_id_mode = +account.5.call_info = + + +####################################################################################### +## Subscribe ## +####################################################################################### +##It enables or disables the phone to subscribe the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.5.subscribe_mwi = +##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes. +##The default value is 0(Don't handle terminated values) +account.5.mwi_parse_terminated = + +##It configures the interval (in seconds) of MWI subscription for account X. +##The default value is 3600. +account.5.subscribe_mwi_expires = + +##It enables or disables the phone to subscribe to the voice mail number for the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.5.subscribe_mwi_to_vm = + +##It configures the period (in seconds) of ACD subscription for account X. +##The default value is 1800.Except T19P/T21P Models +account.5.subscribe_acd_expires= +account.5.display_mwi.enable = +##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes. +##The default value is 0(Don't handle terminated values) +account.5.mwi_parse_terminated = + + +####################################################################################### +## BLF List(Except T19D Model) ## +####################################################################################### +##It configures the BLF List URI to monitor a list of users for account X. +##The default value is blank. +account.5.blf.blf_list_uri = +##It configures the feature access code for directed call pickup (default: *97) for account X. +##The default value is blank. +account.5.blf_list_code = +##It configures the feature access code for directed call pickup with barge-in (default: *33) for account X. +##The default value is blank. +account.5.blf_list_barge_in_code = + +##It configures the period (in seconds) of the BLF subscription for account X. +##The default value is 1800.Integer from 30 to 2147483647. +account.5.blf.subscribe_period = +##It configures the event of the BLF subscription for account X.0-Dialog,1-Presence. +##The default value is 0. +account.5.blf.subscribe_event = +##It enables or disables the phone to handle NOTIFY messages out of the BLF dialog for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.5.out_dialog_blf_enable = + +##It configures the BLF List Retrieve call parked code for account X. +##The default value is blank +account.5.blf_list_retrieve_call_parked_code = + +account.5.blf.match_host.enable= + + +####################################################################################### +## BLA/SCA ## +####################################################################################### +##It enables or disables Broadsoft SCA feature for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.5.shared_line = {$account.5.shared_line} +##It configures the BLA number for account X. +##The default value is blank. +account.5.bla_number = +##It configures the period (in seconds) of BLA subscription for account X. +##The default value is 300.Integer from 60 to 7200 +account.5.bla_subscribe_period = +##It configures the Call Pull Feature access code for account X. +##The default value is blank. +account.5.shared_line_callpull_code = +##It configures number of linekey for line. +##The default value is 1,you should enable auto line keys first. +account.5.number_of_linekey = + +##It config whether you can retrieve the remote hold call through line key +##The default value is 1 +account.5.shared_line_one_touch_retrieve.enable= + +##It config whether you can barge in the active call through line key +##The default value is 1 +account.5.shared_line_one_touch_bargein.enable = + + +####################################################################################### +## Brosoft Callpark ## +####################################################################################### +##It enables or disables Broadsoft Callpark for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.5.callpark_enable = + + +####################################################################################### +## Audio Codec ## +####################################################################################### +account.5.codec.g722.enable = +account.5.codec.g722.priority = + +account.5.codec.g729.enable = +account.5.codec.g729.priority = + +account.5.codec.g723_53.enable = +account.5.codec.g723_53.priority = + +account.5.codec.g723_63.enable = +account.5.codec.g723_63.priority = + +account.5.codec.g726_16.enable = +account.5.codec.g726_16.priority = +account.5.codec.g726_16.rtpmap = + +account.5.codec.g726_24.enable = +account.5.codec.g726_24.priority = +account.5.codec.g726_24.rtpmap = + +account.5.codec.g726_32.enable = +account.5.codec.g726_32.priority = +account.5.codec.g726_32.rtpmap = + +account.5.codec.g726_40.enable = +account.5.codec.g726_40.priority = +account.5.codec.g726_40.rtpmap = + +account.5.codec.ilbc.enable = +account.5.codec.ilbc.priority = +account.5.codec.ilbc.rtpmap = + +account.5.codec.opus.enable = +account.5.codec.opus.priority = +account.5.codec.opus.rtpmap = +account.5.codec.opus.samplerate = + +account.5.codec.pcmu.enable = +account.5.codec.pcmu.priority = + +account.5.codec.pcma.enable = +account.5.codec.pcma.priority = + +account.5.codec.g722_1_24kpbs.enable = +account.5.codec.g722_1_24kpbs.para = +account.5.codec.g722_1_24kpbs.priority = +account.5.codec.g722_1_24kpbs.rtpmap = +account.5.codec.g722_1_24kpbs.samplerate = + +account.5.codec.g722_1c_24kpbs.enable = +account.5.codec.g722_1c_24kpbs.para = +account.5.codec.g722_1c_24kpbs.priority = +account.5.codec.g722_1c_24kpbs.rtpmap = +account.5.codec.g722_1c_24kpbs.samplerate = + +account.5.codec.g722_1c_24kpbs.enable = +account.5.codec.g722_1c_24kpbs.para = +account.5.codec.g722_1c_24kpbs.priority = +account.5.codec.g722_1c_24kpbs.rtpmap = +account.5.codec.g722_1c_24kpbs.samplerate = + +account.5.codec.g722_1c_32kpbs.enable = +account.5.codec.g722_1c_32kpbs.para = +account.5.codec.g722_1c_32kpbs.priority = +account.5.codec.g722_1c_32kpbs.rtpmap = +account.5.codec.g722_1c_32kpbs.samplerate = + +account.5.codec.g722_1c_48kpbs.enable = +account.5.codec.g722_1c_48kpbs.para = +account.5.codec.g722_1c_48kpbs.priority = +account.5.codec.g722_1c_48kpbs.rtpmap = +account.5.codec.g722_1c_48kpbs.samplerate = + + +####################################################################################### +## Audio Advanced ## +####################################################################################### + +##It configures the RTP packet time for account X.0 (Disabled), 10, 20, 30, 40, 50 or 60. +##The default value is 20. +account.5.ptime = + + +####################################################################################### +## Anonymous Call ## +####################################################################################### +account.5.send_anonymous_code = +account.5.anonymous_call = +account.5.anonymous_call_oncode = +account.5.anonymous_call_offcode = +account.5.reject_anonymous_call = +account.5.anonymous_reject_oncode = +account.5.anonymous_reject_offcode = +account.5.send_anonymous_rejection_code = + + +####################################################################################### +## Pickup Code ## +####################################################################################### +##It enables or disables the phone to pick up a call according to the SIP header of dialog-info for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.5.dialoginfo_callpickup = + +##It configures the group pickup code for account X. +##The default value is blank. +account.5.group_pickup_code = +##It configures the directed pickup code for account X. +##The default value is blank. +account.5.direct_pickup_code = + + +####################################################################################### +## DTMF ## +####################################################################################### +account.5.dtmf.type = {$yealink_dtmf_type} +account.5.dtmf.info_type = +account.5.dtmf.dtmf_payload = + + +####################################################################################### +## Alert info ## +####################################################################################### +##It enables or disables the distinctive ringtones by the Alert-Info SIP header for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.5.alert_info_url_enable = +##The default value is blank.Values range 256 characters in length +account.5.alert_info = +account.5.ringtone.ring_type = + +###Only for T46G Model +##It enables or disables the phone to download the picture information for account X when receiving an incoming call or during a call.0-Disabled,1-Enabled. +##The default value is 0. +account.5.picture_info_enable = + + +####################################################################################### +## Conference ## +####################################################################################### +##It configures the conference type for account X.0-Local Conference,2-Network Conference. +##The default value is 0. +account.5.conf_type = + +##It configures the network conference URI for account X. +##The default value is blank. +account.5.conf_uri = + + +####################################################################################### +## CID Source ## +####################################################################################### +account.5.cid_source = {$yealink_cid_source} +account.5.cid_source_privacy = 1 +account.5.cid_source_ppi = 1 +account.5.cp_source = 2 + + +####################################################################################### +## Session Timer ## +####################################################################################### +account.5.session_timer.enable = {$yealink_session_timer} +account.5.session_timer.expires = +account.5.session_timer.refresher = + + +####################################################################################### +## Music on Hold ## +####################################################################################### +##It configures the way on how the phone processes Music On Hold when placing an active call on hold for account X. +##0-Calling the music server before holding +##1-Calling the music server after holding +##The default value is 0. +account.5.music_on_hold_type = +##It configures the URI of the Music On Hold server for account X. +##The default value is blank. +account.5.music_server_uri = + + +####################################################################################### +## Advanced ## +####################################################################################### +account.5.auto_answer = +account.5.missed_calllog = +account.5.100rel_enable = {$yealink_retransmission} +account.5.enable_user_equal_phone = +account.5.compact_header_enable = +account.5.custom_ua = + + +####################################################################################### +## DND(Except T19 Model) ## +####################################################################################### +account.5.dnd.enable = +account.5.dnd.on_code = +account.5.dnd.off_code = + + +####################################################################################### +## Call Forward(Except T19 Model) ## +####################################################################################### +account.5.always_fwd.enable = +account.5.always_fwd.target = +account.5.always_fwd.off_code = +account.5.always_fwd.on_code = +account.5.busy_fwd.enable = +account.5.busy_fwd.target = +account.5.busy_fwd.off_code = +account.5.busy_fwd.on_code = +account.5.timeout_fwd.enable = +account.5.timeout_fwd.target = +account.5.timeout_fwd.timeout = +account.5.timeout_fwd.off_code = +account.5.timeout_fwd.on_code = + + +####################################################################################### +## Voice Monitoring (Except T19P/T21P Models) ## +####################################################################################### +account.5.vq_rtcpxr.collector_name= +account.5.vq_rtcpxr.collector_server_host= +account.5.vq_rtcpxr.collector_server_port= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +##It configures the user name for XSI authentication for account X.Example:account.5.xsi.user = 3502@as.iop1.broadworks.net. +##The default value is blank. +account.5.xsi.user = + +##It configures the password for XSI authentication for account X.Example:account.5.xsi.password = 123456. +##The default value is blank. +account.5.xsi.password = + +##It configures the access URL of the Xtended Services Platform server for account X.Example:account.5.xsi.host = xsp1.iop1.broadworks.net. +##The default value is blank. +account.5.xsi.host = + +##It configures the server type of the Xtended Services Platform server for account X.Example:account.5.xsi.server_type = http. +##The default value is http. +account.5.xsi.server_type = + +##It configures the server port of the Xtended Services Platform server for account X.Example:account.5.xsi.port = 80. +##The default value is 80.Integer from 1 to 65535 +account.5.xsi.port = + + +####################################################################################### +## Account 6 Basic Settings ## +####################################################################################### +{if isset($account.6.password) } +account.6.enable = 1 +{else} +account.6.enable = 0 +{/if} +account.6.label = {$account.6.display_name} +account.6.display_name = {$account.6.display_name} +account.6.auth_name = {$account.6.auth_id} +account.6.password = {$account.6.password} +{if isset($account.6.server.1.address)} +account.6.user_name = {$account.6.user_id}@{$account.6.server_address} +{else} +account.6.user_name = {$account.6.user_id} +{/if} +account.6.outbound_proxy_enable = {if isset($account.6.outbound_proxy_primary)}1{else}0{/if} + +account.6.outbound_proxy.1.address = {$account.6.outbound_proxy_primary} +account.6.outbound_proxy.1.port = {$account.6.sip_port} +account.6.dial_tone = +account.6.outbound_proxy.2.address = {$account.6.outbound_proxy_secondary} +account.6.outbound_proxy.2.port = {$account.6.sip_port} +account.6.outbound_proxy_fallback_interval = + +##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + +{if $account.6.sip_transport == 'udp'}account.6.sip_server.1.transport_type = 0{/if} +{if $account.6.sip_transport == 'tcp'}account.6.sip_server.1.transport_type = 1{/if} +{if $account.6.sip_transport == 'tls'}account.6.sip_server.1.transport_type = 2{/if} +{if $account.6.sip_transport == 'dns srv'}account.6.sip_server.1.transport_type = 3{/if} + +##It configures the backup server transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR +##The default value is 0. + + +{if $account.6.sip_transport == 'udp'}account.6.sip_server.2.transport_type = 0{/if} +{if $account.6.sip_transport == 'tcp'}account.6.sip_server.2.transport_type = 1{/if} +{if $account.6.sip_transport == 'tls'}account.6.sip_server.2.transport_type = 2{/if} +{if $account.6.sip_transport == 'dns srv'}account.6.sip_server.2.transport_type = 3{/if} + + +####################################################################################### +## Failback ## +####################################################################################### + +account.6.naptr_build = 0 +account.6.fallback.redundancy_type = 0 +account.6.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} + +{if isset($account.6.server.1.address)} +account.6.sip_server.1.address = {$account.6.server.1.address} +{else} +account.6.sip_server.1.address = {$account.6.server_address} +{/if} + +account.6.sip_server.1.port = {$account.6.sip_port} +account.6.sip_server.1.expires = {$account.6.register_expires} +account.6.sip_server.1.retry_counts = 3 +account.6.sip_server.1.failback_mode = 0 +account.6.sip_server.1.failback_timeout = 3600 +account.6.sip_server.1.register_on_enable = 0 +account.6.sip_server.2.address = {$account.6.server.2.address} +account.6.sip_server.2.port = {$account.6.sip_port} +account.6.sip_server.2.expires = {$account.6.register_expires} +account.6.sip_server.2.retry_counts = 3 +account.6.sip_server.2.failback_mode = 0 +account.6.sip_server.2.failback_timeout = 3600 +account.6.sip_server.2.register_on_enable = 0 + +account.6.dns_cache_type = +account.6.static_cache_pri = +account.6.register_expires_overlap = +account.6.subscribe_expires_overlap = + + +####################################################################################### +## Register Advanced ## +####################################################################################### +##It configures the SIP server type for account X.0-Default,2-BroadSoft,4-Cosmocom,6-UCAP +##The default value is 0. +account.6.sip_server_type = +account.6.unregister_on_reboot = +account.6.proxy_require = +account.6.srv_ttl_timer_enable = +account.6.register_mac = +account.6.register_line = +account.6.reg_fail_retry_interval = + + +###################################################################################### +## NAT Settings ## +###################################################################################### +##It enables or disables the NAT traversal for account X.0-Disabled,1-Enabled +##The default value is 0. +account.6.nat.nat_traversal = + + +##It configures the type of keep-alive packets sent by the phone to the NAT static to keep the communication port open so that NAT can continue to function for account X. +##0-Dsiabled,1-Default: the phone sends UDP packets to the server,2-Option: the phone sends SIP OPTION packets to the server,3-Notify: the phone sends SIP NOTIFY packets to the server. +##The default value is 1. +account.6.nat.udp_update_enable = + +##It configures the keep-alive interval (in seconds) for account X. +##The default value is 30.Integer from 15 to 2147483647 +account.6.nat.udp_update_time = + +##It enables or disables NAT Rport feature for account X.0-Disabled,1-Enabled +##The default value is 0. +account.6.nat.rport = {$yealink_rport} + + +####################################################################################### +## Account6 Advance Settings ## +####################################################################################### + +##It configures the voice mail number for account X. +##The default value is blank. +voice_mail.number.6 = {$voicemail_number} +##Except T19P/T21P Models +account.6.auto_dial_enable = +account.6.auto_dial_num = + +account.6.call_id_mode = +account.6.call_info = + + +####################################################################################### +## Subscribe ## +####################################################################################### +##It enables or disables the phone to subscribe the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.6.subscribe_mwi = +##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes. +##The default value is 0(Don't handle terminated values) +account.6.mwi_parse_terminated = + +##It configures the interval (in seconds) of MWI subscription for account X. +##The default value is 3600. +account.6.subscribe_mwi_expires = + + +##It enables or disables the phone to subscribe to the voice mail number for the message waiting indicator for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.6.subscribe_mwi_to_vm = + +##It configures the period (in seconds) of ACD subscription for account X. +##The default value is 1800.Except T19P/T21P Models +account.6.subscribe_acd_expires= +account.6.display_mwi.enable = +##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes. +##The default value is 0(Don't handle terminated values) +account.6.mwi_parse_terminated = + + +####################################################################################### +## BLF List(Except T19D Model) ## +####################################################################################### +##It configures the BLF List URI to monitor a list of users for account X. +##The default value is blank. +account.6.blf.blf_list_uri = +##It configures the feature access code for directed call pickup (default: *97) for account X. +##The default value is blank. +account.6.blf_list_code = +##It configures the feature access code for directed call pickup with barge-in (default: *33) for account X. +##The default value is blank. +account.6.blf_list_barge_in_code = + +##It configures the period (in seconds) of the BLF subscription for account X. +##The default value is 1800.Integer from 30 to 2147483647. +account.6.blf.subscribe_period = + +##It configures the event of the BLF subscription for account X.0-Dialog,1-Presence. +##The default value is 0. +account.6.blf.subscribe_event = + +##It enables or disables the phone to handle NOTIFY messages out of the BLF dialog for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.6.out_dialog_blf_enable = + +##It configures the BLF List Retrieve call parked code for account X. +##The default value is blank +account.6.blf_list_retrieve_call_parked_code = +account.6.blf.match_host.enable= + + +####################################################################################### +## BLA/SCA ## +####################################################################################### +##It enables or disables Broadsoft SCA feature for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.6.shared_line = 6 +##It configures the BLA number for account X. +##The default value is blank. +account.6.bla_number = + +##It configures the period (in seconds) of BLA subscription for account X. +##The default value is 300.Integer from 60 to 7200 +account.6.bla_subscribe_period = +##It configures the Call Pull Feature access code for account X. +##The default value is blank. +account.6.shared_line_callpull_code = +##It configures number of linekey for line. +##The default value is 1,you should enable auto line keys first. +account.6.number_of_linekey = + +##It config whether you can retrieve the remote hold call through line key +##The default value is 1 +account.6.shared_line_one_touch_retrieve.enable= + +##It config whether you can barge in the active call through line key +##The default value is 1 +account.6.shared_line_one_touch_bargein.enable = + + +####################################################################################### +## Brosoft Callpark ## +####################################################################################### +##It enables or disables Broadsoft Callpark for account X.0-Disabled,1-Broadsoft SCA. +##The default value is 0. +account.6.callpark_enable = + + +####################################################################################### +## Audio Codec ## +####################################################################################### +account.6.codec.g722.enable = +account.6.codec.g722.priority = + +account.6.codec.g729.enable = +account.6.codec.g729.priority = + +account.6.codec.g723_53.enable = +account.6.codec.g723_53.priority = + +account.6.codec.g723_63.enable = +account.6.codec.g723_63.priority = + +account.6.codec.g726_16.enable = +account.6.codec.g726_16.priority = +account.6.codec.g726_16.rtpmap = + +account.6.codec.g726_24.enable = +account.6.codec.g726_24.priority = +account.6.codec.g726_24.rtpmap = + +account.6.codec.g726_32.enable = +account.6.codec.g726_32.priority = +account.6.codec.g726_32.rtpmap = + +account.6.codec.g726_40.enable = +account.6.codec.g726_40.priority = +account.6.codec.g726_40.rtpmap = + +account.6.codec.ilbc.enable = +account.6.codec.ilbc.priority = +account.6.codec.ilbc.rtpmap = + +account.6.codec.opus.enable = +account.6.codec.opus.priority = +account.6.codec.opus.rtpmap = +account.6.codec.opus.samplerate = + +account.6.codec.pcmu.enable = +account.6.codec.pcmu.priority = + +account.6.codec.pcma.enable = +account.6.codec.pcma.priority = + +account.6.codec.g722_1_24kpbs.enable = +account.6.codec.g722_1_24kpbs.para = +account.6.codec.g722_1_24kpbs.priority = +account.6.codec.g722_1_24kpbs.rtpmap = +account.6.codec.g722_1_24kpbs.samplerate = + +account.6.codec.g722_1c_24kpbs.enable = +account.6.codec.g722_1c_24kpbs.para = +account.6.codec.g722_1c_24kpbs.priority = +account.6.codec.g722_1c_24kpbs.rtpmap = +account.6.codec.g722_1c_24kpbs.samplerate = + +account.6.codec.g722_1c_24kpbs.enable = +account.6.codec.g722_1c_24kpbs.para = +account.6.codec.g722_1c_24kpbs.priority = +account.6.codec.g722_1c_24kpbs.rtpmap = +account.6.codec.g722_1c_24kpbs.samplerate = + +account.6.codec.g722_1c_32kpbs.enable = +account.6.codec.g722_1c_32kpbs.para = +account.6.codec.g722_1c_32kpbs.priority = +account.6.codec.g722_1c_32kpbs.rtpmap = +account.6.codec.g722_1c_32kpbs.samplerate = + +account.6.codec.g722_1c_48kpbs.enable = +account.6.codec.g722_1c_48kpbs.para = +account.6.codec.g722_1c_48kpbs.priority = +account.6.codec.g722_1c_48kpbs.rtpmap = +account.6.codec.g722_1c_48kpbs.samplerate = + + +####################################################################################### +## Audio Advanced ## +####################################################################################### +##It configures the RTP packet time for account X.0 (Disabled), 10, 20, 30, 40, 50 or 60. +##The default value is 20. +account.6.ptime = + +####################################################################################### +## Anonymous Call ## +####################################################################################### +account.6.send_anonymous_code = +account.6.anonymous_call = +account.6.anonymous_call_oncode = +account.6.anonymous_call_offcode = +account.6.reject_anonymous_call = +account.6.anonymous_reject_oncode = +account.6.anonymous_reject_offcode = +account.6.send_anonymous_rejection_code = + + +####################################################################################### +## Pickup Code ## +####################################################################################### +##It enables or disables the phone to pick up a call according to the SIP header of dialog-info for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.6.dialoginfo_callpickup = +##It configures the group pickup code for account X. +##The default value is blank. +account.6.group_pickup_code = +##It configures the directed pickup code for account X. +##The default value is blank. +account.6.direct_pickup_code = + + +####################################################################################### +## DTMF ## +####################################################################################### +account.6.dtmf.type = {$yealink_dtmf_type} +account.6.dtmf.info_type = +account.6.dtmf.dtmf_payload = + + +####################################################################################### +## Alert info ## +####################################################################################### +##It enables or disables the distinctive ringtones by the Alert-Info SIP header for account X.0-Disabled,1-Enabled. +##The default value is 0. +account.6.alert_info_url_enable = +##The default value is blank.Values range 256 characters in length +account.6.alert_info = +account.6.ringtone.ring_type = + +###Only for T46G Model +##It enables or disables the phone to download the picture information for account X when receiving an incoming call or during a call.0-Disabled,1-Enabled. +##The default value is 0. +account.6.picture_info_enable = + + +####################################################################################### +## Conference ## +####################################################################################### +##It configures the conference type for account X.0-Local Conference,2-Network Conference. +##The default value is 0. +account.6.conf_type = +##It configures the network conference URI for account X. +##The default value is blank. +account.6.conf_uri = + + +####################################################################################### +## CID Source ## +####################################################################################### +account.6.cid_source = {$yealink_cid_source} +account.6.cid_source_privacy = 1 +account.6.cid_source_ppi = 1 +account.6.cp_source = 2 + + +####################################################################################### +## Session Timer ## +####################################################################################### +account.6.session_timer.enable = {$yealink_session_timer} +account.6.session_timer.expires = +account.6.session_timer.refresher = + + +####################################################################################### +## Music on Hold ## +####################################################################################### +##It configures the way on how the phone processes Music On Hold when placing an active call on hold for account X. +##0-Calling the music server before holding +##1-Calling the music server after holding +##The default value is 0. +account.6.music_on_hold_type = +##It configures the URI of the Music On Hold server for account X. +##The default value is blank. +account.6.music_server_uri = + + +####################################################################################### +## Advanced ## +####################################################################################### +account.6.auto_answer = +account.6.missed_calllog = +account.6.100rel_enable = {$yealink_retransmission} +account.6.enable_user_equal_phone = +account.6.compact_header_enable = +account.6.custom_ua = + + +####################################################################################### +## DND(Except T19 Model) ## +####################################################################################### +account.6.dnd.enable = +account.6.dnd.on_code = +account.6.dnd.off_code = + + +####################################################################################### +## Call Forward(Except T19 Model) ## +####################################################################################### +account.6.always_fwd.enable = +account.6.always_fwd.target = +account.6.always_fwd.off_code = +account.6.always_fwd.on_code = +account.6.busy_fwd.enable = +account.6.busy_fwd.target = +account.6.busy_fwd.off_code = +account.6.busy_fwd.on_code = +account.6.timeout_fwd.enable = +account.6.timeout_fwd.target = +account.6.timeout_fwd.timeout = +account.6.timeout_fwd.off_code = +account.6.timeout_fwd.on_code = + + +####################################################################################### +## Voice Monitoring (Except T19P/T21P Models) ## +####################################################################################### +account.6.vq_rtcpxr.collector_name= +account.6.vq_rtcpxr.collector_server_host= +account.6.vq_rtcpxr.collector_server_port= + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +##It configures the user name for XSI authentication for account X.Example:account.6.xsi.user = 3502@as.iop1.broadworks.net. +##The default value is blank. +account.6.xsi.user = + +##It configures the password for XSI authentication for account X.Example:account.6.xsi.password = 123456. +##The default value is blank. +account.6.xsi.password = + +##It configures the access URL of the Xtended Services Platform server for account X.Example:account.6.xsi.host = xsp1.iop1.broadworks.net. +##The default value is blank. +account.6.xsi.host = + +##It configures the server type of the Xtended Services Platform server for account X.Example:account.6.xsi.server_type = http. +##The default value is http. +account.6.xsi.server_type = + +##It configures the server port of the Xtended Services Platform server for account X.Example:account.6.xsi.port = 80. +##The default value is 80.Integer from 1 to 65535 +account.6.xsi.port = + + +####################################################################################### +## Broadsoft Setting ## +####################################################################################### +bw.enable = + +###It enables or disables feature key synchronization. +###0-Disabled,1-Enabled. +###The default value is 0. +bw.feature_key_sync = {$yealink_feature_key_sync} + + +####################################################################################### +## Broadsoft Phonebook(Except T20P model) ## +####################################################################################### +###It enables or disables the phone to display the group directory. +###0-Disabled,1-Enabled. +###The default value is 1. +bw_phonebook.group_enable = + +###It enables or disables the phone to display the personal directory. +###0-Disabled,1-Enabled. +###The default value is 1. +bw_phonebook.personal_enable = + +###It enables or disables the phone to display the group common directory. +###0-Disabled,1-Enabled. +###The default value is 1. +bw_phonebook.group_common_enable = + +###It enables or disables the phone to display the enterprise directory. +###0-Disabled,1-Enabled. +###The default value is 1. +bw_phonebook.enterprise_enable = + +###It enables or disables the phone to display the enterprise common directory. +###0-Disabled,1-Enabled. +###The default value is 1. +bw_phonebook.enterprise_common_enable = + +###It configures the display name on the LCD screen for the enterprise common directory. +###The default value is EnterpriseCommon. +bw_phonebook.enterprise_common_displayname = + +###It enables or disables BroadSoft call log feature. +###0-Disabled,1-Enabled. +###The default value is 0. +bw_phonebook.call_log_enable = + +###It enables or disables custom directory feature. +###0-Disabled,1-Enabled. +###The default value is 0. +bw_phonebook.custom = + +###It configures the display name on the LCD screen for the group directory. +###The default value is Group. +bw_phonebook.group_displayname = + +###It configures the display name on the LCD screen for the enterprise directory. +###The default value is Enterprise. +bw_phonebook.enterprise_displayname = + +###It configures the display name on the LCD screen for the personal directory. +###The default value is Personal. +bw_phonebook.personal_displayname = + +bw_phonebook.group_common_displayname = + +##It configures the interval (in minutes) for the phone to update the data of the BroadSoft directory from the BroadSoft server. +##The default value is 60.Integer from 2 to 43200 +directory.update_time_interval = + + +####################################################################################### +## Features Pickup(Except T20P model) ## +####################################################################################### +##It enables or disables the phone to display the GPickup soft key when the phone is in the pre-dialing screen. +##0-Disabled,1-Enabled. +##The default value is 0. +features.pickup.group_pickup_enable = + +##It configures the group call pickup code. +##The default value is blank. +features.pickup.group_pickup_code = + +##It enables or disables the phone to display the DPickup soft key when the phone is in the pre-dialing screen. +##0-Disabled,1-Enabled. +##The default value is 0. +features.pickup.direct_pickup_enable = + +##It configures the directed call pickup code. +##The default value is blank. +features.pickup.direct_pickup_code = + +##It enables or disables the phone to display a visual alert when the monitored user receives an incoming call. +##0-Disabled,1-Enabled. +##The default value is 0. +features.pickup.blf_visual_enable = + +##It enables or disables the phone to play an audio alert when the monitored user receives an incoming call. +##0-Disabled,1-Enabled. +##The default value is 0. +features.pickup.blf_audio_enable = + + +####################################################################################### +## Call Park(Except T20P model) ## +####################################################################################### +###It enables or disables the phone to display the Park soft key during a call. +###0-Disabled,1-Enabled. +###The default value is 0. +features.call_park.enable = + +###It enables or disables the phone to display the GPark soft key during a call. +###0-Disabled,1-Enabled. +###The default value is 0. +features.call_park.group_enable = + +###It enables or disables the phone to play a warning tone when a call is parked against its line. +###0-Disabled,1-Enabled. +###The default value is 0. +features.call_park.park_ring = + +###It enables or disables the phone to display a parked indicator when a call is parked against its line. +###0-Disabled,1-Enabled. +###The default value is 0. +features.call_park.park_visual_notify_enable = + +features.call_park.group_park_code = +features.call_park.park_code = +features.call_park.park_mode = +features.call_park.park_retrieve_code = + + +####################################################################################### +## Time ## +####################################################################################### +##It configures the time zone.For more available time zones, refer to Time Zones on page 215. +##The default value is +8. +local_time.time_zone = {$yealink_time_zone} + +##It configures the time zone name.For more available time zone names, refer to Time Zones on page 215. +##The default time zone name is China(Beijing). +local_time.time_zone_name = {$yealink_time_zone_name} + +local_time.ntp_server1 = {$ntp_server_primary} +local_time.ntp_server2 = {$ntp_server_secondary} + +##It configures the update interval (in seconds) when using the NTP server. +##The default value is 1000.Integer from 15 to 86400 +local_time.interval = + +##It enables or disables daylight saving time (DST) feature. +##0-Disabled,1-Enabled,2-Automatic. +##The default value is 2. +local_time.summer_time = {$yealink_summer_time} + +##It configures the way DST works when DST feature is enabled. +##0-DST By Date ,1-DST By Week. +##The default value is 0. +local_time.dst_time_type = + +##It configures the start time of the DST. +##Value formats are:Month/Day/Hour (for By Date),Month/ Day of Week/ Day of Week Last in Month/ Hour of Day (for By Week) +##The default value is 1/1/0. +local_time.start_time = + +##It configures the end time of the DST. +##Value formats are:Month/Day/Hour (for By Date),Month/ Day of Week/ Day of Week Last in Month/ Hour of Day (for By Week) +##The default value is 12/31/23. +local_time.end_time = + +##It configures the offset time (in minutes). +##The default value is blank.Integer from -300 to 300 +local_time.offset_time = {$yealink_time_format} + +##It configures the time format.0-12 Hour,1-24 Hour. +##The default value is 1. +local_time.time_format = {$yealink_time_format} + +#Configure the date format; 0-WWW MMM DD (default), 1-DD-MMM-YY, 2-YYYY-MM-DD, 3-DD/MM/YYYY, 4-MM/DD/YY, 5-DD MMM YYYY, 6-WWW DD MMM; +local_time.date_format = {$yealink_date_format} + +##It enables or disables the phone to update time with the offset time obtained from the DHCP server. +##It is only available to offset from GMT 0.0-Disabled,1-Enabled. +##The default value is 0. +local_time.dhcp_time = + +##It configures the phone to obtain time from NTP server or manual settings.0-Manual,1-NTP +##The default value is 1. +local_time.manual_time_enable = + +##It enables or disables the phone to use manually configured NTP server preferentially. +##0-Disabled (use the NTP server obtained by DHCP preferentially),1-Enabled. +##The default value is 0. +local_time.manual_ntp_srv_prior = + +auto_dst.url = {$yealink_auto_dst_url} + + +####################################################################################### +## NETWORK ## +####################################################################################### +##It configures the IP address mode.0-IPv4,1-IPv6,2-IPv4&IPv6 +##The default value is 0.It takes effect after a reboot. +static.network.ip_address_mode = {$yealink_ip_address_mode} + +static.network.ipv6_prefix = +static.network.ipv6_internet_port.type = +static.network.ipv6_internet_port.ip = +static.network.ipv6_internet_port.gateway = +static.network.ipv6_primary_dns = +static.network.ipv6_secondary_dns = + +####Only T46G Model supports this parameter +static.network.ipv6_icmp_v6.enable = + +static.network.internet_port.type = +static.network.internet_port.ip = +static.network.internet_port.mask = +static.network.internet_port.gateway = +static.network.primary_dns = {$dns_server_primary} +static.network.secondary_dns = {$dns_server_secondary} + + +####################################################################################### +## V80 Add ## +####################################################################################### +## Add Time 2015.6.26 +account.X.callerid_in_support_header.enable = +account.X.acd.auto_login_enable = +account.X.outbound_proxy_fallback_interval = +account.x.transfer_refer_to_contact_header.enable = +account.x.sub_fail_retry_interval = +account.X.update_ack_while_dialing = +account.x.end_call_when_transferred.enable = +account.x.nat.stun_refresh_timer = +account.x.contact_take_line_param.enable = +account.X.backup_outbound_host = +account.X.backup_outbound_port = + + +####################################################################################### +## V80-SP2 Add ## +####################################################################################### +account.X.bla.notify_with_expire.enable = +account.X.bla.subscribe_uri_build_type = +account.x.instance_id.enable = + + +####################################################################################### +## V81 Add ## +####################################################################################### +account.1.dialplan.digitmap.active.on_hook_dialing = +account.1.dialplan.digitmap.apply_to.directory_dial = +account.1.dialplan.digitmap.apply_to.forward = +account.1.dialplan.digitmap.apply_to.on_hook_dial = +account.1.dialplan.digitmap.apply_to.press_send = +account.1.dialplan.digitmap.enable = +account.1.dialplan.digitmap.interdigit_long_timer = +account.1.dialplan.digitmap.interdigit_short_timer = +account.1.dialplan.digitmap.no_match_action = +account.1.dialplan.digitmap.string = From 5c52995af914f080cad1a9348d2f1fe7d8ddb6a7 Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 11 Nov 2020 16:33:02 -0500 Subject: [PATCH 179/677] Create y000000000058.cfg --- .../provision/yealink/t58a/y000000000058.cfg | 1568 +++++++++++++++++ 1 file changed, 1568 insertions(+) create mode 100644 resources/templates/provision/yealink/t58a/y000000000058.cfg diff --git a/resources/templates/provision/yealink/t58a/y000000000058.cfg b/resources/templates/provision/yealink/t58a/y000000000058.cfg new file mode 100644 index 0000000000..4ad9ac7f28 --- /dev/null +++ b/resources/templates/provision/yealink/t58a/y000000000058.cfg @@ -0,0 +1,1568 @@ +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## + +####################################################################################### +## Hostname ## +####################################################################################### +static.network.dhcp_host_name = + + +####################################################################################### +## PPPoE ## +####################################################################################### +network.pppoe.user = +network.pppoe.password = + + +####################################################################################### +## Network Advanced ## +####################################################################################### +##It enables or disables the PC port.0-Disabled,1-Auto Negotiation. +##The default value is 1.It takes effect after a reboot. +static.network.pc_port.enable = + +##It configures the transmission mode and speed of the Internet (WAN) port. +##0-Auto Negotiate +##1-Full Duplex 10Mbps +##2-Full Duplex 100Mbps +##3-Half Duplex 10Mbps +##4-Half Duplex 100Mbps +##5-Full Duplex 1000Mbps (only applicable to SIP-T42G and SIP-T46G IP phones) +##The default value is 0.It takes effect after a reboot. +static.network.internet_port.speed_duplex = + +##It configures the transmission mode and speed of the PC (LAN) port. +##0-Auto Negotiate +##1-Full Duplex 10Mbps +##2-Full Duplex 100Mbps +##3-Half Duplex 10Mbps +##4-Half Duplex 100Mbps +##5-Full Duplex 1000Mbps (only applicable to SIP-T42G and SIP-T46G IP phones) +##The default value is 0.It takes effect after a reboot. +static.network.pc_port.speed_duplex = + +##It enables or disables the phone to use manually configured static IPv4 DNS when Internet (WAN) port type for IPv4 is configured as DHCP. +##0-Disabled (use the IPv4 DNS obtained by DHCP) 1-Enabled +##The default value is 0.It takes effect after a reboot. + +{if isset($dns_server_primary)}static.network.static_dns_enable = 1{else}static.network.static_dns_enable = 0{/if} + +static.network.ipv6_static_dns_enable = +static.network.vlan.pc_port_mode = + +##It enable or disable to use A record of TTL +##The defalue value is 1;0-Disable 1-Enable +static.network.dns.ttl_enable = + +##It configures the LAN MTU +##The default value is 1500,.Integer from 128 to 1500.It takes effect after a reboot. +static.network.mtu_value = + +network.attempt_expired_time = +network.dhcp.server_mac1 = +network.dhcp.server_mac2 = + + +####################################################################################### +## VLAN ## +####################################################################################### +static.network.vlan.internet_port_enable = +{if isset($yealink_vlan_enable)}static.network.vlan.internet_port_enable = {$yealink_vlan_enable}{else}static.network.vlan.internet_port_enable = 0{/if} +static.network.vlan.internet_port_vid = {$yealink_vlan_id} +static.network.vlan.internet_port_priority = {$yealink_vlan_cos} +static.network.vlan.pc_port_enable = +static.network.vlan.pc_port_vid = {$yealink_vlan_pc_id} +static.network.vlan.pc_port_priority = {$yealink_vlan_pc_cos} +static.network.vlan.dhcp_enable = +static.network.vlan.dhcp_option = +##It configures LLDP or manually VLAN can't obtain IP, whether to switch to other methods of VLAN or closed VLAN to get IP +##(Except T19P/T21P Models) 0-Disable 1-Enable +static.network.vlan.vlan_change.enable = + + +####################################################################################### +## WEB Port ## +####################################################################################### +##It configures the HTTP port for web server access. +##The default value is 80.It takes effect after a reboot. +static.network.port.http = + +##It configures the HTTPS port for web server access. +##The default value is 443.It takes effect after a reboot. +static.network.port.https = + +static.wui.https_enable = +static.wui.http_enable = + + +####################################################################################### +## QoS ## +####################################################################################### +##It configures the voice QoS. +##The default value is 46.It takes effect after a reboot.Integer from 0 to 63 +static.network.qos.rtptos = + +##It configures the SIP QoS. +##The default value is 26.It takes effect after a reboot.Integer from 0 to 63 +static.network.qos.signaltos = + + +####################################################################################### +## 802.1X ## +####################################################################################### +static.network.802_1x.mode = +static.network.802_1x.identity = +static.network.802_1x.md5_password = +static.network.802_1x.root_cert_url = +static.network.802_1x.client_cert_url = + +##It configure the mouth of the PC 802.1 x - logoff function.It takes effect after a reboot. +##The default value is 0-Dsable , 1-Enable +static.network.802_1x.proxy_eap_logoff.enable = + + +####################################################################################### +## OpenVPN(Except T19P Model) ## +####################################################################################### +static.network.vpn_enable = {$yealink_network_vpn_enable} +static.openvpn.url = {$yealink_openvpn_url} + + +####################################################################################### +## LLDP ## +####################################################################################### +static.network.lldp.enable = static.network.lldp.enable = {$yealink_lldp_enable} +static.network.lldp.packet_interval = {$yealink_lldp_packet_interval} + + +####################################################################################### +## CDP ## +####################################################################################### +static.network.cdp.enable = static.network.cdp.enable = {$yealink_cdp_enable} +static.network.cdp.packet_interval = {$yealink_cdp_packet_interval} + + +####################################################################################### +## Span to PC ## +####################################################################################### +static.network.span_to_pc_port = + + +####################################################################################### +## RTP Port ## +####################################################################################### +sip.min_udp_port= +sip.max_udp_port= +sip.min_tcp_port= +sip.max_tcp_port= + + +####################################################################################### +## Syslog ## +####################################################################################### +static.syslog.mode = + +##It configures the IP address or domain name of the syslog server when exporting log to the syslog server. +##It takes effect only if the parameter °∞static.syslog.mode°± is configured as Server. +##The default value is blank.It takes effect after a reboot. +static.syslog.server = + +##It configures the detail level of syslog information to be exported.0 means nothing and 6 means all. +##The default value is 3.It takes effect after a reboot.Integer from 0 to 6 +static.syslog.log_level = + +static.syslog.bootlog_upload_wait_time = +static.syslog.ftp.append_limit_mode = +static.syslog.ftp.max_logfile = +static.syslog.ftp.post_mode = +static.syslog.log_upload_period = + + +####################################################################################### +## TR069 ## +####################################################################################### +static.managementserver.enable = +static.managementserver.username = +static.managementserver.password = +static.managementserver.url = +static.managementserver.connection_request_username = +static.managementserver.connection_request_password = +static.managementserver.periodic_inform_enable = +static.managementserver.periodic_inform_interval = + + +####################################################################################### +## Autoprovision ## ## +####################################################################################### +### It enables or disables the phone to synchronize personalized configuration settings with the auto provisioning server. +### If it is set to 1 (Enabled), personalized configuration settings via web/phone user interface are saved in the MAC-local.cfg file on the phone, +### and then the phone will upload the MAC-local.cfg file to the provisioning server. During auto provisioning, the phone requests to download the MAC-local.cfg file on the provisioning server. +### 0-Disabled, 1-Enabled. The default value is 0. +static.auto_provision.custom.sync = + +### It enables or disables the phone to protect personalized configuration settings even after auto provisioning. +### If it is set to 1 (Enabled), personalized configuration settings via web/phone user interface will be protected and remained after auto provisioning. +### 0-Disabled, 1-Enabled. The default value is 0. +static.auto_provision.custom.protect = + +static.auto_provision.custom.upload_method= + +auto_provision.attempt_expired_time = + + +####################################################################################### +## Autop Mode ## +####################################################################################### +static.auto_provision.power_on = + + +####################################################################################### +## Autop PNP ## +####################################################################################### +static.auto_provision.pnp_enable = + + +####################################################################################### +## Autop DHCP ## +####################################################################################### +static.auto_provision.dhcp_option.enable = +static.auto_provision.dhcp_option.list_user_options = + + +####################################################################################### +## Autop Repeat ## +####################################################################################### +static.auto_provision.repeat.enable = +static.auto_provision.repeat.minutes = + + +####################################################################################### +## Autop Weekly ## +####################################################################################### +static.auto_provision.weekly.enable = +static.auto_provision.weekly.dayofweek = +static.auto_provision.weekly.begin_time = +static.auto_provision.weekly.end_time = + + +####################################################################################### +## Autop URL ## +####################################################################################### +static.auto_provision.server.url = {$yealink_provision_url} +static.auto_provision.server.username = {$http_auth_username} +static.auto_provision.server.password = {$http_auth_password} + + +####################################################################################### +## Autop AES Key ## +####################################################################################### +##It configures the AES key for decrypting the Common CFG file. The valid characters contain: 0 ~ 9, A ~ Z, a ~ z. +##The default value is blank. +static.auto_provision.aes_key_16.com = + +##It configures the AES key for decrypting the MAC-Oriented CFG file. The valid characters contain: 0 ~ 9, A ~ Z, a ~ z. +##The default value is blank. +static.auto_provision.aes_key_16.mac = + +static.auto_provision.aes_key_in_file = + +##It configures the access URL of the custom MAC-Oriented CFG file. +##The default value is blank. +static.custom_mac_cfg.url = + +##It configures the value (vendor name of the device) of DHCP option 60. +##The default value is yealink. +static.auto_provision.dhcp_option.option60_value = +##It configuration phone update to restart automatically.It takes effect after a reboot. +##0-Disable 1-Enable +static.auto_provision.reboot_force.enable = + + +####################################################################################### +## Autop wildcard ## +####################################################################################### + +static.auto_provision.url_wildcard.pn = + +####################################################################################### +## Autop Code ## +####################################################################################### +##It configures the name of the code for triggering auto provisioning. +##The default value is blank.It takes effect after a reboot. +static.autoprovision.1.name = + +##It configures the code for triggering auto provisioning. +##Valid characters are digits, # and *.Example:static.autoprovision.1.code = *99The default value is blank. +##It takes effect after a reboot. +static.autoprovision.1.code = + +##It configures the access URL of auto provisioning server.The default value is blank. +##It takes effect after a reboot. +static.autoprovision.1.url = + +##It configures the user name for authentication during auto provisioning. +##The default value is blank.It takes effect after a reboot. +static.autoprovision.1.user = + +##It configures the password for authentication during auto provisioning. +##The default value is blank.It takes effect after a reboot. +static.autoprovision.1.password = + +##It configures the AES key for decrypting the Common CFG file. +##The default value is blank.It takes effect after a reboot. +static.autoprovision.1.com_aes = + +##It configures the AES key for decrypting the MAC-Oriented CFG file. +##The default value is blank.It takes effect after a reboot. +static.autoprovision.1.mac_aes = + + +####################################################################################### +## Watch Dog ## +####################################################################################### +static.watch_dog.enable = + + +####################################################################################### +## SIP Advanced ## +####################################################################################### +sip.use_23_as_pound = +sip.rfc2543_hold = {$yealink_rfc2543_hold} +sip.use_out_bound_in_dialog = +sip.reg_surge_prevention = +sip.send_response_by_request = +sip.notify_reboot_enable = +sip.disp_incall_to_info = +sip.limit_server_name = +sip.limit_server_reason = +{if isset($yealink_sip_listen_port)}sip.listen_port = {$yealink_sip_listen_port}{else}sip.listen_port = 5060{/if} + +#sip.tls_listen_port = +{if isset($yealink_sip_listen_port)}sip.tls_listen_port = {$yealink_sip_listen_port}{else}sip.tls_listen_port = 5061{/if} + +sip.trust_ctrl = {$yealink_trust_ctrl} +sip.nat_stun.enable = {if isset($stun_server)}1{else}0{/if} + +sip.nat_stun.server = {$stun_server} +sip.nat_stun.port = {if isset($stun_port)}{$stun_port}{else}3478{/if} + +sip.timer_t1 = +sip.timer_t2 = +sip.timer_t4 = + +##It is XSI authentication mode.0-Disable 1-Enable (Except T19P/T21P Models) +sip.authentication_for_xsi = +##It is DSS KEY to call park type, whether the trigger BLF function.It takes effect after a reboot. +##The default value is 0-Disable(DSS KEY to call park type,triggering BLF function) 1-Enable +sip.call_park_without_blf = +##It is ASCII conversion into corresponding symbols. +##The defalult value is blank. 0-Disable 1-Enable +sip.escape_characters.enable = +##The default value is 0 ( said according to the transmission mode configured to listen on port),1- +##1-said at the same time to monitor TCP and UDP +##2-said to monitor TCP and UDP at the same time, and from the BLF - the LIST to subscribe to the contact with a transport = TCP parameters +sip.listen_mode = {if isset($yealink_sip_listen_port)}sip.listen_port = {$yealink_sip_listen_port}{else}sip.listen_port = 5060{/if} + +##The default value is 0-Disable, 1-Enable.It takes effect after a reboot. +##0-registered according to the uri of the tectonic refer - by domain +##1-according to refer the from header fields to construct refer - by domain + +sip.refer_by_header_auto_build = +##The default is blank.The Valid characters are digits - _.! ~ * # '() & Q462 = + R452 $,;?/ \ 0 +##It is username needs to be preserved in a special notation. +sip.reserve_characters = +##The default value is 0.(contracting out the random contact, via port to carry fixed port).It takes effect after a reboot. +##1-the out-contracting port random contact, via port to carry +##2-the out-contracting ports fixed contact, via carry fix +sip.tcp_port_random_mode = + +sip.call_fail_use_reason.enable = {$yealink_sip_call_fail_use_reason_enable} + + +####################################################################################### +## Echo Cancellation ## +####################################################################################### +voice.vad = {$yealink_vad} +voice.cng = {$yealink_cng} +voice.echo_cancellation = {$yealink_echo_cancellation} + + +####################################################################################### +## Jitter Buffer ## +####################################################################################### +voice.jib.adaptive = {$yealink_jib_adaptive} +voice.jib.min = {$yealink_jib_min} +voice.jib.max = {$yealink_jib_max} +voice.jib.normal = {$yealink_jib_normal} + + +####################################################################################### +## Tones ## +####################################################################################### +voice.tone.country = +voice.tone.dial = +voice.tone.ring = +voice.tone.busy = +voice.tone.congestion = +voice.tone.callwaiting = +voice.tone.dialrecall = +voice.tone.info = +voice.tone.stutter = +voice.tone.autoanswer = +voice.tone.message = + + +####################################################################################### +## Volume ## +####################################################################################### + +voice.handfree.spk_vol = +voice.handfree.tone_vol = +voice.handset.spk_vol = +voice.handset.tone_vol = +voice.headset.spk_vol = +voice.headset.tone_vol = +voice.group_spk_vol = + +voice.handfree_send = +voice.handset_send = +voice.headset_send = + + +####################################################################################### +## Transfer ## +####################################################################################### +##It enables or disables the transferee party°Øs phone to prompt a missed call on the LCD screen before displaying +##the caller ID when performing a semi-attended transfer.0-Enabled,1-Disabled +##The default value is 1. +transfer.semi_attend_tran_enable = {$yealink_transfer_semi_attended} + +##It enables or disables the phone to complete the blind transfer through on-hook.0-Disabled,1-Enabled . +##The default value is 1. +transfer.blind_tran_on_hook_enable = {$yealink_transfer_blind_on_hook} + +##It enables or disables the phone to transfer call to the two parties after a local conference call hangs up. +##0-Disabled,1-Enabled. +##The default value is 0. +transfer.tran_others_after_conf_enable = {$yealink_transfer_after_conf} + +##It enables or disables the phone to complete the attended transfer through on-hook. +##0-Disabled,1-Enabled. +##The default value is 1. +transfer.on_hook_trans_enable = {$yealink_transfer_onhook} + +##It configures the DSS key behavior during an active call when user presses the DSS +##key and the DSS key is configured as a speed dial, transfer or BLF/BLF list key. +##0-New Call,1-Attended Transfer,2-Blind Transfer. +##The default value is 2. +transfer.dsskey_deal_type = {$yealink_dsskey_transfer_mode} + +##It enables or disables the phone to enter Transfer to menu during multiple calls when pressing the transfer soft key or TRAN key. +##0-Disabled,1-Enabled. +##The default value is 1. +transfer.multi_call_trans_enable = + + +####################################################################################### +## Language Settings ## +####################################################################################### +##It configures the language of the web user interface. +static.lang.wui = + +##It configures the language of the phone user interface. +##The default value is English. +static.lang.gui = {$yealink_language_gui} + +gui_lang.url = +gui_lang.delete = +wui_lang.url = +wui_lang_note.url = +wui_lang.delete = + + +####################################################################################### +## Auto Redial ## +####################################################################################### +auto_redial.enable = +auto_redial.interval = +auto_redial.times = + + +####################################################################################### +## Zero Touch ## +####################################################################################### +static.zero_touch.enable = +static.zero_touch.wait_time = +static.zero_touch.network_fail_wait_times = +static.zero_touch.network_fail_delay_times = + + +####################################################################################### +## Push XML ## +####################################################################################### +push_xml.server = +push_xml.block_in_calling= +push_xml.sip_notify= + + +####################################################################################### +## Dial Plan ## +####################################################################################### +dialplan.area_code.code = +dialplan.area_code.min_len = +dialplan.area_code.max_len = +dialplan.area_code.line_id = + +### X ranges from 1 to 10 +###dialplan.block_out.number.x = +###dialplan.block_out.line_id.x = + +dialplan.block_out.number.1 = +dialplan.block_out.line_id.1 = + +###X ranges from 1 to 100 +###dialplan.dialnow.rule.X = +dialplan.dialnow.rule.1 = {$yealink_dialplan_dialnow_rule_1} +dialplan.dialnow.rule.2 = {$yealink_dialplan_dialnow_rule_2} +dialplan.dialnow.rule.3 = {$yealink_dialplan_dialnow_rule_3} +dialplan.dialnow.rule.4 = {$yealink_dialplan_dialnow_rule_4} +dialplan.dialnow.rule.5 = {$yealink_dialplan_dialnow_rule_5} +###dialplan.dialnow.line_id.X = + +dialplan.dialnow.rule.1 = +dialplan.dialnow.line_id.1 = + +###X ranges from 1 to 100 +###dialplan.replace.prefix.X = +###dialplan.replace.replace.X = +###dialplan.replace.line_id.X = + +dialplan.replace.prefix.1 = +dialplan.replace.replace.1 = +dialplan.replace.line_id.1 = + +dialplan_dialnow.url = +phone_setting.dialnow_delay = +dialplan_replace_rule.url = + + +####################################################################################### +## Remote Phonebook(Except T20P Model) ## +####################################################################################### +###X ranges from 1 to 5 +###remote_phonebook.data.X.url = +###remote_phonebook.data.X.name = + +{if isset($yealink_remote_phonebook_1_url) } +remote_phonebook.data.1.url = {$yealink_remote_phonebook_1_url} +{else} +remote_phonebook.data.1.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=users +{/if} +{if isset($yealink_remote_phonebook_1_name) } +remote_phonebook.data.1.name = {$yealink_remote_phonebook_1_name} +{else} +remote_phonebook.data.1.name = Users +{/if} + +{if isset($yealink_remote_phonebook_2_name) } +remote_phonebook.data.2.name = {$yealink_remote_phonebook_2_name} +{else} +remote_phonebook.data.2.name = Groups +{/if} +{if isset($yealink_remote_phonebook_2_url) } +remote_phonebook.data.2.url = {$yealink_remote_phonebook_2_url} +{else} +remote_phonebook.data.2.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=groups +{/if} + +{if isset($yealink_remote_phonebook_3_name) } +remote_phonebook.data.3.name = {$yealink_remote_phonebook_3_name} +{else} +remote_phonebook.data.3.name = Extensions +{/if} +{if isset($yealink_remote_phonebook_3_url) } +remote_phonebook.data.3.url = {$yealink_remote_phonebook_3_url} +{else} +remote_phonebook.data.3.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=extensions +{/if} + +remote_phonebook.data.4.name = {$yealink_remote_phonebook_4_name} +remote_phonebook.data.4.url = {$yealink_remote_phonebook_4_url} + +remote_phonebook.data.5.name = {$yealink_remote_phonebook_5_name} +remote_phonebook.data.5.url = {$yealink_remote_phonebook_5_url} +remote_phonebook.display_name = + +###It enables or disables the phone to update the data of the remote phone book at a time when accessing the remote phone book. +###0-Disabled, 1-Enabled. The default value is 0. +features.remote_phonebook.enter_update_enable = + +##It enables or disables the phone to perform a remote phone book search when receiving an incoming call. +##0-Disabled,1-Enabled. +##The default value is 0. +features.remote_phonebook.enable = + +##It configures the interval (in seconds) for the phone to update the data of the remote phone book from the remote phone book server. +##The value 0 means the phone will not regularly update the data of the remote phone book from the remote phone book server. +##The default value is 21600.Integer from 3600 to 2592000,and 0. +features.remote_phonebook.flash_time = + + +####################################################################################### +## LDAP ## +####################################################################################### +##It enables or disables LDAP feature.0-Disabled,1-Enabled. +##The default value is 0. +ldap.enable = {$ldap_enable} + +##It configures the criteria for searching the contact name attributes. +##Example:ldap.name_filter = (|(cn=%)(sn=%)). +##The default value is blank. +ldap.name_filter = {$ldap_name_filter} + +##It configures the criteria for searching the contact number attributes. +##Example:ldap.number_filter = (|(telephoneNumber=%)(mobile=%)(ipPhone=%)) +##The default value is blank. +ldap.number_filter = {$ldap_number_filter} + +##It configures the IP address or domain name of the LDAP server. +##The default value is blank. +ldap.host = {$ldap_host} + +##It configures the port of the LDAP server. +##The default value is 389.Integer from 1 to 65535. +ldap.port = {$ldap_port} + +##It configures the LDAP search base which corresponds to the location of the LDAP phonebook. +##Example:ldap.base = dc=yealink,dc=cn. +##The default value is blank. +ldap.base = {$ldap_base} + +##It configures the user name for accessing the LDAP server. +##The default value is blank. +ldap.user = {$ldap_user} + +##It configures the password for accessing the LDAP server. +##The default value is blank. +ldap.password = {$ldap_password} + +##It configures the maximum of the search results returned by the LDAP server to be displayed. +##The default value is 50.Integer from 1 to 32000. +ldap.max_hits = {$ldap_max_hits} + +##It configures the name attributes of each record to be returned by the LDAP server. +##Multiple attributes are separated by spaces.Example:ldap.name_attr =sn cn. +##The default value is blank. +ldap.name_attr = {$ldap_name_attr} + +##It configures the number attributes of each record to be returned by the LDAP server. +##Multiple attributes are separated by spaces.Example:ldap.numb_attr = Mobile ipPhone. +##The default value is blank. +ldap.numb_attr = {$ldap_numb_attr} + +##It configures the display name of the contact record displayed on the LCD screen. The value of this parameter must start with °∞%°± symbol. +##Example:ldap.display_name = %cn +##The default value is blank. +ldap.display_name = {$ldap_display_name} + +##It configures the LDAP version. +##The default value is 3. +ldap.version = {$ldap_version} + +##It enables or disables the phone to perform an LDAP search when receiving an incoming call. +##0-Disabled,1-Enabled. +##The default value is 0. +ldap.call_in_lookup = {$ldap_call_in_lookup} + +##It enables or disables the phone to sort the search results in alphabetical order or numerical order. +##0-Disabled,1-Enabled. +##The default value is 0. +ldap.ldap_sort = {$ldap_sort} +##It is the electricity + start, automatic search + 00 the beginning and the beginning of the numbe +##The default value is 0.(0-Disable,1-Enable )(Except T19P/T21P Models) +ldap.incoming_call_special_search.enable = +##The default value is 0,value of 0 to 2, respectively the ldap, ldap + StarTLS and ldaps +ldap.tls_mode = +ldap.call_out_lookup = {$ldap_dial_lookup} + + +####################################################################################### +## Features ## +####################################################################################### +features.normal_refuse_code = +features.auto_answer_delay = +features.allow_mute = +features.group_listen_in_talking_enable = +features.call_completion_enable = +features.call_num_filter = +features.direct_ip_call_enable = {$yealink_direct_ip_call_enable} +features.relog_offtime = +features.ringer_device.is_use_headset = +features.factory_pwd_enable = +features.anonymous_response_code = +features.show_action_uri_option = +features.reset_by_long_press_enable = +features.show_anywhere_remote_office_enable = +features.upload_server = +features.call_log_show_num = +features.ldap.input_type = +features.call_invite_format = + +phone_setting.logon_wizard_forever_wait = +features.transfer_type = {$yealink_transfer_type} +features.caller_name_type_on_dialing = +gui_input_method.delete = +features.off_hook_answer.enable = +features.auto_linekeys.enable = + +features.blf_pickup_only_send_code = +##It is configured in the middle of the screen shows the current default at the bottom of the account name. +##The default is 0.CNT version 1. +features.show_default_account= +features.reboot_in_talk_enable = +features.barge_in_via_username.enable = +features.flash_url_dsskey_led.enable = +static.features.default_account = +features.linekey_call_with_default_account = +features.hide_feature_access_codes.enable = {$yealink_hide_feature_access_codes_enable} +static.features.hide_zero_touch_url.enable = + + +####################################################################################### +## Features Forward ## +####################################################################################### + +features.fwd_mode = +features.fwd_diversion_enable = + + +####################################################################################### +## Features DND ## +####################################################################################### + +features.dnd_mode = +features.dnd.enable = +features.dnd.on_code = *78 +features.dnd.off_code = *79 +features.dnd_refuse_code = +features.dnd.emergency_enable = 1 +features.dnd.emergency_authorized_number = + + +####################################################################################### +## Features Bluetooth(Only for T46G model) ## +####################################################################################### +features.bluetooth_enable = {$yealink_bluetooth_enable} + + +####################################################################################### +## Features BLF ## +####################################################################################### +##It configures BLF LED mode and provides four kinds of definition for the BLF/BLF list key LED status. +##For more information, refer to BLF LED Mode on page 218. +##The default value is 0. +features.blf_led_mode = {$yealink_blf_led_mode} + +##It enables or disables the phone to deal with the Version header in the BLF NOTIFY message sent by the server. +##0-Disabled,1-Enabled. +##The default value is 0.It takes effect after a reboot. +features.blf_list_version = 0 + + +####################################################################################### +## Features Intercom ## +####################################################################################### +features.intercom.allow = +features.intercom.mute = +features.intercom.tone = +features.intercom.barge = +features.intercom.led.enable = +features.intercom.subscribe.enable = + + +####################################################################################### +## Features Hotline ## +####################################################################################### +##It configures the hotline number. +##The default value is blank. +features.hotline_number = + +##It configures the delay time (in seconds) for the phone to dial out the hotline number automatically. +##The default value of delay time is 4.Integer from 0 to 10 +features.hotline_delay = + + +####################################################################################### +## Features DTMF ## +####################################################################################### +features.dtmf.hide = {$yealink_dtmf_hide} + +###Except T20P Model +features.dtmf.hide_delay = + +features.dtmf.repetition = +features.dtmf.transfer = +features.dtmf.replace_tran = +features.dtmf.duration = +features.dtmf.volume = +features.play_local_dtmf_tone_enable = + + +####################################################################################### +## Features Audio Settings ## +####################################################################################### +features.headset_prior = +features.headset_training = +features.alert_info_tone = +features.busy_tone_delay = +features.send_pound_key = +features.key_as_send = +features.send_key_tone = +features.key_tone = +features.play_hold_tone.enable = +features.play_hold_tone.delay = +features.redial_tone = +features.partition_tone = + + +####################################################################################### +## Features Action URI ## +####################################################################################### +features.action_uri_limit_ip = + + +####################################################################################### +## Features Prefix ## +####################################################################################### +features.password_dial.enable = +features.password_dial.prefix = +features.password_dial.length = + + +####################################################################################### +## Features History ## +####################################################################################### +features.save_call_history = + + +####################################################################################### +## Notification Popups ## +####################################################################################### +features.voice_mail_popup.enable= {$yealink_voice_mail_popup_enable} +features.missed_call_popup.enable= {$yealink_missed_call_popup_enable} +features.forward_call_popup.enable= +features.text_message_popup.enable= + + +####################################################################################### +## Ringtone ## +####################################################################################### +ringtone.url = {$yealink_ringtone_url} +ringtone.delete = {$yealink_ringtone_delete} + + +####################################################################################### +## Phone Settings ## +####################################################################################### +phone_setting.inter_digit_time = {$yealink_inter_digit_time} +phone_setting.ring_type = {$yealink_ring_type} + +phone_setting.ring_for_tranfailed = +phone_setting.is_deal180 = +phone_setting.show_code403 = + +phone_setting.ringback_timeout = +phone_setting.ringing_timeout = + +phone_setting.page_tip = +phone_setting.predial_autodial = +phone_setting.headsetkey_mode = +features.voice_mail_tone_enable = +static.phone_setting.reserve_certs_enable = +phone_setting.called_party_info_display.enable = 1 +phone_setting.call_info_display_method = 0 + + +####################################################################################### +## Power Led Settings ## +####################################################################################### +phone_setting.common_power_led_enable = +phone_setting.talk_and_dial_power_led_enable = +phone_setting.mail_power_led_flash_enable = 1 +phone_setting.ring_power_led_flash_enable = +phone_setting.mute_power_led_flash_enable= +phone_setting.hold_and_held_power_led_flash_enable = {$yealink_missed_call_power_led_flash_enable} + +##It configures the level of the active backlight intensity. +##The default value is 8. +phone_setting.active_backlight_level = + + +####################################################################################### +## Phone Setting Display ## +####################################################################################### + +##It configures the backlight time (in seconds).0, 1, 15, 30, 60, 120, 300, 600 or 1800. +phone_setting.backlight_time = {$yealink_backlight_time} + +wallpaper_upload.url = {$yealink_t56a_wallpaper} +{if isset($yealink_t56a_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t56a_wallpaper_filename} +{else} +phone_setting.backgrounds = Config:yealink_t56a_wallpaper.png +{/if} + + +####################################################################################### +## Phone Setting BLF ## +####################################################################################### +###It enables or disables the phone to automatically configure the BLF list keys in order. +###0-Disabled,1-Enabled. +###The default value is 1. + +phone_setting.auto_blf_list_enable = + +###It configures the order of BLF list keys assigned automatically. +###0-Line Keys->Extension Keys +###1-Extension Keys->Line Keys +###The default value is 0. +phone_setting.blf_list_sequence_type = + + +####################################################################################### +## Key Lock ## +####################################################################################### +###It enables or disables keypad lock feature. +###0-Disabled,1-Enabled. +###The default value is 0. +phone_setting.phone_lock.enable = {$yealink_lock_enable} + +###It configures the password for unlocking the keypad. +###The default value is 123. +phone_setting.phone_lock.unlock_pin = {$yealink_lock_pin} + +###It configures the interval (in seconds) to automatically lock the keypad. +###The default value is 0 (the keypad is locked only by long pressing the pound key or pressing the keypad lock key) +phone_setting.phone_lock.lock_time_out = {$yealink_lock_timeout} +phone_setting.emergency.number = {$yealink_emergency_number} + + +####################################################################################### +## Multicast ## +####################################################################################### + +multicast.codec = + +multicast.receive_priority.enable = +multicast.receive_priority.priority = + +###X ranges from 1 to 10 +###multicast.listen_address.X.label = +###multicast.listen_address.X.ip_address = + +multicast.listen_address.1.label = +multicast.listen_address.1.ip_address = + +multicast.paging_address.1.ip_address = +multicast.paging_address.1.label = + + +####################################################################################### +## Super Search ## +####################################################################################### +super_search.recent_call = +super_search.url = + + +####################################################################################### +## Security ## +####################################################################################### +###Define the login username and password of the user, var and administrator. +###If you change the username of the administrator from "admin" to "admin1", your new administrator's username should be configured as: security.user_name.admin = admin1. +###If you change the password of the administrator from "admin" to "admin1pwd", your new administrator's password should be configured as: security.user_password = admin1:admin1pwd. + +###The following examples change the user's username to "user23" and the user's password to "user23pwd". +###static.security.user_name.user = user23 +###static.security.user_password = user23:user23pwd +###The following examples change the var's username to "var55" and the var's password to "var55pwd". +###static.security.user_name.var = var55 +###static.security.user_password = var55:var55pwd + +{if isset($user_name) } +static.security.user_name.user = {$user_name} +static.security.user_password = {$user_name}:{$user_password} +{/if} +{if isset($admin_name) } +static.security.user_name.admin = {$admin_name} +static.security.user_password = {$admin_name}:{$admin_password} +{/if} +{if isset($var_name) } +static.security.user_name.var = {$var_name} +static.security.user_password = {$var_name}:{$var_password} +{/if} + +###It enables or disables the phone to only accept the certificates in the Trusted Certificates list. +###0-Disabled,1-Enabled. +###The default value is 1.It takes effect after a reboot. +static.security.trust_certificates = {if $yealink_trust_certificates == "false"}0{elseif $yealink_trust_certificates == "true"}1{/if} + +###It configures the source certificates for the phone to authenticate for TLS connection. +###0-Default certificates,1-Custom certificates,2-All certificates. +###The default value is 0.It takes effect after a reboot. +security.ca_cert = + +###It configures the device certificates for the phone to send for TLS authentication. +###0-Default certificates,1-Custom certificates. +###The default value is 0.It takes effect after a reboot. +static.security.dev_cert = + +###It enables or disables the phone to mandatorily validate the CommonName or SubjectAltName of the certificate received from the connecting server. +###0-Disabled,1-Enabled. +###The default value is 0.It takes effect after a reboot. +static.security.cn_validation = + + +####################################################################################### +## User Mode ## +####################################################################################### +###It enables or disables the 3-level permissions (admin, user, var). +###0-Disabled,1-Enabled. +###The default value is 0.It takes effect after a reboot. +static.security.var_enable = + +static.web_item_level.url = + + +####################################################################################### +## Trusted Certificates ## +####################################################################################### +static.trusted_certificates.url = {$yealink_trusted_cert_url} +static.trusted_certificates.delete = {$yealink_trusted_cert_delete} + + +####################################################################################### +## Server Certificates ## +####################################################################################### +static.server_certificates.url = +static.server_certificates.delete = + + +####################################################################################### +## Line Key ## +####################################################################################### +###T58A X ranges from 1 to 27 + +#linekey.X.type--Customize the linekey type. +#The valid types are: + +#0-NA 1-Conference 2-Forward 3-Transfer 4-Hold 5-DND 7-Call Return 8-SMS 9-Directed Pickup 10-Call Park 11-DTMF 12-Voice Mail 13-Speed Dial +#14-Intercom 15-Line 16-BLF 17-URL 18-Group Listening 20-Private Hold 22-XML Group 23-Group Pickup 24-Multicast Paging 25-Record 27-XML Browser +#34-Hot Desking 35-URL Record 38-LDAP 39-BLF List 40-Prefix 41-Zero Touch 42-ACD 45-Local Group 46-Network Group 49-Custom Button 50-Keypad Lock +#55-Meet-Me Conference 56-Retrieve Park 57-Hoteling 58-ACD Grace 59-Sisp Code 60-Emergency 61-Directory + +#0-NA +#22-XML Group +#38-LDAP +#46-Network Group +#17-URL + +###linekey.X.line = +###linekey.X.value = +###linekey.X.pickup_value = +###linekey.X.type = +###linekey.X.xml_phonebook = +###linekey.X.label = +###linekey.X.extension + +###It configures the desired line to apply the key feature.Integer from 1 to 16 +#linekey.1.line = + +###It configures the value of the line key feature. +###For example, when setting the key feature to BLF, it configures the number of the monitored user. +###The default value is blank. +#linekey.1.value = + +###It configures the pickup code for BLF feature or conference ID followed by the # sign for Meet-Me conference feature. +###It only applies to BLF and Meet-Me conference features. +###The default value is blank. +#linekey.1.pickup_value = +#linekey.1.extension + +###It configures the key feature for the line key X. +#linekey.1.type = + +###It configures the desired local group/XML group/network group for the line key X. +###It only applies to the Local Group, XML Group and Network Group features. +#linekey.1.xml_phonebook = + +###It configures the label displayed on the LCD screen for each line key. +###The default value is blank. +#linekey.1.label = + +{foreach $keys['line'] as $row} +#Configure Line Key {$row.device_key_id} +linekey.{$row.device_key_id}.line = {$row.device_key_line} +linekey.{$row.device_key_id}.value = {$row.device_key_value} +{if $row.device_key_type == "1" || $row.device_key_type == "16"} +linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension} +{else} +linekey.{$row.device_key_id}.extension = {$row.device_key_extension} +{/if} +linekey.{$row.device_key_id}.type = {$row.device_key_type} +linekey.{$row.device_key_id}.xml_phonebook = +linekey.{$row.device_key_id}.label = {$row.device_key_label} + +{/foreach} + + +####################################################################################### +## Programable Key ## +####################################################################################### +###T58A X ranges from 12 to 14 + +#programablekey.x.type--Customize the programmable key type. +#The valid types are: +#0-NA 2-Forward 5-DND 7-Call Return 8-SMS 9-Directed Pickup 13-Speed Dial +#22-XML Group 23-Group Pickup 27-XML Browser 28-History 30-Menu 31-Switch Account 32-New SMS +#33-Status 34-Hot Desking 38-LDAP 40-Prefix 41-Zero Touch 43-Local Directory 44-Network Directory 45-Local Group +#46-Network Group 47-XML Directory 50-Keypad Lock 51-Switch Account Up 52-Switch Account Down 55-Meet-Me Conference 61-Directory + +###programablekey.X.type = +###programablekey.X.line = +###programablekey.X.value = +###programablekey.X.xml_phonebook = +###programablekey.X.history_type = +###programablekey.X.label = +###programablekey.X.pickup_value = +###programablekey.X.extension = + +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} + + +####################################################################################### +## Expansion Key(Only for T26P/T28P/T46G Models) ## +####################################################################################### +###T46G/T28P/T26P X ranges from 1 to 6, Y ranges from 1 to 40 + +###expansion_module.X.key.Y.type = +###expansion_module.X.key.Y.line = +###expansion_module.X.key.Y.value = +###expansion_module.X.key.Y.pickup_value = +###expansion_module.X.key.Y.label = +###expansion_module.X.key.Y.xml_phonebook = +###expansion_module.X.key.Y.extension = + +###It configures the key feature of the expansion module X key Y. +#expansion_module.1.key.1.type = + +###It configures the desired line to apply the expansion module key feature.Integer from 1 to 6 +#expansion_module.1.key.1.line = + +###It configures the value of the expansion module key feature. +###The default value is blank. +#expansion_module.1.key.1.value = + +###It configures the pickup code for BLF feature or conference ID followed by the # sign for Meet-Me conference feature. +###It only applies to BLF and Meet-Me conference features. +###The default value is blank. +#expansion_module.1.key.1.pickup_value = +#expansion_module.X.key.Y.extension = + +###It configures the label displayed on the LCD screen of the expansion module for each key. +###The default value is blank. +#expansion_module.1.key.1.label = + +###It only applies to the Local Group, XML Group and Network Group features.Integer from 0 to 48. +#expansion_module.1.key.1.xml_phonebook = + +{foreach $keys["expansion"] as $row} +expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.1.key.{$row.device_key_id}.xml_phonebook = +{/foreach} +{foreach $keys["expansion-1"] as $row} +expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.1.key.{$row.device_key_id}.xml_phonebook = +{/foreach} +{foreach $keys["expansion-2"] as $row} +expansion_module.2.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.2.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.2.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.2.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.2.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.2.key.{$row.device_key_id}.xml_phonebook = +{/foreach} + + +####################################################################################### +## Forward Always ## +####################################################################################### +forward.always.enable = +forward.always.target = +forward.always.on_code = +forward.always.off_code = + + +####################################################################################### +## Forward Busy ## +####################################################################################### +forward.busy.enable = +forward.busy.target = +forward.busy.on_code = +forward.busy.off_code = + + +####################################################################################### +## Forward No Answer ## +####################################################################################### +forward.no_answer.enable = +forward.no_answer.target = +forward.no_answer.timeout = +forward.no_answer.on_code = +forward.no_answer.off_code = + + +####################################################################################### +## Forward International ## +####################################################################################### +###It enables or disables the phone to forward incoming calls to international numbers. +###0-Disabled,1-Enabled. +###The default value is 1. +forward.international.enable = + + +####################################################################################### +## Hotdesking Startup ## +####################################################################################### +phone_setting.logon_wizard = + +hotdesking.startup_register_name_enable = +hotdesking.startup_username_enable = +hotdesking.startup_password_enable = +hotdesking.startup_sip_server_enable = +hotdesking.startup_outbound_enable = + + +####################################################################################### +## Hotdesking Dsskey ## +####################################################################################### +hotdesking.dsskey_register_name_enable = +hotdesking.dsskey_username_enable = +hotdesking.dsskey_password_enable = +hotdesking.dsskey_sip_server_enable = +hotdesking.dsskey_outbound_enable = + + +####################################################################################### +## Alert Info ## +####################################################################################### +###X ranges from 1 to 100 +###distinctive_ring_tones.alert_info.x.text = +###distinctive_ring_tones.alert_info.x.ringer = + +###It configures the internal ringer text for distinctive ringtone. +###Example: distinctive_ring_tones.alert_info.1.text = Family +###The default value is blank. +distinctive_ring_tones.alert_info.1.text = {$yealink_ring_text_1} +distinctive_ring_tones.alert_info.2.text = {$yealink_ring_text_2} +distinctive_ring_tones.alert_info.3.text = {$yealink_ring_text_3} +distinctive_ring_tones.alert_info.4.text = {$yealink_ring_text_4} +distinctive_ring_tones.alert_info.5.text = {$yealink_ring_text_5} +distinctive_ring_tones.alert_info.6.text = {$yealink_ring_text_6} +distinctive_ring_tones.alert_info.7.text = {$yealink_ring_text_7} +distinctive_ring_tones.alert_info.8.text = {$yealink_ring_text_8} +distinctive_ring_tones.alert_info.9.text = {$yealink_ring_text_9} +distinctive_ring_tones.alert_info.10.text = {$yealink_ring_text_10} + +###It configures the desired ring tones for each text. +###The value ranges from 1 to 8, the digit stands for the appropriate ringtone. +###Ring tones 6-8 are only applicable to SIP-T46G IP phones. +###The default value is 1. +distinctive_ring_tones.alert_info.1.ringer = {$yealink_ring_file_1} +distinctive_ring_tones.alert_info.2.ringer = {$yealink_ring_file_2} +distinctive_ring_tones.alert_info.3.ringer = {$yealink_ring_file_3} +distinctive_ring_tones.alert_info.4.ringer = {$yealink_ring_file_4} +distinctive_ring_tones.alert_info.5.ringer = {$yealink_ring_file_5} +distinctive_ring_tones.alert_info.6.ringer = {$yealink_ring_file_6} +distinctive_ring_tones.alert_info.7.ringer = {$yealink_ring_file_7} +distinctive_ring_tones.alert_info.8.ringer = {$yealink_ring_file_8} +distinctive_ring_tones.alert_info.9.ringer = {$yealink_ring_file_9} +distinctive_ring_tones.alert_info.10.ringer = {$yealink_ring_file_10} + + +####################################################################################### +## Call Waiting ## +####################################################################################### +call_waiting.enable = {$yealink_call_waiting} +call_waiting.tone = {$yealink_call_waiting_tone} +call_waiting.on_code = +call_waiting.off_code = + + +####################################################################################### +## Action URL ## +####################################################################################### +action_url.setup_completed = +action_url.registered = +action_url.unregistered = +action_url.register_failed = +action_url.off_hook = +action_url.on_hook = +action_url.incoming_call = +action_url.outgoing_call = +action_url.call_established = +action_url.dnd_on = +action_url.dnd_off = +action_url.always_fwd_on = +action_url.always_fwd_off = +action_url.busy_fwd_on = +action_url.busy_fwd_off = +action_url.no_answer_fwd_on = +action_url.no_answer_fwd_off = +action_url.transfer_call = +action_url.blind_transfer_call = +action_url.attended_transfer_call = +action_url.hold = +action_url.unhold = +action_url.mute = +action_url.unmute = +action_url.missed_call = +action_url.call_terminated = +action_url.busy_to_idle = +action_url.idle_to_busy = +action_url.ip_change = +action_url.forward_incoming_call = +action_url.reject_incoming_call = +action_url.answer_new_incoming_call = +action_url.transfer_finished = +action_url.transfer_failed = +action_url.setup_autop_finish = +action_url.held = +action_url.unheld = + + +####################################################################################### +## Contact ## +####################################################################################### +local_contact.data.url = +local_contact.image.url = +local_contact.icon.url = +local_contact.data_photo_tar.url = + +local_contact.photo.url = + + +####################################################################################### +## Custom Factory Configuration ## +####################################################################################### + +static.custom_factory_configuration.url = +static.features.custom_factory_config.enable = + + +####################################################################################### +## Custom Configuration ## +####################################################################################### + +static.configuration.url = + + +####################################################################################### +## Custom Softkey ## +####################################################################################### +phone_setting.custom_softkey_enable = +custom_softkey_call_failed.url = +custom_softkey_call_in.url = +custom_softkey_connecting.url = +custom_softkey_dialing.url = +custom_softkey_ring_back.url = +custom_softkey_talking.url = + + +####################################################################################### +## Configure the access URL of firmware ## +####################################################################################### +###It configures the access URL of the firmware file. +###The default value is blank.It takes effect after a reboot. +static.firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t56a} + + +####################################################################################### +## RTCP ## +####################################################################################### +phone_setting.rtcp_xr_report.enable = +phone_setting.vq_rtcpxr.interval_report.enable = +phone_setting.vq_rtcpxr.session_report.enable = +phone_setting.vq_rtcpxr.states_show_on_gui.enable = +phone_setting.vq_rtcpxr.states_show_on_web.enable = +phone_setting.vq_rtcpxr_delay_threshold_critical = +phone_setting.vq_rtcpxr_delay_threshold_warning = +phone_setting.vq_rtcpxr_display_jitter.enable = +phone_setting.vq_rtcpxr_display_jitter_buffer_max.enable = +phone_setting.vq_rtcpxr_display_local_call_id.enable = +phone_setting.vq_rtcpxr_display_local_codec.enable = +phone_setting.vq_rtcpxr_display_moscq.enable = +phone_setting.vq_rtcpxr_display_moslq.enable = +phone_setting.vq_rtcpxr_display_packets_lost.enable = +phone_setting.vq_rtcpxr_display_remote_call_id.enable = +phone_setting.vq_rtcpxr_display_remote_codec.enable = +phone_setting.vq_rtcpxr_display_round_trip_delay.enable = +phone_setting.vq_rtcpxr_display_start_time.enable = +phone_setting.vq_rtcpxr_display_stop_time.enable = +phone_setting.vq_rtcpxr_display_symm_oneway_delay.enable = +phone_setting.vq_rtcpxr_interval_period = +phone_setting.vq_rtcpxr_moslq_threshold_critical = +phone_setting.vq_rtcpxr_moslq_threshold_warning = +voice.rtcp.enable = +voice.rtcp_intval = +voice.rtcp_xr.enable = +voice.rtcp_cname = + + +####################################################################################### +## DNS ## +####################################################################################### +dns_cache_a.1.name = +dns_cache_a.1.ip = +dns_cache_a.1.ttl = +dns_cache_srv.1.name = +dns_cache_srv.1.port = +dns_cache_srv.1.priority = +dns_cache_srv.1.target = +dns_cache_srv.1.weight = +dns_cache_srv.1.ttl = +dns_cache_naptr.1.name = +dns_cache_naptr.1.flags = +dns_cache_naptr.1.order = +dns_cache_naptr.1.preference = +dns_cache_naptr.1.replace = +dns_cache_naptr.1.service = +dns_cache_naptr.1.ttl = + + +####################################################################################### +## V80 Add ## +####################################################################################### +## Add Time 2015.6.26 +static.network.attempt_expired_time = +static.network.dhcp.server_mac1 = +static.network.dhcp.server_mac2 = +features.redial_via_local_sip_server.enable = +features.action_uri_force_autop = +features.call_out_history_by_off_hook.enable = +features.blf_call_out_by_number.enable = +features.save_init_num_to_history.enable = +features.action_uri.enable = +features.headset_play_phone_ringtone.enable = +features.forward.emergency.enable = +features.forward.emergency.authorized_number = +features.auto_answer_tone.enable = +features.ip_call.auto_answer.enable = +custom.features.dnd_sync.enable = +default_input_method.xml_browser_input_screen = +action_url.headset = +action_url.handfree +action_url.cancel_callout = +action_url.remote_busy = +action_url.call_remote_canceled = +action_url.call_waiting_on = +action_url.call_waiting_off = +sip.terminate_notify_sub_delay_time = +sip.bind_local_addr_enable = +voice.side_tone = +static.security.default_access_level = +static.auto_provision.attempt_expired_time = +phone_setting.ringback_timeout = +phone_setting.ringing_timeout = + + +####################################################################################### +## V80-SP1 Add ## +####################################################################################### +##Add Time 2015.9.2 +static.wifi.enable = {$yealink_wifi_enable} +static.wifi.1.label = {$yealink_wifi_1_label} +static.wifi.1.ssid = {$yealink_wifi_1_ssid} +static.wifi.1.security_mode = {$yealink_wifi_1_security} +static.wifi.1.cipher_type = {$yealink_wifi_1_cipher} +static.wifi.1.password = {$yealink_wifi_1_password} +features.bluetooth_adapter_name= {$yealink_bluetooth_name} + + +####################################################################################### +## V80-SP2 Add ## +####################################################################################### +##Add Time 2016.5.26 +features.power_saving.enable = {$yealink_powersave_enable} +features.power_saving.office_hour.idle_timeout = {$yealink_powersave_office_hour_timeout} +features.power_saving.off_hour.idle_timeout = {$yealink_powersave_off_hour_timeout} +features.power_saving.user_input_ext.idle_timeout = {$yealink_powersave_user_input_timeout} +features.power_saving.office_hour.monday = {$yealink_powersave_hour_mon} +features.power_saving.office_hour.tuesday = {$yealink_powersave_hour_tue} +features.power_saving.office_hour.wednesday = {$yealink_powersave_hour_wed} +features.power_saving.office_hour.thursday = {$yealink_powersave_hour_thu} +features.power_saving.office_hour.friday = {$yealink_powersave_hour_fri} +features.power_saving.office_hour.saturday = {$yealink_powersave_hour_sat} +features.power_saving.office_hour.sunday = {$yealink_powersave_hour_sun} +screensaver.wait_time = {$yealink_screensaver_wait} + + +####################################################################################### +## V81 Add ## +####################################################################################### +dialplan.digitmap.apply_to.on_hook_dial = +dialplan.digitmap.apply_to.directory_dial = +dialplan.digitmap.apply_to.forward = +dialplan.digitmap.apply_to.press_send = +dialplan.digitmap.enable = +dialplan.digitmap.string = +dialplan.digitmap.interdigit_long_timer = +dialplan.digitmap.interdigit_short_timer = +dialplan.digitmap.no_match_action = +dialplan.digitmap.active.on_hook_dialing = +static.auto_provision.flexible.enable = +static.auto_provision.flexible.interval= +static.auto_provision.flexible.begin_time = +static.auto_provision.flexible.end_time = +voice.jib.wifi.adaptive = {$yealink_jib_wifi_adaptive} +voice.jib.wifi.min = {$yealink_jib_wifi_min} +voice.jib.wifi.max = {$yealink_jib_wifi_max} +voice.jib.wifi.normal = {$yealink_jib_wifi_normal} +wui.quick_login = +multicast.listen_address.1.volume = +multicast.receive.use_speaker = +multicast.listen_address.1.channel = +multicast.paging_address.1.channel = +dialplan.emergency.asserted_id_source = +dialplan.emergency.custom_asserted_id = +dialplan.emergency.server.1.address = +dialplan.emergency.server.1.port = +dialplan.emergency.server.1.transport_type = +dialplan.emergency.1.value = +dialplan.emergency.1.server_priority = +features.keep_mute.enable = +voice.tone.secondary_dial = +features.power_saving.intelligent_mode = +features.blf_active_backlight.enable = +features.intercom.headset_prior.enable = +expansion_module.1.key.1.extension = From b6a14d306912e37d61ac102d39d7f53661fb940e Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 11 Nov 2020 16:34:26 -0500 Subject: [PATCH 180/677] Create y000000000000.boot --- .../templates/provision/yealink/t58a/y000000000000.boot | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 resources/templates/provision/yealink/t58a/y000000000000.boot diff --git a/resources/templates/provision/yealink/t58a/y000000000000.boot b/resources/templates/provision/yealink/t58a/y000000000000.boot new file mode 100644 index 0000000000..098ad811b9 --- /dev/null +++ b/resources/templates/provision/yealink/t58a/y000000000000.boot @@ -0,0 +1,7 @@ +#!version:1.0.0.1 +## The header above must appear as-is in the first line + +include:config "y000000000058.cfg" +include:config "{$mac}.cfg" + +overwrite_mode = {$yealink_overwrite_mode} From 62232ab307d5e78f62af873c8aa122bb37a6cf7e Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 11 Nov 2020 16:35:47 -0500 Subject: [PATCH 181/677] Create favorite_setting.xml --- .../templates/provision/yealink/favorite_setting.xml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 resources/templates/provision/yealink/favorite_setting.xml diff --git a/resources/templates/provision/yealink/favorite_setting.xml b/resources/templates/provision/yealink/favorite_setting.xml new file mode 100644 index 0000000000..ba7275358e --- /dev/null +++ b/resources/templates/provision/yealink/favorite_setting.xml @@ -0,0 +1,8 @@ + + + + + + + + From 8881af15a89415221848f2148a6b80c99b61c928 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 12 Nov 2020 10:28:39 -0500 Subject: [PATCH 182/677] Create {$mac}.cfg --- .../provision/yealink/t46u/{$mac}.cfg | 3382 +++++++++++++++++ 1 file changed, 3382 insertions(+) create mode 100644 resources/templates/provision/yealink/t46u/{$mac}.cfg diff --git a/resources/templates/provision/yealink/t46u/{$mac}.cfg b/resources/templates/provision/yealink/t46u/{$mac}.cfg new file mode 100644 index 0000000000..d5dc35a94e --- /dev/null +++ b/resources/templates/provision/yealink/t46u/{$mac}.cfg @@ -0,0 +1,3382 @@ +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## +##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)## + +####################################################################################### +## Transfer ## +####################################################################################### +account.1.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +account.1.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.1.anonymous_call.server_base_only = +account.1.send_anonymous_rejection_code = +account.1.anonymous_reject_offcode = +account.1.anonymous_reject_oncode = +account.1.reject_anonymous_call= +account.1.anonymous_call_offcode = +account.1.anonymous_call_oncode = +account.1.anonymous_call = 0 +account.1.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.1.music_server_uri= +account.1.music_on_hold_type= +account.1.auto_label.rule= +account.1.auto_label.enable= +account.1.number_of_linekey= +account.1.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.1.codec.ilbc_15_2kbps.priority= +account.1.codec.ilbc_15_2kbps.enable= + +account.1.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.1.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.1.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.1.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.1.codec.opus.para= 106 + +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.1.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.1.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.1.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.1.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.1.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.1.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.1.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.1.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.1.codec.G722_1_24kpbs.priority= +account.1.codec.G722_1_24kpbs.enable= +account.1.codec.G722_1c_24kpbs.priority= +account.1.codec.G722_1c_24kpbs.enable= +account.1.codec.G722_1c_32kpbs.priority= +account.1.codec.G722_1c_32kpbs.enable= +account.1.codec.G722_1c_48kpbs.priority= +account.1.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account Register ## +################################################################ +{if isset($account.1.password) } +account.1.enable = 1 +{else} +account.1.enable = 0 +{/if} +account.1.label = {$account.1.display_name} +account.1.display_name = {$account.1.display_name} +account.1.auth_name = {$account.1.auth_id} + +{if isset($account.1.server.1.address)} +account.1.user_name = {$account.1.user_id}@{$account.1.server_address} +{else} +account.1.user_name = {$account.1.user_id} +{/if} + +account.1.password = {$account.1.password} +account.1.sip_server.1.address= {$account.1.server_address} +account.1.sip_server_port = {$account.1.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.1.sip_transport == 'udp'}account.1.sip_server.1.transport_type = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.1.transport_type = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.1.transport_type = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.1.transport_type = 3{/if} + +account.1.sip_server.1.expires= {$account.1.register_expires} +account.1.sip_server.1.retry_counts= 3 + +account.1.sip_server.2.address= {$account.1.server.2.address} +account.1.sip_server.2.port= {$account.1.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.1.sip_transport == 'udp'}account.1.sip_server.2.transport_type = 0{/if} +{if $account.1.sip_transport == 'tcp'}account.1.sip_server.2.transport_type = 1{/if} +{if $account.1.sip_transport == 'tls'}account.1.sip_server.2.transport_type = 2{/if} +{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.2.transport_type = 3{/if} + +account.1.sip_server.2.expires= {$account.1.register_expires} +account.1.sip_server.2.retry_counts= 3 + +account.1.outbound_proxy_enable = {if isset($account.1.outbound_proxy_primary)}1{else}0{/if} + +account.1.outbound_proxy.1.address = {$account.1.outbound_proxy_primary} +account.1.outbound_proxy.2.address = {$account.1.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.1.outbound_proxy.1.port = {$account.1.sip_port} +{/if} + +account.1.outbound_proxy.2.address= {$account.1.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.1.outbound_proxy.2.port = {$account.1.sip_port} +{/if} + +account.1.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.1.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.1.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.1.nat.udp_update_enable= +account.1.nat.udp_update_time= +account.1.nat.rport= {$yealink_rport} + +account.1.dtmf.type= {$yealink_dtmf_type} +account.1.dtmf.info_type= +account.1.dtmf.dtmf_payload= +account.1.100rel_enable= + +account.1.subscribe_register= +account.1.cid_source= {$yealink_cid_source} +account.1.enable_user_equal_phone= +account.1.srtp_encryption= {$yealink_srtp_encryption} +account.1.ptime= +account.1.register_line= +account.1.register_mac= +account.1.reg_fail_retry_interval= +account.1.unregister_on_reboot= + +account.1.session_timer.refresher= +account.1.session_timer.expires= +account.1.session_timer.enable= {$yealink_session_timer} + +account.1.conf_type= +account.1.sip_server_type= + +##V83 Add +account.1.srtp.unencrypted_rtcp.enable = +account.1.srtp.unencrypted_rtp.enable = +account.1.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.1.outbound_proxy.1.register_on_enable= +account.1.outbound_proxy.1.failback_timeout= +account.1.outbound_proxy.1.failback_mode= +account.1.outbound_proxy.1.retry_counts= +account.1.outbound_proxy.1.only_signal_with_registered= +account.1.outbound_proxy.1.failback_subscribe.enable= +account.1.outbound_proxy.1.invite_retry_counts= + +account.1.sip_server.1.register_on_enable= +account.1.sip_server.1.failback_timeout= +account.1.sip_server.1.failback_mode= +account.1.sip_server.1.failback_subscribe.enable= +account.1.sip_server.1.only_signal_with_registered= +account.1.sip_server.1.invite_retry_counts= + +account.1.outbound_proxy.2.register_on_enable= +account.1.outbound_proxy.2.failback_timeout= +account.1.outbound_proxy.2.failback_mode= +account.1.outbound_proxy.2.retry_counts= +account.1.outbound_proxy.2.only_signal_with_registered= +account.1.outbound_proxy.2.failback_subscribe.enable= +account.1.outbound_proxy.2.invite_retry_counts= + +account.1.sip_server.2.register_on_enable= +account.1.sip_server.2.failback_timeout= +account.1.sip_server.2.failback_mode= +account.1.sip_server.2.failback_subscribe.enable= +account.1.sip_server.2.only_signal_with_registered= +account.1.sip_server.2.invite_retry_counts= + +account.1.static_cache_pri= +account.1.dns_cache_type= +account.1.naptr_build= +account.1.fallback.timeout= +account.1.fallback.redundancy_type= +account.1.reg_failed_retry_max_time= +account.1.reg_failed_retry_min_time= +account.1.redundancy_with_reg_fail.enable = + +##V83 Add +account.1.sip_server.1.outbound_proxy_enable = +account.1.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.1.contact_take_line_param= +account.1.update_ack_while_dialing= +account.1.srtp_lifetime= +account.1.third_part_request_with_route.enable= +account.1.insert_outbound_in_route.enable= +account.1.path.enable= +account.1.sub_fail_retry_interval= +account.1.transfer_refer_to_contact_header.enable= +account.1.hold_use_inactive= +account.1.gruu.enable= +account.1.dial_tone= +account.1.call_id_mode= +account.1.subscribe_expires_overlap= +account.1.register_expires_overlap= +account.1.call_info= +account.1.custom_ua= +account.1.mwi_parse_terminated= +account.1.check_cseq.enable= +account.1.check_to_tag.enable= +account.1.vq_rtcpxr.collector_server_port= +account.1.vq_rtcpxr.collector_server_host= +account.1.vq_rtcpxr.collector_name= +account.1.compact_header_enable= +account.1.cp_source= 2 +account.1.cid_source_ppi= 1 +account.1.cid_source_privacy= 1 +account.1.reg_with_pani_header.enable = +account.1.alert_info= +account.1.picture_info_enable= 1 + +##V83 Add +account.1.invite_with_pani_header.enable = + +##V84 Add +account.1.invite_with_rpid_header.enable= + +account.1.auto_answer_mute_enable + +##V84 SP4 Add +account.1.share_line.enable_private_code = +account.1.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.1.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.1.timeout_fwd.off_code= +account.1.timeout_fwd.on_code= +account.1.timeout_fwd.timeout= +account.1.timeout_fwd.target= +account.1.timeout_fwd.enable= +account.1.busy_fwd.off_code= +account.1.busy_fwd.on_code= +account.1.busy_fwd.target= +account.1.busy_fwd.enable= +account.1.always_fwd.off_code= +account.1.always_fwd.on_code= +account.1.always_fwd.target= +account.1.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.1.dnd.enable= +account.1.dnd.off_code= +account.1.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.1.subscribe_mwi= 1 +account.1.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.1.subscribe_mwi_expires= 3600 +account.1.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.1.auto_dial_enable= +account.1.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.1.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.1.dialplan.digitmap.enable= +account.1.dialplan.digitmap.string= +account.1.dialplan.digitmap.no_match_action= +account.1.dialplan.digitmap.interdigit_short_timer= +account.1.dialplan.digitmap.interdigit_long_timer= +account.1.dialplan.digitmap.apply_to.press_send= +account.1.dialplan.digitmap.apply_to.forward= +account.1.dialplan.digitmap.apply_to.history_dial= +account.1.dialplan.digitmap.apply_to.directory_dial= +account.1.dialplan.digitmap.apply_to.on_hook_dial= +account.1.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.1.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.1.blf.blf_list_uri= +account.1.blf_list_barge_in_code= +account.1.blf_list_code= +account.1.blf_list_retrieve_call_parked_code= +account.1.blf.subscribe_period= +account.1.blf.match_host.enable= +account.1.out_dialog_blf_enable= +account.1.blf.subscribe_event= + +##V84 Add +account.1.blf_list_call_parked_code= +account.1.blf_list_call_parked_list= + +##V84 SP4 ADD +account.1.blf_list_whisper_code= +account.1.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.1.shared_line= +account.1.line_seize.expires= +account.1.shared_line_one_touch_bargein.enable= +account.1.shared_line_one_touch_retrieve.enable= +account.1.sca_manage_interface_display_time= +account.1.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.1.bla_number= +account.1.bla_subscribe_period= +account.1.bla.notify_with_expire.enable= +account.1.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.1.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.1.acd.enable= 0 +account.1.acd.available= 0 +account.1.acd.unavailable_reason_enable= 0 +account.1.acd.initial_state= 1 +account.1.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.1.reason_code.1= +account.1.reason_code_name.1= 0 +account.1.bw_disp_code.1= +account.1.bw_disp_code_name.1= +account.1.supervisor_info_code.1= +account.1.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.1.call_center.call_info_enable= 0 +account.1.call_center.show_call_info_time= 30 +account.1.call_center.disp_code_enable= 0 +account.1.call_center.trace_enable= 0 +account.1.call_center.emergency_enable= 0 +account.1.call_center.queue_status_enable= 0 +account.1.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.1.hoteling.enable= 0 +account.1.hoteling.user_id= 0 +account.1.hoteling.password= 0 +account.1.hoteling.expires= 0 +account.1.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.1.xsi.user = +account.1.xsi.password = +account.1.xsi.host = +account.1.xsi.server_type = +account.1.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.1.direct_pickup_code = +account.1.group_pickup_code = +account.1.dialoginfo_callpickup = 0 +account.1.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.1.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.1.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.1.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.1.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.1.flexible_seating.enable= +account.1.hoteling.pin= +account.1.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.1.features.forward.feature_key_sync.local_processing.enable= +account.1.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.1.dnd.feature_key_sync.enable= +account.1.feature_key_sync.enable= +account.1.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.1.acd.available_url= +account.1.acd.away_url = +account.1.acd.refresh_url = +account.1.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +bw.virtual_user.1.enable= +bw.virtual_user.1.label= +bw.virtual_user.1.xsi.dnd.enable= +bw.virtual_user.1.xsi.host= +bw.virtual_user.1.xsi.password= +bw.virtual_user.1.xsi.port= +bw.virtual_user.1.xsi.server_type= +bw.virtual_user.1.xsi.user= + +####################################################################################### +## Transfer ## +####################################################################################### +account.2.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +account.2.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.2.anonymous_call.server_base_only = +account.2.send_anonymous_rejection_code = +account.2.anonymous_reject_offcode = +account.2.anonymous_reject_oncode = +account.2.reject_anonymous_call= +account.2.anonymous_call_offcode = +account.2.anonymous_call_oncode = +account.2.anonymous_call = 0 +account.2.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.2.music_server_uri= +account.2.music_on_hold_type= +account.2.auto_label.rule= +account.2.auto_label.enable= +account.2.number_of_linekey= +account.2.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.2.codec.ilbc_15_2kbps.priority= +account.2.codec.ilbc_15_2kbps.enable= + +account.2.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.2.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.2.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.2.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.2.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.2.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.2.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.2.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.2.codec.opus.para= 106 + +account.2.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.2.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.2.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.2.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.2.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.2.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.2.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.2.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.2.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.2.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.2.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.2.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.2.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.2.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.2.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.2.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.2.codec.G722_1_24kpbs.priority= +account.2.codec.G722_1_24kpbs.enable= +account.2.codec.G722_1c_24kpbs.priority= +account.2.codec.G722_1c_24kpbs.enable= +account.2.codec.G722_1c_32kpbs.priority= +account.2.codec.G722_1c_32kpbs.enable= +account.2.codec.G722_1c_48kpbs.priority= +account.2.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account2 Register ## +################################################################ +{if isset($account.2.password) } +account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} +account.2.label = {$account.2.display_name} +account.2.display_name = {$account.2.display_name} +account.2.auth_name = {$account.2.auth_id} + +{if isset($account.2.server.1.address)} +account.2.user_name = {$account.2.user_id}@{$account.2.server_address} +{else} +account.2.user_name = {$account.2.user_id} +{/if} + +account.2.password = {$account.2.password} +account.2.sip_server.1.address= {$account.2.server_address} +account.2.sip_server_port = {$account.2.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.2.sip_transport == 'udp'}account.2.sip_server.1.transport_type = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.1.transport_type = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.1.transport_type = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.1.transport_type = 3{/if} + +account.2.sip_server.1.expires= {$account.2.register_expires} +account.2.sip_server.1.retry_counts= 3 + +account.2.sip_server.2.address= {$account.2.server.2.address} +account.2.sip_server.2.port= {$account.2.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.2.sip_transport == 'udp'}account.2.sip_server.2.transport_type = 0{/if} +{if $account.2.sip_transport == 'tcp'}account.2.sip_server.2.transport_type = 1{/if} +{if $account.2.sip_transport == 'tls'}account.2.sip_server.2.transport_type = 2{/if} +{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.2.transport_type = 3{/if} + +account.2.sip_server.2.expires= {$account.2.register_expires} +account.2.sip_server.2.retry_counts= 3 + +account.2.outbound_proxy_enable = {if isset($account.2.outbound_proxy_primary)}1{else}0{/if} + +account.2.outbound_proxy.1.address = {$account.2.outbound_proxy_primary} +account.2.outbound_proxy.2.address = {$account.2.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.2.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.2.outbound_proxy.1.port = {$account.2.sip_port} +{/if} + +account.2.outbound_proxy.2.address= {$account.2.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.2.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.2.outbound_proxy.2.port = {$account.2.sip_port} +{/if} + +account.2.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.2.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.2.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.2.nat.udp_update_enable= +account.2.nat.udp_update_time= +account.2.nat.rport= {$yealink_rport} + +account.2.dtmf.type= {$yealink_dtmf_type} +account.2.dtmf.info_type= +account.2.dtmf.dtmf_payload= +account.2.100rel_enable= + +account.2.subscribe_register= +account.2.cid_source= {$yealink_cid_source} +account.2.enable_user_equal_phone= +account.2.srtp_encryption= {$yealink_srtp_encryption} +account.2.ptime= +account.2.register_line= +account.2.register_mac= +account.2.reg_fail_retry_interval= +account.2.unregister_on_reboot= + +account.2.session_timer.refresher= +account.2.session_timer.expires= +account.2.session_timer.enable= {$yealink_session_timer} + +account.2.conf_type= +account.2.sip_server_type= + +##V83 Add +account.2.srtp.unencrypted_rtcp.enable = +account.2.srtp.unencrypted_rtp.enable = +account.2.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.2.outbound_proxy.1.register_on_enable= +account.2.outbound_proxy.1.failback_timeout= +account.2.outbound_proxy.1.failback_mode= +account.2.outbound_proxy.1.retry_counts= +account.2.outbound_proxy.1.only_signal_with_registered= +account.2.outbound_proxy.1.failback_subscribe.enable= +account.2.outbound_proxy.1.invite_retry_counts= + +account.2.sip_server.1.register_on_enable= +account.2.sip_server.1.failback_timeout= +account.2.sip_server.1.failback_mode= +account.2.sip_server.1.failback_subscribe.enable= +account.2.sip_server.1.only_signal_with_registered= +account.2.sip_server.1.invite_retry_counts= + +account.2.outbound_proxy.2.register_on_enable= +account.2.outbound_proxy.2.failback_timeout= +account.2.outbound_proxy.2.failback_mode= +account.2.outbound_proxy.2.retry_counts= +account.2.outbound_proxy.2.only_signal_with_registered= +account.2.outbound_proxy.2.failback_subscribe.enable= +account.2.outbound_proxy.2.invite_retry_counts= + +account.2.sip_server.2.register_on_enable= +account.2.sip_server.2.failback_timeout= +account.2.sip_server.2.failback_mode= +account.2.sip_server.2.failback_subscribe.enable= +account.2.sip_server.2.only_signal_with_registered= +account.2.sip_server.2.invite_retry_counts= + +account.2.static_cache_pri= +account.2.dns_cache_type= +account.2.naptr_build= +account.2.fallback.timeout= +account.2.fallback.redundancy_type= +account.2.reg_failed_retry_max_time= +account.2.reg_failed_retry_min_time= +account.2.redundancy_with_reg_fail.enable = + +##V83 Add +account.2.sip_server.1.outbound_proxy_enable = +account.2.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.2.contact_take_line_param= +account.2.update_ack_while_dialing= +account.2.srtp_lifetime= +account.2.third_part_request_with_route.enable= +account.2.insert_outbound_in_route.enable= +account.2.path.enable= +account.2.sub_fail_retry_interval= +account.2.transfer_refer_to_contact_header.enable= +account.2.hold_use_inactive= +account.2.gruu.enable= +account.2.dial_tone= +account.2.call_id_mode= +account.2.subscribe_expires_overlap= +account.2.register_expires_overlap= +account.2.call_info= +account.2.custom_ua= +account.2.mwi_parse_terminated= +account.2.check_cseq.enable= +account.2.check_to_tag.enable= +account.2.vq_rtcpxr.collector_server_port= +account.2.vq_rtcpxr.collector_server_host= +account.2.vq_rtcpxr.collector_name= +account.2.compact_header_enable= +account.2.cp_source= 2 +account.2.cid_source_ppi= 1 +account.2.cid_source_privacy= 1 +account.2.reg_with_pani_header.enable = +account.2.alert_info= +account.2.picture_info_enable= 1 + +##V83 Add +account.2.invite_with_pani_header.enable = + +##V84 Add +account.2.invite_with_rpid_header.enable= + +account.2.auto_answer_mute_enable + +##V84 SP4 Add +account.2.share_line.enable_private_code = +account.2.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.2.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.2.timeout_fwd.off_code= +account.2.timeout_fwd.on_code= +account.2.timeout_fwd.timeout= +account.2.timeout_fwd.target= +account.2.timeout_fwd.enable= +account.2.busy_fwd.off_code= +account.2.busy_fwd.on_code= +account.2.busy_fwd.target= +account.2.busy_fwd.enable= +account.2.always_fwd.off_code= +account.2.always_fwd.on_code= +account.2.always_fwd.target= +account.2.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.2.dnd.enable= +account.2.dnd.off_code= +account.2.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.2.subscribe_mwi= 1 +account.2.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.2.subscribe_mwi_expires= 3600 +account.2.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.2.auto_dial_enable= +account.2.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.2.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.2.dialplan.digitmap.enable= +account.2.dialplan.digitmap.string= +account.2.dialplan.digitmap.no_match_action= +account.2.dialplan.digitmap.interdigit_short_timer= +account.2.dialplan.digitmap.interdigit_long_timer= +account.2.dialplan.digitmap.apply_to.press_send= +account.2.dialplan.digitmap.apply_to.forward= +account.2.dialplan.digitmap.apply_to.history_dial= +account.2.dialplan.digitmap.apply_to.directory_dial= +account.2.dialplan.digitmap.apply_to.on_hook_dial= +account.2.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.2.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.2.blf.blf_list_uri= +account.2.blf_list_barge_in_code= +account.2.blf_list_code= +account.2.blf_list_retrieve_call_parked_code= +account.2.blf.subscribe_period= +account.2.blf.match_host.enable= +account.2.out_dialog_blf_enable= +account.2.blf.subscribe_event= + +##V84 Add +account.2.blf_list_call_parked_code= +account.2.blf_list_call_parked_list= + +##V84 SP4 ADD +account.2.blf_list_whisper_code= +account.2.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.2.shared_line= +account.2.line_seize.expires= +account.2.shared_line_one_touch_bargein.enable= +account.2.shared_line_one_touch_retrieve.enable= +account.2.sca_manage_interface_display_time= +account.2.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.2.bla_number= +account.2.bla_subscribe_period= +account.2.bla.notify_with_expire.enable= +account.2.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.2.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.2.acd.enable= 0 +account.2.acd.available= 0 +account.2.acd.unavailable_reason_enable= 0 +account.2.acd.initial_state= 1 +account.2.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.2.reason_code.1= +account.2.reason_code_name.1= 0 +account.2.bw_disp_code.1= +account.2.bw_disp_code_name.1= +account.2.supervisor_info_code.1= +account.2.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.2.call_center.call_info_enable= 0 +account.2.call_center.show_call_info_time= 30 +account.2.call_center.disp_code_enable= 0 +account.2.call_center.trace_enable= 0 +account.2.call_center.emergency_enable= 0 +account.2.call_center.queue_status_enable= 0 +account.2.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.2.hoteling.enable= 0 +account.2.hoteling.user_id= 0 +account.2.hoteling.password= 0 +account.2.hoteling.expires= 0 +account.2.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.2.xsi.user = +account.2.xsi.password = +account.2.xsi.host = +account.2.xsi.server_type = +account.2.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.2.direct_pickup_code = +account.2.group_pickup_code = +account.2.dialoginfo_callpickup = 0 +account.2.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.2.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.2.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.2.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.2.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.2.flexible_seating.enable= +account.2.hoteling.pin= +account.2.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.2.features.forward.feature_key_sync.local_processing.enable= +account.2.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.2.dnd.feature_key_sync.enable= +account.2.feature_key_sync.enable= +account.2.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.2.acd.available_url= +account.2.acd.away_url = +account.2.acd.refresh_url = +account.2.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + +####################################################################################### +## Transfer ## +####################################################################################### +account.3.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +account.3.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.3.anonymous_call.server_base_only = +account.3.send_anonymous_rejection_code = +account.3.anonymous_reject_offcode = +account.3.anonymous_reject_oncode = +account.3.reject_anonymous_call= +account.3.anonymous_call_offcode = +account.3.anonymous_call_oncode = +account.3.anonymous_call = 0 +account.3.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.3.music_server_uri= +account.3.music_on_hold_type= +account.3.auto_label.rule= +account.3.auto_label.enable= +account.3.number_of_linekey= +account.3.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.3.codec.ilbc_15_2kbps.priority= +account.3.codec.ilbc_15_2kbps.enable= + +account.3.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.3.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.3.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.3.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.3.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.3.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.3.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.3.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.3.codec.opus.para= 106 + +account.3.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.3.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.3.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.3.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.3.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.3.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.3.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.3.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.3.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.3.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.3.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.3.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.3.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.3.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.3.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.3.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.3.codec.G722_1_24kpbs.priority= +account.3.codec.G722_1_24kpbs.enable= +account.3.codec.G722_1c_24kpbs.priority= +account.3.codec.G722_1c_24kpbs.enable= +account.3.codec.G722_1c_32kpbs.priority= +account.3.codec.G722_1c_32kpbs.enable= +account.3.codec.G722_1c_48kpbs.priority= +account.3.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account3 Register ## +################################################################ +{if isset($account.3.password) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} +account.3.label = {$account.3.display_name} +account.3.display_name = {$account.3.display_name} +account.3.auth_name = {$account.3.auth_id} + +{if isset($account.3.server.1.address)} +account.3.user_name = {$account.3.user_id}@{$account.3.server_address} +{else} +account.3.user_name = {$account.3.user_id} +{/if} + +account.3.password = {$account.3.password} +account.3.sip_server.1.address= {$account.3.server_address} +account.3.sip_server_port = {$account.3.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.3.sip_transport == 'udp'}account.3.sip_server.1.transport_type = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.1.transport_type = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.1.transport_type = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.1.transport_type = 3{/if} + +account.3.sip_server.1.expires= {$account.3.register_expires} +account.3.sip_server.1.retry_counts= 3 + +account.3.sip_server.2.address= {$account.3.server.2.address} +account.3.sip_server.2.port= {$account.3.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.3.sip_transport == 'udp'}account.3.sip_server.2.transport_type = 0{/if} +{if $account.3.sip_transport == 'tcp'}account.3.sip_server.2.transport_type = 1{/if} +{if $account.3.sip_transport == 'tls'}account.3.sip_server.2.transport_type = 2{/if} +{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.2.transport_type = 3{/if} + +account.3.sip_server.2.expires= {$account.3.register_expires} +account.3.sip_server.2.retry_counts= 3 + +account.3.outbound_proxy_enable = {if isset($account.3.outbound_proxy_primary)}1{else}0{/if} + +account.3.outbound_proxy.1.address = {$account.3.outbound_proxy_primary} +account.3.outbound_proxy.2.address = {$account.3.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.3.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.3.outbound_proxy.1.port = {$account.3.sip_port} +{/if} + +account.3.outbound_proxy.2.address= {$account.3.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.3.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.3.outbound_proxy.2.port = {$account.3.sip_port} +{/if} + +account.3.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.3.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.3.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.3.nat.udp_update_enable= +account.3.nat.udp_update_time= +account.3.nat.rport= {$yealink_rport} + +account.3.dtmf.type= {$yealink_dtmf_type} +account.3.dtmf.info_type= +account.3.dtmf.dtmf_payload= +account.3.100rel_enable= + +account.3.subscribe_register= +account.3.cid_source= {$yealink_cid_source} +account.3.enable_user_equal_phone= +account.3.srtp_encryption= {$yealink_srtp_encryption} +account.3.ptime= +account.3.register_line= +account.3.register_mac= +account.3.reg_fail_retry_interval= +account.3.unregister_on_reboot= + +account.3.session_timer.refresher= +account.3.session_timer.expires= +account.3.session_timer.enable= {$yealink_session_timer} + +account.3.conf_type= +account.3.sip_server_type= + +##V83 Add +account.3.srtp.unencrypted_rtcp.enable = +account.3.srtp.unencrypted_rtp.enable = +account.3.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.3.outbound_proxy.1.register_on_enable= +account.3.outbound_proxy.1.failback_timeout= +account.3.outbound_proxy.1.failback_mode= +account.3.outbound_proxy.1.retry_counts= +account.3.outbound_proxy.1.only_signal_with_registered= +account.3.outbound_proxy.1.failback_subscribe.enable= +account.3.outbound_proxy.1.invite_retry_counts= + +account.3.sip_server.1.register_on_enable= +account.3.sip_server.1.failback_timeout= +account.3.sip_server.1.failback_mode= +account.3.sip_server.1.failback_subscribe.enable= +account.3.sip_server.1.only_signal_with_registered= +account.3.sip_server.1.invite_retry_counts= + +account.3.outbound_proxy.2.register_on_enable= +account.3.outbound_proxy.2.failback_timeout= +account.3.outbound_proxy.2.failback_mode= +account.3.outbound_proxy.2.retry_counts= +account.3.outbound_proxy.2.only_signal_with_registered= +account.3.outbound_proxy.2.failback_subscribe.enable= +account.3.outbound_proxy.2.invite_retry_counts= + +account.3.sip_server.2.register_on_enable= +account.3.sip_server.2.failback_timeout= +account.3.sip_server.2.failback_mode= +account.3.sip_server.2.failback_subscribe.enable= +account.3.sip_server.2.only_signal_with_registered= +account.3.sip_server.2.invite_retry_counts= + +account.3.static_cache_pri= +account.3.dns_cache_type= +account.3.naptr_build= +account.3.fallback.timeout= +account.3.fallback.redundancy_type= +account.3.reg_failed_retry_max_time= +account.3.reg_failed_retry_min_time= +account.3.redundancy_with_reg_fail.enable = + +##V83 Add +account.3.sip_server.1.outbound_proxy_enable = +account.3.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.3.contact_take_line_param= +account.3.update_ack_while_dialing= +account.3.srtp_lifetime= +account.3.third_part_request_with_route.enable= +account.3.insert_outbound_in_route.enable= +account.3.path.enable= +account.3.sub_fail_retry_interval= +account.3.transfer_refer_to_contact_header.enable= +account.3.hold_use_inactive= +account.3.gruu.enable= +account.3.dial_tone= +account.3.call_id_mode= +account.3.subscribe_expires_overlap= +account.3.register_expires_overlap= +account.3.call_info= +account.3.custom_ua= +account.3.mwi_parse_terminated= +account.3.check_cseq.enable= +account.3.check_to_tag.enable= +account.3.vq_rtcpxr.collector_server_port= +account.3.vq_rtcpxr.collector_server_host= +account.3.vq_rtcpxr.collector_name= +account.3.compact_header_enable= +account.3.cp_source= 2 +account.3.cid_source_ppi= 1 +account.3.cid_source_privacy= 1 +account.3.reg_with_pani_header.enable = +account.3.alert_info= +account.3.picture_info_enable= 1 + +##V83 Add +account.3.invite_with_pani_header.enable = + +##V84 Add +account.3.invite_with_rpid_header.enable= + +account.3.auto_answer_mute_enable + +##V84 SP4 Add +account.3.share_line.enable_private_code = +account.3.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.3.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.3.timeout_fwd.off_code= +account.3.timeout_fwd.on_code= +account.3.timeout_fwd.timeout= +account.3.timeout_fwd.target= +account.3.timeout_fwd.enable= +account.3.busy_fwd.off_code= +account.3.busy_fwd.on_code= +account.3.busy_fwd.target= +account.3.busy_fwd.enable= +account.3.always_fwd.off_code= +account.3.always_fwd.on_code= +account.3.always_fwd.target= +account.3.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.3.dnd.enable= +account.3.dnd.off_code= +account.3.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.3.subscribe_mwi= 1 +account.3.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.3.subscribe_mwi_expires= 3600 +account.3.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.3.auto_dial_enable= +account.3.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.3.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.3.dialplan.digitmap.enable= +account.3.dialplan.digitmap.string= +account.3.dialplan.digitmap.no_match_action= +account.3.dialplan.digitmap.interdigit_short_timer= +account.3.dialplan.digitmap.interdigit_long_timer= +account.3.dialplan.digitmap.apply_to.press_send= +account.3.dialplan.digitmap.apply_to.forward= +account.3.dialplan.digitmap.apply_to.history_dial= +account.3.dialplan.digitmap.apply_to.directory_dial= +account.3.dialplan.digitmap.apply_to.on_hook_dial= +account.3.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.3.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.3.blf.blf_list_uri= +account.3.blf_list_barge_in_code= +account.3.blf_list_code= +account.3.blf_list_retrieve_call_parked_code= +account.3.blf.subscribe_period= +account.3.blf.match_host.enable= +account.3.out_dialog_blf_enable= +account.3.blf.subscribe_event= + +##V84 Add +account.3.blf_list_call_parked_code= +account.3.blf_list_call_parked_list= + +##V84 SP4 ADD +account.3.blf_list_whisper_code= +account.3.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.3.shared_line= +account.3.line_seize.expires= +account.3.shared_line_one_touch_bargein.enable= +account.3.shared_line_one_touch_retrieve.enable= +account.3.sca_manage_interface_display_time= +account.3.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.3.bla_number= +account.3.bla_subscribe_period= +account.3.bla.notify_with_expire.enable= +account.3.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.3.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.3.acd.enable= 0 +account.3.acd.available= 0 +account.3.acd.unavailable_reason_enable= 0 +account.3.acd.initial_state= 1 +account.3.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.3.reason_code.1= +account.3.reason_code_name.1= 0 +account.3.bw_disp_code.1= +account.3.bw_disp_code_name.1= +account.3.supervisor_info_code.1= +account.3.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.3.call_center.call_info_enable= 0 +account.3.call_center.show_call_info_time= 30 +account.3.call_center.disp_code_enable= 0 +account.3.call_center.trace_enable= 0 +account.3.call_center.emergency_enable= 0 +account.3.call_center.queue_status_enable= 0 +account.3.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.3.hoteling.enable= 0 +account.3.hoteling.user_id= 0 +account.3.hoteling.password= 0 +account.3.hoteling.expires= 0 +account.3.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.3.xsi.user = +account.3.xsi.password = +account.3.xsi.host = +account.3.xsi.server_type = +account.3.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.3.direct_pickup_code = +account.3.group_pickup_code = +account.3.dialoginfo_callpickup = 0 +account.3.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.3.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.3.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.3.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.3.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.3.flexible_seating.enable= +account.3.hoteling.pin= +account.3.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.3.features.forward.feature_key_sync.local_processing.enable= +account.3.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.3.dnd.feature_key_sync.enable= +account.3.feature_key_sync.enable= +account.3.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.3.acd.available_url= +account.3.acd.away_url = +account.3.acd.refresh_url = +account.3.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + +####################################################################################### +## Transfer ## +####################################################################################### +account.4.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +account.4.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.4.anonymous_call.server_base_only = +account.4.send_anonymous_rejection_code = +account.4.anonymous_reject_offcode = +account.4.anonymous_reject_oncode = +account.4.reject_anonymous_call= +account.4.anonymous_call_offcode = +account.4.anonymous_call_oncode = +account.4.anonymous_call = 0 +account.4.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.4.music_server_uri= +account.4.music_on_hold_type= +account.4.auto_label.rule= +account.4.auto_label.enable= +account.4.number_of_linekey= +account.4.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.4.codec.ilbc_15_2kbps.priority= +account.4.codec.ilbc_15_2kbps.enable= + +account.4.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.4.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.4.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.4.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.4.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.4.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.4.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.4.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.4.codec.opus.para= 106 + +account.4.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.4.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.4.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.4.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.4.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.4.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.4.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.4.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.4.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.4.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.4.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.4.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.4.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.4.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.4.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.4.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.4.codec.G722_1_24kpbs.priority= +account.4.codec.G722_1_24kpbs.enable= +account.4.codec.G722_1c_24kpbs.priority= +account.4.codec.G722_1c_24kpbs.enable= +account.4.codec.G722_1c_32kpbs.priority= +account.4.codec.G722_1c_32kpbs.enable= +account.4.codec.G722_1c_48kpbs.priority= +account.4.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account4 Register ## +################################################################ +{if isset($account.4.password) } +account.4.enable = 1 +{else} +account.4.enable = 0 +{/if} +account.4.label = {$account.4.display_name} +account.4.display_name = {$account.4.display_name} +account.4.auth_name = {$account.4.auth_id} + +{if isset($account.4.server.1.address)} +account.4.user_name = {$account.4.user_id}@{$account.4.server_address} +{else} +account.4.user_name = {$account.4.user_id} +{/if} + +account.4.password = {$account.4.password} +account.4.sip_server.1.address= {$account.4.server_address} +account.4.sip_server_port = {$account.4.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.4.sip_transport == 'udp'}account.4.sip_server.1.transport_type = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.1.transport_type = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.1.transport_type = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.1.transport_type = 3{/if} + +account.4.sip_server.1.expires= {$account.4.register_expires} +account.4.sip_server.1.retry_counts= 3 + +account.4.sip_server.2.address= {$account.4.server.2.address} +account.4.sip_server.2.port= {$account.4.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.4.sip_transport == 'udp'}account.4.sip_server.2.transport_type = 0{/if} +{if $account.4.sip_transport == 'tcp'}account.4.sip_server.2.transport_type = 1{/if} +{if $account.4.sip_transport == 'tls'}account.4.sip_server.2.transport_type = 2{/if} +{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.2.transport_type = 3{/if} + +account.4.sip_server.2.expires= {$account.4.register_expires} +account.4.sip_server.2.retry_counts= 3 + +account.4.outbound_proxy_enable = {if isset($account.4.outbound_proxy_primary)}1{else}0{/if} + +account.4.outbound_proxy.1.address = {$account.4.outbound_proxy_primary} +account.4.outbound_proxy.2.address = {$account.4.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.4.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.4.outbound_proxy.1.port = {$account.4.sip_port} +{/if} + +account.4.outbound_proxy.2.address= {$account.4.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.4.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.4.outbound_proxy.2.port = {$account.4.sip_port} +{/if} + +account.4.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.4.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.4.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.4.nat.udp_update_enable= +account.4.nat.udp_update_time= +account.4.nat.rport= {$yealink_rport} + +account.4.dtmf.type= {$yealink_dtmf_type} +account.4.dtmf.info_type= +account.4.dtmf.dtmf_payload= +account.4.100rel_enable= + +account.4.subscribe_register= +account.4.cid_source= {$yealink_cid_source} +account.4.enable_user_equal_phone= +account.4.srtp_encryption= {$yealink_srtp_encryption} +account.4.ptime= +account.4.register_line= +account.4.register_mac= +account.4.reg_fail_retry_interval= +account.4.unregister_on_reboot= + +account.4.session_timer.refresher= +account.4.session_timer.expires= +account.4.session_timer.enable= {$yealink_session_timer} + +account.4.conf_type= +account.4.sip_server_type= + +##V83 Add +account.4.srtp.unencrypted_rtcp.enable = +account.4.srtp.unencrypted_rtp.enable = +account.4.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.4.outbound_proxy.1.register_on_enable= +account.4.outbound_proxy.1.failback_timeout= +account.4.outbound_proxy.1.failback_mode= +account.4.outbound_proxy.1.retry_counts= +account.4.outbound_proxy.1.only_signal_with_registered= +account.4.outbound_proxy.1.failback_subscribe.enable= +account.4.outbound_proxy.1.invite_retry_counts= + +account.4.sip_server.1.register_on_enable= +account.4.sip_server.1.failback_timeout= +account.4.sip_server.1.failback_mode= +account.4.sip_server.1.failback_subscribe.enable= +account.4.sip_server.1.only_signal_with_registered= +account.4.sip_server.1.invite_retry_counts= + +account.4.outbound_proxy.2.register_on_enable= +account.4.outbound_proxy.2.failback_timeout= +account.4.outbound_proxy.2.failback_mode= +account.4.outbound_proxy.2.retry_counts= +account.4.outbound_proxy.2.only_signal_with_registered= +account.4.outbound_proxy.2.failback_subscribe.enable= +account.4.outbound_proxy.2.invite_retry_counts= + +account.4.sip_server.2.register_on_enable= +account.4.sip_server.2.failback_timeout= +account.4.sip_server.2.failback_mode= +account.4.sip_server.2.failback_subscribe.enable= +account.4.sip_server.2.only_signal_with_registered= +account.4.sip_server.2.invite_retry_counts= + +account.4.static_cache_pri= +account.4.dns_cache_type= +account.4.naptr_build= +account.4.fallback.timeout= +account.4.fallback.redundancy_type= +account.4.reg_failed_retry_max_time= +account.4.reg_failed_retry_min_time= +account.4.redundancy_with_reg_fail.enable = + +##V83 Add +account.4.sip_server.1.outbound_proxy_enable = +account.4.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.4.contact_take_line_param= +account.4.update_ack_while_dialing= +account.4.srtp_lifetime= +account.4.third_part_request_with_route.enable= +account.4.insert_outbound_in_route.enable= +account.4.path.enable= +account.4.sub_fail_retry_interval= +account.4.transfer_refer_to_contact_header.enable= +account.4.hold_use_inactive= +account.4.gruu.enable= +account.4.dial_tone= +account.4.call_id_mode= +account.4.subscribe_expires_overlap= +account.4.register_expires_overlap= +account.4.call_info= +account.4.custom_ua= +account.4.mwi_parse_terminated= +account.4.check_cseq.enable= +account.4.check_to_tag.enable= +account.4.vq_rtcpxr.collector_server_port= +account.4.vq_rtcpxr.collector_server_host= +account.4.vq_rtcpxr.collector_name= +account.4.compact_header_enable= +account.4.cp_source= 2 +account.4.cid_source_ppi= 1 +account.4.cid_source_privacy= 1 +account.4.reg_with_pani_header.enable = +account.4.alert_info= +account.4.picture_info_enable= 1 + +##V83 Add +account.4.invite_with_pani_header.enable = + +##V84 Add +account.4.invite_with_rpid_header.enable= + +account.4.auto_answer_mute_enable + +##V84 SP4 Add +account.4.share_line.enable_private_code = +account.4.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.4.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.4.timeout_fwd.off_code= +account.4.timeout_fwd.on_code= +account.4.timeout_fwd.timeout= +account.4.timeout_fwd.target= +account.4.timeout_fwd.enable= +account.4.busy_fwd.off_code= +account.4.busy_fwd.on_code= +account.4.busy_fwd.target= +account.4.busy_fwd.enable= +account.4.always_fwd.off_code= +account.4.always_fwd.on_code= +account.4.always_fwd.target= +account.4.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.4.dnd.enable= +account.4.dnd.off_code= +account.4.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.4.subscribe_mwi= 1 +account.4.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.4.subscribe_mwi_expires= 3600 +account.4.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.4.auto_dial_enable= +account.4.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.4.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.4.dialplan.digitmap.enable= +account.4.dialplan.digitmap.string= +account.4.dialplan.digitmap.no_match_action= +account.4.dialplan.digitmap.interdigit_short_timer= +account.4.dialplan.digitmap.interdigit_long_timer= +account.4.dialplan.digitmap.apply_to.press_send= +account.4.dialplan.digitmap.apply_to.forward= +account.4.dialplan.digitmap.apply_to.history_dial= +account.4.dialplan.digitmap.apply_to.directory_dial= +account.4.dialplan.digitmap.apply_to.on_hook_dial= +account.4.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.4.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.4.blf.blf_list_uri= +account.4.blf_list_barge_in_code= +account.4.blf_list_code= +account.4.blf_list_retrieve_call_parked_code= +account.4.blf.subscribe_period= +account.4.blf.match_host.enable= +account.4.out_dialog_blf_enable= +account.4.blf.subscribe_event= + +##V84 Add +account.4.blf_list_call_parked_code= +account.4.blf_list_call_parked_list= + +##V84 SP4 ADD +account.4.blf_list_whisper_code= +account.4.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.4.shared_line= +account.4.line_seize.expires= +account.4.shared_line_one_touch_bargein.enable= +account.4.shared_line_one_touch_retrieve.enable= +account.4.sca_manage_interface_display_time= +account.4.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.4.bla_number= +account.4.bla_subscribe_period= +account.4.bla.notify_with_expire.enable= +account.4.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.4.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.4.acd.enable= 0 +account.4.acd.available= 0 +account.4.acd.unavailable_reason_enable= 0 +account.4.acd.initial_state= 1 +account.4.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.4.reason_code.1= +account.4.reason_code_name.1= 0 +account.4.bw_disp_code.1= +account.4.bw_disp_code_name.1= +account.4.supervisor_info_code.1= +account.4.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.4.call_center.call_info_enable= 0 +account.4.call_center.show_call_info_time= 30 +account.4.call_center.disp_code_enable= 0 +account.4.call_center.trace_enable= 0 +account.4.call_center.emergency_enable= 0 +account.4.call_center.queue_status_enable= 0 +account.4.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.4.hoteling.enable= 0 +account.4.hoteling.user_id= 0 +account.4.hoteling.password= 0 +account.4.hoteling.expires= 0 +account.4.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.4.xsi.user = +account.4.xsi.password = +account.4.xsi.host = +account.4.xsi.server_type = +account.4.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.4.direct_pickup_code = +account.4.group_pickup_code = +account.4.dialoginfo_callpickup = 0 +account.4.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.4.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.4.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.4.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.4.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.4.flexible_seating.enable= +account.4.hoteling.pin= +account.4.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.4.features.forward.feature_key_sync.local_processing.enable= +account.4.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.4.dnd.feature_key_sync.enable= +account.4.feature_key_sync.enable= +account.4.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.4.acd.available_url= +account.4.acd.away_url = +account.4.acd.refresh_url = +account.4.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + +####################################################################################### +## Transfer ## +####################################################################################### +account.5.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +account.5.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.5.anonymous_call.server_base_only = +account.5.send_anonymous_rejection_code = +account.5.anonymous_reject_offcode = +account.5.anonymous_reject_oncode = +account.5.reject_anonymous_call= +account.5.anonymous_call_offcode = +account.5.anonymous_call_oncode = +account.5.anonymous_call = 0 +account.5.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.5.music_server_uri= +account.5.music_on_hold_type= +account.5.auto_label.rule= +account.5.auto_label.enable= +account.5.number_of_linekey= +account.5.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.5.codec.ilbc_15_2kbps.priority= +account.5.codec.ilbc_15_2kbps.enable= + +account.5.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.5.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.5.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.5.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.5.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.5.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.5.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.5.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.5.codec.opus.para= 106 + +account.5.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.5.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.5.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.5.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.5.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.5.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.5.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.5.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.5.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.5.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.5.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.5.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.5.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.5.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.5.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.5.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.5.codec.G722_1_24kpbs.priority= +account.5.codec.G722_1_24kpbs.enable= +account.5.codec.G722_1c_24kpbs.priority= +account.5.codec.G722_1c_24kpbs.enable= +account.5.codec.G722_1c_32kpbs.priority= +account.5.codec.G722_1c_32kpbs.enable= +account.5.codec.G722_1c_48kpbs.priority= +account.5.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account5 Register ## +################################################################ +{if isset($account.5.password) } +account.5.enable = 1 +{else} +account.5.enable = 0 +{/if} +account.5.label = {$account.5.display_name} +account.5.display_name = {$account.5.display_name} +account.5.auth_name = {$account.5.auth_id} + +{if isset($account.5.server.1.address)} +account.5.user_name = {$account.5.user_id}@{$account.5.server_address} +{else} +account.5.user_name = {$account.5.user_id} +{/if} + +account.5.password = {$account.5.password} +account.5.sip_server.1.address= {$account.5.server_address} +account.5.sip_server_port = {$account.5.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.5.sip_transport == 'udp'}account.5.sip_server.1.transport_type = 0{/if} +{if $account.5.sip_transport == 'tcp'}account.5.sip_server.1.transport_type = 1{/if} +{if $account.5.sip_transport == 'tls'}account.5.sip_server.1.transport_type = 2{/if} +{if $account.5.sip_transport == 'dns srv'}account.5.sip_server.1.transport_type = 3{/if} + +account.5.sip_server.1.expires= {$account.5.register_expires} +account.5.sip_server.1.retry_counts= 3 + +account.5.sip_server.2.address= {$account.5.server.2.address} +account.5.sip_server.2.port= {$account.5.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.5.sip_transport == 'udp'}account.5.sip_server.2.transport_type = 0{/if} +{if $account.5.sip_transport == 'tcp'}account.5.sip_server.2.transport_type = 1{/if} +{if $account.5.sip_transport == 'tls'}account.5.sip_server.2.transport_type = 2{/if} +{if $account.5.sip_transport == 'dns srv'}account.5.sip_server.2.transport_type = 3{/if} + +account.5.sip_server.2.expires= {$account.5.register_expires} +account.5.sip_server.2.retry_counts= 3 + +account.5.outbound_proxy_enable = {if isset($account.5.outbound_proxy_primary)}1{else}0{/if} + +account.5.outbound_proxy.1.address = {$account.5.outbound_proxy_primary} +account.5.outbound_proxy.2.address = {$account.5.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.5.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.5.outbound_proxy.1.port = {$account.5.sip_port} +{/if} + +account.5.outbound_proxy.2.address= {$account.5.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.5.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.5.outbound_proxy.2.port = {$account.5.sip_port} +{/if} + +account.5.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.5.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.5.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.5.nat.udp_update_enable= +account.5.nat.udp_update_time= +account.5.nat.rport= {$yealink_rport} + +account.5.dtmf.type= {$yealink_dtmf_type} +account.5.dtmf.info_type= +account.5.dtmf.dtmf_payload= +account.5.100rel_enable= + +account.5.subscribe_register= +account.5.cid_source= {$yealink_cid_source} +account.5.enable_user_equal_phone= +account.5.srtp_encryption= {$yealink_srtp_encryption} +account.5.ptime= +account.5.register_line= +account.5.register_mac= +account.5.reg_fail_retry_interval= +account.5.unregister_on_reboot= + +account.5.session_timer.refresher= +account.5.session_timer.expires= +account.5.session_timer.enable= {$yealink_session_timer} + +account.5.conf_type= +account.5.sip_server_type= + +##V83 Add +account.5.srtp.unencrypted_rtcp.enable = +account.5.srtp.unencrypted_rtp.enable = +account.5.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.5.outbound_proxy.1.register_on_enable= +account.5.outbound_proxy.1.failback_timeout= +account.5.outbound_proxy.1.failback_mode= +account.5.outbound_proxy.1.retry_counts= +account.5.outbound_proxy.1.only_signal_with_registered= +account.5.outbound_proxy.1.failback_subscribe.enable= +account.5.outbound_proxy.1.invite_retry_counts= + +account.5.sip_server.1.register_on_enable= +account.5.sip_server.1.failback_timeout= +account.5.sip_server.1.failback_mode= +account.5.sip_server.1.failback_subscribe.enable= +account.5.sip_server.1.only_signal_with_registered= +account.5.sip_server.1.invite_retry_counts= + +account.5.outbound_proxy.2.register_on_enable= +account.5.outbound_proxy.2.failback_timeout= +account.5.outbound_proxy.2.failback_mode= +account.5.outbound_proxy.2.retry_counts= +account.5.outbound_proxy.2.only_signal_with_registered= +account.5.outbound_proxy.2.failback_subscribe.enable= +account.5.outbound_proxy.2.invite_retry_counts= + +account.5.sip_server.2.register_on_enable= +account.5.sip_server.2.failback_timeout= +account.5.sip_server.2.failback_mode= +account.5.sip_server.2.failback_subscribe.enable= +account.5.sip_server.2.only_signal_with_registered= +account.5.sip_server.2.invite_retry_counts= + +account.5.static_cache_pri= +account.5.dns_cache_type= +account.5.naptr_build= +account.5.fallback.timeout= +account.5.fallback.redundancy_type= +account.5.reg_failed_retry_max_time= +account.5.reg_failed_retry_min_time= +account.5.redundancy_with_reg_fail.enable = + +##V83 Add +account.5.sip_server.1.outbound_proxy_enable = +account.5.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.5.contact_take_line_param= +account.5.update_ack_while_dialing= +account.5.srtp_lifetime= +account.5.third_part_request_with_route.enable= +account.5.insert_outbound_in_route.enable= +account.5.path.enable= +account.5.sub_fail_retry_interval= +account.5.transfer_refer_to_contact_header.enable= +account.5.hold_use_inactive= +account.5.gruu.enable= +account.5.dial_tone= +account.5.call_id_mode= +account.5.subscribe_expires_overlap= +account.5.register_expires_overlap= +account.5.call_info= +account.5.custom_ua= +account.5.mwi_parse_terminated= +account.5.check_cseq.enable= +account.5.check_to_tag.enable= +account.5.vq_rtcpxr.collector_server_port= +account.5.vq_rtcpxr.collector_server_host= +account.5.vq_rtcpxr.collector_name= +account.5.compact_header_enable= +account.5.cp_source= 2 +account.5.cid_source_ppi= 1 +account.5.cid_source_privacy= 1 +account.5.reg_with_pani_header.enable = +account.5.alert_info= +account.5.picture_info_enable= 1 + +##V83 Add +account.5.invite_with_pani_header.enable = + +##V84 Add +account.5.invite_with_rpid_header.enable= + +account.5.auto_answer_mute_enable + +##V84 SP4 Add +account.5.share_line.enable_private_code = +account.5.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.5.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.5.timeout_fwd.off_code= +account.5.timeout_fwd.on_code= +account.5.timeout_fwd.timeout= +account.5.timeout_fwd.target= +account.5.timeout_fwd.enable= +account.5.busy_fwd.off_code= +account.5.busy_fwd.on_code= +account.5.busy_fwd.target= +account.5.busy_fwd.enable= +account.5.always_fwd.off_code= +account.5.always_fwd.on_code= +account.5.always_fwd.target= +account.5.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.5.dnd.enable= +account.5.dnd.off_code= +account.5.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.5.subscribe_mwi= 1 +account.5.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.5.subscribe_mwi_expires= 3600 +account.5.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.5.auto_dial_enable= +account.5.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.5.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.5.dialplan.digitmap.enable= +account.5.dialplan.digitmap.string= +account.5.dialplan.digitmap.no_match_action= +account.5.dialplan.digitmap.interdigit_short_timer= +account.5.dialplan.digitmap.interdigit_long_timer= +account.5.dialplan.digitmap.apply_to.press_send= +account.5.dialplan.digitmap.apply_to.forward= +account.5.dialplan.digitmap.apply_to.history_dial= +account.5.dialplan.digitmap.apply_to.directory_dial= +account.5.dialplan.digitmap.apply_to.on_hook_dial= +account.5.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.5.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.5.blf.blf_list_uri= +account.5.blf_list_barge_in_code= +account.5.blf_list_code= +account.5.blf_list_retrieve_call_parked_code= +account.5.blf.subscribe_period= +account.5.blf.match_host.enable= +account.5.out_dialog_blf_enable= +account.5.blf.subscribe_event= + +##V84 Add +account.5.blf_list_call_parked_code= +account.5.blf_list_call_parked_list= + +##V84 SP4 ADD +account.5.blf_list_whisper_code= +account.5.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.5.shared_line= +account.5.line_seize.expires= +account.5.shared_line_one_touch_bargein.enable= +account.5.shared_line_one_touch_retrieve.enable= +account.5.sca_manage_interface_display_time= +account.5.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.5.bla_number= +account.5.bla_subscribe_period= +account.5.bla.notify_with_expire.enable= +account.5.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.5.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.5.acd.enable= 0 +account.5.acd.available= 0 +account.5.acd.unavailable_reason_enable= 0 +account.5.acd.initial_state= 1 +account.5.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.5.reason_code.1= +account.5.reason_code_name.1= 0 +account.5.bw_disp_code.1= +account.5.bw_disp_code_name.1= +account.5.supervisor_info_code.1= +account.5.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.5.call_center.call_info_enable= 0 +account.5.call_center.show_call_info_time= 30 +account.5.call_center.disp_code_enable= 0 +account.5.call_center.trace_enable= 0 +account.5.call_center.emergency_enable= 0 +account.5.call_center.queue_status_enable= 0 +account.5.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.5.hoteling.enable= 0 +account.5.hoteling.user_id= 0 +account.5.hoteling.password= 0 +account.5.hoteling.expires= 0 +account.5.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.5.xsi.user = +account.5.xsi.password = +account.5.xsi.host = +account.5.xsi.server_type = +account.5.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.5.direct_pickup_code = +account.5.group_pickup_code = +account.5.dialoginfo_callpickup = 0 +account.5.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.5.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.5.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.5.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.5.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.5.flexible_seating.enable= +account.5.hoteling.pin= +account.5.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.5.features.forward.feature_key_sync.local_processing.enable= +account.5.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.5.dnd.feature_key_sync.enable= +account.5.feature_key_sync.enable= +account.5.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.5.acd.available_url= +account.5.acd.away_url = +account.5.acd.refresh_url = +account.5.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= + +####################################################################################### +## Transfer ## +####################################################################################### +account.6.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +account.6.phone_setting.call_appearance.conference_via_new_linekey= + + +####################################################################################### +## Anonymous ## +####################################################################################### +account.6.anonymous_call.server_base_only = +account.6.send_anonymous_rejection_code = +account.6.anonymous_reject_offcode = +account.6.anonymous_reject_oncode = +account.6.reject_anonymous_call= +account.6.anonymous_call_offcode = +account.6.anonymous_call_oncode = +account.6.anonymous_call = 0 +account.6.send_anonymous_code = + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +account.6.music_server_uri= +account.6.music_on_hold_type= +account.6.auto_label.rule= +account.6.auto_label.enable= +account.6.number_of_linekey= +account.6.phone_setting.call_appearance.calls_per_linekey= + + +####################################################################################### +## Codec ## +####################################################################################### +account.6.codec.ilbc_15_2kbps.priority= +account.6.codec.ilbc_15_2kbps.enable= + +account.6.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} + +account.6.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} + +account.6.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} + +account.6.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} + +account.6.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} + +account.6.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} + +account.6.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} + +account.6.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} + +account.6.codec.opus.para= 106 + +account.6.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} + +account.6.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} + +account.6.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} + +account.6.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} + +account.6.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} + +account.6.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} + +account.6.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} + +account.6.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} + +account.6.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} + +account.6.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} + +account.6.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} + +account.6.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} + +account.6.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} + +account.6.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} + +account.6.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} + +account.6.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} + +account.6.codec.G722_1_24kpbs.priority= +account.6.codec.G722_1_24kpbs.enable= +account.6.codec.G722_1c_24kpbs.priority= +account.6.codec.G722_1c_24kpbs.enable= +account.6.codec.G722_1c_32kpbs.priority= +account.6.codec.G722_1c_32kpbs.enable= +account.6.codec.G722_1c_48kpbs.priority= +account.6.codec.G722_1c_48kpbs.enable= + +################################################################ +# Account6 Register ## +################################################################ +{if isset($account.6.password) } +account.6.enable = 1 +{else} +account.6.enable = 0 +{/if} +account.6.label = {$account.6.display_name} +account.6.display_name = {$account.6.display_name} +account.6.auth_name = {$account.6.auth_id} + +{if isset($account.6.server.1.address)} +account.6.user_name = {$account.6.user_id}@{$account.6.server_address} +{else} +account.6.user_name = {$account.6.user_id} +{/if} + +account.6.password = {$account.6.password} +account.6.sip_server.1.address= {$account.6.server_address} +account.6.sip_server_port = {$account.6.sip_port} + + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; +{if $account.6.sip_transport == 'udp'}account.6.sip_server.1.transport_type = 0{/if} +{if $account.6.sip_transport == 'tcp'}account.6.sip_server.1.transport_type = 1{/if} +{if $account.6.sip_transport == 'tls'}account.6.sip_server.1.transport_type = 2{/if} +{if $account.6.sip_transport == 'dns srv'}account.6.sip_server.1.transport_type = 3{/if} + +account.6.sip_server.1.expires= {$account.6.register_expires} +account.6.sip_server.1.retry_counts= 3 + +account.6.sip_server.2.address= {$account.6.server.2.address} +account.6.sip_server.2.port= {$account.6.sip_port} + +#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR; +{if $account.6.sip_transport == 'udp'}account.6.sip_server.2.transport_type = 0{/if} +{if $account.6.sip_transport == 'tcp'}account.6.sip_server.2.transport_type = 1{/if} +{if $account.6.sip_transport == 'tls'}account.6.sip_server.2.transport_type = 2{/if} +{if $account.6.sip_transport == 'dns srv'}account.6.sip_server.2.transport_type = 3{/if} + +account.6.sip_server.2.expires= {$account.6.register_expires} +account.6.sip_server.2.retry_counts= 3 + +account.6.outbound_proxy_enable = {if isset($account.6.outbound_proxy_primary)}1{else}0{/if} + +account.6.outbound_proxy.1.address = {$account.6.outbound_proxy_primary} +account.6.outbound_proxy.2.address = {$account.6.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.6.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.6.outbound_proxy.1.port = {$account.6.sip_port} +{/if} + +account.6.outbound_proxy.2.address= {$account.6.outbound_proxy_secondary} + +{if isset($outbound_proxy_1_port)} +account.6.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.6.outbound_proxy.2.port = {$account.6.sip_port} +{/if} + +account.6.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval} + +account.6.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + + + +################################################################ +# Account Basic ## +################################################################ +account.6.auto_answer= + +################################################################ +# Account Advanced ## +################################################################ +account.6.nat.udp_update_enable= +account.6.nat.udp_update_time= +account.6.nat.rport= {$yealink_rport} + +account.6.dtmf.type= {$yealink_dtmf_type} +account.6.dtmf.info_type= +account.6.dtmf.dtmf_payload= +account.6.100rel_enable= + +account.6.subscribe_register= +account.6.cid_source= {$yealink_cid_source} +account.6.enable_user_equal_phone= +account.6.srtp_encryption= {$yealink_srtp_encryption} +account.6.ptime= +account.6.register_line= +account.6.register_mac= +account.6.reg_fail_retry_interval= +account.6.unregister_on_reboot= + +account.6.session_timer.refresher= +account.6.session_timer.expires= +account.6.session_timer.enable= {$yealink_session_timer} + +account.6.conf_type= +account.6.sip_server_type= + +##V83 Add +account.6.srtp.unencrypted_rtcp.enable = +account.6.srtp.unencrypted_rtp.enable = +account.6.sip_server_mode = + + + +################################################################ +# SIP Backup Server ## +################################################################ +account.6.outbound_proxy.1.register_on_enable= +account.6.outbound_proxy.1.failback_timeout= +account.6.outbound_proxy.1.failback_mode= +account.6.outbound_proxy.1.retry_counts= +account.6.outbound_proxy.1.only_signal_with_registered= +account.6.outbound_proxy.1.failback_subscribe.enable= +account.6.outbound_proxy.1.invite_retry_counts= + +account.6.sip_server.1.register_on_enable= +account.6.sip_server.1.failback_timeout= +account.6.sip_server.1.failback_mode= +account.6.sip_server.1.failback_subscribe.enable= +account.6.sip_server.1.only_signal_with_registered= +account.6.sip_server.1.invite_retry_counts= + +account.6.outbound_proxy.2.register_on_enable= +account.6.outbound_proxy.2.failback_timeout= +account.6.outbound_proxy.2.failback_mode= +account.6.outbound_proxy.2.retry_counts= +account.6.outbound_proxy.2.only_signal_with_registered= +account.6.outbound_proxy.2.failback_subscribe.enable= +account.6.outbound_proxy.2.invite_retry_counts= + +account.6.sip_server.2.register_on_enable= +account.6.sip_server.2.failback_timeout= +account.6.sip_server.2.failback_mode= +account.6.sip_server.2.failback_subscribe.enable= +account.6.sip_server.2.only_signal_with_registered= +account.6.sip_server.2.invite_retry_counts= + +account.6.static_cache_pri= +account.6.dns_cache_type= +account.6.naptr_build= +account.6.fallback.timeout= +account.6.fallback.redundancy_type= +account.6.reg_failed_retry_max_time= +account.6.reg_failed_retry_min_time= +account.6.redundancy_with_reg_fail.enable = + +##V83 Add +account.6.sip_server.1.outbound_proxy_enable = +account.6.sip_server.2.outbound_proxy_enable = + +################################################################ +# SIP Basic config ## +################################################################ +account.6.contact_take_line_param= +account.6.update_ack_while_dialing= +account.6.srtp_lifetime= +account.6.third_part_request_with_route.enable= +account.6.insert_outbound_in_route.enable= +account.6.path.enable= +account.6.sub_fail_retry_interval= +account.6.transfer_refer_to_contact_header.enable= +account.6.hold_use_inactive= +account.6.gruu.enable= +account.6.dial_tone= +account.6.call_id_mode= +account.6.subscribe_expires_overlap= +account.6.register_expires_overlap= +account.6.call_info= +account.6.custom_ua= +account.6.mwi_parse_terminated= +account.6.check_cseq.enable= +account.6.check_to_tag.enable= +account.6.vq_rtcpxr.collector_server_port= +account.6.vq_rtcpxr.collector_server_host= +account.6.vq_rtcpxr.collector_name= +account.6.compact_header_enable= +account.6.cp_source= 2 +account.6.cid_source_ppi= 1 +account.6.cid_source_privacy= 1 +account.6.reg_with_pani_header.enable = +account.6.alert_info= +account.6.picture_info_enable= 1 + +##V83 Add +account.6.invite_with_pani_header.enable = + +##V84 Add +account.6.invite_with_rpid_header.enable= + +account.6.auto_answer_mute_enable + +##V84 SP4 Add +account.6.share_line.enable_private_code = +account.6.share_line.cancel_private_code = + +####################################################################################### +## History ## +####################################################################################### +account.6.missed_calllog= + + +####################################################################################### +## Forward ## +####################################################################################### +account.6.timeout_fwd.off_code= +account.6.timeout_fwd.on_code= +account.6.timeout_fwd.timeout= +account.6.timeout_fwd.target= +account.6.timeout_fwd.enable= +account.6.busy_fwd.off_code= +account.6.busy_fwd.on_code= +account.6.busy_fwd.target= +account.6.busy_fwd.enable= +account.6.always_fwd.off_code= +account.6.always_fwd.on_code= +account.6.always_fwd.target= +account.6.always_fwd.enable= + + +####################################################################################### +## DND ## +####################################################################################### +account.6.dnd.enable= +account.6.dnd.off_code= +account.6.dnd.on_code= + + + +####################################################################################### +## Voice Mail ## +####################################################################################### +voice_mail.number.1= {$voicemail_number} +account.6.subscribe_mwi= 1 +account.6.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm} +account.6.subscribe_mwi_expires= 3600 +account.6.display_mwi.enable= + +####################################################################################### +## Auto Dial ## +####################################################################################### +account.6.auto_dial_enable= +account.6.auto_dial_num= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +account.6.ringtone.ring_type= + +####################################################################################### +## Digitmap ## +####################################################################################### +account.6.dialplan.digitmap.enable= +account.6.dialplan.digitmap.string= +account.6.dialplan.digitmap.no_match_action= +account.6.dialplan.digitmap.interdigit_short_timer= +account.6.dialplan.digitmap.interdigit_long_timer= +account.6.dialplan.digitmap.apply_to.press_send= +account.6.dialplan.digitmap.apply_to.forward= +account.6.dialplan.digitmap.apply_to.history_dial= +account.6.dialplan.digitmap.apply_to.directory_dial= +account.6.dialplan.digitmap.apply_to.on_hook_dial= +account.6.dialplan.digitmap.active.on_hook_dialing= + + +####################################################################################### +## Rings Settings ## +####################################################################################### +account.6.alert_info_url_enable= + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +account.6.blf.blf_list_uri= +account.6.blf_list_barge_in_code= +account.6.blf_list_code= +account.6.blf_list_retrieve_call_parked_code= +account.6.blf.subscribe_period= +account.6.blf.match_host.enable= +account.6.out_dialog_blf_enable= +account.6.blf.subscribe_event= + +##V84 Add +account.6.blf_list_call_parked_code= +account.6.blf_list_call_parked_list= + +##V84 SP4 ADD +account.6.blf_list_whisper_code= +account.6.blf_list_listen_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +account.6.shared_line= +account.6.line_seize.expires= +account.6.shared_line_one_touch_bargein.enable= +account.6.shared_line_one_touch_retrieve.enable= +account.6.sca_manage_interface_display_time= +account.6.shared_line_callpull_code= + +##V83 Add +account.x.share_line.barge_in.enable + +####################################################################################### +## BLA ## +####################################################################################### +account.6.bla_number= +account.6.bla_subscribe_period= +account.6.bla.notify_with_expire.enable= +account.6.bla.subscribe_uri_build_type= + +####################################################################################### +## Call Park ## +####################################################################################### +account.6.callpark_enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +account.6.acd.enable= 0 +account.6.acd.available= 0 +account.6.acd.unavailable_reason_enable= 0 +account.6.acd.initial_state= 1 +account.6.subscribe_acd_expires= + + +####################################################################################### +## Broadsoft ACD Call Center ## +####################################################################################### +##account.X.reason_code.Y= +##account.X.reason_code_name.Y= +##account.X.bw_disp_code.Y= +##account.X.bw_disp_code_name.Y= +##account.X.supervisor_info_code.Y= +##account.X.supervisor_info_code_name.Y= +##The value Y must be continuous. + +account.6.reason_code.1= +account.6.reason_code_name.1= 0 +account.6.bw_disp_code.1= +account.6.bw_disp_code_name.1= +account.6.supervisor_info_code.1= +account.6.supervisor_info_code_name.1= + +####################################################################################### +## Broadsoft Call Center ## +####################################################################################### +account.6.call_center.call_info_enable= 0 +account.6.call_center.show_call_info_time= 30 +account.6.call_center.disp_code_enable= 0 +account.6.call_center.trace_enable= 0 +account.6.call_center.emergency_enable= 0 +account.6.call_center.queue_status_enable= 0 +account.6.call_center.queue_status_light_enable = 0 + + + +####################################################################################### +## Broadsoft Hoteling ## +####################################################################################### +account.6.hoteling.enable= 0 +account.6.hoteling.user_id= 0 +account.6.hoteling.password= 0 +account.6.hoteling.expires= 0 +account.6.hoteling.auto_login_enable= 0 + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +account.6.xsi.user = +account.6.xsi.password = +account.6.xsi.host = +account.6.xsi.server_type = +account.6.xsi.port = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +account.6.direct_pickup_code = +account.6.group_pickup_code = +account.6.dialoginfo_callpickup = 0 +account.6.refresh_remote_id.enable = + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +account.6.call_recording.enable= + +####################################################################################### +## Network Conference ## +####################################################################################### +account.6.conf_uri= + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +account.6.features.call_decline.enable = + + +####################################################################################### +## Broadsoft Security Classification ## +####################################################################################### +account.6.security_classification.enable = + + + +####################################################################################### +## Broadsoft Flexible Seating ## +####################################################################################### +account.6.flexible_seating.enable= +account.6.hoteling.pin= +account.6.hoteling.mode= + +####################################################################################### +## Features Sync ## +####################################################################################### +account.6.features.forward.feature_key_sync.local_processing.enable= +account.6.features.dnd.feature_key_sync.local_processing.enable = + +##V84 Add +account.6.dnd.feature_key_sync.enable= +account.6.feature_key_sync.enable= +account.6.forward.feature_key_sync.enable= + +####################################################################################### +## ACD ## +####################################################################################### +account.6.acd.available_url= +account.6.acd.away_url = +account.6.acd.refresh_url = +account.6.acd.call_information= + + + +####################################################################################### +## virtual_user ## +####################################################################################### +##V84 Add +#bw.virtual_user.1.enable= +#bw.virtual_user.1.label= +#bw.virtual_user.1.xsi.dnd.enable= +#bw.virtual_user.1.xsi.host= +#bw.virtual_user.1.xsi.password= +#bw.virtual_user.1.xsi.port= +#bw.virtual_user.1.xsi.server_type= +#bw.virtual_user.1.xsi.user= From fc621253d92786a0d74d4980b4c95a6ad726be81 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 12 Nov 2020 10:30:52 -0500 Subject: [PATCH 183/677] Create y000000000108.cfg --- .../provision/yealink/t46u/y000000000108.cfg | 1953 +++++++++++++++++ 1 file changed, 1953 insertions(+) create mode 100644 resources/templates/provision/yealink/t46u/y000000000108.cfg diff --git a/resources/templates/provision/yealink/t46u/y000000000108.cfg b/resources/templates/provision/yealink/t46u/y000000000108.cfg new file mode 100644 index 0000000000..6806c79eb2 --- /dev/null +++ b/resources/templates/provision/yealink/t46u/y000000000108.cfg @@ -0,0 +1,1953 @@ +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## + +####################################################################################### +## Network CDP ## +####################################################################################### +static.network.cdp.enable = +static.network.cdp.packet_interval = + + + +####################################################################################### +## Network IPv6 ## +####################################################################################### +static.network.ipv6_static_dns_enable = +static.network.ipv6_icmp_v6.enable = +static.network.ipv6_secondary_dns = +static.network.ipv6_primary_dns = +static.network.ipv6_internet_port.gateway = +static.network.ipv6_internet_port.ip = +static.network.ipv6_internet_port.type = +static.network.ipv6_prefix = + + + +####################################################################################### +## Network WiFi ## +####################################################################################### +##static.wifi.X.label= +##static.wifi.X.ssid= +##static.wifi.X.priority= +##static.wifi.X.security_mode= +##static.wifi.X.cipher_type= +##static.wifi.X.password= +##static.wifi.X.eap_type= +##static.wifi.X.eap_user_name= +##static.wifi.x.eap_password= +##(X ranges from 1 to 5) +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support these parameters. + +static.wifi.enable = {$yealink_wifi_enable} +static.wifi.1.label = {$yealink_wifi_1_label} +static.wifi.1.ssid = {$yealink_wifi_1_ssid} +static.wifi.1.priority = {$yealink_wifi_1_priority} +static.wifi.1.security_mode = {$yealink_wifi_1_security} +static.wifi.1.cipher_type = {$yealink_wifi_1_cipher} +static.wifi.1.password = {$yealink_wifi_1_password} +static.wifi.1.eap_type = {$yealink_wifi_1_type} +static.wifi.1.eap_user_name = {$yealink_wifi_1_username} +static.wifi.1.eap_password = {$yealink_wifi_1_password} +static.wifi.show_scan_prompt = {$yealink_wifi_scan_prompt} + +##V83 Add +static.wifi.function.enable = + + +##V84 SP4 ADD +static.network.wifi.ip_address_mode= +static.network.wifi.preference = +static.network.wifi.internet_port.type = +static.network.wifi.internet_port.ip= +static.network.wifi.internet_port.mask= +static.network.wifi.internet_port.gateway= +static.network.wifi.static_dns_enable= +static.network.wifi.primary_dns= +static.network.wifi.secondary_dns= +static.network.wifi.ipv6_internet_port.type= +static.network.wifi.ipv6_internet_port.ip= +static.network.wifi.ipv6_prefix= +static.network.wifi.ipv6_internet_port.gateway= +static.network.wifi.ipv6_static_dns_enable= +static.network.wifi.ipv6_primary_dns= +static.network.wifi.ipv6_secondary_dns= +static.network.wifi.ipv6_icmp_v6.enable= +####################################################################################### +## Network Internet ## +####################################################################################### +static.network.ip_address_mode = {$yealink_ip_address_mode} +static.network.span_to_pc_port = +static.network.vlan.pc_port_mode = +static.network.static_dns_enable = +static.network.pc_port.enable = +{if isset($dns_server_primary)}static.network.primary_dns = {$dns_server_primary}{/if} +{if isset($dns_server_secondary)}static.network.secondary_dns = {$dns_server_secondary}{/if} +static.network.internet_port.gateway = +static.network.internet_port.mask = +static.network.internet_port.ip = +static.network.internet_port.type = + +##V83 Add +static.network.preference = + + +####################################################################################### +## Network Advanced ## +####################################################################################### +static.network.dhcp_host_name = +static.network.dhcp.option60type = +static.network.mtu_value = +static.network.qos.audiotos = +static.network.port.min_rtpport = +static.network.port.max_rtpport = +static.network.qos.signaltos = + +static.wui.http_enable = +static.wui.https_enable = +static.network.port.https = +static.network.port.http = + +static.network.pc_port.speed_duplex = +static.network.internet_port.speed_duplex = + +##V83 Add +static.network.redundancy.mode = +static.network.redundancy.failback.timeout = + + + +####################################################################################### +## Network LLDP ## +####################################################################################### +static.network.lldp.enable = {$yealink_lldp_enable} +static.network.lldp.packet_interval = + + + +####################################################################################### +## Network VLAN ## +####################################################################################### +static.network.vlan.dhcp_enable = +static.network.vlan.dhcp_option = +static.network.vlan.vlan_change.enable = + +static.network.vlan.pc_port_priority = {$yealink_vlan_pc_cos} +static.network.vlan.pc_port_vid = {$yealink_vlan_pc_id} + +{if isset($yealink_vlan_pc_enable)}static.network.vlan.pc_port_enable = {$yealink_vlan_pc_enable}{else}static.network.vlan.pc_port_enable = 0{/if} + +#static.network.vlan.pc_port_enable = + +static.network.vlan.internet_port_priority = {$yealink_vlan_cos} +static.network.vlan.internet_port_vid = {$yealink_vlan_id} + +{if isset($yealink_vlan_enable)}static.network.vlan.internet_port_enable = {$yealink_vlan_enable}{else}static.network.vlan.internet_port_enable = 0{/if} + + +####################################################################################### +## Network VPN ## +####################################################################################### +static.network.vpn_enable = {$yealink_network_vpn_enable} +static.openvpn.url = {$yealink_openvpn_url} + + +####################################################################################### +## Network 802.1x ## +####################################################################################### +static.network.802_1x.mode = +static.network.802_1x.identity = +static.network.802_1x.md5_password = +static.network.802_1x.client_cert_url = +static.network.802_1x.root_cert_url = +static.network.802_1x.eap_fast_provision_mode = +static.network.802_1x.anonymous_identity = +static.network.802_1x.proxy_eap_logoff.enable = + + +static.auto_provision.custom.protect = +static.auto_provision.custom.sync = +static.auto_provision.custom.sync.path = +static.auto_provision.custom.upload_method = + + + + +####################################################################################### +## ZERO Touch ## +####################################################################################### +static.zero_touch.enable = +static.zero_touch.wait_time = +static.features.hide_zero_touch_url.enable = +static.zero_touch.network_fail_delay_times = +static.zero_touch.network_fail_wait_times = + + +####################################################################################### +## Autop URL ## +####################################################################################### +static.auto_provision.server.url = {$yealink_provision_url} +static.auto_provision.server.username = {$http_auth_username} +static.auto_provision.server.password = {$http_auth_password} + + +####################################################################################### +## Autop Weekly ## +####################################################################################### +static.auto_provision.weekly.enable = +static.auto_provision.weekly.dayofweek = +static.auto_provision.weekly.end_time = +static.auto_provision.weekly.begin_time = +static.auto_provision.weekly_upgrade_interval = + +####################################################################################### +## Autop Repeat ## +####################################################################################### +static.auto_provision.repeat.enable = +static.auto_provision.repeat.minutes = + +####################################################################################### +## Autop DHCP ## +####################################################################################### +static.auto_provision.dhcp_option.list_user_options = +static.auto_provision.dhcp_option.enable = + +##V83 Add +static.auto_provision.dhcp_option.list_user6_options = + +####################################################################################### +## Autop Mode ## +####################################################################################### +static.auto_provision.power_on = + + + +####################################################################################### +## Flexible Autop ## +####################################################################################### +static.auto_provision.flexible.end_time = +static.auto_provision.flexible.begin_time = +static.auto_provision.flexible.interval = +static.auto_provision.flexible.enable = + +####################################################################################### +## Autoprovision Other ## +####################################################################################### +static.auto_provision.prompt.enable = +static.auto_provision.attempt_expired_time = +static.auto_provision.attempt_before_failed = +static.network.attempt_expired_time = +static.auto_provision.update_file_mode = +static.auto_provision.retry_delay_after_file_transfer_failed= +static.auto_provision.inactivity_time_expire = +static.auto_provision.dns_resolv_timeout = +static.auto_provision.dns_resolv_nretry = +static.auto_provision.dns_resolv_nosys = +static.auto_provision.user_agent_mac.enable = +static.auto_provision.server.type = +features.action_uri_force_autop = +static.auto_provision.url_wildcard.pn = +static.auto_provision.reboot_force.enable = +static.auto_provision.dhcp_option.option60_value = +static.custom_mac_cfg.url = +static.auto_provision.aes_key_in_file = +static.auto_provision.aes_key_16.mac = +static.auto_provision.aes_key_16.com = +features.custom_version_info = +##V83 Add +static.auto_provision.authentication.expired_time = +static.auto_provision.connect.keep_alive = + +##V84 Add +static.auto_provision.config_version.mac= +static.auto_provision.config_version.com= + + +####################################################################################### +## Autop PNP ## +####################################################################################### +static.auto_provision.pnp_enable = + + + +####################################################################################### +## Autop Code ## +####################################################################################### +##static.autoprovision.X.name +##static.autoprovision.X.code +##static.autoprovision.X.url +##static.autoprovision.X.user +##static.autoprovision.X.password +##static.autoprovision.X.com_aes +##static.autoprovision.X.mac_aes +##Autop Code(X ranges from 1 to 50) + +static.autoprovision.1.name = +static.autoprovision.1.code = +static.autoprovision.1.url = +static.autoprovision.1.user = +static.autoprovision.1.password = +static.autoprovision.1.com_aes = +static.autoprovision.1.mac_aes = + + + +####################################################################################### +## TR069 ## +####################################################################################### + +static.managementserver.enable = +static.managementserver.username = +static.managementserver.password = +static.managementserver.url = +static.managementserver.periodic_inform_enable = 0 +static.managementserver.periodic_inform_interval = 60 +static.managementserver.connection_request_password = +static.managementserver.connection_request_username = + + + +####################################################################################### +## Firmware Update ## +####################################################################################### +static.firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t43u} + + +####################################################################################### +## Confguration ## +####################################################################################### +features.reset_by_long_press_enable = +features.factory_pwd_enable = +static.configuration.url = +static.features.custom_factory_config.enable = +static.custom_factory_configuration.url = + + +####################################################################################### +## SYSLOG ## +####################################################################################### +static.syslog.enable = +static.syslog.server = +static.syslog.level = +static.syslog.server_port = +static.syslog.transport_type = +static.syslog.facility = +static.syslog.prepend_mac_address.enable = +static.local_log.enable = +static.local_log.level = +static.local_log.max_file_size = + + + +####################################################################################### +## Log Backup ## +####################################################################################### +static.auto_provision.local_log.backup.enable = +static.auto_provision.local_log.backup.path = +static.auto_provision.local_log.backup.upload_period = +static.auto_provision.local_log.backup.append = +static.auto_provision.local_log.backup.bootlog.upload_wait_time= +static.auto_provision.local_log.backup.append.max_file_size = +static.auto_provision.local_log.backup.append.limit_mode= + + + +####################################################################################### +## User Mode ## +####################################################################################### +static.security.var_enable = +static.web_item_level.url = + + +####################################################################################### +## Quick Login ## +####################################################################################### +wui.quick_login = + + +####################################################################################### +## Security ## +####################################################################################### +static.phone_setting.reserve_certs_enable = +features.relog_offtime = +static.security.default_ssl_method = {$yealink_security_default_ssl_method} +static.security.cn_validation = +static.security.dev_cert = +static.security.ca_cert = +static.security.trust_certificates = {if $yealink_trust_certificates == "false"}0{elseif $yealink_trust_certificates == "true"}1{/if} + +static.security.user_password = {$var_name}:{$var_password} +static.security.user_password = {$admin_name}:{$admin_password} +static.security.user_password = {$user_name}:{$user_password} +static.security.user_name.var = {$var_name} +static.security.user_name.admin = {$admin_name} +static.security.user_name.user = {$user_name} + +##V83 Add +static.security.default_access_level = +phone_setting.reserve_certs_config.enable = + + +####################################################################################### +## Watch Dog ## +####################################################################################### +static.watch_dog.enable = + +####################################################################################### +## Server Certificates ## +####################################################################################### +static.server_certificates.url = +static.server_certificates.delete = + +####################################################################################### +## Trusted Certificates ## +####################################################################################### +static.trusted_certificates.url = +static.trusted_certificates.delete = + + + +####################################################################################### +## Secure Domain List ## +####################################################################################### +wui.secure_domain_list = + + +####################################################################################### +## Encryption ## +####################################################################################### +static.auto_provision.encryption.directory = +static.auto_provision.encryption.call_log = +static.auto_provision.encryption.config = + + + + +####################################################################################### +## Trnasfer ## +####################################################################################### +dialplan.transfer.mode = {$yealink_transfer_mode} +transfer.on_hook_trans_enable = {$yealink_transfer_onhook} +transfer.tran_others_after_conf_enable = {$yealink_transfer_after_conf} +transfer.blind_tran_on_hook_enable = {$yealink_transfer_blind_on_hook} +transfer.semi_attend_tran_enable = {$yealink_transfer_semi_attended} +phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey} + + +####################################################################################### +## Conference ## +####################################################################################### +features.conference.with_previous_call.enable = +features.local_conf.combine_with_one_press.enable= +phone_setting.call_appearance.conference_via_new_linekey= + + + +####################################################################################### +## Anonymous ## +####################################################################################### +features.anonymous_response_code= + + + +####################################################################################### +## Call Configuration ## +####################################################################################### +phone_setting.incoming_call_when_dialing.priority= +phone_setting.hold_or_swap.mode= +features.play_held_tone.interval= +features.play_held_tone.delay= +features.play_held_tone.enable= +features.play_hold_tone.interval= +features.ignore_incoming_call.enable= +force.voice.ring_vol= +features.mute.autoanswer_mute.enable= +features.play_hold_tone.delay = +phone_setting.end_call_net_disconnect.enable = +features.custom_auto_answer_tone.enable= +default_input_method.dialing= +features.speaker_mode.enable= +features.headset_mode.enable= +features.handset_mode.enable= +features.conference.local.enable = +features.off_hook_answer.enable= +features.caller_name_type_on_dialing= +phone_setting.show_code403= +phone_setting.ring_for_tranfailed= +features.password_dial.length= +features.password_dial.prefix= +features.password_dial.enable= +features.group_listen_in_talking_enable= +phone_setting.call_info_display_method = 0 +phone_setting.called_party_info_display.enable = 1 +features.headset_training= +features.headset_prior= +features.dtmf.replace_tran = +features.dtmf.transfer = +phone_setting.ringing_timeout= +phone_setting.ringback_timeout= + +features.keep_mute.enable= +linekey.1.shortlabel= +features.config_dsskey_length.shorten = +transfer.dsskey_deal_type = {$yealink_dsskey_transfer_mode} +features.auto_linekeys.enable= +phone_setting.call_appearance.calls_per_linekey= +features.linekey_call_with_default_account= +##V83 Add +features.station_name.value = +features.station_name.scrolling_display = +voice.headset.autoreset_spk_vol = +voice.handset.autoreset_spk_vol = +voice.handfree.autoreset_spk_vol = +features.headset.ctrl_call.enable = +phone_setting.incoming_call.reject.enable = + +features.play_mute_tone.enable= +features.play_mute_tone.interval= + +features.call_out_directory_by_off_hook.enable= +features.congestion_tone.codelist= + + +##V84 Add +phone_setting.icon.delete= +phone_setting.icon.url= + +##V84 SP4 Add +voice.handset.tia4965.enable = +voice.headset.tia4965.enable = + +####################################################################################### +## Custom Softkey ## +####################################################################################### +phone_setting.custom_softkey_enable= +custom_softkey_talking.url= +custom_softkey_ring_back.url= +custom_softkey_dialing.url= +custom_softkey_connecting.url= +custom_softkey_call_in.url= +custom_softkey_call_failed.url= + +##V83 Add +features.homescreen_softkey.acd.enable = +features.homescreen_softkey.hoteling.enable = +phone_setting.custom_softkey.apply_to_states = +features.custom_softkey_dynamic.enable = + + +####################################################################################### +## Features Bluetooth ## +####################################################################################### +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support the parameter. +features.bluetooth_enable= +features.bluetooth_adapter_name= +##V83 Add +static.bluetooth.function.enable = + +##V84 Add +bluetooth.a2dp_sink= +bluetooth.connect_confirm.enable= + +####################################################################################### +## Features USB Record ## +####################################################################################### +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support the parameter. +features.usb_call_recording.enable = {$yealink_usb_record_enable} +features.auto_recording.enable = + +features.idle_recording.enable= + +####################################################################################### +## Features USB ## +####################################################################################### +##V83 Add +static.usb.power.enable = + +##V84 Add +static.usbdisk.function.enable= + +####################################################################################### +## Codec ## +####################################################################################### +voice.g726.aal2.enable= + + +####################################################################################### +## DTMF ## +####################################################################################### +features.dtmf.min_interval= +features.dtmf.volume= +features.dtmf.duration = + +####################################################################################### +## Tones ## +####################################################################################### +voice.tone.autoanswer = +voice.tone.message = +voice.tone.stutter = +voice.tone.info = +voice.tone.dialrecall = +voice.tone.callwaiting = +voice.tone.congestion = +voice.tone.busy = +voice.tone.ring = +voice.tone.dial = +voice.tone.country = +voice.side_tone = +features.partition_tone = +voice.tone.secondary_dial= +####################################################################################### +## Tones V83 stutterdial dnd fwd vm ## +####################################################################################### + +voice.tone.stutterdial= +voice.tone.stutter_dial_tone.apply_to_dnd.enable= +voice.tone.stutter_dial_tone.apply_to_fwd.enable= +voice.tone.stutter_dial_tone.apply_to_fwd.enable= + +####################################################################################### +## Jitter Buffer ## +####################################################################################### +voice.jib.normal= +voice.jib.max = +voice.jib.min = +voice.jib.adaptive = + +voice.jib.wifi.normal= +voice.jib.wifi.max= +voice.jib.wifi.min= +voice.jib.wifi.adaptive= + +####################################################################################### +## Echo Cancellation ## +####################################################################################### +voice.echo_cancellation = +voice.cng = +voice.vad = + +##V84 Add +voice.ans_nb.enable= +voice.tns.enable= + +################################################################ +# SIP Backup Server ## +################################################################ +static.network.dns.ttl_enable = +static.network.dns.last_cache_expired.enable= +static.network.dns.last_cache_expired +static.network.dns.query_timeout = +static.network.dns.retry_times = +sip.dns_transport_type= +sip.skip_redundant_failover_addr= + + +################################################################ +# SIP Basic Config ## +################################################################ +sip.use_out_bound_in_dialog= +sip.unreg_with_socket_close= +phone_setting.disable_account_without_username.enable= +features.auto_answer.first_call_only= + +##V84 Add +phone_setting.call_display_name.mode= + +################################################################ +# SIP Advanced config ## +################################################################ +sip.request_validation.event= +sip.sdp_early_answer_or_offer= +sip.cid_source.preference= +sip.request_validation.digest.realm= +sip.request_validation.digest.list= +sip.request_validation.source.list= +sip.send_keepalive_by_socket= +sip.reliable_protocol.timerae.enable= +sip.requesturi.e164.addglobalprefix= +sip.trust_ctrl = {$yealink_trust_ctrl} +sip.mac_in_ua= + +sip.timer_t1= +sip.timer_t2= +sip.timer_t4= + +sip.listen_mode= + +{if isset($yealink_sip_listen_port)}sip.listen_port = {$yealink_sip_listen_port}{else}sip.listen_port = 5060{/if} + +sip.tls_listen_port= +sip.tcp_port_random_mode= +sip.escape_characters.enable= +sip.notify_reboot_enable= +sip.send_response_by_request= +sip.disp_incall_to_info= +features.call_invite_format= +phone_setting.early_media.rtp_sniffer.timeout= +sip.reg_surge_prevention = + +################################################################ +# V84 new add sip.escape_characters.enable= ## +################################################################ +sip.reserve_characters= + + +##V83 Add +sip.dhcp.option120.mode = + +################################################################ +# NAT&ICE ## +################################################################ +static.sip.nat_turn.enable= +static.sip.nat_turn.username= +static.sip.nat_turn.password= +static.sip.nat_turn.server= +static.sip.nat_turn.port= + +static.sip.nat_stun.enable={if isset($stun_server)}1{else}0{/if} + +static.sip.nat_stun.server= {$stun_server} +static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} + + +static.ice.enable= + +static.network.static_nat.enable= {if isset($yealink_static_nat)}1{else}0{/if} + +static.network.static_nat.addr= {$yealink_static_nat} + +####################################################################################### +## DNS ## +####################################################################################### +dns_cache_a.1.name = +dns_cache_a.1.ip = +dns_cache_a.1.ttl = +dns_cache_srv.1.name = +dns_cache_srv.1.port = +dns_cache_srv.1.priority = +dns_cache_srv.1.target = +dns_cache_srv.1.weight = +dns_cache_srv.1.ttl = +dns_cache_naptr.1.name = +dns_cache_naptr.1.order = +dns_cache_naptr.1.preference = +dns_cache_naptr.1.replace = +dns_cache_naptr.1.service = +dns_cache_naptr.1.ttl = + +####################################################################################### +## RTP ## +####################################################################################### +features.rtp_symmetric.enable= + + +####################################################################################### +## RTCP-XR ## +####################################################################################### +voice.rtcp.enable= +voice.rtcp_cname= +voice.rtcp_xr.enable= +phone_setting.vq_rtcpxr_display_symm_oneway_delay.enable= +phone_setting.vq_rtcpxr_display_round_trip_delay.enable= +phone_setting.vq_rtcpxr_display_moscq.enable= +phone_setting.vq_rtcpxr_display_moslq.enable = +phone_setting.vq_rtcpxr_display_packets_lost.enable= +phone_setting.vq_rtcpxr_display_jitter_buffer_max.enable= +phone_setting.vq_rtcpxr_display_jitter.enable= +phone_setting.vq_rtcpxr_display_remote_codec.enable= +phone_setting.vq_rtcpxr_display_local_codec.enable= +phone_setting.vq_rtcpxr_display_remote_call_id.enable= +phone_setting.vq_rtcpxr_display_local_call_id.enable= +phone_setting.vq_rtcpxr_display_stop_time.enable= +phone_setting.vq_rtcpxr_display_start_time.enable= +phone_setting.vq_rtcpxr_interval_period= +phone_setting.vq_rtcpxr_delay_threshold_critical= +phone_setting.vq_rtcpxr_delay_threshold_warning= +phone_setting.vq_rtcpxr_moslq_threshold_critical= +phone_setting.vq_rtcpxr_moslq_threshold_warning= +phone_setting.vq_rtcpxr.interval_report.enable= +phone_setting.vq_rtcpxr.states_show_on_gui.enable= +phone_setting.vq_rtcpxr.states_show_on_web.enable= +phone_setting.vq_rtcpxr.session_report.enable= + + +####################################################################################### +## Contact ## +####################################################################################### + +static.directory_setting.url= https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=favorite_setting.xml + +super_search.url= + +local_contact.data.url= +local_contact.data.delete= + +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T46U/T48U Models support the parameter +phone_setting.contact_photo_display.enable= + +phone_setting.incoming_call.horizontal_roll_interval= + +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T5XW Models support the parameter +local_contact.data_photo_tar.url= +local_contact.photo.url= +local_contact.image.url= + +##Only T48G/S Models support the parameter +local_contact.icon_image.url= +local_contact.icon.url= + +search_in_dialing.local_directory.enable = +search_in_dialing.local_directory.priority = + +####################################################################################### +## Remote Phonebook ## +####################################################################################### +##remote_phonebook.data.X.url +##remote_phonebook.data.X.name +#remote_phonebook.data.X.username= +#remote_phonebook.data.X.password= +##(X ranges from 1 to 5) + +{if isset($yealink_remote_phonebook_1_name) } +remote_phonebook.data.1.name = {$yealink_remote_phonebook_1_name} +{else} +remote_phonebook.data.1.name = Users +{/if} +{if isset($yealink_remote_phonebook_1_url) } +remote_phonebook.data.1.url = {$yealink_remote_phonebook_1_url} +{else} +remote_phonebook.data.1.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=users +{/if} + +{if isset($yealink_remote_phonebook_2_name) } +remote_phonebook.data.2.name = {$yealink_remote_phonebook_2_name} +{else} +remote_phonebook.data.2.name = Groups +{/if} +{if isset($yealink_remote_phonebook_2_url) } +remote_phonebook.data.2.url = {$yealink_remote_phonebook_2_url} +{else} +remote_phonebook.data.2.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=groups +{/if} + +{if isset($yealink_remote_phonebook_3_name) } +remote_phonebook.data.3.name = {$yealink_remote_phonebook_3_name} +{else} +remote_phonebook.data.3.name = Extensions +{/if} +{if isset($yealink_remote_phonebook_3_url) } +remote_phonebook.data.3.url = {$yealink_remote_phonebook_3_url} +{else} +remote_phonebook.data.3.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=extensions +{/if} + +remote_phonebook.data.4.name = {$yealink_remote_phonebook_4_name} +remote_phonebook.data.4.url = {$yealink_remote_phonebook_4_url} + +remote_phonebook.data.5.name = {$yealink_remote_phonebook_5_name} +remote_phonebook.data.5.url = {$yealink_remote_phonebook_5_url} + +features.remote_phonebook.enable = {$yealink_remote_phonebook_enable} + +####################################################################################### +## LDAP ## +####################################################################################### +ldap.enable = {$ldap_enable} +ldap.user = {$ldap_user} +ldap.password = {$ldap_password} +ldap.base = {$ldap_base} +ldap.port = {$ldap_port} +ldap.host = {$ldap_host} +ldap.customize_label= +ldap.incoming_call_special_search.enable= +ldap.tls_mode= +ldap.search_type= +ldap.numb_display_mode= +ldap.ldap_sort = {$ldap_sort} +ldap.call_in_lookup = {$ldap_call_in_lookup} +ldap.version = {$ldap_version} +ldap.display_name = {$ldap_display_name} +ldap.numb_attr = {$ldap_numb_attr} +ldap.name_attr = {$ldap_name_attr} +ldap.max_hits = {$ldap_max_hits} +ldap.number_filter = {$ldap_number_filter} +ldap.name_filter = {$ldap_name_filter} +ldap.call_out_lookup = {$ldap_dial_lookup} +directory_setting.ldap.enable = +directory_setting.ldap.priority = +search_in_dialing.ldap.enable = +search_in_dialing.ldap.priority = + +##V84 SP4 ADD +ldap.custom_extra_attr_name= +ldap.display_extra_attr= +ldap.extra_attr= + + + + +####################################################################################### +## History ## +####################################################################################### +static.auto_provision.local_calllog.write_delay.terminated= +static.auto_provision.local_calllog.backup.path= +static.auto_provision.local_calllog.backup.enable= +super_search.recent_call= +features.call_out_history_by_off_hook.enable= +features.save_call_history= +features.call_log_show_num= +search_in_dialing.history.enable= +search_in_dialing.history.priority= +directory_setting.history.enable= +directory_setting.history.priority +features.save_init_num_to_history.enable= +features.redial_via_local_sip_server.enable= + +##V83 Add +features.calllog_detailed_information = + +##V84 Add +features.call_log_merge.enable= + + +####################################################################################### +## Contact Backup ## +####################################################################################### +static.auto_provision.local_contact.backup.path = +static.auto_provision.local_contact.backup.enable= + + +####################################################################################### +## Contact Other ## +####################################################################################### +directory.search_type= +directory_setting.local_directory.enable = +directory_setting.local_directory.priority = + +##V83 Add +phone_setting.search.highlight_keywords.enable = + +####################################################################################### +## Favorites ## +####################################################################################### +##V83 Add +local_contact.favorite.enable = +phone_setting.favorite_sequence_type = + +####################################################################################### +## Programablekey ## +####################################################################################### +#programablekey.X.type +#programablekey.X.line +#programablekey.X.value +#programablekey.X.xml_phonebook +#programablekey.X.history_type +#programablekey.X.label(X ranges from 1 to 4) +#programablekey.X.extension +##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## + +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} + +##V83 Add +programablekey.type_range.custom = + +####################################################################################### +## Linekey ## +####################################################################################### +##linekey.X.line +##linekey.X.value +##linekey.X.extension +##linekey.X.type +##linekey.X.xml_phonebook +##linekey.X.shortlabel +##linekey.X.label +##LineKeyX ranges(T48U/T57W/T48G/S: X ranges from 1 to 29. T53W/T54W/T54S/T46G/T46S/T29G/T46U: X ranges from 1 to 27. T42G/T42S/T41P/T41S/T41U: X ranges from 1 to 15. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T52S/T27P/T27G/T43U: X ranges from 1 to 21. T21(P) E2: X ranges from 1 to 2.)## +## Not support T19P_E2 + +{foreach $keys['line'] as $row} +#Configure Line Key {$row.device_key_id} +linekey.{$row.device_key_id}.line = {$row.device_key_line} +linekey.{$row.device_key_id}.value = {$row.device_key_value} +{if $row.device_key_type == "1" || $row.device_key_type == "16"} +linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension} +{else} +linekey.{$row.device_key_id}.extension = {$row.device_key_extension} +{/if} +linekey.{$row.device_key_id}.type = {$row.device_key_type} +linekey.{$row.device_key_id}.xml_phonebook = +linekey.{$row.device_key_id}.label = {$row.device_key_label} + +{/foreach} + +linekey.type_range.custom = + + +####################################################################################### +## Dsskey ## +####################################################################################### +features.block_linekey_in_menu.enable = +features.shorten_linekey_label.enable = +features.flash_url_dsskey_led.enable = +features.config_dsskey_length = {$yealink_dsskey_length} +phone_setting.page_tip = +features.keep_switch_page_key.enable= + +##phone_setting.idle_dsskey_and_title.transparency(Only support T5XW/T54S/T52S/T48G/T48S/T48U) +phone_setting.idle_dsskey_and_title.transparency= + +##V83 Add +phone_setting.keytype_sequence = +phone_setting.dsskey_label.display_method = +local.dsskey_type_config.mode = + + +####################################################################################### +## Expansion Key ## +####################################################################################### +##expansion_module.X.key.Y.type +##expansion_module.X.key.Y.line +##expansion_module.X.key.Y.value +##expansion_module.X.key.Y.extension +##expansion_module.X.key.Y.label +##expansion_module.X.key.Y.xml_phonebook +## Expansion Key X ranges(SIP-T5XW/T54S/T52S/T43U/T46U/T48U: X ranges from 1 to 3, Y ranges from 1 to 60; SIP-T48G/T48S/T46G/T46S:X ranges from 1 to 6, Y ranges from 1 to 40; SIP-T29G/T27P/T27G:X ranges from 1 to 6, Y ranges from 1 to 20, 22 to 40 (Ext key 21 cannot be configured).)## +## Only SIP-T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T27P/T27G/T43U/T46U/T48U Models support the parameter. + +#expansion_module.1.key.1.type = +#expansion_module.1.key.1.label = +#expansion_module.1.key.1.value = +#expansion_module.1.key.1.line = +#expansion_module.1.key.1.pickup_value = +#expansion_module.1.key.1.extension = +#expansion_module.1.key.1.xml_phonebook = +#expansion_module.page_tip.blf_call_in.led = +#expansion_module.page_tip.blf_call_in.enable = + +{foreach $keys["expansion"] as $row} +expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.1.key.{$row.device_key_id}.xml_phonebook = +{/foreach} +{foreach $keys["expansion-1"] as $row} +expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.1.key.{$row.device_key_id}.xml_phonebook = +{/foreach} +{foreach $keys["expansion-2"] as $row} +expansion_module.2.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.2.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.2.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.2.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.2.key.{$row.device_key_id}.label = {$row.device_key_label} +expansion_module.2.key.{$row.device_key_id}.xml_phonebook = +{/foreach} + + +####################################################################################### +## EDK ## +####################################################################################### +##EDK Soft Keys(X ranges from 1 to 10) + +features.enhanced_dss_keys.enable= +edk.id_mode.enable= +softkey.1.position= +softkey.1.use.dialing= +softkey.1.softkey_id= +softkey.1.use.dialtone= +softkey.1.use.conferenced= +softkey.1.use.held= +softkey.1.use.hold= +softkey.1.use.transfer_ring_back= +softkey.1.use.ring_back= +softkey.1.use.call_failed= +softkey.1.use.on_talk= +softkey.1.use.transfer_connecting= +softkey.1.use.connecting= +softkey.1.use.incoming_call= +softkey.1.use.idle= +softkey.1.action= +softkey.1.label= +softkey.1.enable= +edk.edklist.1.action= +edk.edklist.1.mname= +edk.edklist.1.enable= +edk.edkprompt.1.enable= +edk.edkprompt.1.label= +edk.edkprompt.1.type= +edk.edkprompt.1.userfeedback= + +##V84 Add +##edk.edkprompt.X.title= +(X ranges from 1 to 9) +edk.edkprompt.1.title= + + +####################################################################################### +## XML ## +####################################################################################### +push_xml.server= +push_xml.sip_notify= +push_xml.block_in_calling= +default_input_method.xml_browser_input_screen= + +##V83 Add +hoteling.authentication_mode = +push_xml.phonebook.search.delay = +features.xml_browser.loading_tip.delay = +features.xml_browser.pwd = +features.xml_browser.user_name = +push_xml.password = +push_xml.username = + + +####################################################################################### +## Forward ## +####################################################################################### +features.fwd.allow= +features.fwd_mode= +forward.no_answer.enable= +forward.busy.enable= +forward.always.enable= +forward.no_answer.timeout= +forward.no_answer.on_code= +forward.no_answer.off_code= +forward.busy.off_code= +forward.busy.on_code= +forward.always.off_code= +forward.always.on_code= +forward.no_answer.target= +forward.busy.target= +forward.always.target= + +features.forward.emergency.authorized_number= +features.forward.emergency.enable= +forward.idle_access_always_fwd.enable= +features.forward_call_popup.enable= + +##V83 Add +features.forward.no_answer.show_ring_times = + +##V84 Add +features.no_answer_code= + + +####################################################################################### +## DND ## +####################################################################################### +features.dnd.allow= +features.dnd_mode= +features.dnd.enable= + +features.dnd.off_code = *79 +features.dnd.on_code = *78 + +features.dnd.emergency_authorized_number= +features.dnd.emergency_enable = 1 +features.dnd.large_icon.enable= + +##V83 Add +features.keep_dnd.enable = + +####################################################################################### +## Phone Lock ## +####################################################################################### +phone_setting.phone_lock.enable = {$yealink_lock_enable} +phone_setting.phone_lock.lock_key_type = {$yealink_lock_key_type} +phone_setting.phone_lock.unlock_pin = {$yealink_lock_pin} +phone_setting.emergency.number = {$yealink_emergency_number} +phone_setting.phone_lock.lock_time_out = {$yealink_lock_timeout} + + +####################################################################################### +## Hotdesking ## +####################################################################################### +phone_setting.logon_wizard= +phone_setting.logon_wizard_forever_wait= + +hotdesking.startup_register_name_enable= +hotdesking.startup_username_enable= +hotdesking.startup_password_enable= +hotdesking.startup_sip_server_enable= +hotdesking.startup_outbound_enable= + +hotdesking.dsskey_register_name_enable= +hotdesking.dsskey_username_enable= +hotdesking.dsskey_password_enable= +hotdesking.dsskey_sip_server_enable= +hotdesking.dsskey_outbound_enable= + + +####################################################################################### +## Voice Mail ## +####################################################################################### +features.voice_mail_alert.enable= +features.voice_mail_popup.enable = {$yealink_voice_mail_popup_enable} +features.voice_mail_tone_enable= +features.hide_feature_access_codes.enable = {$yealink_hide_feature_access_codes_enable} + + + +####################################################################################### +## Text Message ## +####################################################################################### +features.text_message.enable= +features.text_message_popup.enable= + + + + + +####################################################################################### +## Audio Intercom ## +####################################################################################### +features.intercom.mode= +features.intercom.subscribe.enable= +features.intercom.led.enable= +features.intercom.feature_access_code= +features.blf.intercom_mode.enable= +features.intercom.ptt_mode.enable= + +features.redial_tone= +features.key_tone= +features.send_key_tone= + +features.intercom.allow= +features.intercom.barge= +features.intercom.tone= +features.intercom.mute= + + +voice.handset_send= +voice.handfree_send = +voice.headset_send = +features.intercom.headset_prior.enable= +features.ringer_device.is_use_headset= +features.intercom.barge_in_dialing.enable= + + + +####################################################################################### +## Feature General ## +####################################################################################### +features.ip_call.auto_answer.enable= +features.show_default_account= +features.call.dialtone_time_out= +features.missed_call_popup.enable = {$yealink_missed_call_popup_enable} +features.auto_answer_tone.enable= +features.play_hold_tone.enable= +features.key_as_send= +features.send_pound_key= +features.busy_tone_delay= +features.hotline_delay= +features.hotline_number= +features.direct_ip_call_enable = {$yealink_direct_ip_call_enable} +features.call_num_filter= +features.call_completion_enable= +features.allow_mute= +features.auto_answer_delay= +features.normal_refuse_code= +features.dnd_refuse_code= +features.upload_server= +features.dtmf.repetition= +features.dtmf.hide_delay= +features.dtmf.hide = {$yealink_dtmf_hide} +features.play_local_dtmf_tone_enable = +features.reboot_in_talk_enable = +features.fwd_diversion_enable= + +call_waiting.enable = {$yealink_call_waiting} +call_waiting.tone = {$yealink_call_waiting_tone} +call_waiting.off_code= +call_waiting.on_code= + +auto_redial.times= +auto_redial.interval= +auto_redial.enable= + +sip.rfc2543_hold = {$yealink_rfc2543_hold} +sip.use_23_as_pound= +forward.international.enable= +phone_setting.headsetkey_mode= +phone_setting.is_deal180= +phone_setting.change_183_to_180= + +##V84 Add +features.touch_tone= + +####################################################################################### +## Action URL&URI ## +####################################################################################### +features.csta_control.enable= +features.action_uri.enable= +features.action_uri_limit_ip= +features.show_action_uri_option= +action_url.call_remote_canceled= +action_url.remote_busy= +action_url.cancel_callout= +action_url.handfree= +action_url.headset= +action_url.unheld= +action_url.held= +action_url.transfer_failed= +action_url.transfer_finished= +action_url.answer_new_incoming_call= +action_url.reject_incoming_call= +action_url.forward_incoming_call= +action_url.ip_change= +action_url.idle_to_busy= +action_url.busy_to_idle= +action_url.call_terminated= +action_url.missed_call= +action_url.unmute= +action_url.mute= +action_url.unhold= +action_url.hold= +action_url.always_fwd_off = +action_url.always_fwd_on = +action_url.attended_transfer_call = +action_url.blind_transfer_call = +action_url.busy_fwd_off = +action_url.busy_fwd_on = +action_url.call_established = +action_url.call_waiting_off = +action_url.call_waiting_on = +action_url.dnd_off = +action_url.dnd_on = +action_url.incoming_call = +action_url.no_answer_fwd_off = +action_url.no_answer_fwd_on = +action_url.off_hook = +action_url.on_hook = +action_url.outgoing_call = +action_url.register_failed = +action_url.registered = +action_url.setup_autop_finish = +action_url.setup_completed = +action_url.transfer_call = +action_url.unregistered = + +##V84 Add +action_url.peripheral_information= + + + +####################################################################################### +## Power LED ## +####################################################################################### +phone_setting.hold_and_held_power_led_flash_enable= +phone_setting.mute_power_led_flash_enable= +phone_setting.talk_and_dial_power_led_enable= +phone_setting.mail_power_led_flash_enable = 1 +phone_setting.ring_power_led_flash_enable= +phone_setting.common_power_led_enable= +phone_setting.missed_call_power_led_flash.enable = {$yealink_missed_call_power_led_flash_enable} + + +####################################################################################### +## Time&Date ## +####################################################################################### +lcl.datetime.date.format = +auto_dst.url = {$yealink_auto_dst_url} +local_time.manual_time_enable = +local_time.manual_ntp_srv_prior = +local_time.time_format = {$yealink_time_format} +local_time.date_format = {$yealink_date_format} +local_time.dhcp_time = {$yealink_dhcp_time} + +local_time.summer_time = {$yealink_summer_time} +local_time.dst_time_type = {$yealink_dst_type} +local_time.start_time = {$yealink_time_zone_start_time} +local_time.end_time = {$yealink_time_zone_end_time} +local_time.offset_time = {$yealink_offset_time} +local_time.interval = {$yealink_time_update} + +local_time.ntp_server1 = {$ntp_server_primary} +local_time.ntp_server2 = {$ntp_server_secondary} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} + + +####################################################################################### +## Multicast Paging ## +####################################################################################### +##multicast.listen_address.X.label +##multicast.paging_address.X.channel +##multicast.listen_address.X.ip_address +##multicast.paging_address.X.ip_address +##multicast.paging_address.X.label +##multicast.listen_address.X.channel +##multicast.listen_address.X.volume +##Multicast(X ranges from 1 to 31.) + +multicast.codec= + +multicast.paging_address.1.channel= +multicast.paging_address.1.label= +multicast.paging_address.1.ip_address= +multicast.receive_priority.enable= +multicast.receive_priority.priority= + +multicast.receive.use_speaker= +multicast.receive.enhance_volume= +multicast.receive.ignore_dnd.priority= + +multicast.listen_address.1.channel= +multicast.listen_address.1.label= +multicast.listen_address.1.ip_address= +multicast.listen_address.1.volume= + + +####################################################################################### +## Preference&Status ## +####################################################################################### +##Not support T19P_E2 +static.features.default_account= + +##Logo File Format: .dob +##Resolution: SIP-T42G/T42S/T41P/T41S/T41U: <=192*64 2 gray scale;SIP-T43U/SIP-T27P/G: <=240*120 2 gray scale;SIP-T40P/T40G/T23P/T23G/T21(P) E2/T19(P) E2: <=132*64 2 gray scale## +phone_setting.lcd_logo.mode= +lcd_logo.delete= +lcd_logo.url= + +phone_setting.contrast= +phone_setting.backlight_time = {$yealink_backlight_time} +phone_setting.inactive_backlight_level = 1 +phone_setting.active_backlight_level= +phone_setting.predial_autodial = 1 + +ringtone.url= {$yealink_ringtone_url} +ringtone.delete= {$yealink_ringtone_delete} +phone_setting.ring_type= {$yealink_ring_type} +phone_setting.inter_digit_time= {$yealink_inter_digit_time} + +##Only T54S Model supports the parameter +phone_setting.idle_clock_display.enable = + +####################################################################################### +## Digitmap ## +####################################################################################### +dialplan.digitmap.enable= +dialplan.digitmap.string= +dialplan.digitmap.no_match_action= +dialplan.digitmap.interdigit_short_timer= +dialplan.digitmap.interdigit_long_timer= +dialplan.digitmap.apply_to.press_send= +dialplan.digitmap.apply_to.forward= +dialplan.digitmap.apply_to.history_dial= +dialplan.digitmap.apply_to.directory_dial= +dialplan.digitmap.apply_to.on_hook_dial= +dialplan.digitmap.active.on_hook_dialing= + +##V83 Add +dialplan.digitmap.apply_to.prefix_key = + +##V84 ADD +features.local_calllog.received.replace_rule= + + + + +####################################################################################### +## Emergency Dialplan ## +####################################################################################### +dialplan.emergency.enable= +dialplan.emergency.1.value= +dialplan.emergency.server.1.address= +dialplan.emergency.server.1.transport_type= +dialplan.emergency.server.1.port= +dialplan.emergency.1.server_priority= +dialplan.emergency.custom_asserted_id= +dialplan.emergency.asserted_id_source= +dialplan.emergency.asserted_id.sip_account= +dialplan.emergency.held.request_element.1.name= +dialplan.emergency.held.request_element.1.value= +dialplan.emergency.held.request_type= +dialplan.emergency.held.server_url= + + + +####################################################################################### +## Dialplan ## +####################################################################################### +dialplan_replace_rule.url= +dialplan.replace.line_id.1= +dialplan.replace.replace.1= +dialplan.replace.prefix.1= +phone_setting.dialnow_delay= +dialplan_dialnow.url= +dialplan.dialnow.line_id.1= +dialplan.dialnow.rule.1 = {$yealink_dialplan_dialnow_rule_1} +dialplan.block_out.line_id.1= +dialplan.block_out.number.1= +dialplan.area_code.line_id = +dialplan.area_code.max_len = 15 +dialplan.area_code.min_len = 1 +dialplan.area_code.code= + +####################################################################################### +## Rings Settings ## +####################################################################################### +distinctive_ring_tones.alert_info.1.ringer= {$yealink_ring_file_1} +distinctive_ring_tones.alert_info.1.text= {$yealink_ring_text_1} + +####################################################################################### +## IME Settings ## +####################################################################################### +directory.search_default_input_method= +directory.edit_default_input_method= +gui_input_method.url= + +##V83 Add +##Only T48G/T48S Models support the parameter +phone_setting.virtual_keyboard.enable = + +####################################################################################### +## Language Settings ## +####################################################################################### +wui_lang.url= +wui_lang_note.url= +wui_lang.delete= +gui_input_method.delete= +gui_lang.url= +gui_lang.delete= +lang.gui= {$yealink_language_gui} +lang.wui= + + +####################################################################################### +## Screensaver ## +####################################################################################### +screensaver.type= +screensaver.delete= +screensaver.upload_url= +features.blf_active_backlight.enable= +screensaver.display_clock.enable= +screensaver.clock_move_interval= +screensaver.picture_change_interval= +screensaver.wait_time= +screensaver.xml_browser.url= + + + +####################################################################################### +## Power Saving ## +####################################################################################### +features.power_saving.enable= +features.power_saving.power_led_flash.on_time= +features.power_saving.power_led_flash.off_time= +features.power_saving.office_hour.monday= +features.power_saving.office_hour.tuesday= +features.power_saving.office_hour.wednesday= +features.power_saving.office_hour.thursday= +features.power_saving.office_hour.friday= +features.power_saving.office_hour.saturday= +features.power_saving.office_hour.sunday = +features.power_saving.user_input_ext.idle_timeout= +features.power_saving.off_hour.idle_timeout= +features.power_saving.office_hour.idle_timeout= +features.power_saving.intelligent_mode= + + +####################################################################################### +## Backgrounds Settings ## +####################################################################################### +##File Formate: +##SIP-T57W/T54W/T54S/T52S/T48S/T48G/T46G/T46S/T29G/T46U/T48U: .jpg/.png/.bmp/.jpeg; +##Resolution: +##SIP-T57W/T48S/T48G/T48U/T46U:<=2.0 megapixels; +##for SIP-T54W/T46G/T46S/T29G: <=1.8 megapixels;SIP-T54S/T52S:<=4.2 megapixels; +##Single File Size: <=5MB +##2MB of space should bereserved for the phone + +wallpaper_upload.url = {$yealink_t43u_wallpaper} +{if isset($yealink_t43u_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t43u_wallpaper_filename} +{else} +phone_setting.backgrounds = Config:yealink_t43u_wallpaper.png +{/if} + +## phone_setting.backgrounds_with_dsskey_unfold(Only support T48U/T48G/S) +phone_setting.backgrounds_with_dsskey_unfold= + +##expansion_module.backgrounds(Only support T5XW/T54S/T52S/T43U/T46U/T48U) +expansion_module.backgrounds= + + +####################################################################################### +## BSFT Setting ## +####################################################################################### +bw.enable = + + +####################################################################################### +## BLF/BLF List ## +####################################################################################### +phone_setting.auto_blf_list_enable = 1 +phone_setting.blf_list_sequence_type = 1 + +blf.enhanced.parked.enable= +blf.enhanced.parked.led = +blf.enhanced.parked.talking.action = +blf.enhanced.parked.callin.action = +blf.enhanced.parked.idle.action = + +blf.enhanced.talking.enable= +blf.enhanced.talking.led= +blf.enhanced.talking.talking.action = +blf.enhanced.talking.callin.action = +blf.enhanced.talking.idle.action = + +blf.enhanced.callout.enable = +blf.enhanced.callout.led= +blf.enhanced.callout.talking.action = +blf.enhanced.callout.callin.action = +blf.enhanced.callout.idle.action = + +blf.enhanced.callin.enable = +blf.enhanced.callin.led= +blf.enhanced.callin.talking.action = +blf.enhanced.callin.callin.action= +blf.enhanced.callin.idle.action= + +blf.enhanced.idle.enable = 0 +blf.enhanced.idle.led= +blf.enhanced.idle.talking.action= +blf.enhanced.idle.callin.action= +blf.enhanced.idle.idle.action= + +features.blf_list_version = 0 +sip.sub_refresh_random= +sip.terminate_notify_sub_delay_time= + +features.blf_led_mode = {$yealink_blf_led_mode} +features.blf_pickup_only_send_code= + +##V84 Add +blf.enhanced.dnd.enable= +blf.enhanced.dnd.led= +blf.enhanced.hold.enable= +blf.enhanced.hold.led= + +features.blf.show_callinfo.enable= + +##V84 SP4 ADD +blf.normal_barge_in_code= +blf.whisper_barge_in_code= +blf.listen_barge_in_code= + + +####################################################################################### +## SCA ## +####################################################################################### +features.auto_release_bla_line= +features.barge_in_via_username.enable= + + + +####################################################################################### +## Call Park ## +####################################################################################### +features.call_park.enable= +features.call_park.park_mode= +features.call_park.park_code= +features.call_park.park_retrieve_code= +features.call_park.direct_send.enable= +features.call_park.park_visual_notify_enable= +features.call_park.park_ring= +features.call_park.group_enable= +features.call_park.group_park_code= +sip.call_park_without_blf= +features.call_park.line_restriction.enable= + + +####################################################################################### +## Broadsoft ACD ## +####################################################################################### +acd.enable= +acd.auto_available_timer= + + + + +####################################################################################### +## Broadsoft XSI ## +####################################################################################### +bw.xsi.enable= +sip.authentication_for_xsi = +default_input_method.xsi_password= + + +####################################################################################### +## Broadsoft Network Directory ## +####################################################################################### +bw.xsi.directory.enable= +bw.calllog_and_dir = +bw.xsi.call_log.enable= +bw_phonebook.custom= +bw_phonebook.enterprise_common_enable= +bw_phonebook.enterprise_common_displayname= +bw_phonebook.enterprise_enable= +bw_phonebook.enterprise_displayname= +bw_phonebook.group_common_enable= +bw_phonebook.group_common_displayname= +bw_phonebook.personal_enable= +bw_phonebook.personal_displayname= +bw_phonebook.group_enable= +bw_phonebook.group_displayname = +directory.update_time_interval= +bw.xsi.directory.alphabetized_by_lastname.enable= +directory_setting.bw_directory.enable = +directory_setting.bw_directory.priority = +search_in_dialing.bw_directory.enable = +search_in_dialing.bw_directory.priority = +##V83 Add +bw.xsi.directory.update.enable = + +####################################################################################### +## Broadsoft Network Calllog ## +####################################################################################### +##V83 Add +bw.xsi.call_log.delete.enable = +bw.xsi.call_log.multiple_accounts.enable = +phone_setting.ring_duration = + + +####################################################################################### +## Call Pickup ## +####################################################################################### +features.pickup.direct_pickup_enable = {$yealink_direct_pickup_enable} +features.pickup.group_pickup_enable = +features.pickup.direct_pickup_code = ** +features.pickup.group_pickup_code = +features.pickup.blf_audio_enable = +features.pickup.blf_visual_enable = +features.pickup_display.method = + +##V84 Add +features.pickup.blf_audio.list= +features.pickup.blf_visual.list= + + +####################################################################################### +## Alert Info ## +####################################################################################### +features.alert_info_tone = + + +####################################################################################### +## Broadsoft Visual Voice Mail ## +####################################################################################### +bw.voice_mail.visual.enable= +voice_mail.message_key.mode= +bw.voice_mail.visual.display_videomail.enable= + + + +####################################################################################### +## Broadsoft Call Recording ## +####################################################################################### +bw.call_recording.mode = + + +####################################################################################### +## Broadsoft Call Decline ## +####################################################################################### +features.call_decline.enable = + + +####################################################################################### +## BLF Ring Type ## +####################################################################################### +features.blf.ring_type = + + + +####################################################################################### +## Features Sync ## +####################################################################################### +features.feature_key_sync.enable = {$yealink_feature_key_sync} +features.forward.feature_key_sync.local_processing.enable = +features.forward.feature_key_sync.enable = +features.dnd.feature_key_sync.local_processing.enable = +features.dnd.feature_key_sync.enable = +call_waiting.mode = + + +####################################################################################### +## Broadsoft UC ## +####################################################################################### +##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T29G/T46U/T48U Models support the parameter +bw.xmpp.enable = +features.uc_password = +features.uc_username = +bw.xmpp.presence_icon.mode = +bw.xmpp.change_presence.force_manual.enable = +bw.xmpp.change_presence.enable = +phone_setting.dsskey_directory_auto.enable = +features.uc_dir.match_tail_number= +directory_setting.bw_uc_buddies.enable = +directory_setting.bw_uc_buddies.priority = +search_in_dialing.bw_uc_buddies.enable = +search_in_dialing.bw_uc_buddies.priority = + +##V83 Add +phone_setting.uc_favorite_sequence_type = + +####################################################################################### +## Broadsoft Emergency Call ## +####################################################################################### +##V83 Add +bw.emergency_calling.enable = + + + +####################################################################################### +## Metaswitch Setting ## +####################################################################################### +meta.enable = +meta.login_mode = +meta.comm_portal.server.username = +meta.comm_portal.server.password = +meta.comm_portal.server.url = +meta.comm_portal.enable = +meta.comm_portal.contacts.update_interval = +meta.comm_portal.acd.enable= +meta.comm_portal.replace_local_call_list.enable= +meta.comm_portal.contacts.group.mlhgs.label= +meta.comm_portal.contacts.group.extensions.label= +meta.comm_portal.contacts.group.contacts.label= +meta.comm_portal.contacts.group.mlhgs.enable= +meta.comm_portal.contacts.group.extensions.enable= +meta.comm_portal.contacts.group.contacts.enable= +meta.comm_portal.call_list.enable= +meta.comm_portal.contacts.enable= +meta.comm_portal.message.enable= +meta.comm_portal.logout.enable = +meta.comm_portal.keep_alive_interval_time = + +##V83 Add +directory_setting.meta_directory.enable= +directory_setting.meta_directory.priority= +directory_setting.meta_call_log.enable= +directory_setting.meta_call_log.priority= +search_in_dialing.meta_call_log.priority = +search_in_dialing.meta_call_log.enable = +search_in_dialing.meta_directory.priority = +search_in_dialing.meta_directory.enable = + + + +####################################################################################### +## Genbend Setting ## +####################################################################################### +gb.sopi.enable= +gb.sopi.gab.enable= +gb.sopi.pab.enable= +features.pab.soupuser= +features.pab.enable= +gb.sopi.pab.match_in_calling.enable= +gb.sopi.gab.retain_search_filter= +gb.sopi.service_url= +gb.sopi.password= +gb.sopi.username= +directory_setting.gb_gab_directory.priority = +directory_setting.gb_gab_directory.enable = +directory_setting.gb_pab_directory.enable = +directory_setting.gb_pab_directory.priority = +search_in_dialing.gb_pab_directory.priority = +search_in_dialing.gb_pab_directory.enable = + + +####################################################################################### +## Loopback Call ## +####################################################################################### +##V83 Add +sip.loopback.enable = +sip.loopback_type = +sip.pkt_loopback_mode +sip.loopback.auto_answer.mode = +sip.pkt_loopback_encapsulated_payload = +sip.pkt_loopback_directed_payload = + + +####################################################################################### +## V84 add ## +####################################################################################### +google_contact_server.enable= + +static.features.network_test.check_policy= +static.features.network_test.enable= +static.features.network_test.host= +static.features.network_test.period= +static.features.network_unavailable_test.period= + +phone_setting.warnings_display.mode= + +bw.flexible_seating.remember_password.ldap.enable= + +vcaccount.enable= + +####################################################################################### +## V84 T5XW add VPM-Acoustic Shield ## +####################################################################################### +features.acoustic_shield.level = +features.acoustic_shield.mode = + + + +####################################################################################### +## V84 SP4 add ## +####################################################################################### + +phone_setting.search_t9.enable = +phone_setting.mail_power_led_flash_enable = +ldap.anonymous_bind_operation.enable = +google_contact_server.display_mode = +gb.presence.line = +gb.presence.enable = +gb.emergency_instant_messages.enable = +gb.emergency_instant_messages.displaytimeout = +features.transfer_keep_session2_after_failed.enable= +features.intercom.mode = +features.emergency_instant_messages.ring_type = +features.dtmf.transfer = +features.dtmf.replace_tran = +features.call_park.performby_holdhardkey.enable = +features.blf_extension.mode = +features.auto_answer.ring_type = +directory_setting.presence_list.priority = +directory_setting.presence_list.enable = +dialplan.transfer.mode = +dialplan.emergency.held.secondary.server_url = +custom.features.dsskey_lock_type = +blf.enhanced.dnd.led = +blf.enhanced.dnd.enable = +auto_provision.pnp_check_url.enable = + +acd.logout_fixed_display.enable= +acd.available_fixed_display.enable = +acd.disp_code_fixed_display.enable = +acd.trace_fixed_display.enable = + +features.parked_call_monitor.blf_visual_enable= +features.parked_call_monitor.blf_audio_enable= +features.parked_call_monitor.blf.ring_type= + From b7f13ae0b7453b8682ee52927f106572ac66cb01 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 12 Nov 2020 10:31:51 -0500 Subject: [PATCH 184/677] Create y000000000000.boot --- resources/templates/provision/yealink/y000000000000.boot | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 resources/templates/provision/yealink/y000000000000.boot diff --git a/resources/templates/provision/yealink/y000000000000.boot b/resources/templates/provision/yealink/y000000000000.boot new file mode 100644 index 0000000000..f937e7d73d --- /dev/null +++ b/resources/templates/provision/yealink/y000000000000.boot @@ -0,0 +1,7 @@ +#!version:1.0.0.1 +## The header above must appear as-is in the first line + +include:config "y000000000108.cfg" +include:config "{$mac}.cfg" + +overwrite_mode = {$yealink_overwrite_mode} From d84b5da9090881311b0361fbfc1fe6e0d52496d3 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 12 Nov 2020 10:33:13 -0500 Subject: [PATCH 185/677] Create favorite_setting.xml --- .../templates/provision/yealink/favorite_setting.xml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 resources/templates/provision/yealink/favorite_setting.xml diff --git a/resources/templates/provision/yealink/favorite_setting.xml b/resources/templates/provision/yealink/favorite_setting.xml new file mode 100644 index 0000000000..ba7275358e --- /dev/null +++ b/resources/templates/provision/yealink/favorite_setting.xml @@ -0,0 +1,8 @@ + + + + + + + + From 84bbe689c24bd41f0f03bd2e7d3251102490a5b3 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 12 Nov 2020 10:34:13 -0500 Subject: [PATCH 186/677] Create directory.xml --- .../templates/provision/yealink/directory.xml | 83 +++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 resources/templates/provision/yealink/directory.xml diff --git a/resources/templates/provision/yealink/directory.xml b/resources/templates/provision/yealink/directory.xml new file mode 100644 index 0000000000..297b9e4108 --- /dev/null +++ b/resources/templates/provision/yealink/directory.xml @@ -0,0 +1,83 @@ + +{foreach $contacts as $row} +{if $smarty.get.contacts == "users" && $row.category == "users"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} +{$row.effective_caller_id_name} +{/if} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} + +{elseif $smarty.get.contacts == "groups" && $row.category == "groups"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} + {$row.effective_caller_id_name} +{/if} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} + +{elseif $smarty.get.contacts == "extensions" && $row.category == "extensions"} + +{if $row.contact_name_given != ""} + {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.effective_caller_id_name} +{/if} +{if $row.phone_number != ""} + {$row.phone_number} +{else} + {$row.phone_extension} +{/if} + +{elseif $smarty.get.contacts == "all"} + +{if $row.contact_name_given != ""} +{if $row.contact_organization != ""} + {$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family} +{else} + {$row.contact_name_given} {$row.contact_name_family} +{/if} +{else} + {$row.effective_caller_id_name} +{/if} +{if $row.category == "extensions"} +{if $row.phone_number != ""} + {$row.phone_number} +{else} + {$row.phone_extension} +{/if} +{else} +{foreach $row.numbers as $number} +{if $number.phone_number != ""} + {$number.phone_number} +{else} + {$number.phone_extension} +{/if} +{/foreach} +{/if} + +{/if} +{/foreach} + From a730cad9f1d6b1d25eb92a066adfa9248f11c98a Mon Sep 17 00:00:00 2001 From: mbarvoipdrs <71390678+mbarvoipdrs@users.noreply.github.com> Date: Thu, 12 Nov 2020 13:18:16 -0500 Subject: [PATCH 187/677] Update {$mac}.cfg Added SCA for lines 1-8 Added voicemail for lines 1-4 and corrected for 5-8 --- .../provision/yealink/w60b/{$mac}.cfg | 26 ++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/resources/templates/provision/yealink/w60b/{$mac}.cfg b/resources/templates/provision/yealink/w60b/{$mac}.cfg index afa8352483..7d7f9de8b0 100644 --- a/resources/templates/provision/yealink/w60b/{$mac}.cfg +++ b/resources/templates/provision/yealink/w60b/{$mac}.cfg @@ -284,6 +284,8 @@ account.1.dnd.enable = account.1.sip_trust_ctrl = 1 +voice_mail.number.1 = {$voicemail_number} + ####################################################################################### ## Account 2 Settings ## ####################################################################################### @@ -520,6 +522,8 @@ account.2.dnd.enable = account.2.sip_trust_ctrl = 1 +voice_mail.number.2 = {$voicemail_number} + ####################################################################################### ## Account 3 Settings ## ####################################################################################### @@ -756,6 +760,8 @@ account.3.dnd.enable = account.3.sip_trust_ctrl = 1 +voice_mail.number.3 = {$voicemail_number} + ####################################################################################### ## Account 4 Settings ## ####################################################################################### @@ -992,6 +998,8 @@ account.4.dnd.enable = account.4.sip_trust_ctrl = 1 +voice_mail.number.4 = {$voicemail_number} + ####################################################################################### ## Account 5 Settings ## ####################################################################################### @@ -1228,7 +1236,7 @@ account.5.dnd.enable = account.5.sip_trust_ctrl = 1 -voice_mail.number.1 = {$voicemail_number} +voice_mail.number.5 = {$voicemail_number} ####################################################################################### ## Network ## @@ -1742,7 +1750,7 @@ account.7.dnd.enable = account.7.sip_trust_ctrl = 1 -voice_mail.number.1 = {$voicemail_number} +voice_mail.number.7 = {$voicemail_number} ####################################################################################### ## Network ## @@ -1999,7 +2007,7 @@ account.8.dnd.enable = account.8.sip_trust_ctrl = 1 -voice_mail.number.1 = {$voicemail_number} +voice_mail.number.8 = {$voicemail_number} ####################################################################################### ## Network ## @@ -2019,3 +2027,15 @@ network.internet_port.gateway = {if isset($dns_server_secondary)}network.secondary_dns = {$dns_server_secondary}{/if}{""} {if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if}{""} + +####################################################################################### +## SCA ## +####################################################################################### +account.1.shared_line= {$shared_line_1} +account.2.shared_line= {$shared_line_2} +account.3.shared_line= {$shared_line_3} +account.4.shared_line= {$shared_line_4} +account.5.shared_line= {$shared_line_5} +account.6.shared_line= {$shared_line_6} +account.7.shared_line= {$shared_line_7} +account.8.shared_line= {$shared_line_8} From 573f1872fcb020b14a64ec49d256c1907336ea85 Mon Sep 17 00:00:00 2001 From: mbarvoipdrs <71390678+mbarvoipdrs@users.noreply.github.com> Date: Thu, 12 Nov 2020 14:14:14 -0500 Subject: [PATCH 188/677] Update {$mac}.cfg Update to W60B: Added: SCA Voicemail for all Lines Added if then else for ext@domain when the primary server is set for that extension on all lines. --- .../provision/yealink/w60b/{$mac}.cfg | 84 ++++++++++++++++--- 1 file changed, 74 insertions(+), 10 deletions(-) diff --git a/resources/templates/provision/yealink/w60b/{$mac}.cfg b/resources/templates/provision/yealink/w60b/{$mac}.cfg index 7d7f9de8b0..717f851bb2 100644 --- a/resources/templates/provision/yealink/w60b/{$mac}.cfg +++ b/resources/templates/provision/yealink/w60b/{$mac}.cfg @@ -12,10 +12,17 @@ account.1.enable = {if isset($account.1.password)}1{else}0{/if}{""} account.1.label = {$account.1.display_name} account.1.display_name = {$account.1.display_name} + +{if isset($account.1.server.1.address)} +account.1.user_name = {$account.1.user_id}@{$account.1.server_address} +{else} account.1.user_name = {$account.1.user_id} +{/if} +{if isset($account.1.server.1.address)} account.1.sip_server.1.address= {$account.1.server.1.address} {else} account.1.sip_server.1.address= {$account.1.server_address} {/if} + account.1.auth_name = {$account.1.user_id} account.1.password = {$account.1.password} -account.1.sip_server_host = {$account.1.server_address} + account.1.sip_server_port = {$account.1.sip_port} account.1.transport = {if $account.1.sip_transport == 'udp'}0{/if}{if $account.1.sip_transport == 'tcp'}1{/if}{if $account.1.sip_transport == 'tls'}2{/if}{if $account.1.sip_transport == 'dns srv'}3{/if}{""} @@ -295,10 +302,18 @@ account.2.enable = {if isset($account.2.password) }1{else}0{/if}{""} account.2.label = {$account.2.display_name} account.2.display_name = {$account.2.display_name} + +{if isset($account.2.server.1.address)} +account.2.user_name = {$account.2.user_id}@{$account.2.server_address} +{else} account.2.user_name = {$account.2.user_id} +{/if} + account.2.auth_name = {$account.2.user_id} account.2.password = {$account.2.password} -account.2.sip_server_host = {$account.2.server_address} + +{if isset($account.2.server.1.address)} account.2.sip_server.1.address= {$account.2.server.1.address} {else} account.2.sip_server.1.address= {$account.2.server_address} {/if} + account.2.sip_server_port = {$account.2.sip_port} account.2.transport = {if $account.2.sip_transport == 'udp'}0{/if}{if $account.2.sip_transport == 'tcp'}1{/if}{if $account.2.sip_transport == 'tls'}2{/if}{if $account.2.sip_transport == 'dns srv'}3{/if}{""} @@ -533,10 +548,18 @@ account.3.enable = {if isset($account.3.password) }1{else}0{/if}{""} account.3.label = {$account.3.display_name} account.3.display_name = {$account.3.display_name} + +{if isset($account.3.server.1.address)} +account.3.user_name = {$account.3.user_id}@{$account.3.server_address} +{else} account.3.user_name = {$account.3.user_id} +{/if} + account.3.auth_name = {$account.3.user_id} account.3.password = {$account.3.password} -account.3.sip_server_host = {$account.3.server_address} + +{if isset($account.3.server.1.address)} account.3.sip_server.1.address= {$account.3.server.1.address} {else} account.3.sip_server.1.address= {$account.3.server_address} {/if} + account.3.sip_server_port = {$account.3.sip_port} account.3.transport = {if $account.3.sip_transport == 'udp'}0{/if}{if $account.3.sip_transport == 'tcp'}1{/if}{if $account.3.sip_transport == 'tls'}2{/if}{if $account.3.sip_transport == 'dns srv'}3{/if}{""} @@ -771,10 +794,18 @@ account.4.enable = {if isset($account.4.password) }1{else}0{/if}{""} account.4.label = {$account.4.display_name} account.4.display_name = {$account.4.display_name} + +{if isset($account.4.server.1.address)} +account.4.user_name = {$account.4.user_id}@{$account.4.server_address} +{else} account.4.user_name = {$account.4.user_id} +{/if} + account.4.auth_name = {$account.4.user_id} account.4.password = {$account.4.password} -account.4.sip_server_host = {$account.4.server_address} + +{if isset($account.4.server.1.address)} account.4.sip_server.1.address= {$account.4.server.1.address} {else} account.4.sip_server.1.address= {$account.4.server_address} {/if} + account.4.sip_server_port = {$account.4.sip_port} account.4.transport = {if $account.4.sip_transport == 'udp'}0{/if}{if $account.4.sip_transport == 'tcp'}1{/if}{if $account.4.sip_transport == 'tls'}2{/if}{if $account.4.sip_transport == 'dns srv'}3{/if}{""} @@ -1009,10 +1040,18 @@ account.5.enable = {if isset($account.5.password) }1{else}0{/if}{""} account.5.label = {$account.5.display_name} account.5.display_name = {$account.5.display_name} + +{if isset($account.5.server.1.address)} +account.5.user_name = {$account.5.user_id}@{$account.5.server_address} +{else} account.5.user_name = {$account.5.user_id} +{/if} + account.5.auth_name = {$account.5.user_id} account.5.password = {$account.5.password} -account.5.sip_server_host = {$account.5.server_address} + +{if isset($account.5.server.1.address)} account.5.sip_server.1.address= {$account.5.server.1.address} {else} account.5.sip_server.1.address= {$account.5.server_address} {/if} + account.5.sip_server_port = {$account.5.sip_port} account.5.transport = {if $account.5.sip_transport == 'udp'}0{/if}{if $account.5.sip_transport == 'tcp'}1{/if}{if $account.5.sip_transport == 'tls'}2{/if}{if $account.5.sip_transport == 'dns srv'}3{/if}{""} @@ -1266,10 +1305,18 @@ account.6.enable = {if isset($account.6.password) }1{else}0{/if}{""} account.6.label = {$account.6.display_name} account.6.display_name = {$account.6.display_name} + +{if isset($account.6.server.1.address)} +account.6.user_name = {$account.6.user_id}@{$account.6.server_address} +{else} account.6.user_name = {$account.6.user_id} +{/if} + account.6.auth_name = {$account.6.user_id} account.6.password = {$account.6.password} -account.6.sip_server_host = {$account.6.server_address} + +{if isset($account.6.server.1.address)} account.6.sip_server.1.address= {$account.6.server.1.address} {else} account.6.sip_server.1.address= {$account.6.server_address} {/if} + account.6.sip_server_port = {$account.6.sip_port} account.6.transport = {if $account.6.sip_transport == 'udp'}0{/if}{if $account.6.sip_transport == 'tcp'}1{/if}{if $account.6.sip_transport == 'tls'}2{/if}{if $account.6.sip_transport == 'dns srv'}3{/if}{""} a @@ -1493,7 +1540,7 @@ account.6.dnd.enable = account.6.sip_trust_ctrl = 1 -voice_mail.number.1 = {$voicemail_number} +voice_mail.number.6 = {$voicemail_number} ####################################################################################### ## Network ## @@ -1523,10 +1570,18 @@ account.7.enable = {if isset($account.7.user_password) }1{else}0{/if}{""} account.7.label = {$account.7.display_name} account.7.display_name = {$account.7.display_name} + +{if isset($account.7.server.1.address)} +account.7.user_name = {$account.7.user_id}@{$account.7.server_address} +{else} account.7.user_name = {$account.7.user_id} +{/if} + account.7.auth_name = {$account.7.user_id} account.7.password = {$account.7.user_password} -account.7.sip_server_host = {$account.7.server_address} + +{if isset($account.7.server.1.address)} account.7.sip_server.1.address= {$account.7.server.1.address} {else} account.7.sip_server.1.address= {$account.7.server_address} {/if} + account.7.sip_server_port = {$account.7.sip_port} account.7.transport = {if $account.7.sip_transport == 'udp'}0{/if}{if $account.7.sip_transport == 'tcp'}1{/if}{if $account.7.sip_transport == 'tls'}2{/if}{if $account.7.sip_transport == 'dns srv'}3{/if}{""} @@ -1750,7 +1805,7 @@ account.7.dnd.enable = account.7.sip_trust_ctrl = 1 -voice_mail.number.7 = {$voicemail_number} +voice_mail.number.7= {$voicemail_number} ####################################################################################### ## Network ## @@ -1780,10 +1835,18 @@ account.8.enable = {if isset($account.8.user_password) }1{else}0{/if}{""} account.8.label = {$account.8.display_name} account.8.display_name = {$account.8.display_name} + +{if isset($account.8.server.1.address)} +account.8.user_name = {$account.8.user_id}@{$account.8.server_address} +{else} account.8.user_name = {$account.8.user_id} +{/if} + account.8.auth_name = {$account.8.user_id} account.8.password = {$account.8.user_password} -account.8.sip_server_host = {$account.8.server_address} + +{if isset($account.8.server.1.address)} account.8.sip_server.1.address= {$account.8.server.1.address} {else} account.8.sip_server.1.address= {$account.8.server_address} {/if} + account.8.sip_server_port = {$account.8.sip_port} account.8.transport = {if $account.8.sip_transport == 'udp'}0{/if}{if $account.8.sip_transport == 'tcp'}1{/if}{if $account.8.sip_transport == 'tls'}2{/if}{if $account.8.sip_transport == 'dns srv'}3{/if}{""} @@ -2028,6 +2091,7 @@ network.internet_port.gateway = {if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if}{""} + ####################################################################################### ## SCA ## ####################################################################################### From 7c8a63b41d57665f2139da512f4fa94939068bbe Mon Sep 17 00:00:00 2001 From: mbarvoipdrs <71390678+mbarvoipdrs@users.noreply.github.com> Date: Thu, 12 Nov 2020 14:53:13 -0500 Subject: [PATCH 189/677] Update y000000000077.cfg Added firmware line for the W59R handset: over_the_air.url.w59r = {$yealink_firmware_url}/{$yealink_w59r_handset_firmware_url} --- resources/templates/provision/yealink/w60b/y000000000077.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/templates/provision/yealink/w60b/y000000000077.cfg b/resources/templates/provision/yealink/w60b/y000000000077.cfg index 5c8a92c78f..7d8efabc9d 100644 --- a/resources/templates/provision/yealink/w60b/y000000000077.cfg +++ b/resources/templates/provision/yealink/w60b/y000000000077.cfg @@ -338,6 +338,7 @@ firmware.url = {$yealink_firmware_url}/{$yealink_firmware_w60b} ####################################################################################### over_the_air.url = {$yealink_firmware_url}/{$yealink_w56h_handset_firmware_url} +over_the_air.url.w59r = {$yealink_firmware_url}/{$yealink_w59r_handset_firmware_url} over_the_air.base_trigger = 1 over_the_air.handset_tip = 1 From b4604c08ba73a80673e42ca29452823c1d8b4681 Mon Sep 17 00:00:00 2001 From: mbarvoipdrs <71390678+mbarvoipdrs@users.noreply.github.com> Date: Thu, 12 Nov 2020 15:53:07 -0500 Subject: [PATCH 190/677] Update {$mac}.cfg added if a primary server is set for lines 1-10 the username will be ext@domain --- .../provision/yealink/t54w/{$mac}.cfg | 32 ++++++++++++------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/resources/templates/provision/yealink/t54w/{$mac}.cfg b/resources/templates/provision/yealink/t54w/{$mac}.cfg index 73196af299..6fb8acb807 100644 --- a/resources/templates/provision/yealink/t54w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t54w/{$mac}.cfg @@ -124,6 +124,7 @@ account.1.user_name = {$account.1.user_id} {/if} {if isset($account.1.server.1.address)} account.1.sip_server.1.address= {$account.1.server.1.address} {else} account.1.sip_server.1.address= {$account.1.server_address} {/if} + account.1.sip_server.1.port= {$account.1.sip_port} @@ -199,7 +200,7 @@ account.1.ptime= 20 account.1.register_line= account.1.register_mac= account.1.reg_fail_retry_interval= -account.1.unregister_on_reboot= +account.1.unregister_on_reboot=1 account.1.session_timer.refresher= account.1.session_timer.expires= @@ -662,7 +663,8 @@ account.2.user_name = {$account.2.user_id}@{$account.2.server_address} account.2.user_name = {$account.2.user_id} {/if} -account.2.sip_server.1.address= {$account.2.server_address} +{if isset($account.2.server.1.address)} account.2.sip_server.1.address= {$account.2.server.1.address} {else} account.2.sip_server.1.address= {$account.2.server_address} {/if} + account.2.sip_server.1.port= {$account.2.sip_port} @@ -738,7 +740,7 @@ account.2.ptime= 20 account.2.register_line= account.2.register_mac= account.2.reg_fail_retry_interval= -account.2.unregister_on_reboot= +account.2.unregister_on_reboot=1 account.2.session_timer.refresher= account.2.session_timer.expires= @@ -1189,7 +1191,8 @@ account.3.user_name = {$account.3.user_id}@{$account.3.server_address} account.3.user_name = {$account.3.user_id} {/if} -account.3.sip_server.1.address= {$account.3.server_address} +{if isset($account.3.server.1.address)} account.3.sip_server.1.address= {$account.3.server.1.address} {else} account.3.sip_server.1.address= {$account.3.server_address} {/if} + account.3.sip_server.1.port= {$account.3.sip_port} @@ -1716,7 +1719,8 @@ account.4.user_name = {$account.4.user_id}@{$account.4.server_address} account.4.user_name = {$account.4.user_id} {/if} -account.4.sip_server.1.address= {$account.4.server_address} +{if isset($account.4.server.1.address)} account.4.sip_server.1.address= {$account.4.server.1.address} {else} account.4.sip_server.1.address= {$account.4.server_address} {/if} + account.4.sip_server.1.port= {$account.4.sip_port} @@ -2242,7 +2246,8 @@ account.5.user_name = {$account.5.user_id}@{$account.5.server_address} account.5.user_name = {$account.5.user_id} {/if} -account.5.sip_server.1.address= {$account.5.server_address} +{if isset($account.5.server.1.address)} account.5.sip_server.1.address= {$account.5.server.1.address} {else} account.5.sip_server.1.address= {$account.5.server_address} {/if} + account.5.sip_server.1.port= {$account.5.sip_port} @@ -2782,7 +2787,8 @@ account.6.user_name = {$account.6.user_id}@{$account.6.server_address} account.6.user_name = {$account.6.user_id} {/if} -account.6.sip_server.1.address= {$account.6.server_address} +{if isset($account.6.server.1.address)} account.6.sip_server.1.address= {$account.6.server.1.address} {else} account.6.sip_server.1.address= {$account.6.server_address} {/if} + account.6.sip_server.1.port= {$account.6.sip_port} @@ -3309,7 +3315,8 @@ account.7.user_name = {$account.7.user_id}@{$account.7.server_address} account.7.user_name = {$account.7.user_id} {/if} -account.7.sip_server.1.address= {$account.7.server_address} +{if isset($account.7.server.1.address)} account.7.sip_server.1.address= {$account.7.server.1.address} {else} account.7.sip_server.1.address= {$account.7.server_address} {/if} + account.7.sip_server.1.port= {$account.7.sip_port} @@ -3836,7 +3843,8 @@ account.8.user_name = {$account.8.user_id}@{$account.8.server_address} account.8.user_name = {$account.8.user_id} {/if} -account.8.sip_server.1.address= {$account.8.server_address} +{if isset($account.8.server.1.address)} account.8.sip_server.1.address= {$account.8.server.1.address} {else} account.8.sip_server.1.address= {$account.8.server_address} {/if} + account.8.sip_server.1.port= {$account.8.sip_port} @@ -4363,7 +4371,8 @@ account.9.user_name = {$account.9.user_id}@{$account.9.server_address} account.9.user_name = {$account.9.user_id} {/if} -account.9.sip_server.1.address= {$account.9.server_address} +{if isset($account.9.server.1.address)} account.9.sip_server.1.address= {$account.8.server.1.address} {else} account.9.sip_server.1.address= {$account.9.server_address} {/if} + account.9.sip_server.1.port= {$account.9.sip_port} @@ -4890,7 +4899,8 @@ account.10.user_name = {$account.10.user_id}@{$account.10.server_address} account.10.user_name = {$account.10.user_id} {/if} -account.10.sip_server.1.address= {$account.10.server_address} +{if isset($account.10.server.1.address)} account.10.sip_server.1.address= {$account.10.server.1.address} {else} account.10.sip_server.1.address= {$account.10.server_address} {/if} + account.10.sip_server.1.port= {$account.10.sip_port} From f055e0700b1bb4a1b2f5f4eb56941d7e31dee894 Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Thu, 12 Nov 2020 16:14:08 -0500 Subject: [PATCH 191/677] Fix order by on outbound routes --- resources/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/functions.php b/resources/functions.php index 65bcbdf6f7..4e5ba4d647 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -393,7 +393,7 @@ //html table header order by function th_order_by($field_name, $column_title, $order_by, $order, $app_uuid = '', $css = '', $http_get_params = '', $description = '') { global $text; - if (is_uuid($app_uuid) > 0) { $app_uuid = "&app_uuid=".$app_uuid; } // accomodate need to pass app_uuid where necessary (inbound/outbound routes lists) + if (is_uuid($app_uuid) > 0) { $app_uuid = "&app_uuid=".urlencode($app_uuid); } // accomodate need to pass app_uuid where necessary (inbound/outbound routes lists) $field_name = preg_replace("#[^a-zA-Z0-9_]#", "", $field_name); $field_value = preg_replace("#[^a-zA-Z0-9_]#", "", $field_value); @@ -440,11 +440,11 @@ } if ($order == "asc") { $description .= $text['label-order'].': '.$text['label-ascending']; - $html .= "".escape($column_title).""; + $html .= "".escape($column_title).""; } else { $description .= $text['label-order'].': '.$text['label-descending']; - $html .= "".escape($column_title).""; + $html .= "".escape($column_title).""; } $html .= ""; return $html; From 95fbe667637ee4bbac63940c90fc1928b8d56281 Mon Sep 17 00:00:00 2001 From: mbarvoipdrs <71390678+mbarvoipdrs@users.noreply.github.com> Date: Thu, 12 Nov 2020 17:18:37 -0500 Subject: [PATCH 192/677] Update {$mac}.cfg Fixing account 9. --- resources/templates/provision/yealink/t54w/{$mac}.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/yealink/t54w/{$mac}.cfg b/resources/templates/provision/yealink/t54w/{$mac}.cfg index 6fb8acb807..42c6991f4e 100644 --- a/resources/templates/provision/yealink/t54w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t54w/{$mac}.cfg @@ -4371,7 +4371,7 @@ account.9.user_name = {$account.9.user_id}@{$account.9.server_address} account.9.user_name = {$account.9.user_id} {/if} -{if isset($account.9.server.1.address)} account.9.sip_server.1.address= {$account.8.server.1.address} {else} account.9.sip_server.1.address= {$account.9.server_address} {/if} +{if isset($account.9.server.1.address)} account.9.sip_server.1.address= {$account.9.server.1.address} {else} account.9.sip_server.1.address= {$account.9.server_address} {/if} account.9.sip_server.1.port= {$account.9.sip_port} From 89a492c0122ada094759a9d0854dd8f7f48ec37e Mon Sep 17 00:00:00 2001 From: mbarvoipdrs <71390678+mbarvoipdrs@users.noreply.github.com> Date: Thu, 12 Nov 2020 17:19:55 -0500 Subject: [PATCH 193/677] Update {$mac}.cfg Updated T53W config to be able for username to be ext@domain if the primary server is set. --- .../provision/yealink/t53w/{$mac}.cfg | 30 ++++++++++++------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/resources/templates/provision/yealink/t53w/{$mac}.cfg b/resources/templates/provision/yealink/t53w/{$mac}.cfg index 734c94d05b..d28460faa1 100644 --- a/resources/templates/provision/yealink/t53w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t53w/{$mac}.cfg @@ -123,7 +123,8 @@ account.1.user_name = {$account.1.user_id}@{$account.1.server_address} account.1.user_name = {$account.1.user_id} {/if} -account.1.sip_server.1.address= {$account.1.server_address} +{if isset($account.1.server.1.address)} account.1.sip_server.1.address= {$account.1.server.1.address} {else} account.1.sip_server.1.address= {$account.1.server_address} {/if} + account.1.sip_server.1.port= {$account.1.sip_port} @@ -199,7 +200,7 @@ account.1.ptime= 20 account.1.register_line= account.1.register_mac= account.1.reg_fail_retry_interval= -account.1.unregister_on_reboot= +account.1.unregister_on_reboot=1 account.1.session_timer.refresher= account.1.session_timer.expires= @@ -662,7 +663,8 @@ account.2.user_name = {$account.2.user_id}@{$account.2.server_address} account.2.user_name = {$account.2.user_id} {/if} -account.2.sip_server.1.address= {$account.2.server_address} +{if isset($account.2.server.1.address)} account.2.sip_server.1.address= {$account.2.server.1.address} {else} account.2.sip_server.1.address= {$account.2.server_address} {/if} + account.2.sip_server.1.port= {$account.2.sip_port} @@ -1189,7 +1191,8 @@ account.3.user_name = {$account.3.user_id}@{$account.3.server_address} account.3.user_name = {$account.3.user_id} {/if} -account.3.sip_server.1.address= {$account.3.server_address} +{if isset($account.3.server.1.address)} account.3.sip_server.1.address= {$account.3.server.1.address} {else} account.3.sip_server.1.address= {$account.3.server_address} {/if} + account.3.sip_server.1.port= {$account.3.sip_port} @@ -1716,7 +1719,8 @@ account.4.user_name = {$account.4.user_id}@{$account.4.server_address} account.4.user_name = {$account.4.user_id} {/if} -account.4.sip_server.1.address= {$account.4.server_address} +{if isset($account.4.server.1.address)} account.4.sip_server.1.address= {$account.4.server.1.address} {else} account.4.sip_server.1.address= {$account.4.server_address} {/if} + account.4.sip_server.1.port= {$account.4.sip_port} @@ -2242,7 +2246,8 @@ account.5.user_name = {$account.5.user_id}@{$account.5.server_address} account.5.user_name = {$account.5.user_id} {/if} -account.5.sip_server.1.address= {$account.5.server_address} +{if isset($account.5.server.1.address)} account.5.sip_server.1.address= {$account.5.server.1.address} {else} account.5.sip_server.1.address= {$account.5.server_address} {/if} + account.5.sip_server.1.port= {$account.5.sip_port} @@ -2782,7 +2787,7 @@ account.6.user_name = {$account.6.user_id}@{$account.6.server_address} account.6.user_name = {$account.6.user_id} {/if} -account.6.sip_server.1.address= {$account.6.server_address} +{if isset($account.6.server.1.address)} account.6.sip_server.1.address= {$account.6.server.1.address} {else} account.6.sip_server.1.address= {$account.6.server_address} {/if} account.6.sip_server.1.port= {$account.6.sip_port} @@ -3309,7 +3314,8 @@ account.7.user_name = {$account.7.user_id}@{$account.7.server_address} account.7.user_name = {$account.7.user_id} {/if} -account.7.sip_server.1.address= {$account.7.server_address} +{if isset($account.7.server.1.address)} account.7.sip_server.1.address= {$account.7.server.1.address} {else} account.7.sip_server.1.address= {$account.7.server_address} {/if} + account.7.sip_server.1.port= {$account.7.sip_port} @@ -3836,7 +3842,8 @@ account.8.user_name = {$account.8.user_id}@{$account.8.server_address} account.8.user_name = {$account.8.user_id} {/if} -account.8.sip_server.1.address= {$account.8.server_address} +{if isset($account.8.server.1.address)} account.8.sip_server.1.address= {$account.8.server.1.address} {else} account.8.sip_server.1.address= {$account.8.server_address} {/if} + account.8.sip_server.1.port= {$account.8.sip_port} @@ -4363,7 +4370,7 @@ account.9.user_name = {$account.9.user_id}@{$account.9.server_address} account.9.user_name = {$account.9.user_id} {/if} -account.9.sip_server.1.address= {$account.9.server_address} +{if isset($account.9.server.1.address)} account.9.sip_server.1.address= {$account.9.server.1.address} {else} account.9.sip_server.1.address= {$account.9.server_address} {/if} account.9.sip_server.1.port= {$account.9.sip_port} @@ -4890,7 +4897,8 @@ account.10.user_name = {$account.10.user_id}@{$account.10.server_address} account.10.user_name = {$account.10.user_id} {/if} -account.10.sip_server.1.address= {$account.10.server_address} +{if isset($account.10.server.1.address)} account.10.sip_server.1.address= {$account.10.server.1.address} {else} account.10.sip_server.1.address= {$account.10.server_address} {/if} + account.10.sip_server.1.port= {$account.10.sip_port} From 8094c35a3bd0e240f25188b16f48173b345e3cec Mon Sep 17 00:00:00 2001 From: mbarvoipdrs <71390678+mbarvoipdrs@users.noreply.github.com> Date: Thu, 12 Nov 2020 17:25:06 -0500 Subject: [PATCH 194/677] Update {$mac}.cfg fixed spacing. --- resources/templates/provision/yealink/t53w/{$mac}.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/templates/provision/yealink/t53w/{$mac}.cfg b/resources/templates/provision/yealink/t53w/{$mac}.cfg index d28460faa1..ef09c969e0 100644 --- a/resources/templates/provision/yealink/t53w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t53w/{$mac}.cfg @@ -2788,6 +2788,7 @@ account.6.user_name = {$account.6.user_id} {/if} {if isset($account.6.server.1.address)} account.6.sip_server.1.address= {$account.6.server.1.address} {else} account.6.sip_server.1.address= {$account.6.server_address} {/if} + account.6.sip_server.1.port= {$account.6.sip_port} @@ -4371,6 +4372,7 @@ account.9.user_name = {$account.9.user_id} {/if} {if isset($account.9.server.1.address)} account.9.sip_server.1.address= {$account.9.server.1.address} {else} account.9.sip_server.1.address= {$account.9.server_address} {/if} + account.9.sip_server.1.port= {$account.9.sip_port} From 95362f621ef8e998497dfc8d53dc7c35e5259f5f Mon Sep 17 00:00:00 2001 From: fusionate Date: Thu, 12 Nov 2020 18:27:11 -0700 Subject: [PATCH 195/677] Button Class: Support additional class(es). --- resources/classes/button.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/classes/button.php b/resources/classes/button.php index 8af56f1f05..c10ee3c017 100644 --- a/resources/classes/button.php +++ b/resources/classes/button.php @@ -59,7 +59,9 @@ if (!class_exists('button')) { $button .= $array['onclick'] ? "onclick=".self::quote($array['onclick'])." " : null; $button .= $array['onmouseover'] ? "onmouseenter=".self::quote($array['onmouseover'])." " : null; $button .= $array['onmouseout'] ? "onmouseleave=".self::quote($array['onmouseout'])." " : null; - $button .= "class='btn btn-".($array['class'] ? $array['class'] : 'default')." ".($array['disabled'] ? 'disabled' : null)."' "; + //detect class addition (using + prefix) + $button_class = $array['class'] && $array['class'][0] == '+' ? 'default '.substr($array['class'], 1) : $array['class']; + $button .= "class='btn btn-".($button_class ? $button_class : 'default')." ".($array['disabled'] ? 'disabled' : null)."' "; //ensure margin* styles are not applied to the button element when a link is defined if (is_array($array['style']) && @sizeof($array['style']) != 0) { foreach ($array['style'] as $property => $value) { From d852a9bb8530c55941727a0eb2070452618b5c3e Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 12 Nov 2020 21:55:21 -0500 Subject: [PATCH 196/677] Rename resources/templates/provision/yealink/directory.xml to resources/templates/provision/yealink/t58a/directory.xml --- resources/templates/provision/yealink/{ => t58a}/directory.xml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename resources/templates/provision/yealink/{ => t58a}/directory.xml (100%) diff --git a/resources/templates/provision/yealink/directory.xml b/resources/templates/provision/yealink/t58a/directory.xml similarity index 100% rename from resources/templates/provision/yealink/directory.xml rename to resources/templates/provision/yealink/t58a/directory.xml From 2f723098ddc000f45883ca525447ebc455081622 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 12 Nov 2020 22:03:52 -0500 Subject: [PATCH 197/677] Rename resources/templates/provision/yealink/favorite_setting.xml to resources/templates/provision/yealink/t58a/favorite_setting.xml --- .../templates/provision/yealink/{ => t58a}/favorite_setting.xml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename resources/templates/provision/yealink/{ => t58a}/favorite_setting.xml (100%) diff --git a/resources/templates/provision/yealink/favorite_setting.xml b/resources/templates/provision/yealink/t58a/favorite_setting.xml similarity index 100% rename from resources/templates/provision/yealink/favorite_setting.xml rename to resources/templates/provision/yealink/t58a/favorite_setting.xml From 07e35151089c3d1ed4a033ed6ec2b259e76dffe4 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 12 Nov 2020 22:05:24 -0500 Subject: [PATCH 198/677] Rename resources/templates/provision/yealink/y000000000000.boot to resources/templates/provision/yealink/t46u/y000000000000.boot --- .../templates/provision/yealink/{ => t46u}/y000000000000.boot | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename resources/templates/provision/yealink/{ => t46u}/y000000000000.boot (100%) diff --git a/resources/templates/provision/yealink/y000000000000.boot b/resources/templates/provision/yealink/t46u/y000000000000.boot similarity index 100% rename from resources/templates/provision/yealink/y000000000000.boot rename to resources/templates/provision/yealink/t46u/y000000000000.boot From 0490a7013b0b5af2d1f39de665d6dc0999d0149d Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 12 Nov 2020 22:06:44 -0500 Subject: [PATCH 199/677] Rename resources/templates/provision/yealink/favorite_setting.xml to resources/templates/provision/yealink/t46u/favorite_setting.xml --- .../templates/provision/yealink/{ => t46u}/favorite_setting.xml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename resources/templates/provision/yealink/{ => t46u}/favorite_setting.xml (100%) diff --git a/resources/templates/provision/yealink/favorite_setting.xml b/resources/templates/provision/yealink/t46u/favorite_setting.xml similarity index 100% rename from resources/templates/provision/yealink/favorite_setting.xml rename to resources/templates/provision/yealink/t46u/favorite_setting.xml From 04d7538b454f847124b7a11e2f7f5ee86ecc2d9e Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Fri, 13 Nov 2020 14:25:21 -0700 Subject: [PATCH 200/677] Update {$mac}.cfg updated to conform to firmware 2.2.10 tags. improved button display format. --- .../templates/provision/fanvil/x6u/{$mac}.cfg | 231 ++++++++++++++++-- 1 file changed, 207 insertions(+), 24 deletions(-) diff --git a/resources/templates/provision/fanvil/x6u/{$mac}.cfg b/resources/templates/provision/fanvil/x6u/{$mac}.cfg index 9e2fdfac51..6bde547c52 100644 --- a/resources/templates/provision/fanvil/x6u/{$mac}.cfg +++ b/resources/templates/provision/fanvil/x6u/{$mac}.cfg @@ -1,4 +1,5 @@ + 2.0000000000 @@ -33,7 +34,36 @@ Fanvil X6U {$fanvil_wifi_enable} + 0 + 0 + 192.168.1.179 + 255.255.255.0 + 192.168.1.1 + + 8.8.8.8 + 202.96.134.133 + 1 + 1 + 1 + 0 + Fanvil X6U + 0 + user123 + password + + + + + + + 1 + 1 + 0 + Fanvil X6U + + 10 + 1 @@ -54,6 +84,7 @@ 10000 1000 1 + 0 {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if} @@ -109,22 +140,25 @@ {$account.1.auth_id} {$account.1.password} {$account.1.register_expires} + 0 5060 0 3600 + 0 {if isset($account.1.password)}1{else}0{/if} {$account.1.outbound_proxy_primary} {$account.1.sip_port} {$account.1.auth_id} {$account.1.password} + 0 {$account.1.outbound_proxy_secondary} {$account.1.sip_port} + 0 {if isset($account.1.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -256,6 +290,8 @@ 500 4000 5000 + 0 + 0 {$account.2.user_id} @@ -266,22 +302,25 @@ {$account.2.auth_id} {$account.2.password} {$account.2.register_expires} + 0 5060 0 3600 + 0 {if isset($account.2.password)}1{else}0{/if} {$account.2.outbound_proxy_primary} {$account.2.sip_port} {$account.2.auth_id} {$account.2.password} + 0 {$account.2.outbound_proxy_secondary} {$account.2.sip_port} + 0 {if isset($account.2.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -413,6 +452,8 @@ 500 4000 5000 + 0 + 0 {$account.3.user_id} @@ -423,22 +464,25 @@ {$account.3.auth_id} {$account.3.password} {$account.3.register_expires} + 0 5060 0 3600 + 0 {if isset($account.3.password)}1{else}0{/if} {$account.3.outbound_proxy_primary} {$account.3.sip_port} {$account.3.auth_id} {$account.3.password} + 0 {$account.3.outbound_proxy_secondary} {$account.3.sip_port} + 0 {if isset($account.3.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -570,6 +614,8 @@ 500 4000 5000 + 0 + 0 {$account.4.user_id} @@ -580,22 +626,25 @@ {$account.4.auth_id} {$account.4.password} {$account.4.register_expires} + 0 5060 0 3600 + 0 {if isset($account.4.password)}1{else}0{/if} {$account.4.outbound_proxy_primary} {$account.4.sip_port} {$account.4.auth_id} {$account.4.password} + 0 {$account.4.outbound_proxy_secondary} {$account.4.sip_port} + 0 {if isset($account.4.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -727,6 +776,8 @@ 500 4000 5000 + 0 + 0 {$account.5.user_id} @@ -737,22 +788,25 @@ {$account.5.auth_id} {$account.5.password} {$account.5.register_expires} + 0 5060 0 3600 + 0 {if isset($account.5.password)}1{else}0{/if} {$account.5.outbound_proxy_primary} {$account.5.sip_port} {$account.5.auth_id} {$account.5.password} + 0 {$account.5.outbound_proxy_secondary} {$account.5.sip_port} + 0 {if isset($account.5.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -884,6 +938,8 @@ 500 4000 5000 + 0 + 0 {$account.6.user_id} @@ -894,22 +950,25 @@ {$account.6.auth_id} {$account.6.password} {$account.6.register_expires} + 0 5060 0 3600 + 0 {if isset($account.6.password)}1{else}0{/if} {$account.6.outbound_proxy_primary} {$account.6.sip_port} {$account.6.auth_id} {$account.6.password} + 0 {$account.6.outbound_proxy_secondary} {$account.6.sip_port} + 0 {if isset($account.6.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1041,6 +1100,8 @@ 500 4000 5000 + 0 + 0 {$account.7.user_id} @@ -1051,22 +1112,25 @@ {$account.7.auth_id} {$account.7.password} {$account.7.register_expires} + 0 5060 0 3600 + 0 {if isset($account.7.password)}1{else}0{/if} {$account.7.outbound_proxy_primary} {$account.7.sip_port} {$account.7.auth_id} {$account.7.password} + 0 {$account.7.outbound_proxy_secondary} {$account.7.sip_port} + 0 {if isset($account.7.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1198,6 +1262,8 @@ 500 4000 5000 + 0 + 0 {$account.8.user_id} @@ -1208,22 +1274,25 @@ {$account.8.auth_id} {$account.8.password} {$account.8.register_expires} + 0 5060 0 3600 + 0 {if isset($account.8.password)}1{else}0{/if} {$account.8.outbound_proxy_primary} {$account.8.sip_port} {$account.8.auth_id} {$account.8.password} + 0 {$account.8.outbound_proxy_secondary} {$account.8.sip_port} + 0 {if isset($account.8.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1355,6 +1424,8 @@ 500 4000 5000 + 0 + 0 {$account.9.user_id} @@ -1365,22 +1436,25 @@ {$account.9.auth_id} {$account.9.password} {$account.9.register_expires} + 0 5060 0 3600 + 0 {if isset($account.9.password)}1{else}0{/if} {$account.9.outbound_proxy_primary} {$account.9.sip_port} {$account.9.auth_id} {$account.9.password} + 0 {$account.9.outbound_proxy_secondary} {$account.9.sip_port} + 0 {if isset($account.9.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1512,6 +1586,8 @@ 500 4000 5000 + 0 + 0 {$account.10.user_id} @@ -1522,22 +1598,25 @@ {$account.10.auth_id} {$account.10.password} {$account.10.register_expires} + 0 5060 0 3600 + 0 {if isset($account.10.password)}1{else}0{/if} {$account.10.outbound_proxy_primary} {$account.10.sip_port} {$account.10.auth_id} {$account.10.password} + 0 {$account.10.outbound_proxy_secondary} {$account.10.sip_port} + 0 {if isset($account.10.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1669,6 +1748,8 @@ 500 4000 5000 + 0 + 0 {$account.11.user_id} @@ -1679,22 +1760,25 @@ {$account.11.auth_id} {$account.11.password} {$account.11.register_expires} + 0 5060 0 3600 + 0 {if isset($account.11.password)}1{else}0{/if} {$account.11.outbound_proxy_primary} {$account.11.sip_port} {$account.11.auth_id} {$account.11.password} + 0 {$account.11.outbound_proxy_secondary} {$account.11.sip_port} + 0 {if isset($account.11.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1826,6 +1910,8 @@ 500 4000 5000 + 0 + 0 {$account.12.user_id} @@ -1836,22 +1922,25 @@ {$account.12.auth_id} {$account.12.password} {$account.12.register_expires} + 0 5060 0 3600 + 0 {if isset($account.12.password)}1{else}0{/if} {$account.12.outbound_proxy_primary} {$account.12.sip_port} {$account.12.auth_id} {$account.12.password} + 0 {$account.12.outbound_proxy_secondary} {$account.12.sip_port} + 0 {if isset($account.12.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -1983,6 +2072,8 @@ 500 4000 5000 + 0 + 0 {$account.13.user_id} @@ -1997,18 +2088,20 @@ 5060 0 3600 + 0 {if isset($account.13.password)}1{else}0{/if} {$account.13.outbound_proxy_primary} {$account.13.sip_port} {$account.13.auth_id} {$account.13.password} + 0 {$account.13.outbound_proxy_secondary} {$account.13.sip_port} + 0 {if isset($account.13.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2140,6 +2233,8 @@ 500 4000 5000 + 0 + 0 {$account.14.user_id} @@ -2150,22 +2245,25 @@ {$account.14.auth_id} {$account.14.password} {$account.14.register_expires} + 0 5060 0 3600 + 0 {if isset($account.14.password)}1{else}0{/if} {$account.14.outbound_proxy_primary} {$account.14.sip_port} {$account.14.auth_id} {$account.14.password} + 0 {$account.14.outbound_proxy_secondary} {$account.14.sip_port} + 0 {if isset($account.14.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2297,6 +2395,8 @@ 500 4000 5000 + 0 + 0 {$account.15.user_id} @@ -2307,22 +2407,25 @@ {$account.15.auth_id} {$account.15.password} {$account.15.register_expires} + 0 5060 0 3600 + 0 {if isset($account.15.password)}1{else}0{/if} {$account.15.outbound_proxy_primary} {$account.15.sip_port} {$account.15.auth_id} {$account.15.password} + 0 {$account.15.outbound_proxy_secondary} {$account.15.sip_port} + 0 {if isset($account.15.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2454,6 +2557,8 @@ 500 4000 5000 + 0 + 0 {$account.16.user_id} @@ -2464,22 +2569,25 @@ {$account.16.auth_id} {$account.16.password} {$account.16.register_expires} + 0 5060 0 3600 + 0 {if isset($account.16.password)}1{else}0{/if} {$account.16.outbound_proxy_primary} {$account.16.sip_port} {$account.16.auth_id} {$account.16.password} + 0 {$account.16.outbound_proxy_secondary} {$account.16.sip_port} + 0 {if isset($account.16.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2611,6 +2719,8 @@ 500 4000 5000 + 0 + 0 {$account.17.user_id} @@ -2621,22 +2731,25 @@ {$account.17.auth_id} {$account.17.password} {$account.17.register_expires} + 0 5060 0 3600 + 0 {if isset($account.17.password)}1{else}0{/if} {$account.17.outbound_proxy_primary} {$account.17.sip_port} {$account.17.auth_id} {$account.17.password} + 0 {$account.17.outbound_proxy_secondary} {$account.17.sip_port} + 0 {if isset($account.17.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2769,6 +2882,8 @@ 500 4000 5000 + 0 + 0 {$account.18.user_id} @@ -2779,22 +2894,25 @@ {$account.18.auth_id} {$account.18.password} {$account.18.register_expires} + 0 5060 0 3600 + 0 {if isset($account.18.password)}1{else}0{/if} {$account.18.outbound_proxy_primary} {$account.18.sip_port} {$account.18.auth_id} {$account.18.password} + 0 {$account.18.outbound_proxy_secondary} {$account.18.sip_port} + 0 {if isset($account.18.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -2927,6 +3045,8 @@ 500 4000 5000 + 0 + 0 {$account.19.user_id} @@ -2937,22 +3057,25 @@ {$account.19.auth_id} {$account.19.password} {$account.19.register_expires} + 0 5060 0 3600 + 0 {if isset($account.19.password)}1{else}0{/if} {$account.19.outbound_proxy_primary} {$account.19.sip_port} {$account.19.auth_id} {$account.19.password} + 0 {$account.19.outbound_proxy_secondary} {$account.19.sip_port} + 0 {if isset($account.19.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -3085,6 +3208,8 @@ 500 4000 5000 + 0 + 0 {$account.20.user_id} @@ -3095,22 +3220,25 @@ {$account.20.auth_id} {$account.20.password} {$account.20.register_expires} + 0 5060 0 3600 + 0 {if isset($account.20.password)}1{else}0{/if} {$account.20.outbound_proxy_primary} {$account.20.sip_port} {$account.20.auth_id} {$account.20.password} + 0 {$account.20.outbound_proxy_secondary} {$account.20.sip_port} + 0 {if isset($account.20.outbound_proxy_secondary)}1{else}0{/if} 1800 0 3 - 0 0 @@ -3243,12 +3371,17 @@ 500 4000 5000 + 0 + 0 0 30 1 0 + 0 + 0 + 1 @@ -3322,6 +3455,10 @@ 0 + 0 + 120 + 120 + 0 1 @@ -3402,13 +3539,17 @@ 0 1 1 - $name@$protocol$instance + $name 0 0 1 1 30 + 0 + 0 + 0 + {$fanvil_greeting} 5 @@ -3437,14 +3578,25 @@ 0 1 + terminated 1 2 - 1 - 1 + early + 1 + 0 + + 1 + 1 + confirmed + 1 + 0 + 2 0 + failed 0 3 + parked @@ -3742,6 +3894,8 @@ 120 0 + 2 + 6 1 @@ -3791,6 +3945,7 @@ + @@ -3862,6 +4017,9 @@ 0 0 + + 60 + 0 @@ -3869,10 +4027,12 @@ 5 1 0 + 0 0 16 360 1080 + 1 0 0 0 @@ -4000,7 +4160,7 @@ 1 - 00100400FV02001000000c383e3dc493 + 1 0 0.0.0.0 @@ -4154,6 +4314,7 @@ 66 0 0 + 0 @@ -4224,5 +4385,27 @@ 1 0 0 + 0xffffff + 0xffffff + 0xffffff + 0x262626 + 0x5a9dba + 0xc4012f + 0x007bb0 + 0xffffff + 0x262626 + 0 + 1,1,1,1 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + From cf2a7d200b83b279043c439bde8b1af597e2b626 Mon Sep 17 00:00:00 2001 From: Joseph <71848841+junction1153@users.noreply.github.com> Date: Sun, 15 Nov 2020 01:03:58 -0500 Subject: [PATCH 201/677] Updated code for v1p1beta1 API utilization Advanced --> Default Settings --> Voicemail. Add: Category: voicemail Subcategory: transcribe_provider Type: text Value: google Enabled: true Add: Category: voicemail Subcategory: transcribe_enabled Type: boolean Value: true Enabled: true Add: Category: voicemail Subcategory: json_enabled Type: boolean Value: true Enabled: true Add: Category: voicemail Subcategory: transcribe_enabled Type: boolean Value: true Enabled: true Add: Category: voicemail Subcategory: json_enabled Type: boolean Value: true Enabled: true Add: Category: voicemail Subcategory: google_key Type: text Value: INSERT YOUR API KEY HERE Enabled: true Add: Category: voicemail Subcategory: google_url Type: text Value: https://speech.googleapis.com/v1p1beta1/speech Enabled: true --- .../app/voicemail/resources/functions/record_message.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/record_message.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/record_message.lua index d3c4b59588..92efeb7a27 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/record_message.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/record_message.lua @@ -282,7 +282,7 @@ local api_key = settings:get('voicemail', 'google_key', 'text') or ''; local transcription_server = settings:get('voicemail', 'google_url', 'text') or ''; if (api_key ~= '') then - transcribe_cmd = [[sox ]]..file_path..[[ ]]..file_path..[[.flac && echo "{ 'config': { 'languageCode': 'en-US', 'enableWordTimeOffsets': false }, 'audio': { 'content': '`base64 -w 0 ]]..file_path..[[.flac`' } }" | curl -X POST -H "Content-Type: application/json" -d @- "]]..transcription_server..[[:recognize?key=]]..api_key..[[" && rm -f ]]..file_path..[[.flac]] + transcribe_cmd = [[sox ]]..file_path..[[ ]]..file_path..[[.flac trim 0 00:59 && echo "{ 'config': { 'languageCode': 'en-US', 'enableWordTimeOffsets': false , 'enableAutomaticPunctuation': true , 'alternativeLanguageCodes': 'es' }, 'audio': { 'content': '`base64 -w 0 ]]..file_path..[[.flac`' } }" | curl -X POST -H "Content-Type: application/json" -d @- "]]..transcription_server..[[:recognize?key=]]..api_key..[[" && rm -f ]]..file_path..[[.flac]] end local handle = io.popen(transcribe_cmd); From dd1553454187c05b3d1bacbe45ea05b51aae51db Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 16 Nov 2020 12:43:31 -0700 Subject: [PATCH 202/677] Add a destination unique boolean setting. --- app/destinations/app_config.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/destinations/app_config.php b/app/destinations/app_config.php index bb7129e58a..0b0ee90f15 100644 --- a/app/destinations/app_config.php +++ b/app/destinations/app_config.php @@ -130,6 +130,14 @@ $apps[$x]['default_settings'][$y]['default_setting_value'] = "multiple"; $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b132ff5a-da8d-4846-b46d-2f0bfa9ae96b"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "destinations"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "unique"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Require destinations to be unique true or false."; //cache details $apps[$x]['cache']['key'] = "dialplan.\${destination_context}"; From 6e25a4a7bf20317416d24acb76ab60617c63e269 Mon Sep 17 00:00:00 2001 From: fusionate Date: Mon, 16 Nov 2020 12:52:14 -0700 Subject: [PATCH 203/677] Destinations: Apply destinations > unique default setting. --- app/destinations/destination_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index b3731dcf83..f5ba0c6f29 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -161,7 +161,7 @@ if (strlen($destination_enabled) == 0) { $msg .= $text['message-required']." ".$text['label-destination_enabled']."
\n"; } //check for duplicates - if ($destination_type == 'inbound' && $destination_number != $db_destination_number) { + if ($destination_type == 'inbound' && $destination_number != $db_destination_number && $_SESSION['destinations']['unique']['boolean'] == 'true') { $sql = "select count(*) from v_destinations "; $sql .= "where (destination_number = :destination_number or destination_prefix || destination_number = :destination_number) "; $sql .= "and destination_type = 'inbound' "; From ebcccb9e9d424998235f1cdce9c0ddeb2689e6c4 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 16 Nov 2020 13:00:01 -0700 Subject: [PATCH 204/677] Fix the distinct syntax issue by removing extension_uuid. --- app/extensions/app_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/extensions/app_config.php b/app/extensions/app_config.php index ad73a13afb..2c2e0ec61b 100644 --- a/app/extensions/app_config.php +++ b/app/extensions/app_config.php @@ -63,7 +63,7 @@ $apps[$x]['destinations'][$y]['type'] = "sql"; $apps[$x]['destinations'][$y]['label'] = "call_groups"; $apps[$x]['destinations'][$y]['name'] = "extensions"; - $apps[$x]['destinations'][$y]['sql']['pgsql'] = "select extension_uuid, distinct(unnest(string_to_array(call_group, ','))) as destination from v_extensions "; + $apps[$x]['destinations'][$y]['sql']['pgsql'] = "select distinct(unnest(string_to_array(call_group, ','))) as destination from v_extensions "; $apps[$x]['destinations'][$y]['sql']['sqlite'] = "select distinct(call_group) as destination from v_extensions"; $apps[$x]['destinations'][$y]['sql']['mysql'] = "select distinct(call_group) as destination from v_extensions"; $apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and call_group <> '' and enabled = 'true' "; From f48d0ade4a606ab37ea5a8ac292f9ee463b3be0c Mon Sep 17 00:00:00 2001 From: fusionate Date: Mon, 16 Nov 2020 15:06:10 -0700 Subject: [PATCH 205/677] Transactions: Add filter by username. --- app/database_transactions/app_languages.php | 21 ++++++++++ .../database_transactions.php | 39 ++++++++++++++++--- 2 files changed, 55 insertions(+), 5 deletions(-) diff --git a/app/database_transactions/app_languages.php b/app/database_transactions/app_languages.php index 66adb0fe7d..2fb88996e0 100644 --- a/app/database_transactions/app_languages.php +++ b/app/database_transactions/app_languages.php @@ -64,6 +64,27 @@ $text['description-database_transactions']['ru-ru'] = "Изменения в б $text['description-database_transactions']['sv-se'] = "Databas Transaktioner"; $text['description-database_transactions']['uk-ua'] = ""; +$text['label-user']['en-us'] = "User"; +$text['label-user']['en-gb'] = "User"; +$text['label-user']['ar-eg'] = ""; +$text['label-user']['de-at'] = "Benutzer"; //copied from de-de +$text['label-user']['de-ch'] = "Benutzer"; //copied from de-de +$text['label-user']['de-de'] = "Benutzer"; +$text['label-user']['es-cl'] = ""; +$text['label-user']['es-mx'] = ""; +$text['label-user']['fr-ca'] = "Utilisateur"; +$text['label-user']['fr-fr'] = "Utilisateur"; +$text['label-user']['he-il'] = ""; +$text['label-user']['it-it'] = ""; +$text['label-user']['nl-nl'] = "Gebruiker"; +$text['label-user']['pl-pl'] = ""; +$text['label-user']['pt-br'] = ""; +$text['label-user']['pt-pt'] = ""; +$text['label-user']['ro-ro'] = ""; +$text['label-user']['ru-ru'] = "Пользователь"; +$text['label-user']['sv-se'] = "Användare"; +$text['label-user']['uk-ua'] = ""; + $text['label-user_uuid']['en-us'] = "User"; $text['label-user_uuid']['en-gb'] = "User"; $text['label-user_uuid']['ar-eg'] = ""; diff --git a/app/database_transactions/database_transactions.php b/app/database_transactions/database_transactions.php index 6970dae29b..4cbdb8932a 100644 --- a/app/database_transactions/database_transactions.php +++ b/app/database_transactions/database_transactions.php @@ -47,7 +47,8 @@ $order_by = $_GET["order_by"]; $order = $_GET["order"]; -//add the search term +//add the user filter and search term + $user_uuid = $_GET['user_uuid']; $search = strtolower($_GET["search"]); if ($search != '') { $sql_search = "and ("; @@ -62,10 +63,14 @@ } //prepare to page the results - $sql = "select count(*) from v_database_transactions as t "; + $sql = "select count(t.database_transaction_uuid) from v_database_transactions as t "; $sql .= "left outer join v_domains as d using (domain_uuid) "; $sql .= "left outer join v_users as u using (user_uuid) "; $sql .= "where t.domain_uuid = :domain_uuid "; + if (is_uuid($user_uuid)) { + $sql .= "and t.user_uuid = :user_uuid "; + $parameters['user_uuid'] = $user_uuid; + } $sql .= $sql_search; $parameters['domain_uuid'] = $_SESSION['domain_uuid']; $database = new database; @@ -81,12 +86,26 @@ $offset = $rows_per_page * $page; //get the list - $sql = str_replace('count(*)','t.database_transaction_uuid, d.domain_name, u.username, t.user_uuid, t.app_name, t.app_uuid, t.transaction_code, t.transaction_address, t.transaction_type, t.transaction_date', $sql); + $sql = str_replace('count(t.database_transaction_uuid)','t.database_transaction_uuid, d.domain_name, u.username, t.user_uuid, t.app_name, t.app_uuid, t.transaction_code, t.transaction_address, t.transaction_type, t.transaction_date', $sql); $sql .= order_by($order_by, $order, 't.transaction_date', 'desc'); $sql .= limit_offset($rows_per_page, $offset); $database = new database; $result = $database->select($sql, $parameters, 'all'); - unset($sql); + unset($sql, $parameters); + +//get users + $sql = "select user_uuid, username from v_users "; + $sql .= "where domain_uuid = :domain_uuid "; + $sql .= "order by username "; + $parameters['domain_uuid'] = $_SESSION['domain_uuid']; + $database = new database; + $rows = $database->select($sql, $parameters, 'all'); + if (is_array($rows) && @sizeof($rows) != 0) { + foreach ($rows as $row) { + $users[$row['user_uuid']] = $row['username']; + } + } + unset($sql, $parameters, $rows, $row); //additional includes $document['title'] = $text['title-database_transactions']; @@ -97,9 +116,19 @@ echo "
".$text['title-database_transactions']." (".$num_rows.")
\n"; echo "
\n"; echo "