Commit graph

212 commits

Author SHA1 Message Date
steve-lad 649b717ce7 Correct SQL for SET DEFAULT 2021-06-20 13:06:53 +02:00
steve-lad de3c58178b Remove Inherit processing
Remove functionality added to hide inherit in default configs - Inherit has been removed from sccpgeneral.xml
2021-06-18 12:10:26 +02:00
steve-lad 57bc13f782 Modify default values
Change sccpgeneral to remove inherit - now inherit default values automatically
Add default values to form groups
Revert changes informShow
Update getTableDefaults to better manage underscores with chan-sccp
Change Defaults in Install
2021-06-18 11:58:00 +02:00
steve-lad efdf2d0469 Added sccpline fields
WIP Still have issue with def_modify in installer
2021-06-17 18:39:32 +02:00
steve-lad 5df918a04b Save Defaults to Db Defaults
Initial changes. Need to update other tables and fields

Minor bugfix in dbinterface

Correct XML version
2021-06-17 15:10:31 +02:00
steve-lad 416cedc425 Create new function to get device defaults
Add new function in helperFunctions and use
2021-06-17 10:18:07 +02:00
steve-lad a146cd2354 Set defaults for Add Device
Get default values from db for add new device
Tidy up AjaxHelper get phone grid removing unnecessary tests and using clearer variable names
Correct typos in sccpgeneral
2021-06-17 09:40:24 +02:00
steve-lad b420f35ad2 WIP Fix formshow prefix logic for IS
Currently only fixed for IS

FormShow was adding the prefix to the full child name, making a useless result.

Need to remove form_prefix from childname to return to db values
2021-06-16 16:58:04 +02:00
steve-lad 815b7dbd2a Update Vendor defaults from db
Use db default values instead of xml as these are dynamic.
2021-06-16 13:21:44 +02:00
steve-lad 790b5f7949 Add vendorconfig data to Edit Device
Translate DB fields to formshow fields

These field translations need to be simplified
2021-06-16 12:42:07 +02:00
steve-lad 8c4b0ce240 Disable Inherit in default system button settings
Disable Inherit buttons in system defaults (should only be used for specific devices)

Add Device Vendor settings to Add Device (WIP - may need db change)

Change various names to be more readable
2021-06-15 17:56:37 +02:00
steve-lad 808e676972 Clean up model display
Improve message and add newline
2021-06-14 10:43:21 +02:00
steve-lad 007330159e Disable TZ selection
TZ is a FreePBX property and should be only changed there.

Now only display for info with help

Ensure that at each initiation, we load the system value
2021-06-13 15:39:43 +02:00
steve-lad 84925a334e Update TZ selection method
Change Cisco code determination
2021-06-12 07:30:18 +02:00
steve-lad cf546961fe Add redirect after saving to sccp_line
Add redirect after saving to sccpline
Revert changes in page script formatting
2021-06-10 16:57:19 +02:00
steve-lad 214509e2c7 Use BMO Hooks
Use BMO Hooks
Correct HTML
2021-06-10 12:15:18 +02:00
steve-lad dface29681
Delete .nfs.2005102d.05d5
Delete extraneous file
2021-06-08 14:43:13 +02:00
steve-lad 03057edd6c Fix Broken Rnav in add device
Replace _DIR_ with absolute path; _DIR_ references sccpTraits
Fix error in toolbar id
2021-06-08 14:39:23 +02:00
steve-lad 5ad6f5bae0 Update button labels
Update button labels in Server Config
Atom whitespace removal in hardware.phone
2021-06-08 12:50:48 +02:00
steve-lad 0fa539bd6a Remove unused delete button
Remove disabled delete button
2021-06-07 16:23:21 +02:00
steve-lad d72a19f9e8 Minor Formatting 2021-06-03 13:51:38 +02:00
steve-lad f4927793ee Modify installer
Change load sequence
Delegate table creation to module.xml
Correct module.xml tables
Correct timezone typo
2021-06-03 13:07:26 +02:00
steve-lad 97c02f125f Add error message for chan-sccp compatibility
Ad error message in install if chan-sccp version is too low
Minor formatting
2021-05-31 12:52:56 +02:00
steve-lad ee0fda775e Retire Old Interface
Use exclusively AMI interface
Delete oldinterface
Delete srvinterface and move aminterface to Sccp_manager.inc
All calls now pass directly to aminterface
2021-05-31 12:33:35 +02:00
steve-lad b138c3ac81 Enable edit of phones as per 9e95071
Reintegrate edit of phones as per original patch by @dkgroot
Corrections in HTML
Simplify Installer mods
2021-05-30 16:01:02 +02:00
Diederik de Groot 51dad690ef Fix: Default models should have at least 1 button if number is currently no known
Enh: allow all model information to be edited.
Fix: edit/load loadinformationid
Fix: Modal Title -> Model

With help from @steve-lad

