Commit graph

212 commits

Author SHA1 Message Date
steve-lad 09beeb449e
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-04-02 15:28:55 +02:00
steve-lad 5892afc653
Update Transactions and fix errors
Reduce quoting level, and fix errors introduced by prior commits
2021-04-02 15:28:54 +02:00
steve-lad 4a3f21dc5d
Further clean ups and annotations
Document changes
2021-04-02 15:28:35 +02:00
steve-lad cfcbe23816
Switch to PDO model
Switch to PDO model and correct transactions
2021-04-02 15:28:06 +02:00
steve-lad fd8c5f9f96
Cleaning up
Simplify structure and fix errors
2021-04-02 15:27:28 +02:00
steve-lad a1c020c772
Switch to PDO model
Switch to PDO model and correct transactions
2021-04-02 15:27:27 +02:00
steve-lad c77c8b76cc
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:56 +02:00
steve-lad 91c2d233d4
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-04-02 15:25:32 +02:00
steve-lad 3fbccb982f
Update Transactions and fix errors
Reduce quoting level, and fix errors introduced by prior commits
2021-04-02 15:25:32 +02:00
steve-lad 7f047f7c10
Further clean ups and annotations
Document changes
2021-04-02 15:25:31 +02:00
steve-lad bda7518932
Cleaning up
Simplify structure and fix errors
2021-04-02 15:25:31 +02:00
steve-lad 95405190cc
Switch to PDO model
Switch to PDO model and correct transactions
2021-04-02 15:25:31 +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 9d29d11a08
Apply PR 101 2021-04-02 15:23:55 +02:00
steve-lad 40e9b01510
Correct type declarations
type declarations must be lowercase or will be treated as local instance names
2021-04-02 15:23:55 +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 315a693894
Correct Field and add new event classes
add 2 new event classes for SCCPShowDevice

correct translator in ShowSCCPDevice_Response
2021-04-02 15:23:54 +02:00
steve-lad 5beee7f9a2
Tidy up exception handling
Simplify handling of AMI lists and trap exceptions
2021-04-02 15:23:54 +02:00
steve-lad a89866e81e
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-04-02 15:23:54 +02:00
Andrea Diotallevi 9b730a998a
Fixed recognition of chan-sccp release version 4.3.3 2021-04-02 15:23:54 +02:00
steve-lad ca5cf9571b
Updated GenericResponse
Updated generic response handler for table case
2021-04-02 15:23:54 +02:00
steve-lad 929f8036b1
Update AMI Response
Bring branch up to level of previous Pull which can now be deleted
2021-04-02 15:23:54 +02:00
steve-lad 6ccc9bbccb
Cleaned up messages
Improved message readability. Atom removed extraneous white spaces and lines
2021-04-02 15:23:54 +02:00
steve-lad 2f69bdb3fa
Match to previous commit
Add missing comments
2021-04-02 15:23:54 +02:00
steve-lad 11af87ca38
Remove extraneous calls
Duplicate calls from page.settings removed
2021-04-02 15:23:53 +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 e08e9b49b9
-- Bug Fix NTP Config 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 7268007ebd
-- Bug Fix SRST Config 2021-04-02 15:23:53 +02:00
PhantomVl 3bf8857759
-- Bug Fix Delete Empty Key 2021-04-02 15:23:53 +02:00
PhantomVl 7b48b289af
Fixes: #77
Fixes: #82
Fixes: #85
Fixes: #87
--- Bugfix sip protocol
Special thanks for help Diederik de Groot
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 19e50dd4d9
-- Bug fix @BossLX 2021-04-02 15:23:53 +02:00
PhantomVl 8fc5fca817
-- Bug fix @BossLX 2021-04-02 15:23:53 +02:00
PhantomVl 8dc4f6b07c
-- Bug fix @BossLX 2021-04-02 15:23:52 +02:00
PhantomVl a3c240b63f
-- Bug fix issues/74 2021-04-02 15:23:52 +02:00
PhantomVl 1637731d99
-- Bug fix Thanks for the help @BossLX
-- Bug fix issues/73
2021-04-02 15:23:52 +02:00
PhantomVl 1e0e19cf26
-- Bug fix Thanks for the help @BossLX 2021-04-02 15:23:52 +02:00
PhantomVl 2f1cf6ca74
-- Bug fix 2021-04-02 15:23:52 +02:00
PhantomVl 6c0d37e25a
-- Bug fix
-- DB add field 'videomode'
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 347f6f6702
-- Bug fix 2021-04-02 15:23:52 +02:00
PhantomVl 5cebb936c9
-- Bug fix 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 6feed566d5
Fix get_server_sccp_bind when a bindaddr is specified in the frontend it should return an array of array indexed by the 'bindaddr'
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
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