From ffaab80ee24ec31cb2536e65750fb11fc104b7c1 Mon Sep 17 00:00:00 2001
From: steve-lad <72376554+steve-lad@users.noreply.github.com>
Date: Sat, 10 Jul 2021 13:08:27 +0200
Subject: [PATCH 1/8] Correct rewrite rules
Supplied by and thanks to @vaDrn
---
contrib/rewrite.rules | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/contrib/rewrite.rules b/contrib/rewrite.rules
index 50d5815..f2c5a45 100644
--- a/contrib/rewrite.rules
+++ b/contrib/rewrite.rules
@@ -58,13 +58,13 @@ ri ^(P00405000700.sbn)$ firmware/7910/\1
ri ^(CP7912080004SCCP080108A.sbin)$ firmware/7912/\1
# 7915 firmware (ancient)
-ri ^(B015-1-0-)(+\.SBN)$ firmware/7915/\1
+ri ^(B015-1-0-)(.+\.SBN)$ firmware/7915/\1\2
# 7916 firmware (ancient)
-ri ^(B016-1-0-)(+\.SBN)$ firmware/7916/\1
+ri ^(B016-1-0-)(.+\.SBN)$ firmware/7916/\1\2
# 7920 firmware (ancient)
-ri ^(cmterm_7920)(+\.bin)$ firmware/7920/\1
+ri ^(cmterm_7920)(.+\.bin)$ firmware/7920/\1\2
# 7921_7925 firmware (ancient)
ri ^(APPS-1.4.3.4.SBN)$ firmware/7921/\1
@@ -106,10 +106,10 @@ ri ^(cmterm_7936.3-3-21-0.bin)$ firmware/7936/\1
ri ^(apps37sccp.1-4-5-7.bin)$ firmware/7937/\1
# 7940_7960 firmware (ancient)
-ri ^(P0030801SR)(.+\.bin)$ firmware/7940/\1
-ri ^(P0030801SR)(.+\.loads)$ firmware/7940/\1
-ri ^(P0030801SR)(.+\.sb2)$ firmware/7940/\1
-ri ^(P0030801SR)(.+\.sbn)$ firmware/7940/\1
+ri ^(P0030801SR)(.+\.bin)$ firmware/7940/\1\2
+ri ^(P0030801SR)(.+\.loads)$ firmware/7940/\1\2
+ri ^(P0030801SR)(.+\.sb2)$ firmware/7940/\1\2
+ri ^(P0030801SR)(.+\.sbn)$ firmware/7940/\1\2
# 7941_7961 firmware (java-based)
ri ^(apps41)(.+\.sbn)$ firmware/7941/\1\2
@@ -192,6 +192,7 @@ ri ^(.+)\/(.+-dictionary-ext.xml)$ languages/\1/\2
ri ^(.+)\/(.+-tones.xml)$ languages/\1/\2
ri ^(.+)\/(.+-font.xml)$ languages/\1/\2
ri ^(.+)\/(.+-kate.xml)$ languages/\1/\2
+ri ^(.+)\/(gk.+)(\.cfg)$ languages/\1/\2\3
#ri ^(.+)\/(.+-tones.xml)$ locales/countries/\1/\2
From 4a6caf1eacf9bb27d2d21a6f20063e853624a55b Mon Sep 17 00:00:00 2001
From: steve-lad <72376554+steve-lad@users.noreply.github.com>
Date: Fri, 23 Jul 2021 12:22:29 +0200
Subject: [PATCH 2/8] Remove update link
Currently FreePbx uses a post to get the dta which fails with GitHub. Disable link until fixed by freepbx
---
module.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module.xml b/module.xml
index cc95ff6..a42dcb6 100644
--- a/module.xml
+++ b/module.xml
@@ -29,7 +29,7 @@
13.0.0.2M
https://github.com/chan-sccp/sccp_manager
- https://raw.githubusercontent.com/chan-sccp/sccp_manager/develop/sccpManagerUpdater.json
+
GPL
From 63679cd49c2354fad615b3a8ff2cf17f32531167 Mon Sep 17 00:00:00 2001
From: Phantom
Date: Thu, 2 Sep 2021 13:20:54 +0300
Subject: [PATCH 3/8] Create README.ru.md
---
README.ru.md | 1 +
1 file changed, 1 insertion(+)
create mode 100644 README.ru.md
diff --git a/README.ru.md b/README.ru.md
new file mode 100644
index 0000000..1820a70
--- /dev/null
+++ b/README.ru.md
@@ -0,0 +1 @@
+## Добро пожаловать странник на SCCP страницу веб интерфейса для FreePBX (SCCP Manager)
From 1a09d4df1ec9303bc4808b80ad8dc1d333227fd8 Mon Sep 17 00:00:00 2001
From: Phantom
Date: Thu, 2 Sep 2021 13:22:55 +0300
Subject: [PATCH 4/8] Update README.ru.md
Russian page.
---
README.ru.md | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 117 insertions(+)
diff --git a/README.ru.md b/README.ru.md
index 1820a70..620ea4c 100644
--- a/README.ru.md
+++ b/README.ru.md
@@ -1 +1,118 @@
## Добро пожаловать странник на SCCP страницу веб интерфейса для FreePBX (SCCP Manager)
+| [English :gb:/:us:](README.md) | [Russian :ru:](README.ru.md) | [Старая страница проекта](https://github.com/PhantomVl/sccp_manager/tree/master)
+
+
+
+ * [Installation](https://github.com/chan-sccp/sccp_manager#installation)
+ * [Prerequisites](https://github.com/chan-sccp/sccp_manager#prerequisites)
+ * [Links](https://github.com/chan-sccp/sccp_manager#link)
+ * [Wiki](https://github.com/chan-sccp/sccp_manager/wiki)
+
+## Link
+
+[](https://github.com/chan-sccp/sccp_manager/archive/tarball/develop)
+[](https://github.com/chan-sccp/chan-sccp/releases/latest)
+[](https://github.com/chan-sccp/chan-sccp/wiki)
+
+### История
+.... давнем давно в далеком прошлом ....
+Группа программистов пыталось быстро бороться с несовершенством продуктов CISCO, но повседневные дела угробили проект.
+Но на помощь им пришел молодой программист и возродил идею уже заброшенного проекта.
+Для желающих попробовать себя в этой борьбе на просторах программирования ссылка на проект (https://github.com/Cynjut/SCCP_Manager).
+
+### Кому это надо...
+Ну в первую очередь для Себя любимого ну и для тех, у кого есть куча телефонного хлама от компании Cisco.
+Если вы планируете использовать Aserisk + FreePBX, то я надеюсь, что данный модуль существенно упростит управление и настройки телефонами от Cisco.
+В интернете существует замечательный проект (IMHO), который интегрирует проприетарный протокол Cisco в Asterisk, конечно, он пока далек от идеала,
+но все же это замечательная замена серверам CCME, СCM, СUСM !
+Ну я совершенно не представляю себе, сколько времени данный проект будет поддерживаться.
+
+### Ну если ты еще с нами ...
+
+Как я говорил выше, это дополнение к (Aserisk + FreePBX), но нам еще потребуется:
+ 1. У меня не получилось поставить добиться работы с дисками Aserisk и FreePBX - собираем из исходников
+ 1.1. Замечательная копания freepbx. Теперь с SNG7-PBX-64bit-... все работает!
+ 2. Mysql (Maria)
+ 3. Драйвер протокола SCCP страница (https://github.com/chan-sccp/chan-sccp/)
+ 4. Этот модуль.
+ 5. Руки
+ 6. Возможно еще несколько проектов
+
+### Вжно! В этой ветке лежат самые последне нововведения и обновления, и самые последние БАГИ!
+ Пользуйся и наслождайся. Так же не забывай писать нам об ошибках, которые ты нашел!
+ Это очень нам поможет, Я с радостью исправлю то, что ты нашел и добалю новых.
+
+### Wiki - Основные Инструкции по настройке
+Вся документация по проекту пока лежит на старой Вики [](https://github.com/PhantomVl/sccp_manager/wiki)
+Вся документация по драйверу Chan-SCCP [](https://github.com/chan-sccp/wiki)
+
+Ну и как водится у на SCCP Manager это бесплатное дополнение. И помни "(C)" означает "Копия верна". Please see the file COPYING for details.
+
+
+### Prerequisites - как говориться все, что хуже этого возможно работать тоже будет .... но только вопрос как ?
+Make sure you have the following installed on your system:
+- PHPx.x-zip has to be installed (where x.x is the installed version of PHP).
+ For example, on Debian, using PHP7.3
+
+- pbx:
+ - asterisk >= 1.8 (absolute minimum & not recommended)
+ - asterisk >= 13.7 or asterisk >= 14.0 or asterisk >= 15.0 (Тестировалось на стендах)
+- gui:
+ - freepbx >= 13.0.192 (http://wiki.freepbx.org/display/FOP/Install+FreePBX)
+- standard posix compatible applications like sed, awk, tr
+- a working version of [chan-sccp](https://github.com/chan-sccp/chan-sccp)
+- PHPx.x Ну тут уж как повезет, 5.6 от freepbx, но мы уже пишем под PHP7.3
+
+```
+apt-get install PHP7.3-zip
+```
+### Installation Очень короткая инструкция
+- открой полную инструкцию [Полная версия инструкции] (https://github.com/PhantomVl/sccp_manager/wiki/step-by-step-instlation)
+
+### Installation Другие инструкции по установке :-)
+- [Setting up a FreePBX system](http://wiki.freepbx.org/display/FOP/Install+FreePBX)
+- [Setting up Chan-Sccp](https://github.com/chan-sccp/chan-sccp/wiki/How-to-setup-the-chan_sccp-Module)
+- [See chan-sccp wiki](https://github.com/chan-sccp/chan-sccp/wiki/Realtime-Configuration).
+
+
+## Установка в Веб морде
+
+-----
+
+1. Log in to FreePBX
+2. Go to Admin -> Module Admin
+3. Click Upload Modules.
+4. Enter one of the following urls:
+
+Мы решили, что это стабильная версия:
+
+```
+https://github.com/chan-sccp/sccp_manager/archive/refs/heads/Legacy.zip
+```
+
+Для тех, кто ищет нового и интересного:
+
+_This is development software and so may have issues_
+```
+https://github.com/chan-sccp/sccp_manager/archive/refs/heads/develop.zip
+```
+
+5. Жми Download From Web.
+6. Открывай Manage Local Modules.
+7. Практически в конце списка "SCCP Manager". Тут и так понятно, выбрать "Install", и нажать "Process".
+8. "Confirm installation".
+9. "Close" Status window.
+10. Красная кнопка "Apply" в правом верхнем углу.
+11. Далее вопрос ни одного научного труда [Using-SCCP_Manager-to-Manage-chan-sccp](https://github.com/chan-sccp/chan-sccp/wiki/Using-SCCP_Manager-to-Manage-chan-sccp)
+
+### Важно:
+ - !!! Если это это проект не заработал на твоей системе - переключись на ветку мастер [master](https://github.com/PhantomVl/sccp_manager)
+ !!! Но есть ограничение - ветка master не поддерживает изменения в chan-sccp сделаные после октября 2018 г.
+ - И чуть не забыл настраиваем Realtime-Configuration ([See](https://github.com/chan-sccp/chan-sccp/wiki/Realtime-Configuration)).
+ - Желательно иметь Firmware телефонов Cisco, языковые пакеты ну всякое разное.
+ - Возможно, ты найдешь, то, что ищешь, в проекте (https://github.com/dkgroot/provision_sccp)
+ - Если что-то не так [Wiki GUI] (https://github.com/PhantomVl/sccp_manager), [Wiki chan-sccp] (https://github.com/chan-sccp/chan-sccp/wiki),
+
+### Chat
+[](https://gitter.im/sccp_manager/community)
+
From a0d7c81738f54d590c0151056ebec2f1e9b0fd0e Mon Sep 17 00:00:00 2001
From: steve-lad <72376554+steve-lad@users.noreply.github.com>
Date: Tue, 7 Sep 2021 12:12:54 +0200
Subject: [PATCH 5/8] Update README.md
---
README.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/README.md b/README.md
index 5c37d4b..86811d5 100644
--- a/README.md
+++ b/README.md
@@ -80,6 +80,12 @@ _This is development software and so may have issues_
```
https://github.com/chan-sccp/sccp_manager/archive/refs/heads/develop.zip
```
+Version 14.3
+This is the latest version of sccp_manager and has many bug fixes. It is targetted for FreePbx 16 and as such requires PHP > 7.3. It works fine with FreePbx 15 as long as you can upgrade PHP (this cannot be done if you use commercial modules).
+```
+https://github.com/chan-sccp/sccp_manager/archive/refs/heads/v14.2.zip
+```
+
5. Click Download From Web.
6. Click Manage Local Modules.
7. Find and click SCCP Manager. Check Install. Click Process button.
From 3a9d4222521cbc3de7db051a5166ff33f6e41986 Mon Sep 17 00:00:00 2001
From: steve-lad <72376554+steve-lad@users.noreply.github.com>
Date: Tue, 7 Sep 2021 12:13:31 +0200
Subject: [PATCH 6/8] Update README.md
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 86811d5..9dbf336 100644
--- a/README.md
+++ b/README.md
@@ -75,12 +75,14 @@ Stable
https://github.com/chan-sccp/sccp_manager/archive/refs/heads/Legacy.zip
```
Develop.
+
This version can be updated through module admin as modifications are made (pending fix by FreePbx)
_This is development software and so may have issues_
```
https://github.com/chan-sccp/sccp_manager/archive/refs/heads/develop.zip
```
-Version 14.3
+Version 14.3.
+
This is the latest version of sccp_manager and has many bug fixes. It is targetted for FreePbx 16 and as such requires PHP > 7.3. It works fine with FreePbx 15 as long as you can upgrade PHP (this cannot be done if you use commercial modules).
```
https://github.com/chan-sccp/sccp_manager/archive/refs/heads/v14.2.zip
From 2d39f838b6a78d429724a6e14f3a4effe9199201 Mon Sep 17 00:00:00 2001
From: steve-lad <72376554+steve-lad@users.noreply.github.com>
Date: Tue, 7 Sep 2021 12:16:41 +0200
Subject: [PATCH 7/8] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 9dbf336..264c1ac 100644
--- a/README.md
+++ b/README.md
@@ -83,7 +83,7 @@ https://github.com/chan-sccp/sccp_manager/archive/refs/heads/develop.zip
```
Version 14.3.
-This is the latest version of sccp_manager and has many bug fixes. It is targetted for FreePbx 16 and as such requires PHP > 7.3. It works fine with FreePbx 15 as long as you can upgrade PHP (this cannot be done if you use commercial modules).
+This is the latest version of sccp_manager and has many bug fixes. It is targetted for FreePbx 16 and as such requires PHP > 7.3. It works fine with FreePbx 15 as long as you can upgrade PHP (this cannot be done if you use commercial modules). There are changes to the database structure, and so this cannot be easily reverted to prior versions with =out using a backup, which the installer will create. If you are using a VM, it is recommended to take a snapshot before upgrading.
```
https://github.com/chan-sccp/sccp_manager/archive/refs/heads/v14.2.zip
```
From 6e97ce5fde6f1198b6ef57e34673152400bc8356 Mon Sep 17 00:00:00 2001
From: steve-lad <72376554+steve-lad@users.noreply.github.com>
Date: Tue, 7 Sep 2021 12:17:22 +0200
Subject: [PATCH 8/8] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 264c1ac..30f1fce 100644
--- a/README.md
+++ b/README.md
@@ -83,7 +83,7 @@ https://github.com/chan-sccp/sccp_manager/archive/refs/heads/develop.zip
```
Version 14.3.
-This is the latest version of sccp_manager and has many bug fixes. It is targetted for FreePbx 16 and as such requires PHP > 7.3. It works fine with FreePbx 15 as long as you can upgrade PHP (this cannot be done if you use commercial modules). There are changes to the database structure, and so this cannot be easily reverted to prior versions with =out using a backup, which the installer will create. If you are using a VM, it is recommended to take a snapshot before upgrading.
+This is the latest version of sccp_manager and has many bug fixes. It is targetted for FreePbx 16 and as such requires PHP > 7.3. It works fine with FreePbx 15 as long as you can upgrade PHP (this cannot be done if you use commercial modules). There are changes to the database structure, and so this cannot be easily reverted to prior versions without using a backup, which the installer will create. If you are using a VM, it is recommended to take a snapshot before upgrading.
```
https://github.com/chan-sccp/sccp_manager/archive/refs/heads/v14.2.zip
```