steve-lad
fbb61be0f1
Update Sccp.class.php.v433
2021-08-10 08:10:30 +02:00
steve-lad
b7d5851643
Update helperFunctions.php
2021-08-10 08:06:36 +02:00
steve-lad
90729f74aa
Update for compatibility with PHP 7.4
...
PHP 7.4 gives warnings that are handled as exceptions
2021-08-10 07:08:10 +02:00
steve-lad
031ef0087e
Compatibility update
2021-08-09 13:56:18 +02:00
steve-lad
91d6ad2f48
Fix incompatibility with new Describe table
2021-08-09 09:23:00 +02:00
steve-lad
662e2a4aa3
Update file extensions list to include .SBN and .LOADS
...
Some firmware has upper case extensions
2021-08-09 06:56:38 +02:00
steve-lad
a40c110efe
Update Defaults and correct site defaults to comply with new enum values
...
Legacy values for site defaults in sccpsettings are now converted to be compliant with current enums, or reset to system defaults (cleared)
2021-08-08 14:30:48 +02:00
steve-lad
0b03d58c09
Remove debug code and update version
2021-08-08 09:57:36 +02:00
steve-lad
481c8929a9
Correct handling of device vendor settings
...
Prefix was incorrect following removal of _column names
2021-08-08 09:56:04 +02:00
steve-lad
8dc1175b37
Update installer to add parent extensions to sccpline if they exist
...
Previously ignored sccp extensions in freepbx devices and so created 'orphans'. Now create rows for sccpline for devices that already exist as sccp extensions in devices.
Remove dbug code
2021-08-08 09:03:05 +02:00
steve-lad
b30340eab5
Update ajaxHelper.php
2021-08-07 16:07:18 +02:00
steve-lad
31e8a48e12
Add videomode select - dropped in earlier commit
2021-08-07 16:01:19 +02:00
steve-lad
0f352eeb59
Fix addition of new device when not in db
...
Partial fix for issue#29
Populate available fields
Optimise code
2021-08-07 11:03:33 +02:00
steve-lad
14215b64ca
Finalise chan-sccp build info
2021-08-06 08:42:39 +02:00
steve-lad
6567923ff1
Add chan-sccp build info to Sccp Info
2021-08-06 08:24:53 +02:00
steve-lad
b3fc62caa7
Update dbinterface.class.php
2021-08-04 13:22:42 +02:00
steve-lad
f1cc0f1bf6
Remove IF EXISTS condition on rename
...
Know that the column exists so this is unnecessary and fails in MariaDb 5.5
2021-08-04 12:36:18 +02:00
steve-lad
b133b2bc3a
Change sccpdeviceconfig view create statement
...
Should not use ALGORITHM=MERGE when using GROUP BY
2021-08-04 10:55:26 +02:00
steve-lad
2c8842d21a
Correct initialisation
...
res_conf is an array
2021-08-04 07:24:28 +02:00
steve-lad
6775b6686b
Simplify getPhoneGrid
2021-08-01 14:54:17 +02:00
steve-lad
4ffcfaf6b7
Correct getExtensionGrid method and optimise
...
Was dropping last line
Logic was overly complicated; optimise as called frequently
2021-08-01 13:58:11 +02:00
steve-lad
74ddfcd413
Update Sccp_manager.class.php
2021-08-01 12:14:13 +02:00
steve-lad
7ab6eba556
Finalise optimisation of getSccpModelInformation
...
Use foreach with reference instead of iterator.
2021-08-01 12:13:49 +02:00
steve-lad
28bb5a63da
Optimise validate part of getSccpModelInformation
...
Remove needless iterations and use array functions.
Use basename to remove file extension to facilitate this
2021-08-01 11:57:03 +02:00
steve-lad
ab7b295b87
switch basedir path source
...
Use $amp_conf['AMPWEBROOT'] instead of $_SERVER['DOCUMENT_ROOT'] as at least in one case the latter appears to be empty
2021-07-31 17:07:37 +02:00
steve-lad
d8d2f946ce
Minor optimisations
2021-07-31 15:41:32 +02:00
steve-lad
43a656cebc
Correct XML Path in installer and optimise findAllFiles
...
XML Path in installer was in single quotes - corrected
Remove unnecessary tests in findallfiles
2021-07-31 12:30:24 +02:00
steve-lad
e313b9da3f
Change pathname style from {} to .
...
Instability seen when pathnames with globals enclosed in {} - revert to . style pathnames
2021-07-30 22:43:35 +02:00
steve-lad
3ea36f5459
add keepalive
2021-07-30 14:39:15 +02:00
steve-lad
b7a64e854f
Update ajaxHelper.php
2021-07-30 14:05:59 +02:00
steve-lad
e8cabfbd1a
Improve parsing of firewall rules
2021-07-30 14:05:00 +02:00
steve-lad
1338336dd9
Add phonecodepage column to sccpdeviceconfig
2021-07-30 12:04:32 +02:00
steve-lad
49fd6a5c91
Merge pull request #30 from chan-sccp/issue/28
...
Device SEP ID
2021-07-30 11:54:02 +02:00
steve-lad
d8287157bd
Remove videomode field from sccplineconfig
...
Not recognised by chan-sccp
2021-07-30 11:23:13 +02:00
steve-lad
85e77ab34c
Insert missing field in sccplineconfig view
2021-07-30 11:04:01 +02:00
steve-lad
40cace04e4
Increase granularity of backup name
2021-07-30 10:36:38 +02:00
steve-lad
97c1f6d5d4
Minor settings changes
2021-07-30 10:18:27 +02:00
steve-lad
60f7d74cf4
Update Sccp Info
2021-07-30 09:12:51 +02:00
steve-lad
a267f075c8
include silent lines in extension view
2021-07-30 08:39:53 +02:00
steve-lad
d432ff7a05
Ensure that addons cannot be added in edit on devices that do not have addons
2021-07-30 07:27:31 +02:00
steve-lad
472d73489e
Update ajaxHelper.php
2021-07-29 17:21:18 +02:00
steve-lad
fb25407611
Improve presentation of shared lines
2021-07-29 17:20:43 +02:00
steve-lad
f2d15ebd5e
Correct del extension to remove all associated buttons
2021-07-29 16:28:05 +02:00
steve-lad
1f910c7e97
Force entry of correct mac address before save is enabled
...
Move focus to Mac field and stay until a correct Mac address is entered, disabling Save buttons until correct
Motive: a device record with an empty Mac address requires manual removal.
2021-07-29 15:40:23 +02:00
steve-lad
d43570b471
Enable addition of sidecars to an existing device
2021-07-29 13:50:31 +02:00
steve-lad
b753482898
Correct defaults after db schema change
2021-07-29 08:43:40 +02:00
steve-lad
646a975a5f
Update xmlinterface.class.php
...
Update locale cases for SIP phones
2021-07-29 08:26:11 +02:00
steve-lad
48a2793886
Add directed_pickup field
...
Previously shown but not updated
2021-07-29 08:05:33 +02:00
steve-lad
b659f55170
Remove _ prefixes in db column names
...
Mariadb does not accept _prefixed fields by spec, and these columns may give future issues. Migrate all fields in installer to remove this prefix (without data loss) and:
Create new view sccplineconfig for chan-sccp where only accepted fields are shown
Update sccpdeviceconfig to only show accepted fields
Update extconfigs.conf to use sccplineconfig
Remove references to _ prefixed fields
2021-07-28 15:48:57 +02:00
steve-lad
4e9dcb09f3
Fix return link if default button changed
2021-07-25 16:03:02 +02:00