Commit graph

214 commits

Author SHA1 Message Date
steve-lad 34f66b5b6d
Update dbinterface.class.php 2021-05-23 08:22:49 +02:00
steve-lad ddbc234be5
Remove dbugs 2021-05-23 08:22:49 +02:00
steve-lad 0ce869281b
Final version
Standardise some calls and add notes
2021-05-23 08:22:49 +02:00
steve-lad 379c28cf19
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-05-23 08:22:49 +02:00
steve-lad b895da31f9
Update Transactions and fix errors
Reduce quoting level, and fix errors introduced by prior commits
2021-05-23 08:22:49 +02:00
steve-lad 879c0b3af1
Further clean ups and annotations
Document changes
2021-05-23 08:22:49 +02:00
steve-lad eff1479d2b
Switch to PDO model
Switch to PDO model and correct transactions
2021-05-23 08:22:49 +02:00
steve-lad 3e9f1b0048
Cleaning up
Simplify structure and fix errors
2021-05-23 08:22:49 +02:00
steve-lad 1646778c57
Switch to PDO model
Switch to PDO model and correct transactions
2021-05-23 08:22:49 +02:00
steve-lad e472d58af6
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-05-23 08:22:48 +02:00
steve-lad f190eeebb4
Update Transactions and fix errors
Reduce quoting level, and fix errors introduced by prior commits
2021-05-23 08:22:48 +02:00
steve-lad 845e8621fb
Further clean ups and annotations
Document changes
2021-05-23 08:22:48 +02:00
steve-lad 022bd0bd9f
Cleaning up
Simplify structure and fix errors
2021-05-23 08:22:48 +02:00
steve-lad 68c5bc418f
Switch to PDO model
Switch to PDO model and correct transactions
2021-05-23 08:22:48 +02:00
steve-lad 825e3df2a1
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-05-23 08:22:48 +02:00
steve-lad 39919d987d
Apply PR 101 2021-05-23 08:22:48 +02:00
steve-lad a0216bc411
Correct type declarations
type declarations must be lowercase or will be treated as local instance names
2021-05-23 08:22:48 +02:00
steve-lad 5c778d788b
Tidy up
Remove unused variables
Close socket if not using
2021-05-23 08:22:47 +02:00
steve-lad 7294f3b3e0
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-05-23 08:22:47 +02:00
steve-lad 6c7a700c0e
Correct Field and add new event classes
add 2 new event classes for SCCPShowDevice

correct translator in ShowSCCPDevice_Response
2021-05-23 08:22:47 +02:00
steve-lad 621a1f1c19
Tidy up exception handling
Simplify handling of AMI lists and trap exceptions
2021-05-23 08:22:47 +02:00
steve-lad d3256f9abe
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-05-23 08:22:47 +02:00
Andrea Diotallevi 23323dfc3b
Fixed recognition of chan-sccp release version 4.3.3 2021-05-23 08:22:47 +02:00
steve-lad 939bf4828f
Updated GenericResponse
Updated generic response handler for table case
2021-05-23 08:22:47 +02:00
steve-lad b4ae9337c5
Update AMI Response
Bring branch up to level of previous Pull which can now be deleted
2021-05-23 08:22:47 +02:00
steve-lad d48c8e5f1a
Cleaned up messages
Improved message readability. Atom removed extraneous white spaces and lines
2021-05-23 08:22:47 +02:00
steve-lad ccee1627aa
Match to previous commit
Add missing comments
2021-05-23 08:22:46 +02:00
steve-lad 3bc30fffb0
Remove extraneous calls
Duplicate calls from page.settings removed
2021-05-23 08:22:46 +02:00
steve-lad 12f84c446e
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-05-23 08:22:46 +02:00
PhantomVl fbf508a35a
-- Bug Fix NTP Config 2021-05-23 08:22:46 +02:00
PhantomVl 25a683d991
Fixes: #88
-- Bug Fix SRST Config
-- A template was added for 7975
2021-05-23 08:22:46 +02:00
PhantomVl 40fda57632
-- Bug Fix SRST Config 2021-05-23 08:22:46 +02:00
PhantomVl 631148502c
-- Bug Fix Delete Empty Key 2021-05-23 08:22:46 +02:00
PhantomVl b4c132e9e7
Fixes: #77
Fixes: #82
Fixes: #85
Fixes: #87
--- Bugfix sip protocol
Special thanks for help Diederik de Groot
2021-05-23 08:22:46 +02:00
PhantomVl 4d540ebc69
--- 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-05-23 08:22:46 +02:00
PhantomVl b04cd0881a
-- Bug fix @BossLX 2021-05-23 08:22:45 +02:00
PhantomVl f9ea6f6038
-- Bug fix @BossLX 2021-05-23 08:22:45 +02:00
PhantomVl a4be3b0fd8
-- Bug fix @BossLX 2021-05-23 08:22:45 +02:00
PhantomVl de35c90e38
-- Bug fix issues/74 2021-05-23 08:22:45 +02:00
PhantomVl 75ddd25ab2
-- Bug fix Thanks for the help @BossLX
-- Bug fix issues/73
2021-05-23 08:22:45 +02:00
PhantomVl 7c77466d17
-- Bug fix Thanks for the help @BossLX 2021-05-23 08:22:45 +02:00
PhantomVl 81bd328dd4
-- Bug fix 2021-05-23 08:22:45 +02:00
PhantomVl 46ddbd0197
-- Bug fix
-- DB add field 'videomode'
2021-05-23 08:22:45 +02:00
PhantomVl bf4593297f
-- Bug fix
-- DB add field 'videomode'
2021-05-23 08:22:45 +02:00
PhantomVl ca1fe96729
-- Bug fix 2021-05-23 08:22:44 +02:00
PhantomVl de781c3acd
-- Bug fix 2021-05-23 08:22:44 +02:00
PhantomVl 5b8ef7bd0d
-- 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-05-23 08:22:44 +02:00
Diederik de Groot 5695a1df1d
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-05-23 08:22:44 +02:00
Diederik de Groot b2fa32647e
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-05-23 08:22:44 +02:00
Diederik de Groot 050cd6d23e
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-05-23 08:22:44 +02:00