Commit graph

111 commits

Author SHA1 Message Date
steve-lad e97dc89a49 Update install.php
Check realtime configuration
Impose correct version
2021-06-06 11:00:00 +02:00
steve-lad d7ebf7d0ec Simplify logic and correct SQL
Correct SQL for modify defaults
Remove unnecessary tests
Simplify remaining tests
2021-06-06 08:16:41 +02:00
steve-lad e8dae84512 Update install.php 2021-06-04 16:20:52 +02:00
steve-lad 98a0f4e8b7 Update installer
Change default values in Sccp.class
Change SQL statements
Change DB schema
2021-06-04 16:20:18 +02:00
steve-lad f4927793ee Modify installer
Change load sequence
Delegate table creation to module.xml
Correct module.xml tables
Correct timezone typo
2021-06-03 13:07:26 +02:00
steve-lad 80cc601da4 Update Installer - WIP
Add database definitions in module.xml
Catch exception if PHP Zip not installed
2021-06-02 08:17:35 +02:00
steve-lad 09a5daa593 Clean up install.php
Remove obsolete/non-applicable code
2021-05-31 18:45:48 +02:00
steve-lad 97c02f125f Add error message for chan-sccp compatibility
Ad error message in install if chan-sccp version is too low
Minor formatting
2021-05-31 12:52:56 +02:00
steve-lad ee0fda775e Retire Old Interface
Use exclusively AMI interface
Delete oldinterface
Delete srvinterface and move aminterface to Sccp_manager.inc
All calls now pass directly to aminterface
2021-05-31 12:33:35 +02:00
steve-lad ac71164055 Update install.php
Clean up formatting and remove unnecessary quotations
2021-05-31 10:00:06 +02:00
steve-lad b138c3ac81 Enable edit of phones as per 9e95071
Reintegrate edit of phones as per original patch by @dkgroot
Corrections in HTML
Simplify Installer mods
2021-05-30 16:01:02 +02:00
Diederik de Groot 51dad690ef Fix: Default models should have at least 1 button if number is currently no known
Enh: allow all model information to be edited.
Fix: edit/load loadinformationid
Fix: Modal Title -> Model

With help from @steve-lad

References: #91

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-05-30 15:03:38 +02:00
steve-lad 4ce789cd3e Fix reversion errors
When rebasing, errors were introduced. This commit reverses those errors. It may also revert some commits
2021-05-29 15:50:04 +02:00
Diederik de Groot 0011581fc0
Merge branch 'PR108' into extension_mobility_rebased_on_develop 2021-05-24 13:46:19 +02:00
Diederik de Groot 9e95071bad
Fix: Default models should have at least 1 button if number is currently no known
Enh: allow all model information to be edited.
Fix: edit/load loadinformationid
Fix: Modal Title -> Model

With help from @steve-lad

References: #91

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:30:03 +02:00
steve-lad c4cd6cbdbf
Update install.php
Populate sccpdevmodel if empty
2021-04-02 15:29:36 +02:00
steve-lad f4f11157e1
Fix exception if sccpsettings table does not exist
Before the installer can create sccpsettings, FreePBX instantiates an SCCP_Manager object which requires sccpsettings.
Catch the exception and create the table
2021-04-02 15:29:17 +02:00
steve-lad 19e1bb9b3e
Remove dbugs 2021-04-02 15:29:17 +02:00
steve-lad 92ca19ed41
Test for chan_sccp_b version compatibility
SoftKeySets fails with chan_sccp-b prior to revision number 11048.

Check the version with the installer, and subsequently to ensure do not get exception.
2021-04-02 15:25:30 +02:00
steve-lad e94fa4e8d1
Tidy up
Remove unused variables
Close socket if not using
2021-04-02 15:23:55 +02:00
steve-lad 673f6d45e0
Tighten Ami controls
Check that have compatible version of chan-sccp for AMI and disable AMI  if not found
Check returned values
Add new classes for response to reduce testing
2021-04-02 15:23:54 +02:00
steve-lad e4a4630ad2
Installer failed to update db version
Error in sytax at 745, and in exception handler at 747

Tidied up messages

Standardised Exception handler trap

