Commit Graph

283 Commits

Author SHA1 Message Date
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
minotaur01 71b6bcc3f8 Added functionality to hide profile edit button (#1817)
Added functionality to hide profile edit button and changed code to use jQuery and event hooks
2016-08-15 11:27:35 -06:00
minotaur01 a820fd1719 Added a key profile edit and add button (#1815)
Added a key profile edit and add button for easier navigation, can now hop to profile editing with one click.
2016-08-15 09:32:01 -06:00
minotaur01 5f0dacbeda Key assignment and Aastra provisioning (#1814)
* Update device_profile_edit.php

Changed maximum key number to be able to program phones with multiple expansion boards

* Raised Device Key Maximum Number

Changed maximum key number to be able to program phones with multiple expansion boards
Also replaced while loop with for loop to match device_profile_edit.php

* Added code for all key types

Added code for all programmable key types, Hard Keys, Soft Keys, Top Keys and Expansion keys.
Also added logic to handle key assigrnment for multiple expansion boards

* Enabled time server and disabled auto discovery settings

Enabled time servers and used system variable from default settings to set time server
Disabled Link-Layer Discovery and Universal Plug and Play because why do you need to re-discover the server after the phone is provisioned

* Updated the key number option generation line

* Updated the key number option generation line
2016-08-13 08:55:54 -06:00
FusionPBX 23c2149319 Update device_edit.php
Fix the indentation on device_edit.php.
2016-08-02 19:44:07 -06:00
FusionPBX 8d34e8f5c6 Update device_edit.php
Get the vendor functions for device edit from the database.
2016-08-02 13:35:38 -06:00
FusionPBX 8b6def5a75 Update device_edit.php
Use the new device permissions and condense the horizontal width of the content as well as more control over it.
2016-07-26 21:00:05 -06:00
markjcrane 95dbb99bbe Fix the dashboard device keys 2016-06-21 17:57:06 -06:00
Alexey Melnichuk 99fec4f6e1 Fix. Edit user for device. (#1690) 2016-06-21 08:05:44 -06:00
Alexey Melnichuk c851f4a463 Fix. Select key on devices for Grandstream (#1684) 2016-06-20 11:42:24 -06:00
FusionPBX 0db15c3fab Update device_edit.php
Hide this until its ready.
2016-06-19 09:56:18 -06:00
markjcrane 2ac9047648 Update device_edit.php change user_uuid to device_user_uuid. 2016-06-17 17:45:42 -06:00
markjcrane e5020a842b Rename user_uuid device_user_uuid in the devices table. Add an apply button to the key dashboard and provision button to the device edit. 2016-06-17 17:34:31 -06:00
Alexey Melnichuk 0741488073 Add. Support provision programmable keys for Escene devices. (#1674) 2016-06-17 10:43:27 -06:00
Mafoo a821493e39 BugFix-missing PROJECT_PATH for download files (#1675) 2016-06-17 09:22:54 -06:00
Alexey Melnichuk e03a91a1d9 Fix. Select correct key in listbox in device edit form. (#1659) 2016-06-14 08:28:57 -06:00
markjcrane 17e921c140 Change the permission name from device_username to device_user. 2016-06-10 11:02:17 -06:00