Commit graph

94 commits

Author SHA1 Message Date
steve-lad 118ff43ec4 Update dbinterface.class.php
Bug fix
2021-03-18 07:12:59 +01:00
steve-lad fe6ff74608 Bug fixes
Correct SQL statement
Correct Message Handler
Correct Message interpreter
2021-03-17 09:48:20 +01:00
steve-lad f560a1e1be Remove tmp nfs files 2021-03-14 14:04:46 +01:00
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 6bfa311281 Final version
Standardise some calls and add notes
2021-02-11 12:46:37 +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
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
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
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 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 dc94cf6d33 -- Bug fix issues/74 2020-05-04 16:29:45 +03:00
PhantomVl a1686b86e6 -- Bug fix Thanks for the help @BossLX
-- Bug fix issues/73
2020-05-04 12:39:13 +03:00
PhantomVl c12cfad751 -- Bug fix 2020-04-30 14:15:24 +03:00
PhantomVl 2d57895fc1 -- 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
2020-04-16 20:35:50 +03:00
Diederik de Groot 95d0c80b8e 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>
2020-04-09 11:10:42 +00:00
Diederik de Groot 99aa4971c4 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>
2020-04-09 10:16:15 +00:00
Diederik de Groot 2db4cd3dc2 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>
2020-04-09 09:25:43 +00:00
Diederik de Groot ccd514dbd9 First round of spelling corrections
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2020-04-09 09:24:02 +00:00
PhantomVl 5e0b2605e3 -- 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
2020-04-07 17:53:47 +03:00
Phantom 3201b4152c
Update extconfigs.class.php 2020-03-05 17:32:05 +03:00
PhantomVl e2761e5bdd - Bug Fix. Create addons information 2019-10-14 18:01:16 +03:00
PhantomVl e4e720a182 - Fix SCCP
- Fix SIP
2019-09-25 11:10:51 +03:00
PhantomVl 859d15e140 - Fix SCCP
- Fix SIP
2019-09-20 19:43:18 +03:00
PhantomVl ca45965534 - ADD SIP TFTP
- Activate Dial Template
2019-09-09 17:26:09 +03:00
PhantomVl f75a486701 - ADD SIP TFTP
- Activate Dial Template
2019-08-21 18:00:57 +03:00
PhantomVl cf54bb400a - Bug Fix 2019-05-22 08:47:28 +03:00
PhantomVl 8bfc08beaa - Bug Fix 2019-05-18 11:34:32 +03:00
PhantomVl fd57b885e6 - Add Buton "Update Buton Labels". If you replace User nams, this functon Regenerate device labels 2019-05-06 18:22:19 +03:00
PhantomVl c23a697234 - Installation procedure, detect chan_sccp 2019-04-24 20:31:38 +03:00