From f98e7fb774b7721b1f3a5ab5694fc9073e3fc632 Mon Sep 17 00:00:00 2001 From: PhantomVl Date: Tue, 6 Aug 2019 11:18:27 +0300 Subject: [PATCH] - Change Sccp class driver --- README.md | 2 ++ README.ru.md | 3 +++ conf/Sccp.class.php.v433 | 7 ------- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 317af5d..010a499 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,8 @@ Make sure you have the following installed on your system: > cd /var/www/html/admin/modules/sccp_manager/ > git fetch > git pull +> git checkout extension_mobility +> or > git checkout develop diff --git a/README.ru.md b/README.ru.md index 73ba04a..ec09cdf 100644 --- a/README.ru.md +++ b/README.ru.md @@ -83,8 +83,11 @@ Make sure you have the following installed on your system: > cd /var/www/html/admin/modules/sccp_manager/ > git fetch > git pull +> git checkout extension_mobility +> or > git checkout develop + ### Важно: - !!! Если это это проект не заработал на твоей системе - переключись на ветку мастер [master](https://github.com/PhantomVl/sccp_manager/tree/master) !!! Но есть ограничение - ветка master не поддерживает изменения в chan-sccp сделаные после октября 2018 г. diff --git a/conf/Sccp.class.php.v433 b/conf/Sccp.class.php.v433 index 840523b..6ab4417 100644 --- a/conf/Sccp.class.php.v433 +++ b/conf/Sccp.class.php.v433 @@ -145,15 +145,8 @@ class Sccp extends \FreePBX\modules\Core\Driver { try { $sth->execute(array($id)); $tech = $sth->fetch(); -// $tech = $sth->fetch(\PDO::FETCH_ASSOC); -// die(print_r($tech)); -// $tech = $sth->fetch(\PDO::FETCH_ASSOC); $tech['dial']='SCCP/'.$id; } catch(\Exception $e) {} -// $tech['sccp_codec'] = Array ('g729'); -// $tech['allow'] = 'g729'; -// $tech['sccp_codec2'] = Array ('g729','gsm'); -// $tech['devinfo_sccp_codec'] = Array ('g729'); // print_r($tech); // echo '

';