Commit Graph

217 Commits

Author SHA1 Message Date
FusionPBX a020979947
Add destination_number variable 2024-07-31 17:26:36 -06:00
FusionPBX ac07414b9d
Update send.lua
Add domain_name and message variables
Add error prevention
Pass thru the domain_name, event_subclass and mesage
2024-07-31 17:19:57 -06:00
FusionPBX 6285413dd9
Fix a bug to delete email after send or forward 2024-07-30 11:34:47 -06:00
fusionate 0e3fa58a1f
Voicemail Message: Better handling of keep local after forward. 2024-07-24 00:00:35 -06:00
jrmcclean 96f6e87224
Update config.lua (#6864)
Added an option to check Windows ProgramData
2024-07-23 08:07:36 -06:00
FusionPBX 215b4d0df7
Prevent empty caller id from blocking calls
Improved the following
- Prevent empty caller id name and number from blocking calls
- Fixed the call block count so it would increment each time it has blocked a call
2024-07-15 23:06:23 -06:00
FusionPBX b59b7ba98a
Update page.lua
If announce delay is true then add an option for a preset recording filename and length
2024-07-12 11:32:12 -06:00
Antonio Fernandez 9ec26f0244
Enhanced Avaya J-Series support (#7036)
* Updates to Avaya J-Series support

* small J189 fixes
2024-07-05 17:07:45 -06:00
fusionate 81af0fefd1
Voicemail - Edit: Add option to Keep Local After Forward (or not). 2024-06-21 17:24:06 -06:00
FusionPBX 577e929a4c
Create send.lua 2024-06-17 15:01:02 -06:00
fusionate 0f48b98ced
Ringbacks [Class]: Fix PHP 8.x warning. 2024-06-14 16:28:51 -06:00
FusionPBX b54ad9cd08
Create fifo member.lua 2024-06-13 22:42:37 -06:00
Alex 7640cd21c9
Dashboard - Add row span setting (#7007) 2024-06-12 16:49:34 -06:00
FusionPBX 48140218f3
Only set ringback if a value is provided 2024-06-11 10:40:11 -06:00
FusionPBX c9c4683d0e
Update index.lua 2024-06-05 23:20:20 -06:00
FusionPBX 737da5bfee
Allow matching prefix in call block 2024-06-05 18:13:32 -06:00
Alex f6e6750efc
Dashboard - Minor changes (#6993) 2024-06-03 11:40:05 -06:00
FusionPBX a60db81896
Ring group handle number alias 2024-05-30 00:09:21 -06:00
FusionPBX 5ca870a045
Update fifo_member.lua 2024-05-28 14:37:53 -06:00
FusionPBX c5547092d3
Update index.lua 2024-05-22 11:57:56 -06:00
FusionPBX a31452eb48
Update index.lua 2024-05-22 11:45:49 -06:00
FusionPBX ac20b8208c
Update call control
Add ability to set the enabled context and the disabled context
2024-05-22 11:39:06 -06:00
FusionPBX c441844a46
Call Control
Used to enable or disable calling based on the call group.
2024-05-22 10:49:39 -06:00
FusionPBX d2b90714c0
Add Greek language and alphabetical order
Also, change the language order. Put the languages in alphabetical order
2024-05-17 14:38:11 -06:00
FusionPBX 54c57bdb18
Update greek sounds to use voice serena 2024-05-17 14:32:05 -06:00
FusionPBX 1a10543851
Use an underscore for phrase agent_status 2024-05-14 12:11:22 -06:00
FusionPBX 23fb7e6211
Add fifo agent_status phrase 2024-05-14 11:46:47 -06:00
FusionPBX 4f7c5789fc
Improve the indentation 2024-05-09 10:25:27 -06:00
FusionPBX 50e0dd33e8
Page check destination status by default 2024-05-09 10:23:14 -06:00
Alex 301a1f69a0
Move dashboard defaults settings to theme (#6973) 2024-05-08 13:41:21 -06:00
Alex 66b57a7784
Dashboard - Add gradient background color settings (#6972)
* Dashboard - Add gradient background color setting
2024-05-08 09:54:18 -06:00
FusionPBX 04ee47ce8f
Skip the cache if the SQL query timed out 2024-05-06 13:08:02 -06:00
FusionPBX 80c5e589ab
Bug fix for FAX forward 2024-05-03 13:17:14 -06:00
Alex 5eead0d88a
Dashboard - Add disabled option to details state (#6962)
* Dashboard - Add disabled option to details state
2024-04-25 23:36:54 -06:00
Alex 28efea22fd
Dashboard - Add background color settings (#6959)
* Dashboard - Add background color settings

* Update missed_calls.php

* Update recent_calls.php

* Update app_languages.php

* Update app_config.php

* Update dashboard_edit.php

* Update index.php

* Update css.php

* Update system_status.php

* Update system_cpu_status.php

* Update system_counts.php

* Update system_counts.php

* Update switch_status.php

* Update index.php

* Update system_counts.php

* Update domain_limits.php

* Update call_forward.php

* Update caller_id.php

* Update ring_group_forward.php
2024-04-24 14:14:24 -06:00
FusionPBX f8771c4f10
Move emergency setting to its own category. 2024-04-24 10:29:03 -06:00
Alex 808e2cbe66
Dashboard - Add chart type setting (#6951)
* Dashboard - Add chart type setting
2024-04-18 16:57:45 -06:00
Alex 1412ed7f68
Dashboard - Add text color settings (#6950)
* Dashboard - Add text color setting
2024-04-17 16:01:54 -06:00
FusionPBX 1df3015e19
Allow using dsn_call_center
Allow using extra underscore so that it works with either values. 
- dsn_callcenter
- dsn_call_center
2024-04-17 10:47:22 -06:00
emak-Corey 27b2ddb906
[vm] Split new/saved message count macros + improve french translations (#6944)
* [vm] Split new/saved message count macros + fix french translations

* Update main_menu.lua
2024-04-15 09:32:13 -06:00
FusionPBX 92969d904c
Update valet_park_auto
- Use lua valet_park
2024-04-12 12:00:52 -06:00
FusionPBX cf4f96070a
Use valet_parking
Changed variable prefix from vale_park to valet_parking for consistency
2024-04-10 21:42:40 -06:00
FusionPBX d04802f1ba
Add script valet_park
- Used to handle park in with a * prefix
- Supports *5901 - *5999
2024-04-10 21:31:20 -06:00
FusionPBX ea2274fe6f
Validate the uuid used in intercept 2024-04-09 18:56:07 -06:00
FusionPBX 56fe5831af
Bug fix replace dialed_user with dialed_extension 2024-04-03 11:22:02 -06:00
FusionPBX fefb58f5df
Fix bug with extension missed call email
The dialed_user used to exist on all systems no longer the case. So using sip_to_user instead for backward compatibility.
2024-04-03 10:50:52 -06:00
FusionPBX 2e7ebaf1c4
Moved ringbacks to app/switch/resources/classes
Moved resources/classes/ringbacks.php to app/switch/resources/classes/ringbacks.php
2024-04-02 09:26:08 -06:00
FusionPBX e179aaeb22
Disable aggressive-nat-detection by default 2024-03-21 09:16:19 -06:00
fusionate 649d740206
Voicemail: Adjust emailed message Listen link to generate message waveform. 2024-03-13 18:09:45 -06:00
FusionPBX 7539a88488
Update intercept.lua 2024-03-07 16:22:08 -07:00
FusionPBX 1f10b6a161
Fixed intercept
Remove from SQL where as the call_uuid is not always used
2024-03-07 14:38:32 -07:00
FusionPBX 3213d4bab3
IVR Menu - Allow caller_id_name and number variables 2024-03-05 18:28:19 -07:00
FusionPBX 3c17fe6ad4
Update language/sv/vm/sounds.xml fix xml 2024-03-05 12:49:10 -07:00
FusionPBX bf4623ccb8
Update index.lua
Use the original_caller_id_number in the diversion header.
2024-03-04 19:09:30 -07:00
FusionPBX 2553caa2b1
Add required diversion header 2024-03-04 16:50:37 -07:00
FusionPBX 672922def0
Ring group destination adde per user music on hold 2024-02-24 21:06:17 -07:00
FusionPBX 490c26ab52
Fix the emergency lua script 2024-02-10 15:35:41 -07:00
FusionPBX 18f59eeb61
Disable ws and wss by default 2024-02-07 17:51:21 -07:00
markjcrane 52411c858a Add el-gr language 2024-02-07 13:17:18 -07:00
fusionate 0433789355
Update Switch language files with missing macro. 2024-01-31 17:13:52 +00:00
FusionPBX d994c21ae1
Rename class scripts to switch_files 2024-01-30 18:02:39 -07:00
fusionate 143f85cd4f
Voicemail Languages: Uncomment new options (doh!). 2024-01-31 00:37:19 +00:00
fusionate aafbce9583
Voicemail: Add Delete option (7) from endpoint for message/greeting/name recording. 2024-01-30 23:53:47 +00:00
Alex 4004a698c4
Added more Greek and Turkish translations (#6880)
* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php
2024-01-30 16:17:24 -07:00
FusionPBX 3e62819779
Fix issue where smtp from would send as <> 2024-01-29 13:20:17 -07:00
Antonio Fernandez 0de35ef4d7
Update indentation for blf_subscribe.lua (#6873) 2024-01-20 16:46:26 -07:00
FusionPBX 0faa26e58f
page.lua detect transfer return to sender 2024-01-15 13:28:09 -07:00
FusionPBX 59324ef997
Update page.lua
Control default recording max_length, silence_threshold, silence_seconds

Use the following default settings
- recording_max_length
- recording_silence_threshold, 
- recording_silence_seconds
2024-01-12 14:56:50 -07:00
Antonio Fernandez a4bfd1f20f
added delayed paging (#6771)
* added delayed paging

* Modified the code to use sched_api as requested

* added the beep
2024-01-12 14:52:16 -07:00
FusionPBX fd538950c9
Update to use required default_ prefix 2024-01-10 17:40:04 -07:00
FusionPBX 5c6dd8bfb3
Add extension_language, extension_dialect and extension_voice 2024-01-10 16:32:29 -07:00
FusionPBX e0bb35b63b
Add caller_destination to allowed variables 2024-01-09 10:20:25 -07:00
FusionPBX be652845cc
Add sip_req_user to allowed variables 2024-01-09 10:05:18 -07:00
FusionPBX 94e5629012
Add authorized option
If set to authorized=true then logout will not require a password.
2024-01-08 15:02:46 -07:00
FusionPBX e8699b37c9
Use voicemail from and from name
When category voicemail from and from name are provided use them.  If not provided then use category email from and from name.
2024-01-05 16:51:56 -07:00
fusionate 7e674efe8b
Call Forwarding - No Answer: Adjust failure_handler lua script to capture ALLOTTED_TIMEOUT disposition. 2023-12-19 19:44:45 +00:00
FusionPBX f587c41bb4
Add additional record template variables 2023-12-18 10:19:56 -07:00
volga629-1 50f9c2b3df
E911 plugin (#6822)
* E911 Service plugin

Emergency Services availability is crucial part of FusionPBX.
This plugin Introduce  match need it visibility  into E911 services.
2023-12-13 14:46:58 -07:00
frytimo 3a4c2f72e2
Event socket bug fix and more docs (#6823)
* Add documentation to methods. Use is_resource for added type detection

* Allow connect to specify timeout in microseconds with default 30,000

* Update calling mechanism for event sockets

* Update project for new singleton event sockets

* remove unused variable

* catch errors on closing the socket
2023-12-02 17:16:18 -07:00
FusionPBX edb0180bcf
Add call_center queue_login options: dynamic or static (default) 2023-11-15 23:17:43 -07:00
fusionate 64ba5e268c
Ring Group - Edit: Add playback of selected Greeting (Recordings and Sounds). 2023-11-03 20:33:02 +00:00
FusionPBX fd2516a297
Update timezones.conf.xml with tabs 2023-11-02 17:02:28 -06:00
FusionPBX 3c57c72044
Revert timezones.conf.xml 2023-11-02 16:59:25 -06:00
FusionPBX 05c52a3fdc
Update timezones.conf.xml 2023-11-02 16:51:09 -06:00
FusionPBX 71349f56b2
Fixed ring group hold_music
This commit fixes a problem for music on hold defined in global-variables and domain-variables dialplans.
2023-11-02 12:18:28 -06:00
emak-Corey e5025d394f
Fix vm_disk_quota (#6814)
The current condition #vm_disk_quota <= #message_sum is checking the lengths of vm_disk_quota and message_sum, not their actual values. So, it won't compare the numeric values for your intended logic.

If they're strings that can be safely converted to numbers, use tonumber():

if (vm_disk_quota and message_sum and tonumber(vm_disk_quota) <= tonumber(message_sum)) then
  -- your code
end

This will compare them as numbers, ensuring that vm_disk_quota is less than or equal to message_sum.
2023-10-26 13:53:38 -06:00
agree 37d7c43e17
[dialplan] Bind digit bleg without a lua script (#6817) 2023-10-26 13:27:31 -06:00
agree a785292811
[eavesdrop] Fix eavesdropping wrong uuid (#6815)
If the extension is in a call and also receives calls at the same time, the query will return more than one uuid causing to eavesdrop the wrong channel.
2023-10-24 17:07:55 -06:00
FusionPBX b2e05fb0f6
IVR Menu: allow sending the ${uuid} variable 2023-10-23 14:25:04 -06:00
FusionPBX 100ccc0db2
Call Flows allow feature code and alternate destination to be optional. If feature code is empty and pin number is provided then require the pin number. 2023-10-19 19:35:36 -06:00
FusionPBX ab0fc211d8
Use SQL concat as its safer with NULL values. 2023-10-18 21:18:39 -06:00
FusionPBX fce21d36c3
Use SQL concat as its safer with NULL values. 2023-10-18 21:14:54 -06:00
FusionPBX d02ab9de91
manage-presence to a default value of true 2023-10-10 20:13:32 -06:00
FusionPBX 2ccc8c8b12
Change how the virtual extension is disabled
Made this change because if the XML is not generated then extension variables are not available. These variables are needed for call forward and follow me.
2023-10-09 19:52:13 -06:00
FusionPBX b9bef2ee9a
Clear the dial_string variables
Clearing dial_string prevents poisoning the value for extensions in the ring group destinations that exist but are not registered.
2023-10-04 14:55:08 -06:00
fusionate 3cbe36c91f
Voicemail [Script]: Return user to current message options after listening to message envelope, instead of returning to the root mailbox menu. 2023-09-23 04:46:32 +00:00
fusionate 2600c7d159
Voicemail: Honor switch > voicemail > dir value in Default/Domain Settings. 2023-09-23 03:51:51 +00:00
FusionPBX b0a2f3340a
Fix ring group delay timing
Use sofia_contact instead of user bridge alias. Added a useful note from @greenbea describing why there was a problem with follow me delay timing.

When you originate user/ext@domain, switch_ivr_originate will call the user endpoint. The user endpoint isn't a real endpoint. It is a shortcut to get the real dialstring from the user's XML and calls again switch_ivr_originate, so essentially, what happens is switch_ivr_originate reads twice originate_delay_start variable and waits double the time.

Your patch fixes the case when the endpoint is the user/ endpoint but will make the delay half the time if called with other endpoints like sofia.

The ultimate solution would be freeswitch to handle this in the user endpoint function. I would suggest that fusion manually get the user's dial string from the XML and call originate on it and not rely on the user (shortcut) endpoint for ring group and follow me.
2023-09-22 16:23:14 -06:00
FusionPBX 6030843ca8
Fix follow-me delay timing
Use sofia_contact instead of user bridge alias. Added a useful note from @greenbea describing why there was a problem with follow me delay timing.

When you originate user/ext@domain, switch_ivr_originate will call the user endpoint. The user endpoint isn't a real endpoint. It is a shortcut to get the real dialstring from the user's XML and calls again switch_ivr_originate, so essentially, what happens is switch_ivr_originate reads twice originate_delay_start variable and waits double the time.

Your patch fixes the case when the endpoint is the user/ endpoint but will make the delay half the time if called with other endpoints like sofia.

The ultimate solution would be freeswitch to handle this in the user endpoint function. I would suggest that fusion manually get the user's dial string from the XML and call originate on it and not rely on the user (shortcut) endpoint for ring group and follow me.
2023-09-22 16:01:59 -06:00
fusionate d9d17a6917
Misc: Remove parameters from event_socket_create() calls. 2023-09-20 18:43:17 +00:00