References: #91

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-05-30 15:03:38 +02:00
steve-lad f8a3c8c81d Reapply patch wriiten by DKGroot
Move the disallow box to the top of the codec page
Correct english
2021-05-30 11:34:35 +02:00
Diederik de Groot fa7fa4772f Move the disallow box to the top of the form, the order is important.
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-05-30 11:29:49 +02:00
steve-lad 4ce789cd3e Fix reversion errors
When rebasing, errors were introduced. This commit reverses those errors. It may also revert some commits
2021-05-29 15:50:04 +02:00
Diederik de Groot 0011581fc0
Merge branch 'PR108' into extension_mobility_rebased_on_develop 2021-05-24 13:46:19 +02:00
Diederik de Groot 9e95071bad
Fix: Default models should have at least 1 button if number is currently no known
Enh: allow all model information to be edited.
Fix: edit/load loadinformationid
Fix: Modal Title -> Model

With help from @steve-lad

References: #91

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:30:03 +02:00
Diederik de Groot 1ef1fe1e31
Move the disallow box to the top of the form, the order is important.
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:30:02 +02:00
steve-lad bd257cec9b
Correct string quoting
String quoting was incompatible with PHP 7
2021-04-02 15:29:36 +02:00
steve-lad 31ac0746ba
Bug fixes
Correct SQL statement
Correct Message Handler
Correct Message interpreter
2021-04-02 15:29:36 +02:00
steve-lad 3ed43600d4
Merge Fix-dbinterface-class 2021-04-02 15:29:36 +02:00
steve-lad 7f047f7c10
Further clean ups and annotations
Document changes
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 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 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
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
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 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 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
PhantomVl 3b33d83739
- Add Support "Callforward NOANSWER"
- Add Support "park"
2021-04-02 15:23:05 +02:00
PhantomVl 320da7b86f
- Bug Fix. Create addons information 2021-04-02 15:23:05 +02:00
PhantomVl bbe4b72fe7
- Button assignment form adjustment 2021-04-02 15:23:05 +02:00
PhantomVl 49aa1f0ecc
- Fix SCCP
- Fix SIP
2021-04-02 15:23:04 +02:00
PhantomVl b6bc649758
- Fix SCCP
- Fix SIP
2021-04-02 15:23:04 +02:00
PhantomVl 1905431be4
- ADD SIP TFTP
- Activate Dial Template
2021-04-02 15:23:04 +02:00
PhantomVl de7633ace7
- ADD SIP TFTP
- Activate Dial Template
2021-04-02 15:23:04 +02:00
PhantomVl 2e88b605bc
- Add Video codecs supported in Global config 2021-04-02 15:23:03 +02:00
PhantomVl 8d92da8426
- Remove spaces and special characters from the name Softkey 2021-04-02 15:22:54 +02:00
PhantomVl 81d42b0b25
- Bug Fix 2021-04-02 15:22:30 +02:00
PhantomVl 2146a78e11
- Bug Fix 2021-04-02 15:22:30 +02:00
PhantomVl eac9efb5ee
- Add Buton "Update Buton Labels". If you replace User nams, this functon Regenerate device labels 2021-04-02 15:22:30 +02:00
PhantomVl 2031587f29
- Add Buton "Update Buton Labels". If you replace User nams, this functon Regenerate device labels 2021-04-02 15:22:29 +02:00
PhantomVl 597bed3bce
- Create Cisco phone service for user mobility. 2021-04-02 15:20:55 +02:00
PhantomVl 713d588d98
Initial add of feature mobility user table:
- Add extra user fields and sccp_config entries
 - Create new buttonconfig table
2021-04-02 15:15:58 +02:00
steve-lad 03dd9bed5a Correct string quoting
String quoting was incompatible with PHP 7
2021-03-23 07:08:36 +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 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 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 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 124f7052eb Further clean ups and annotations
Document changes
2021-02-09 12:48:22 +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 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
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
PhantomVl 9bb381c13a -- Bug fix @BossLX 2020-05-05 12:50:01 +03:00
PhantomVl dc94cf6d33 -- Bug fix issues/74 2020-05-04 16:29:45 +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 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
PhantomVl 57b73781dc - Add Support "Callforward NOANSWER"
- Add Support "park"
2019-11-14 17:10:14 +03:00
PhantomVl e2761e5bdd - Bug Fix. Create addons information 2019-10-14 18:01:16 +03:00
PhantomVl 2faf6e1200 - Button assignment form adjustment 2019-09-27 14:44:56 +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 2bca6e4d8d - Add Video codecs supported in Global config 2019-07-10 20:52:50 +03:00
PhantomVl aadd1deb5b - Remove spaces and special characters from the name Softkey 2019-05-29 20:47:15 +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 14ff3d74c2 - Add Buton "Update Buton Labels". If you replace User nams, this functon Regenerate device labels 2019-05-07 11:12:39 +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 d3aa9b7388 - Installation procedure, detect chan_sccp 2019-04-26 10:17:09 +03:00