Commit Graph

8847 Commits

Author SHA1 Message Date
FusionPBX
aa4cfbc791 Merge pull request #5864 from demonspork/Fix-Yealink-feature-key-race-dnd
Dialplan Fix for Feature Key Sync Race
2021-04-06 22:17:31 -06:00
demonspork
d53bac7f55 Dialplan Fix for Feature Key Sync Race
This is a dialplan approach to fix the feature key sync loop/race with yealink phones. This aproach may also need to be extended to the Call Forward dialplans as well. It limits the number of simultaneous calls for a particular user to change their DND/Forwarding status to a single call at a time. This prevents the infinite loops that the yealinks can get into if the user presses the DND button too quickly with feature key sync enabled.

I am also reverting the lua fix because it was not reliable and can still easily allow the loop to occur.
2021-04-06 15:35:40 -05:00
FusionPBX
06617e0c1e Change effective_caller_id_name inline false
The inline attribute breaks effective_caller_id_name. Changed inline attribute to false to fix the issue.
2021-04-06 13:25:36 -06:00
chansizzle
c85dd621c8 remove duplicate, vmtransfer softkey position var 2021-04-05 17:30:54 -06:00
FusionPBX
94d35ca1d7 Update call-forward-all disable accountcode variable
This variable should be optional as it can be defined in other places as well. It should not be assumed that this is the only place it could be set for those that need it.
2021-04-03 08:41:53 -06:00
Luis Daniel Lucio Quiroz
3d1360b932 Important variable that needs to be present 2021-04-02 10:57:21 -04:00
nemerald-voip
65c80c7d55 Fix broken script 2021-03-31 16:33:54 -07:00
nemerald-voip
6560f39c1d rebase file 2021-03-31 09:02:46 -07:00
nemerald-voip
c1057293b5 Fix voicemail transcription using Google
Transcriptions using Google were broken after last commit. 
transcribe_alternate_language was not defined anywhere it Google would return 400 error.
Added variable to fix the issue
2021-03-31 08:51:59 -07:00
FusionPBX
3385b296fa Improve dialplan import efficiency.
- Add a more efficient way to check if the dialplan exits
- Remove restore_advanced_xml not used anymore.
- Add dialplan_context = public
2021-03-30 12:59:47 -06:00
FusionPBX
045248ae19 Change the style of the code to match preferences. 2021-03-27 01:53:34 -06:00
Andrew Querol
228b3d0b31 Fix typo with destination ID for the new destination buttons 2021-03-23 00:42:33 -05:00
FusionPBX
49adc1922a Merge pull request #5802 from netpro25/patch-1
Small error in Fax Retry.lua
2021-03-22 23:39:25 -06:00
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