Commit Graph

9466 Commits

Author SHA1 Message Date
FusionPBX
d0fbbd6a2e Use the new fax_extension_view_domain instead of if_group function 2021-03-18 10:37:38 -06:00
FusionPBX
95b5660da9 Use the new fax_extension_view_domain instead of if_group superadmin and admin. 2021-03-18 10:35:37 -06:00
FusionPBX
d27c7e210e Use the new fax fax_extension_view_domain permission.
Also selected specific fields rather than using the * wild card in the select statement.
2021-03-18 10:23:03 -06:00
FusionPBX
4ec6e5832d Add a new permission fax_extension_view_domain 2021-03-18 09:56:07 -06:00
Andrew Querol
7217da15f0 Update the feature event LUA code to match the fix in PHP
This renames `get_profile` to `get_profiles` which either returns nil for no profiles or a array of unique profiles.

Then each function that used to take the single sip_profile was updated to take this array and send events to each profile the user is part of.
2021-03-18 09:31:22 -05: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
FusionPBX
71532a0cea Merge pull request #5805 from demonspork/patch-2
Fix follow_me_uuid error when enabling DND
2021-03-17 17:44:28 -06:00
FusionPBX
be990c2584 Merge pull request #5814 from daniel-lucio/patch-184
[4.5] DTMF handling
2021-03-17 17:43:31 -06:00
Luis Daniel Lucio Quiroz
fa12c4daea Update dtmf_handler.lua
Event-Date-Timestamp resolution is in microseconds, transfer_history is only seconds. We need have the same key.
2021-03-17 19:19:55 -04:00
Luis Daniel Lucio Quiroz
908e7f67d6 Update dtmf_handler.lua 2021-03-17 12:02:54 -04:00
agree
05befb3f99 Extension fix cache not clearing
The cache was broken for user users without the extension_user_context permission
2021-03-16 17:36:11 -04:00
Luis Daniel Lucio Quiroz
fc96e3ae77 DTMF handling
this will give the dtmf_history (similar to the transfer_history variable)

the use cases of this are only limited to the imagination
2021-03-16 15:43:21 -04:00
chansizzle
8672784b02 grandstream call waiting ring 2021-03-15 15:12:12 -06:00
FusionPBX
b336537da7 Merge pull request #5597 from winsock/mwi_only_enabled
Only send MWI notifications for enabled voicemail boxes.
2021-03-12 10:05:07 -07:00
FusionPBX
ea800eefa8 Merge pull request #5804 from winsock/patch-10
Fix bulk device imports with TFTP path enabled
2021-03-12 10:02:10 -07:00
FusionPBX
f6aef73231 Merge pull request #5803 from winsock/patch-9
Update provision write() to match render()
2021-03-12 10:00:49 -07:00
FusionPBX
1110b12e1b Update the Queue assigned agents to me more efficient.
- Populated select list for all assigned agents does not scale well in the browser. 
- Assigned list scales better without the all of the agents in the list. 
- New select list shows all agents so that new agents can be added.
2021-03-11 22:48:49 -07:00
Andrew Querol
78276cb258 Only send MWI notifications for enabled voicemail boxes. 2021-03-11 11:55:02 -06:00
demonspork
d7eccddf25 Fix follow_me_uuid error when enabling DND
The follow me update code in do_not_disturb.lua was being executed even when the follow me uuid didn't exist. Let me know if this is the wrong approach to fix this in lua, I'm not particularly well versed in this but this seemed to have fixed it in my testing.

I have some concerns about this section of code in general though, it seems that enabling server side DND will turn off follow me, but then turning off DND won't return follow me to its original state. Is this the intended behavior? and if so we might need to make a workaround.
2021-03-11 11:29:05 -06:00
Andrew Querol
2d175db556 Fix bulk device imports with TFTP path enabled
If you bulk imported devices and had the TFTP path set the configuration files would not be written out to the TFTP path.
2021-03-11 10:36:16 -06:00
Andrew Querol
57c9bc7460 Update provision write() to match render()
This will ensure that anyone using TFTP still can use array template variables
2021-03-11 10:25:22 -06:00
Marcel Manning
f03224cf16 Update retry.lua
Zero should not be wrapped in double quotes as it's causing an SQL error.

