diff --git a/.travis.yml b/.travis.yml index f13aa8c3..5d2f0587 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,10 @@ language: php php: - - 5.2 - 5.3 - 5.4 + - 5.5 + - 5.6 script: phpunit tests/phpunittests notifications: - irc: "irc.freenode.org#provisioner" \ No newline at end of file + irc: "irc.freenode.org#provisioner" 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, 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":[ { 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":[ { 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];