Commit graph

96 commits

Author SHA1 Message Date
steve-lad acfae0abe3
Migrate from global db object
As per FreePBX BMO, no longer use global db object
2021-05-23 08:22:50 +02:00
steve-lad de8f024cbf
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-05-23 08:22:50 +02:00
steve-lad 34f66b5b6d
Update dbinterface.class.php 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
PhantomVl fbf508a35a
-- Bug Fix NTP Config 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 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 81bd328dd4
-- Bug fix 2021-05-23 08:22:45 +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
Diederik de Groot a1d2809f9a
First round of spelling corrections
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-05-23 08:22:44 +02:00
PhantomVl 12f30dc70c
-- 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-05-23 08:22:44 +02:00
Phantom b372f0cf90
Update extconfigs.class.php 2021-05-23 08:22:43 +02:00
PhantomVl 3a874139c4
- Bug Fix. Create addons information 2021-05-23 08:22:43 +02:00
PhantomVl 8d9ef1e73c
- Fix SCCP
- Fix SIP
2021-05-23 08:22:42 +02:00
PhantomVl 6fcd8ed0e3
- Fix SCCP
- Fix SIP
2021-05-23 08:22:42 +02:00
PhantomVl 24124d4039
- ADD SIP TFTP
- Activate Dial Template
2021-05-23 08:22:42 +02:00
PhantomVl d358698176
- ADD SIP TFTP
- Activate Dial Template
2021-05-23 08:22:42 +02:00
PhantomVl c23efc70a4
- Bug Fix 2021-05-23 08:22:41 +02:00
PhantomVl 4d29582468
- Bug Fix 2021-05-23 08:22:41 +02:00
PhantomVl d727e8cc1c
- Add Buton "Update Buton Labels". If you replace User nams, this functon Regenerate device labels 2021-05-23 08:22:41 +02:00
PhantomVl 8c2c5fe63c
- Create Cisco phone service for user mobility. 2021-05-23 08:22:39 +02:00