PGRES_FATAL_ERROR
2021-03-11 10:30:47.738673 [ERR] switch_pgsql.c:680 Error executing query:
ERROR:  invalid input syntax for type numeric: "'0'"
LINE 1: ...p/c8505148-1b02-4f6f-9157-b5cf64ebcc4d.tif','','','''0''',''...
                                                             ^
2021-03-11 10:59:11 -05:00
FusionPBX
a3269a3d6d Merge pull request #5798 from winsock/patch-5
Update switch_recordings.php to optimize base64 recordings
2021-03-10 00:05:29 -07:00
FusionPBX
25fee0b7f5 Merge pull request #5799 from winsock/patch-6
Do not load base64 data into MOH edit by selecting the specific fields that are needed.
2021-03-10 00:05:05 -07:00
FusionPBX
242b38557c Merge pull request #5800 from winsock/patch-7
Update recording edit to not pull base64 data by selecting the specific fields that are needed.
2021-03-10 00:03:45 -07:00
FusionPBX
1597d338ee Merge pull request #5797 from winsock/patch-4
Do not load base64 data into phrase edit by selecting the specific fields that are needed.
2021-03-10 00:03:00 -07:00
FusionPBX
61bc654f61 Update phrase_edit.php 2021-03-10 00:01:18 -07:00
FusionPBX
166e76bb77 Merge pull request #5791 from emaktech/patch-21
CDR - Don't Check Filesystem for Recording on Load
2021-03-09 22:34:52 -07:00
Andrew Querol
5a9b734a51 Update recording edit to not pull base64 data
This is less of an improvement than the other changes I proposed since it's only doing it for one file. But it still doesn't need to pull that recordings base64 data here if it has it.
2021-03-09 16:36:52 -06:00
Andrew Querol
67eecb5485 Do not load base64 data into MOH edit
This will fix unnecessary memory usage/latency in this application when dealing with base64 recordings.
2021-03-09 16:32:35 -06:00
Andrew Querol
d48d98893f Update switch_recordings.php
recording_base64 was pulled from the database and never used. Remove it to optimise base64 handling.
2021-03-09 16:23:49 -06:00
Andrew Querol
ea0823ea4d Do not load base64 data into phrase edit.
This will fix unnecessary memory usage/latency in this application when dealing with base64 recordings.
2021-03-09 16:15:01 -06:00
FusionPBX
864397a453 Merge branch 'master' into master 2021-03-09 09:44:47 -07:00
FusionPBX
f455e8fa94 Make sure the database object is accessible to Settings ojbect. 2021-03-08 18:12:31 -07:00
nemerald-voip
4bcbed524c Update app_config.php
Enabled pagination available in in recent firmware. Added ability to control which buttons show on idle and home screens
2021-03-08 07:14:42 -08:00
Antonio Fernandez
8c1d73e02e Update app_languages.php
Added a better description for the value based on a video in the members portal.
2021-03-07 11:52:42 -05:00
FusionPBX
739d9c3365 Remove the dash from the time_base_score_sec label 2021-03-06 16:53:59 -07:00
FusionPBX
5f1ca5888b Fix a small bug with queue_time_base_score_sec. 2021-03-06 16:52:05 -07:00
Antonio Fernandez
468d932063 Update call_center_queue_edit.php 2021-03-06 16:11:34 -05:00
Antonio Fernandez
d664d5579d Update app_config.php 2021-03-06 16:09:33 -05:00
Antonio Fernandez
0f9bacf9bf Update call_center_queue_edit.php 2021-03-06 16:07:59 -05:00
Antonio Fernandez
6a116dd78b Update call_center_queue_edit.php 2021-03-06 16:03:20 -05:00
Antonio Fernandez
ef93ff09f1 Update call_center_queues.php 2021-03-06 15:58:38 -05:00
Antonio Fernandez
ff38a86118 Update app_languages.php 2021-03-06 15:56:59 -05:00
Antonio Fernandez
394e67ede0 Update app_languages.php
The translations are copied from the label-time_based_score however I used Google Translate to translate "seconds" in various languages.
2021-03-06 15:53:21 -05:00
Antonio Fernandez
64a6128b21 Update app_config.php 2021-03-06 15:47:13 -05:00
FusionPBX
44300f81e3 Merge pull request #5775 from winsock/device_import_mac_address_normalize
Fix device MAC address imports not normalizing.

# Context
MAC addresses were not being normalized when importing CSV files. If it is not normalized you can get a not found error when provisioning since that is checking the database with a normalized MAC address

# Overview
- Use the same normalization done in device_edit.php in device_imports.php
2021-03-06 09:55:56 -07:00
FusionPBX
98392adcf0 Merge pull request #5790 from demonspork/grandstream_hide-remote-blf_status
Grandstream: Hide BLF Remote Status And More Distinctive Ring

Hide the other connected party on the BLF of supported phones. When not hidden a busy BLF will show the other connected party/sttaus of the call by flashing back and forth between the BLF label and the caller ID.
It also impacts the park buttons, but they typically only show the word "park" because of the character limitations.
Also did more effective find/replace for the distnctive ring variables with regex! (plus a typo was made in the previous version)
2021-03-06 09:49:00 -07:00
FusionPBX
5b3f849b4a Remove forward_caller_id_uuid field and minor code cleanup.
Minor code cleanup improve indentation, trailing spaces and add some line feeds.
2021-03-06 09:43:31 -07:00
FusionPBX
7cb17effe8 Remove follow_me_caller_id_uuid field. 2021-03-06 09:26:19 -07:00