Commit Graph

299 Commits

Author SHA1 Message Date
Alex a229d1e46c
Add enabled toggle to more pages and bug fix (#6552)
* Add enabled toggle to more pages and bug fix

* Add device profile enable toggle

* fixed enable on bridge_edit.php

* Fixed enable on call_block_edit.php

* Fixed enable on call_flow_edit.php

* Fixed enable on conference_center_edit.php

* Add conference room enabled toggle

* Fixed enable on conference_control_detail_edit.php

* Fixed enable on conference_control_edit.php

* Fixed enable on conference_profile_edit.php

* Add conference profile param enabled toggle

* Fixed enable on conference_edit.php

* Fixed enabled on device_edit.php

* Fixed enable on extension_edit.php

* Fixed enable on gateway_edit.php

* Fixed enable on number_translation_edit.php

* Fixed enable on phrase_edit.php

* Fixed enable on ring_group_edit.php

* Fixed enable on sip_profile_edit.php

* Fixed enable on stream_edit.php

* Fixed enable on time_condition_edit.php

* Fixed enable on var_edit.php

* Fixed enable on voicemail_edit.php

* Fixed enable on user_edit.php

* Fixed enable on user_setting_edit.php

* Update user_edit.php

* Update bridge_edit.php

* Update call_flow_edit.php

* Update conference_control_edit.php

* Update stream_edit.php

* Fixed enable on default_setting_edit.php

* Fixed enable on domain_edit.php

* Fixed enable on email_template_edit.php

* Fixed enable on module_edit.php
2023-02-14 11:19:02 -07:00
Alex 2acda5ea06
Add dashboard, device, extension, and gateway enabled toggle (#6548)
* Update system_counts.php

* Update call_forward.php

* Add dashboard widget enabled toggle

* Add device enabled toggle

* Add extension enabled toggle

* Add gateway enabled toggle

* Update extension_edit.php

* Update extension_edit.php

* Update device_edit.php

* Update gateway_edit.php
2023-02-10 11:14:43 -07:00
FusionPBX 60aa8f6ab2
Remove the domain from the user_id 2023-01-08 11:46:57 -07:00
Harry Foster 13bcd5d244
Updated device key save to be a submit function for the form. (#6524)
The reason for this is the default behaviour for 'return' or 'enter' is to delete the device entirely. This makes using a barcode scanner impossible, or user error resulting in a lot of lost time.
2023-01-04 09:19:48 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX b16265458e
Chang device key line number from 12 to 99 2022-10-03 10:40:23 -06:00
FusionPBX 3eb258c7ea
Add an alternative method to get the device vendor. 2022-07-19 09:52:34 -06:00
Joseph 2de1abb657
fix issue with device vendors (#6340)
If mac address and template already exists in Devices page and you attempt to associate the mac address with the extension from the extensions page, the "vendor" is removed from the device, thus causing provisioning not to look at the device profiles settings of the mac address
2022-07-19 09:48:04 -06:00
markjcrane 10748a95c8 Add device_line_label and device_line_display_name permissions. 2022-05-26 21:37:19 -06:00
FusionPBX 5d41fd01df
Need to allow ability to clear the value. 2022-05-25 12:21:02 -06:00
FusionPBX 94eab98ab3
Add device_key_icon permission (#6262)
* Add device_key_icon permission

* Use the new device_key_icon permission.

* Use the device_key_icon permission
2022-01-25 09:53:03 -07:00
FusionPBX a911086dd6
Add field device location (#6244)
* Add device location

* Add label-device_location

* Add permission and field device_location.

* Update app_languages.php
2022-01-17 23:53:55 -07:00
FusionPBX b7aaf582eb
Add device line label. (#6192)
* Add device line label.
2021-12-15 09:40:14 -07:00
emak a5708f168f
Add device image support from provisioning templates (#5994)
This change adds support for images of the current selected device on the device_edit.php page.

The images need to be stored with the provisioning templates in the following format:

* /yealink/t21p/t21p.jpg

Images loaded into the page without needing link to the direct path. This makes it possible to store images with the template and not need any form of nginx rewrite rule or any other changes.

The images are zoomable with pure CSS, no javascript required.
2021-10-29 14:37:11 -06:00
agree 08bf6ad86f
[devices] Use the default settings only when adding a device (#6061)
When a device is being updated then we want to persist the old values
2021-10-14 00:26:54 -06:00
agree bbd8bc8d55
[Devices] fix wrong values being saved to the database (#6060) 2021-10-05 16:46:02 -06:00
FusionPBX 09e0493c2a
Use more of the device line permissions and defaults. 2021-07-26 10:37:21 -06:00
agree 7d4b423219
[devices] Add line port permission (#5981) 2021-06-25 11:35:27 -06:00
Andrew Querol 7d57cef6ac Fix device provisioning and event notification for multiple registrations across different SIP profiles. 2021-03-18 09:31:22 -05:00
Andrew Querol cfc44b4d59 Ensure we setup sip proxies even if the user doesn't have permission to customize them when adding.
Also ensures the primary and secondary server address are set to defaults if the permission does not exist.
2020-11-17 21:40:49 -06:00
FusionPBX 5b6102de70
Update device_edit.php
Show input text when details for select are not configured.
2020-10-19 20:19:00 -06:00
Nate 541bd4dd6f Device Edit: Restore ability to unset the current Device Profile. 2020-09-29 14:38:15 -06:00
FusionPBX 83ec8d7e86
Change uuid to text for something that should be text. 2020-08-14 09:31:58 -06:00
FusionPBX a499b36277
Added array option. 2020-07-10 20:30:25 -06:00
Nate c4c5a2e84c Devices - Edit: Better implementation of available permissions. 2020-04-15 17:33:22 -06:00
Nate 46b76d25a7 Devices - Edit: Adjustments. 2020-03-26 17:20:57 -06:00
Nate c2a8658e4f Devices: Revert some previous changes. 2020-03-26 17:03:03 -06:00
Nate 9ebb022ad4 Devices - Edit: Mitigate save password prompt. 2020-03-26 16:32:51 -06:00
Nate 99b4dbdaf4 Devices - Edit: Update Copy modal. 2020-03-26 15:31:31 -06:00
Nate 92033b88bc Devices, Profiles & Vendors: Modal integration. 2020-03-26 08:55:43 -06:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate 7cbccd767d Devices - Edit: Revise and simplify javascript. 2020-03-04 17:54:47 -07:00
Nate 8cf57f30be Multiple - Edit: Minor mods. 2020-03-03 19:59:41 -07:00
Nate 6c37a5e125 Devices / Device Profiles - Edit: Permission adjustments. 2020-02-28 07:31:35 -07:00
Nate 834880e0e7 Devices / Device Profiles - Edit: Add select-all checkboxes for bulk delete of Lines, Keys and Settings. 2020-02-27 19:01:21 -07:00
Nate 86f13e77bd Devices - Edit: Integrate checkboxes on Lines, Keys and Settings for bulk delete on Save (uses token). Add delete button with dynamic action. 2020-02-27 10:24:32 -07:00
Nate e94cedcc6d Devices - Edit: Check exists template directory and templates array to mitigate warnings. 2020-02-12 15:24:42 -07:00
Nate 36334d003c Devices: List view and button updates, other fixes. 2020-01-08 13:28:01 -07:00
FusionPBX 972f7be14a Update device_edit.php remove the style width 45px that would truncate the wdith of the select. 2019-12-12 09:15:55 -07:00
FusionPBX 9e288bc4fc Update device_edit.php 2019-12-12 09:09:33 -07:00
FusionPBX 2005800be5 Update device_edit.php 2019-11-13 16:20:58 -07:00
chansizzle f32d3bdc67 Update device_edit.php (#4822) 2019-11-05 09:12:29 -07:00
Nate 8e120fc751 Devices: Adjust line input field widths. 2019-10-26 19:53:21 -06:00
FusionPBX 4048e36889 Update device_edit.php 2019-09-28 21:32:18 -06:00
FusionPBX 201cb189f4 Update device_edit.php 2019-09-28 14:59:09 -06:00
FusionPBX f0cd684a24 Update device_edit.php 2019-09-26 23:58:56 -06:00
FusionPBX 330272c7b8 Update device_edit.php 2019-09-24 13:24:13 -06:00
FusionPBX 121ca15b5e Update device_edit.php 2019-09-23 10:07:00 -06:00
FusionPBX ec6b4b22d5 Update device_edit.php 2019-09-23 09:29:06 -06:00
FusionPBX 7ef9daf086 More changes required to make this work on device_edit.php. Disable until the changes are ready. 2019-09-17 23:32:22 -06:00
Nate 1a29840b12 Devices: Token integration. 2019-09-17 22:35:49 -06:00
Nate 17f2911056 Replace misc glyphicon usage. 2019-08-20 19:53:21 -06:00
Nate 733ba98dc6 Update to Bootstrap v4.3.1, jQuery 3.4.1. Adjustments to support updates. 2019-08-20 18:15:50 -06:00
Nate c7baaab4a9 Update to latest jQuery 1.x, in preparation to update to latest (3.x). Update jQuery UI, QR Code. Misc adjustments for compatibility. 2019-08-19 10:51:21 -06:00
Nate f841650075 Devices: Database class integration. 2019-08-03 20:21:56 -06:00
FusionPBX 4703067f47 Update device_edit.php 2019-07-15 09:01:32 -06:00
FusionPBX 6c2d21aa5b Update device_edit.php 2019-07-04 10:05:30 -06:00
ednt 3655eb0616 Extended and looped devicelines cause of DECT stations which can handle more then 48 lines (#4278) 2019-06-14 08:15:35 -06:00
FusionPBX f35db6a359 Update device_edit.php 2019-04-13 01:34:00 -06:00
Nate b8b96b7af8 Additional browser autofill prevention for Devices, Fax, Gateway and User 2019-04-12 10:18:03 -06:00
FusionPBX 8752303a3b Update device_edit.php 2019-02-19 08:40:37 -07:00
FusionPBX 45f32cf7cb Update device_edit.php 2019-02-19 08:38:48 -07:00
konradSC 020e2b4733 autocomplete="new-password" for devices (#4005)
Chrome is no longer supporting autocomplete="off". The new standard for Chrome is autocomplete="new-password". This also seems to work for Firefox as well.
2019-02-19 08:37:10 -07:00
FusionPBX a74e832542 Update device_edit.php 2019-01-18 14:44:12 -07:00
Killsudo 96a6c350d4 Add device key icon for dss programming (#3896)
* Expand Fanvil DSS-Key support for templating

* Add DSS key programming to Fanvil X6

* Add device key icon support.

* Additional device key icon fixes

* Fix SQL for device_key_label

* Add device_key_icon varible to X6 dss key programming

* Add new Advanced SIP Var (#3859)

Add the following advanced SIP variable. Disabling this allows Yealink phones to display the SIP error reason in the format sent by the carrier rather than Q.850 format e.g. "User Busy" rather than "NORMAL_CLEARING"

sip.call_fail_use_reason.enable = {$yealink_sip_call_fail_use_reason_enable}

* Variables for DP750 Handset Assignment, Ring Type (#3772)

New variables for the DP750 to allow the following settings:

$grandstream_repeater_mode_enable
(Enables or disables repeater mode on DP750 base)

$grandstream_hanging_group_mode
(Allows users to set hanging group mode (e.g. ring handsets at the same time, sequentially, etc.)

$grandstream_handset_X_line_Y_enable
(Allows setting of handset to line assignment)

* Update app_config.php

* Update 520_follow_me_bridge.xml (#3893)

Search through all SIP Profiles when looking up the Contact.

* Update xml_cdr_delete.php (#3891)

Fix typo in delete() query

* Make storage_path and storage_type = http_cache work (#3892)

* Make storage_path work

if storage_path was set, the script would fail. I have fixed it by removing the references to unset variables. I also made the recordings use the path.

* Update ivr.conf.lua

Add storage_path definition so storage_type of http_cache works correctly

* Fix IVR (#3898)

IVR was broken after previous update/change.

* Add Fanvil one-hit privisioning support for X6 and i30 devices (#3894)

* Update directory.xml

* Update directory.xml

* Update directory.xml

* Update directory.xml

* Update directory.xml (#3931)

* Update directory.xml (#3929)

* Update directory.xml (#3928)

* Update directory.xml (#3930)

* Update directory.xml (#3927)

* Update directory.xml (#3924)

* Update directory.xml (#3922)

* Update directory.xml (#3921)

* Update directory.xml (#3923)

* Update directory.xml (#3926)

* Update directory.xml (#3925)

* Update directory.xml (#3920)

* Update directory.xml (#3916)

* Update directory.xml (#3906)

* Update directory.xml (#3919)

* Update directory.xml (#3918)

* Update directory.xml (#3917)

* Update directory.xml (#3915)

* Update directory.xml (#3914)

* Update directory.xml (#3912)

* Update directory.xml (#3911)

* Update directory.xml (#3910)

* Update directory.xml (#3909)

* Update directory.xml (#3913)

* Update directory.xml (#3908)

* Update directory.xml (#3901)

* Update directory.xml (#3902)

* Update directory.xml (#3904)

* Update directory.xml (#3907)

* Update directory.xml (#3905)

* Update directory.xml (#3903)

* Update extensions.php

* Update domains.php

* Update dialplans.php

* Update users.php

* Update click_to_call.php

* Update app_config.php

* Update app_languages.php

* Update dialplan_edit.php

* Show enabled extension only on operator panel (#3900)

Add e.enabled = 'true' to SQL where and show only enabled extensions on the operator panel.

* Add new default_settings for Fanvil products (#3895)

* Add new default_settings for Fanvil products

* Set setting names too lowercase.

* Add additional firmware auto upgrade options

* Add intial Fanvil i30 device support (#3897)

* Update app_config.php

* Update dialplan.php (#3934)

Adds the ability to set "dialplan_destination" db field from Upgrade App Defaults and xml dialplan templates.

* Update dialplan.php

* Fanvil x6 template (#3936)

* Allow Fanvil x6 template to dynamically provision DSS memory and expansion keys

* Expand Fanvil X6 template options to match latest firmware. Use more FusionPBX default settings.

* Remove TR069 CPE serial number from template

* Have template use the 'admin_name' and 'admin_pass' default settings for admin webui login

* Fanvil i30 template fixes (#3933)

* Make varible names lowercase. follows cf76c39e97

* Additional i30 fixs around FusionPBX and feature enhancements.

* Add dynamic memory key programming

* Add support for configuring time to leave switch relay open on i-series devices

* Add OSD parameters, fix egs_syslog, protect RTSP streams by default

* Fix Fanvil 'Memory' keys (#3932)

* Expand Fanvil DSS-Key support for templating

* Fanvil vendor key fixes.

* Fanvil - Edit device keys to type 'memory' only

* Add Fanvil SpeedDial memory key support

* Update recordings.lua (#3937)

Bug fix. Allow for nil and blank entries.

* Add DSS key programming to Fanvil X6

* Fanvil 'icon' key for dss key profiles

* Fanvil 'icon' key for dss key profiles

Add new Advanced SIP Var (#3859)

Add the following advanced SIP variable. Disabling this allows Yealink phones to display the SIP error reason in the format sent by the carrier rather than Q.850 format e.g. "User Busy" rather than "NORMAL_CLEARING"

sip.call_fail_use_reason.enable = {$yealink_sip_call_fail_use_reason_enable}

Variables for DP750 Handset Assignment, Ring Type (#3772)

New variables for the DP750 to allow the following settings:

$grandstream_repeater_mode_enable
(Enables or disables repeater mode on DP750 base)

$grandstream_hanging_group_mode
(Allows users to set hanging group mode (e.g. ring handsets at the same time, sequentially, etc.)

$grandstream_handset_X_line_Y_enable
(Allows setting of handset to line assignment)

Update app_config.php

Update 520_follow_me_bridge.xml (#3893)

Search through all SIP Profiles when looking up the Contact.

Update xml_cdr_delete.php (#3891)

Fix typo in delete() query

Make storage_path and storage_type = http_cache work (#3892)

* Make storage_path work

if storage_path was set, the script would fail. I have fixed it by removing the references to unset variables. I also made the recordings use the path.

* Update ivr.conf.lua

Add storage_path definition so storage_type of http_cache works correctly

Fix IVR (#3898)

IVR was broken after previous update/change.

Add Fanvil one-hit privisioning support for X6 and i30 devices (#3894)

Update directory.xml

Update directory.xml

Update directory.xml

Update directory.xml

Update directory.xml (#3931)

Update directory.xml (#3929)

Update directory.xml (#3928)

Update directory.xml (#3930)

Update directory.xml (#3927)

Update directory.xml (#3924)

Update directory.xml (#3922)

Update directory.xml (#3921)

Update directory.xml (#3923)

Update directory.xml (#3926)

Update directory.xml (#3925)

Update directory.xml (#3920)

Update directory.xml (#3916)

Update directory.xml (#3906)

Update directory.xml (#3919)

Update directory.xml (#3918)

Update directory.xml (#3917)

Update directory.xml (#3915)

Update directory.xml (#3914)

Update directory.xml (#3912)

Update directory.xml (#3911)

Update directory.xml (#3910)

Update directory.xml (#3909)

Update directory.xml (#3913)

Update directory.xml (#3908)

Update directory.xml (#3901)

Update directory.xml (#3902)

Update directory.xml (#3904)

Update directory.xml (#3907)

Update directory.xml (#3905)

Update directory.xml (#3903)

Update extensions.php

Update domains.php

Update dialplans.php

Update users.php

Update click_to_call.php

Update app_config.php

Update app_languages.php

Update dialplan_edit.php

Show enabled extension only on operator panel (#3900)

Add e.enabled = 'true' to SQL where and show only enabled extensions on the operator panel.

Add new default_settings for Fanvil products (#3895)

* Add new default_settings for Fanvil products

* Set setting names too lowercase.

* Add additional firmware auto upgrade options

Update app_config.php

Update dialplan.php (#3934)

Adds the ability to set "dialplan_destination" db field from Upgrade App Defaults and xml dialplan templates.

Update dialplan.php

Fanvil x6 template (#3936)

* Allow Fanvil x6 template to dynamically provision DSS memory and expansion keys

* Expand Fanvil X6 template options to match latest firmware. Use more FusionPBX default settings.

* Remove TR069 CPE serial number from template

* Have template use the 'admin_name' and 'admin_pass' default settings for admin webui login

Fanvil i30 template fixes (#3933)

* Make varible names lowercase. follows cf76c39e97

* Additional i30 fixs around FusionPBX and feature enhancements.

* Add dynamic memory key programming

* Add support for configuring time to leave switch relay open on i-series devices

* Add OSD parameters, fix egs_syslog, protect RTSP streams by default

Fix Fanvil 'Memory' keys (#3932)

* Expand Fanvil DSS-Key support for templating

* Fanvil vendor key fixes.

* Fanvil - Edit device keys to type 'memory' only

* Add Fanvil SpeedDial memory key support

Update recordings.lua (#3937)

Bug fix. Allow for nil and blank entries.

Add DSS key programming to Fanvil X6

* resync3
2018-12-12 10:08:21 -07:00
FusionPBX 2fc2faa38e Update device_edit.php 2018-11-03 11:54:11 -06:00
FusionPBX f48cd2836f Update device_edit.php 2018-10-23 23:12:24 -06:00
emaktech 9b32c42d71 Allow Editing 48 Lines on device_edit Page (#3478)
Similar to #3472 needed to allow up to 48 extension to be selectable and editable on the device_edit page.

Additionally, fixed sorting issue so line numbers are correctly sorted sequentially (line number is stored as text field so needed to change cast in SQL query).
2018-09-14 13:10:17 -06:00
FusionPBX 46933c086c Update device_edit.php 2018-09-12 13:57:33 -06:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
FusionPBX eb827ff7d6 Update device_edit.php 2018-08-18 21:40:06 -06:00
FusionPBX b928053b71 Update device_edit.php 2018-08-02 02:28:01 -06:00
FusionPBX bae853b8e3 Update device_edit.php 2018-08-02 01:57:28 -06:00
FusionPBX 5900129ddd Update device_edit.php 2018-07-02 21:41:48 -06:00
AlexanderDCrane 9403347bed Update device_edit.php (#3123) 2018-06-13 01:11:41 -06:00
AlexanderDCrane 9a8f3dfcc2 Escape user data on device_edit.php (#3087)
* Update user_edit.php

* Escape user data on device_edit.php
2018-06-08 14:01:07 -06:00
FusionPBX fa91ab7f63 Update device_edit.php 2018-03-23 19:20:32 -06:00
FusionPBX e08055ecc3 Update device_edit.php 2018-03-22 00:45:43 -06:00
Mafoo 73d0085dcc Enhance [master] - update Aastra provision templates (#2997)
* Enhance update Aastra provision templates

add default settings for time format, date format and timezone
hide include folders (they are not provision templates)
update links to documents
add note to 6xxx templates

* Aastra - the descriptions for the time settings are useful.
2018-02-25 01:58:17 -07:00
FusionPBX b7f95f8964 Update device_edit.php 2018-02-10 12:03:33 -07:00
FusionPBX 3957999f30 Update device_edit.php 2018-02-03 19:01:48 -07:00
FusionPBX 9d48f77c7d Update device_edit.php 2018-01-22 22:41:55 -07:00
FusionPBX f506aef518 Update device_edit.php 2017-12-13 22:57:41 -07:00
FusionPBX cfaf0ef356 Update device_edit.php 2017-12-08 14:32:03 -07:00
FusionPBX ca9022b2a4 Update device_edit.php 2017-10-14 16:35:16 -06:00
konradSC 0392d436ad Update device_edit.php (#2854)
Search all profiles when looking up the sofia contact.
2017-09-23 00:12:47 -06:00
FusionPBX b838623b93 Update device_edit.php 2017-09-20 21:09:52 -06:00
FusionPBX 402027a70b Update device_edit.php 2017-09-01 09:36:06 -06:00
Mafoo 8740021d31 Enhance - provision aastra 9133i (#2787)
provision aastra 9133i based phones (480i 480i CT, 9112i, 9133i)
leverage smarty include to common parts
have device_edit ignore 'include' folders
.htaccess's RewriteRule operates relative to it's dir so anchoring to ^provision is correct even for where fusion is on a sub folder
2017-09-01 09:35:22 -06:00
Dean Montgomery 66b849d946 Update Grandstream provisioning (#2652)
* Update Grandstream provisioning

* Add Vtech

* Create app_config.php

fix typo

* Update app_config.php

remove newline at end as it can break php

* Update app_config.php

remove newline at end as it can break php

* Create app_config.php

remove newline at end.

* Update app_config.php

remove trailing newline

* Create device_edit.php

Add both http and https

* Create app_config.php

remove newline

* Add gxp16xx and fix typos
2017-06-08 16:21:47 -06:00
Mafoo f0feb25016 Enhance - Convert more messages (#2646)
convert more messages to messages class
skipped dashboard messages due to them relying on $_SESSION['message']
to know if there has already been a change
2017-06-08 09:39:04 -06:00
FusionPBX a867f08ad8 Update device_edit.php
Make the vendor name case insensitive.
2017-02-24 00:19:28 -07:00
FusionPBX 8775275ff1 Update device_edit.php 2017-02-20 22:12:49 -07:00
FusionPBX d9e7e7d590 Update device_edit.php 2017-02-20 20:22:27 -07:00
FusionPBX 33e51a811c Update device_edit.php 2016-12-06 11:25:08 -07:00
FusionPBX 6395141b07 Update device_edit.php 2016-10-22 23:30:11 -06:00
FusionPBX 6ebd08e040 Update device_edit.php 2016-10-20 09:39:48 -06:00
FusionPBX 2e0a872a08 Update device_edit.php 2016-10-18 09:19:20 -06:00
FusionPBX 40f33939ea Update device_edit.php 2016-10-02 01:13:25 -06:00
FusionPBX 6f9f9d044c Update device_edit.php
Fix a display issue.
2016-09-10 16:27:57 -06:00