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
Diederik de Groot
a1e52d01a4
Rename Device SEP ID
to Device ID
...
Use "XX:XX:XX:XX:XX:XX" as the default display format for device MAC Address
References #28
2021-07-25 12:27:05 +00:00
steve-lad
26f750296a
Fix various issues with buttons
...
Add choice of default line on add device
Partially fix buttoncount (will not work if default device is selected)
Correct database save logic for buttons - triggers should be OK but more verification needed
Fix various save issues where defaults not correctly set
Delete default buttons when deleting line to avoid orphans
2021-07-25 13:42:42 +02:00
steve-lad
80cf629c0f
Update ajaxHelper.php
2021-07-24 09:39:57 +02:00
steve-lad
75858d7cc1
Optimise and add error handling to getFilesFromProvisioner
2021-07-24 09:31:30 +02:00
steve-lad
97cfa12fea
Update rewrite.rules
2021-07-23 13:05:09 +02:00
steve-lad
312229d4cf
Update rewrite.rules
2021-07-23 12:54:21 +02:00
steve-lad
83d54c0fad
Update rewrite.rules
2021-07-23 12:40:30 +02:00
steve-lad
4151b4fdae
Restructure languages and locales management
...
Base off of provision file structure
Store netlang and devlang
Stop usage of extconfig ->sccplang
2021-07-23 12:14:46 +02:00
steve-lad
215cacae41
Get Country tones with locales
...
Get country files with locales
WIP incompatibility between provision, its rewrite rules and the file structure
WIP - need to clean up get files from provisioner
2021-07-21 16:44:23 +02:00
steve-lad
3a53e9ac8b
Optimise database calls
...
Remove unnecessary post processing on returned object
2021-07-21 12:54:05 +02:00
steve-lad
3475efc2c6
Database request modifications and page improvements
...
Add device to extensions page - permits to see unassigned lines and shared lines easily
Reformat status to centred
change 'replace' in sccp class to only 'insert on duplicate key' (UPSET equivalent)
Change request in phoneGrid to left join to show all lines, even unassigned to a device
2021-07-21 11:30:50 +02:00
steve-lad
a4aa4eb03b
Simplify db queries and change alignment
2021-07-21 08:57:43 +02:00
steve-lad
97c1395eb1
Fix Fill Phone status column
...
Add db query to include mac to allow join with ami active device data
Change output fields
2021-07-20 18:03:44 +02:00
steve-lad
65f3a6cd37
Fix saving empty num value to db
...
Replace with NULL
2021-07-20 15:56:44 +02:00
steve-lad
4b40811d60
Fix issue with uninitialised adv.ini
...
Change logic to ensure adv.ini is initialised - necessary as used __Construct before sccp_manager installer can initialise.
2021-07-20 15:40:35 +02:00
steve-lad
be5890e61f
Update extconfigs.class.php
2021-07-20 12:55:23 +02:00
steve-lad
477eb69146
Fix phonepersonalisation
...
Set expected numeric value for phonepersonalization
WIP fix - adv.ini
2021-07-20 12:53:29 +02:00