Atom deleted whitespaces
2021-04-02 15:23:53 +02:00
PhantomVl 30db2da52d
Fixes: #88
-- Bug Fix SRST Config
-- A template was added for 7975
2021-04-02 15:23:53 +02:00
PhantomVl f93b846dc1
--- Add support for setting "setvar=xxx=xxx" entries
--- Writing sccp.conf also check/create sccp_custom.conf #87
--- Fix the getCodec function. #85
--- Switching around the general deny/permit order. #82
--- Thank Josh2893 for the templet #77
Special thanks for help Diederik de Groot
2021-04-02 15:23:53 +02:00
PhantomVl 1637731d99
-- Bug fix Thanks for the help @BossLX
-- Bug fix issues/73
2021-04-02 15:23:52 +02:00
PhantomVl 6740aab4f2
-- Bug fix
-- DB add field 'videomode'
2021-04-02 15:23:52 +02:00
PhantomVl 14cb629f61
-- Added new features for the future (now disabled)
-- Changed time zone settings
-- Changed the list of supported codecs
-- Added the ability to specify the DNS name as the server interface
-- Bug Fix
-- Add Vendor Config Options
2021-04-02 15:23:51 +02:00
Diederik de Groot 1afe5c5438
Fix Spelling Sccp_manager.class.php
Switch to using camelCase for functions in Sccp_manager.class.php
Remove old TODO comments
Remove comments that don't add information

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:23:51 +02:00
Diederik de Groot de0a07562f
Ran: .......................................... 42 / 42 (100%)
No fixable errors were found

Time: 10.05 secs; Memory: 41.75MB
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:23:44 +02:00
Diederik de Groot ca16773fa5
First round of spelling corrections
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:23:27 +02:00
PhantomVl 413bcf1b38
-- Added new features for the future (now disabled)
-- Changed time zone settings
-- Changed the list of supported codecs
-- Added the ability to specify the DNS name as the server interface
2021-04-02 15:23:05 +02:00
PhantomVl 3b33d83739
- Add Support "Callforward NOANSWER"
- Add Support "park"
2021-04-02 15:23:05 +02:00
PhantomVl 1905431be4
- ADD SIP TFTP
- Activate Dial Template
2021-04-02 15:23:04 +02:00
PhantomVl de7633ace7
- ADD SIP TFTP
- Activate Dial Template
2021-04-02 15:23:04 +02:00
PhantomVl 7f0ddf8f69
- Remove sccp_extensions.conf
- Remove sccp_hardware.conf
2021-04-02 15:23:03 +02:00
PhantomVl 180d832042
- Remove sccp_extensions.conf
- Remove sccp_hardware.conf
2021-04-02 15:23:03 +02:00
PhantomVl 2031587f29
- Add Buton "Update Buton Labels". If you replace User nams, this functon Regenerate device labels 2021-04-02 15:22:29 +02:00
PhantomVl 06031ad89c
- Installation procedure, detect chan_sccp 2021-04-02 15:21:44 +02:00
PhantomVl 83ec52ea56
- Bug fix, provision sccp 2021-04-02 15:21:24 +02:00
PhantomVl 597bed3bce
- Create Cisco phone service for user mobility. 2021-04-02 15:20:55 +02:00
PhantomVl 23aad30d89
- Change Db Code page 2021-04-02 15:18:57 +02:00
PhantomVl 573a2c9811
Initial add of feature mobility user table:
- Add extra user fields and sccp_config entries
 - Create new buttonconfig table
 - Add PhoneCodepages like cp1251
 - Add BackUp Config before Install
2021-04-02 15:18:55 +02:00
PhantomVl 7582061645
Initial add of feature mobility user table:
- Add extra user fields and sccp_config entries
 - Create new buttonconfig table
 - Add PhoneCodepages like cp1251
 - Add BackUp Config before Install
2021-04-02 15:17:17 +02:00
PhantomVl f4d2396a3c
Initial add of feature mobility user table:
- Add extra user fields and sccp_config entries
 - Create new buttonconfig table
 - Add PhoneCodepages like cp1251
2021-04-02 15:16:33 +02:00
PhantomVl 713d588d98
Initial add of feature mobility user table:
- Add extra user fields and sccp_config entries
 - Create new buttonconfig table
2021-04-02 15:15:58 +02:00
steve-lad 815e56994b Update install.php
Populate sccpdevmodel if empty
2021-03-13 16:48:41 +01:00
steve-lad cc8eb549d0 Fix exception if sccpsettings table does not exist
Before the installer can create sccpsettings, FreePBX instantiates an SCCP_Manager object which requires sccpsettings.
Catch the exception and create the table
2021-03-13 11:21:12 +01:00
steve-lad 80923f5ce1 Remove dbugs 2021-02-11 12:52:08 +01:00
steve-lad 7993eec487 Test for chan_sccp_b version compatibility
SoftKeySets fails with chan_sccp-b prior to revision number 11048.

Check the version with the installer, and subsequently to ensure do not get exception.
2021-02-09 12:45:36 +01:00
steve-lad d26fbd719d Installer failed to update db version
Error in sytax at 745, and in exception handler at 747

Tidied up messages

Standardised Exception handler trap

Atom deleted whitespaces
2021-02-02 10:15:18 +01:00