From f845a4d288ad335e45b39866497ce286a408bd5f Mon Sep 17 00:00:00 2001 From: Udo Matzinger Date: Thu, 29 Jun 2017 18:38:29 +0200 Subject: [PATCH 1/8] Fix for issue #220 --- endpoint/yealinkv70/t2x/line_keys_27.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/endpoint/yealinkv70/t2x/line_keys_27.json b/endpoint/yealinkv70/t2x/line_keys_27.json index 213038f4..5aa4904e 100644 --- a/endpoint/yealinkv70/t2x/line_keys_27.json +++ b/endpoint/yealinkv70/t2x/line_keys_27.json @@ -8,10 +8,10 @@ "name":"basic", "item":[ { - "description":"Line Keys (1-21)”, + "description":"Line Keys (1-21)", "type":"loop", "loop_start":"1", - "loop_end”:”21”, + "loop_end":"21", "data":{ "item":[ { From da4eaee684aacfb8c350f8efa06b5564f3abf25d Mon Sep 17 00:00:00 2001 From: Udo Matzinger Date: Thu, 29 Jun 2017 19:33:52 +0200 Subject: [PATCH 2/8] Fixed some wrong quotation marks. --- endpoint/yealinkv70/t2x/line_keys_28.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/endpoint/yealinkv70/t2x/line_keys_28.json b/endpoint/yealinkv70/t2x/line_keys_28.json index 03c4b99b..19721536 100644 --- a/endpoint/yealinkv70/t2x/line_keys_28.json +++ b/endpoint/yealinkv70/t2x/line_keys_28.json @@ -8,10 +8,10 @@ "name":"basic", "item":[ { - "description":"Line Keys (1-6)”, + "description":"Line Keys (1-6)", "type":"loop", "loop_start":"1", - "loop_end”:”6”, + "loop_end":"6", "data":{ "item":[ { From 0acd314d85fa89b8eed1df2b0d51336e867b0330 Mon Sep 17 00:00:00 2001 From: Udo Matzinger Date: Thu, 29 Jun 2017 21:06:14 +0200 Subject: [PATCH 3/8] Adding model "T27" to name tag --- endpoint/yealinkv70/t2x/family_data.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoint/yealinkv70/t2x/family_data.json b/endpoint/yealinkv70/t2x/family_data.json index d5d6708e..dfeb2513 100755 --- a/endpoint/yealinkv70/t2x/family_data.json +++ b/endpoint/yealinkv70/t2x/family_data.json @@ -1,6 +1,6 @@ { "data": { - "name": "Yealink V70 T2X Models: [T20, T22, T26, T28]", + "name": "Yealink V70 T2X Models: [T20, T22, T26, T27, T28]", "id": "1", "directory": "t2x", "firmware_ver": 1326828070, From 6725ddae3128d64d5c156f5546e435b3cbcc10b8 Mon Sep 17 00:00:00 2001 From: Udo Matzinger Date: Thu, 29 Jun 2017 21:25:43 +0200 Subject: [PATCH 4/8] Adding model T27 --- endpoint/yealinkv70/t2x/phone.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoint/yealinkv70/t2x/phone.php b/endpoint/yealinkv70/t2x/phone.php index e3f015f5..4948ea2f 100644 --- a/endpoint/yealinkv70/t2x/phone.php +++ b/endpoint/yealinkv70/t2x/phone.php @@ -51,7 +51,7 @@ function parse_lines_hook($line_data, $line_total) { function prepare_for_generateconfig() { # This contains the last 2 digits of y0000000000xx.cfg, for each model. - $model_suffixes = array('T28' => '00', 'T26' => '04', 'T22' => '05', 'T20' => '07'); + $model_suffixes = array('T28' => '00', 'T27' => '27', 'T26' => '04', 'T22' => '05', 'T20' => '07'); //Yealink likes lower case letters in its mac address $this->mac = strtolower($this->mac); $this->config_file_replacements['$suffix'] = $model_suffixes[$this->model]; From 4d4d996368438d9b520fbc56430489072e99ea9f Mon Sep 17 00:00:00 2001 From: Udo Matzinger Date: Thu, 29 Jun 2017 22:56:17 +0200 Subject: [PATCH 5/8] Removed PHP 5.2 --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f13aa8c3..13d5988f 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,8 @@ language: php php: - - 5.2 - 5.3 - 5.4 script: phpunit tests/phpunittests notifications: - irc: "irc.freenode.org#provisioner" \ No newline at end of file + irc: "irc.freenode.org#provisioner" From b020706061a05c1fe3a672963d3f59e04e67e818 Mon Sep 17 00:00:00 2001 From: Udo Matzinger Date: Fri, 30 Jun 2017 14:39:39 +0200 Subject: [PATCH 6/8] Added testing with PHP 5.5 an 5.6 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 13d5988f..5d2f0587 100755 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ language: php php: - 5.3 - 5.4 + - 5.5 + - 5.6 script: phpunit tests/phpunittests notifications: From b2121dc183b3f020bcc1d604c59fec740b99e4bc Mon Sep 17 00:00:00 2001 From: Udo Matzinger Date: Fri, 30 Jun 2017 14:43:16 +0200 Subject: [PATCH 7/8] Added testing with PHP 7.0 and 7.1 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5d2f0587..da44b2c7 100755 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ php: - 5.4 - 5.5 - 5.6 + - 7.0 + - 7.1 script: phpunit tests/phpunittests notifications: From 850770c1fb62001ceab37ad105af2f3ec4978947 Mon Sep 17 00:00:00 2001 From: Udo Matzinger Date: Fri, 30 Jun 2017 15:04:24 +0200 Subject: [PATCH 8/8] Removed testing with php 7.0/7.1 (code not compatible) --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index da44b2c7..5d2f0587 100755 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,6 @@ php: - 5.4 - 5.5 - 5.6 - - 7.0 - - 7.1 script: phpunit tests/phpunittests notifications: