steve-lad
c24f6ad8d9
Merge Fix-dbinterface-class
2021-03-13 15:50:45 +01:00
steve-lad
fdf6c2ae83
Merge branch 'Fix-dbinterface-class' into Issue-106
2021-03-13 15:50:17 +01:00
steve-lad
da9517a335
Apply PR 101
2021-03-13 15:10:24 +01:00
steve-lad
7030ec2bb5
Migrate from global db object
...
As per FreePBX BMO, no longer use global db object
2021-03-13 14:58:30 +01:00
steve-lad
9ae3638d04
Correct type declarations
...
type declarations must be lowercase or will be treated as local instance names
2021-03-13 11:35:35 +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
0f9ebb8cd1
Tidy up
...
Remove unused variables
Close socket if not using
2021-03-12 14:40:31 +01:00
steve-lad
d5290f18cf
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-03-12 14:03:50 +01:00
steve-lad
2b07718c30
Correct Field and add new event classes
...
add 2 new event classes for SCCPShowDevice
correct translator in ShowSCCPDevice_Response
2021-02-28 13:33:41 +01:00
steve-lad
6e2101d4fd
Tidy up exception handling
...
Simplify handling of AMI lists and trap exceptions
2021-02-27 10:00:26 +01:00
steve-lad
c6c2134e03
Bug Fixes and optimisations as a result of issue 106
...
Fix bugs in Response Class causing exceptions
Update extconfigs class to correctly check database connectors and improve feedback
Move some constructors to start of class for lisibility
Tidy up Response class with Typing to eliminate unnecessary tests
2021-02-24 15:22:04 +01:00
steve-lad
3362f5a7cf
Update dbinterface.class.php
2021-02-11 15:01:57 +01:00
steve-lad
80923f5ce1
Remove dbugs
2021-02-11 12:52:08 +01:00
steve-lad
6bfa311281
Final version
...
Standardise some calls and add notes
2021-02-11 12:46:37 +01:00
steve-lad
63e5be2cce
Merge branch 'Fix-dbinterface-class' of https://github.com/steve-lad/sccp_manager into Fix-dbinterface-class
2021-02-11 12:41:05 +01:00
steve-lad
73ea3023eb
Use bindParam on db executes
...
Use bind param to have stricter typing
Fix bug in Sccp-Manager where key and keyword were not the same
2021-02-09 12:48:22 +01:00
steve-lad
7d7b8cdd05
Update Transactions and fix errors
...
Reduce quoting level, and fix errors introduced by prior commits
2021-02-09 12:48:22 +01:00
steve-lad
124f7052eb
Further clean ups and annotations
...
Document changes
2021-02-09 12:48:22 +01:00
steve-lad
22a4eb6e9e
Cleaning up
...
Simplify structure and fix errors
2021-02-09 12:45:37 +01:00
steve-lad
5e5633ed7b
Switch to PDO model
...
Switch to PDO model and correct transactions
2021-02-09 12:45:37 +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
b3d31b669a
Fix assignment sccp_compatible
...
Sccpvalues key and keyword must be same or causes hidden DB warnings because of duplicate primary keys after write / read / write
2021-02-09 12:43:26 +01:00
steve-lad
175346c2c1
Use bindParam on db executes
...
Use bind param to have stricter typing
Fix bug in Sccp-Manager where key and keyword were not the same
2021-02-09 12:31:06 +01:00
steve-lad
89d4e45f5e
Update Transactions and fix errors
...
Reduce quoting level, and fix errors introduced by prior commits
2021-02-08 17:41:19 +01:00
steve-lad
6664ab97af
Further clean ups and annotations
...
Document changes
2021-02-08 15:27:35 +01:00
steve-lad
1972e53eef
Merge branch 'Fix-dbinterface-class' of https://github.com/steve-lad/sccp_manager into Fix-dbinterface-class
2021-02-08 10:24:02 +01:00
steve-lad
22e1939ace
Cleaning up
...
Simplify structure and fix errors
2021-02-07 16:09:35 +01:00
steve-lad
c104b0e8fe
Switch to PDO model
...
Switch to PDO model and correct transactions
2021-02-07 15:02:45 +01:00
steve-lad
c1fb9370bd
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-07 14:48:49 +01:00
steve-lad
14199fca2e
Switch to PDO model
...
Switch to PDO model and correct transactions
2021-02-06 17:26:37 +01:00
Phantom
2f854e7273
Merge pull request #93 from andreadiotta/fix_chan-sccp_version_detect
...
Fixed recognition of chan-sccp release version 4.3.3
2021-02-05 12:15:14 +03:00
Phantom
2c28342286
Merge pull request #98 from steve-lad/Fix-SoftKeys
...
Fix soft keys
2021-02-05 12:14:07 +03:00
Phantom
c0cf0b15d7
Merge pull request #97 from steve-lad/Update-AMI-getRealTimeStatus
...
Update ami get real time status
2021-02-05 12:10:59 +03:00
Phantom
e31b4bf993
Merge pull request #95 from steve-lad/Improve-Page-Performance
...
Improve page performance
2021-02-05 12:09:55 +03:00
Phantom
30ba68d03e
Merge pull request #99 from steve-lad/Fix-Installer
...
Installer failed to update db version
2021-02-04 14:29:59 +03: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
steve-lad
26d9554c05
Updated GenericResponse
...
Updated generic response handler for table case
2021-01-28 11:54:27 +01:00
steve-lad
c929649909
Update AMI Response
...
Bring branch up to level of previous Pull which can now be deleted
2021-01-28 11:18:48 +01:00
steve-lad
48041fc62c
Cleaned up messages
...
Improved message readability. Atom removed extraneous white spaces and lines
2021-01-28 10:25:02 +01:00
steve-lad
d5c8cc9ab2
Match to previous commit
...
Add missing comments
2021-01-28 10:00:10 +01:00
steve-lad
80fbf7b1b4
Remove extraneous calls
...
Duplicate calls from page.settings removed
2021-01-28 08:11:21 +01:00
Andrea Diotallevi
64e4c3d86b
Fixed recognition of chan-sccp release version 4.3.3
2021-01-17 15:33:00 +01:00
PhantomVl
4eb816985e
-- Bug Fix NTP Config
2020-11-17 09:34:11 +03:00
PhantomVl
5cf3f7f324
Fixes : #88
...
-- Bug Fix SRST Config
-- A template was added for 7975
2020-11-16 22:58:44 +03:00
PhantomVl
adc46b84c2
-- Bug Fix SRST Config
2020-11-16 22:43:21 +03:00
PhantomVl
4c49a036f8
-- Bug Fix Delete Empty Key
2020-11-16 10:33:18 +03:00
PhantomVl
21a5472f4a
Fixes : #77
...
Fixes : #82
Fixes : #85
Fixes : #87
--- Bugfix sip protocol
Special thanks for help Diederik de Groot
2020-11-15 18:37:51 +03:00
PhantomVl
ab6b45350e
--- 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
2020-11-11 15:16:41 +03:00
PhantomVl
932aae5cfd
-- Bug fix @BossLX
2020-05-05 16:08:49 +03:00
PhantomVl
52a3c91f7a
-- Bug fix @BossLX
2020-05-05 15:16:23 +03:00