stevenA
8f91e2c6e6
Update sipconfigs.class.php
2022-01-02 14:24:47 +01:00
stevenA
198b3fffa8
Update save SIP device
...
Fail if no valid FreePbx sip bindings available
Fix SIP display issue
Correct line protocol selection
2022-01-02 13:06:41 +01:00
stevenA
21f9123ece
Update formcreate.class.php
...
Clean up form create
2022-01-01 16:37:17 +01:00
stevenA
3381ad189b
Update formcreate.class.php
...
Clean up code
2022-01-01 16:28:36 +01:00
stevenA
2d9a272589
Update xmlinterface.class.php
...
change phonePersonalization from camel
2022-01-01 13:47:03 +01:00
stevenA
378d3b2ff7
Fix Issue #49 and improve handling of edit defaults
...
keepalive was on 2 pages, so the value was being written then overwritten
Improved handling of customise and restore javascript to ensure that if the option was subsequently unselected, the original value was retained
2022-01-01 12:44:02 +01:00
stevenA
8953484e1f
Fix reset of defaults for text fields
...
Still need to address bindaddress:port and externalIP: Name
2021-12-31 15:01:02 +01:00
stevenA
8268bbf81a
Fix restore defaults for radio buttons
...
Fix restore defaults for radio buttons
2021-12-31 12:45:12 +01:00
stevenA
c473c62ada
Fix issue #47 - Defaults toggling with repeated saves
...
Remove unused group from server.settings.php
Correct testing for use of system defaults
Correct application of system defaults
ToDo:Numeric values are not being saved, or do not revert to defaults when button clicked
2021-12-30 15:22:20 +01:00
stevenA
0bc2eed76b
Fix dndFeature setting not saved
...
dndFeature setting was not saved
check for existence of chan-sccp flags
add helper to list chan-sccp flags
fix version compatibility check
update version to 14.3.0.19
2021-12-29 12:42:57 +01:00
stevenA
3737462fa7
replace vtmp_key
2021-12-29 08:55:09 +01:00
stevenA
64ab034443
Remove vendor config prefix when matching data in create SEP Xml
...
Vendor config data is no longer prefixed. Create xml was looking for a prefix and so no vendor config data was updated
2021-12-28 16:06:09 +01:00
stevenA
88409eb6c8
Change label on sccp connector
...
Change from default to legacy
2021-12-28 11:30:40 +01:00
steve-lad
c209932eb5
Get all chan-sccp settings
...
Prior only included general section - now get from all sections
Get all settings fields even if empty or SccpClass will raise an exception
2021-08-10 09:48:53 +02:00
steve-lad
3a1a89fdb8
Update Sccp.class.php.v433
2021-08-10 08:11:08 +02:00
steve-lad
fbb61be0f1
Update Sccp.class.php.v433
2021-08-10 08:10:30 +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
91d6ad2f48
Fix incompatibility with new Describe table
2021-08-09 09:23:00 +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
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
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
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
e8cabfbd1a
Improve parsing of firewall rules
2021-07-30 14:05:00 +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
f2d15ebd5e
Correct del extension to remove all associated buttons
2021-07-29 16:28:05 +02:00
steve-lad
d43570b471
Enable addition of sidecars to an existing device
2021-07-29 13:50:31 +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
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
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