Commit Graph

8833 Commits

Author SHA1 Message Date
Andrew Querol 4075a12a74 Do not use the null coalescing operator to retain pre PHP 7 support. 2021-03-23 00:07:35 -05:00
Andrew Querol ee30b59909 Switch to window.open to '_blank' to prevent accidental navigation that looses changes. 2021-03-22 23:44:33 -05:00
Andrew Querol 59dbcd02a7 Check if there is an ID before redirecting 2021-03-22 23:37:11 -05:00
Andrew Querol 14a8c10849 Fix voicemails to support the new UUID linking 2021-03-22 23:34:51 -05:00
Andrew Querol f1fbbad7ab Recordings are stored in 'uuid' not 'recording_uuid' 2021-03-22 23:25:12 -05:00
Andrew Querol 152955625c Initial attempt at allowing the destination button button
to dynamically change

This sets the UUID as the ID in the options list. The we use the javascript onclick listener to get the id(uuid) of the selected option and open the link to the edit page.
2021-03-22 23:13:39 -05:00
FusionPBX 0af832a0a7
Merge pull request #5842 from junction1153/patch-9
Update record_message.lua
2021-03-22 22:06:26 -06:00
FusionPBX 8d3852328b
Merge pull request #5844 from demonspork/Destination-Click
Add direct link button for dynamic destinations
2021-03-22 22:03:42 -06:00
demonspork ea8aa47029 Add direct link button for dynamic destinations
Added a button that links directly to the currently selected destination's edit page if you have the permission to view or edit it.
2021-03-22 20:59:18 -05:00
FusionPBX 325f4f1513
Change socket.sleep(0.2) to freeswitch.msleep(200) 2021-03-22 15:18:57 -06:00
Joseph 92fd572b33
Update record_message.lua
Additional flexibility for google transcription
2021-03-20 20:40:50 -04:00
demonspork efd27fbe90 fix send_email function for multi-part addresses
The send_email function wasn't successfully parsing ; or , separated email address lists. I simplified it's processing.

While I was at it I removed the "valid email" check from email_test.php because that step is already being done in the send_email function that is called and it safely returns the appropriate error. I would have had to rewrite that function to handle the multiple email lists otherwise.
2021-03-19 19:15:32 -05:00
FusionPBX 2dcf3e1fdc
Merge pull request #5840 from chansizzle/patch-425
Added Yealink DST vars to default settings.
2021-03-19 11:42:44 -06:00
chansizzle 3546e7debe
added yealink DST vars 2021-03-19 10:32:13 -06:00
demonspork 3ef6cf05db
Merge branch 'master' into Fix-DND-Feature-Sync-Loop 2021-03-19 11:12:44 -05:00
FusionPBX 4c708bf692
Merge pull request #5813 from chansizzle/patch-405
Grandstream call waiting ring
2021-03-19 09:30:46 -06:00
FusionPBX eef13cbb96
Merge pull request #5566 from winsock/multiple-registration-fix
Fix Device Provisioning and Feature Sync across SIP Profiles
2021-03-19 09:25:51 -06:00
demonspork cf1dfe9070 Fix DND Feature Sync loop
Add Delay to prevent infinite feature key Loops on some phones (Yealink....)
2021-03-18 20:05:31 -05:00
agree bf2418f131
fix extension setting edit not clearing cache 2021-03-18 18:09:03 -04:00
agree 829d3f1abe
extension settings fix not clearing cache 2021-03-18 18:06:24 -04:00
FusionPBX 48cffe41da
Use permission fax_extension_view instead of if_group. 2021-03-18 10:44:43 -06:00
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
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