fusionate
d0b6874f23
Destination - Edit: Updates for PHP 8.1
2023-05-22 23:04:46 +00:00
FusionPBX
e7730e9e69
Prevent overwriting variables
2023-05-21 16:52:14 -06:00
markjcrane
f1ac3d92dd
Destinations more minor changes
2023-05-17 16:32:05 -06:00
markjcrane
af8a6991b1
Initialize the array if its empty
2023-05-17 14:18:46 -06:00
markjcrane
7d18e3eedc
Destinations update for PHP 8.1
2023-05-17 11:31:53 -06:00
frytimo
fef8165be2
Frytimo pr patches for php8.1 ( #6630 )
...
* Passing null to parameter #2 ($string) of type string is deprecated
* Passing null to parameter #1 ($string) of type string is deprecated
* php 8.1 fixes
* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - strlower with null
* php 8.1 fixes - strreplace with null
* php 8.1 fixes - passing null to base64_decode
* php 8.1 fixes - check for false and check for null on $this->dir
* php 8.1 fixes - remove assignment of $db variable to modules object
* php 8.1 fixes - avoid sending null to substr
* php 8.1 fixes - change ${var} to {$var}
* php 8.1 fixes - check for null before preg_replace
* php 8.1 fixes - remove setting db variable on domains object
* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null
* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available
* php 8.1 fixes
* php 8.1 fixes - correct $_POST checking syntax
* php 8.1 fixes - correct $_POST variables
* php 8.1 fixes
* Use brackets consistently
* Update user_setting_edit.php
* Change to not empty
* Update device.php
* Update text.php
---------
Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
FusionPBX
dbeb793710
Get the destination_number when needed
...
If the user doesn't have permission to set the destination_number then get it from the database
2023-04-10 12:09:14 -06:00
FusionPBX
e2c22776ce
Country code note required but highly recommended
2023-04-03 09:44:08 -06:00
FusionPBX
4dbee9b596
Fix bridge statements from recent change
...
Example bridge statement broken by the sanitize
before
sofia/internal/$1${regex(${sofia_contact(101@dev.local )}|^[^@]+(.*)|%1)}
after
sofia/internal/1{regex({sofia_contact(101@dev.local )}|^[^@]+(.*)|%1)}
2023-03-31 19:00:23 -06:00
FusionPBX
08fce99db7
Allow sip_to_user and sip_req_user
2023-03-31 11:10:58 -06:00
Alex
43eb2a5b9d
[security] sanitize the xml ( #6595 )
...
* Update call_center_queue_edit.php
* fix typo
* Update call_flow_edit.php
* Update conference_center_edit.php
* Update conference_edit.php
* Update destination_edit.php
* Update fax.php
* Update ivr_menu_edit.php
* Update ring_group_edit.php
* Update app_defaults.php
* Update ivr_menu_copy.php
* Update destination_imports.php
* Update app_defaults.php
2023-03-30 12:46:36 -06:00
FusionPBX
3247357c5d
Remove action == add
2023-03-22 10:01:43 -06:00
FusionPBX
26b0988075
destination_country_code is required
2023-03-22 09:53:28 -06:00
Alex
7326cb845a
Set default for enabled ( #6556 )
...
* Set default for enabled
* Update conference_profile_edit.php
* Update call_block_edit.php
* Update conference_control_edit.php
* Update conference_control_detail_edit.php
* Update conference_profile_edit.php
* Update conference_profile_param_edit.php
* Update conference_edit.php
* Update destination_edit.php
* Update device_edit.php
* Update device_profile_edit.php
* Update device_vendor_edit.php
* Update email_template_edit.php
* Update extension_edit.php
* Update module_edit.php
* Update phrase_edit.php
* Update ring_group_edit.php
* Update sip_profile_edit.php
* Update stream_edit.php
* Update time_condition_edit.php
* Update var_edit.php
* Update voicemail_edit.php
* Update call_block_edit.php
* Update default_setting_edit.php
* Update domain_setting_edit.php
* Update domain_edit.php
* Update user_edit.php
* Update bridge_edit.php
* Update sip_profile_edit.php
* Update sofia_global_setting_edit.php
* Update call_flow_edit.php
* Update email_template_edit.php
* Update call_flow_edit.php
* Update bridge_edit.php
* Update email_template_edit.php
* Update sip_profile_edit.php
* Update sofia_global_setting_edit.php
* Update bridge_edit.php
* Update call_flow_edit.php
* Update conference_control_edit.php
* Update sip_profile_edit.php
* Update stream_edit.php
* Update default_setting_edit.php
* Update email_template_edit.php
* Update extension_setting_edit.php
* Update default_setting_edit.php
* Update dashboard_edit.php
* Update dashboard_edit.php
* Update default_setting_edit.php
2023-02-17 14:21:41 -07:00
Alex
129d173624
Add enable toggle to more pages ( #6549 )
...
* Add bridge enabled toggle
* Update call_block_edit.php
* Add call flows enabled toggle
* Add conference center enabled toggle
* Add conference control detail enabled toggle
* Add conference control enabled toggle
* Add conference enabled toggle
* Add phrase enabled toggle
* Add stream enabled toggle
* Add voicemail enabled toggle
* Add destination enabled toggle
* Add time condition enabled toggle
* Add default settings enabled toggle
* Add domain enabled toggle
* Add email template enabled toggle
* Add module enabled toggle
* Add number translation enabled toggle
* Add sip profile enabled toggle
* Add switch var enabled toggle
2023-02-13 18:02:01 -07:00
FusionPBX
acf3781bd3
Use the destination_prefix permission
2022-11-01 12:07:56 -06:00
FusionPBX
598eb4ab31
Wrap is_array arround foreach
2022-10-13 08:43:32 -06:00
markjcrane
d50bcb476a
Replace root.php
2022-10-10 16:35:14 -06:00
FusionPBX
93dd8bda71
Change variabale name from action to destination_action.
...
Resolves a conflict with another variable called action.
2022-09-30 16:18:39 -06:00
FusionPBX
884e90ac39
Comment out the database response.
2022-09-18 04:48:17 -06:00
FusionPBX
d62f360f77
Delete the cache in e.164 format.
2022-08-24 16:53:31 -06:00
FusionPBX
1b8bf75eff
Simplify outbound destinations further by hiding irrelevant settings.
2022-08-17 09:38:24 -06:00
FusionPBX
25d59d69fe
On change destination type show and hide specific fields
2022-08-08 13:25:56 -06:00
FusionPBX
1a96d4007a
Additional changes to allow hangup action which has no data.
2022-07-20 09:45:11 -06:00
FusionPBX
aa488eed01
Needed to allow hangup action which has no data.
2022-07-20 09:40:23 -06:00
FusionPBX
e6d7c76870
Fix the caller ID number label.
2022-07-17 19:09:34 -06:00
FusionPBX
8ce558702a
Add destination conditions.
2022-07-16 23:31:29 -06:00
markjcrane
4f2987da2d
Add destination_actions type json allows adding multiple actions
2022-07-15 22:38:21 -06:00
FusionPBX
e2640b8752
Use the destination_cid_name_prefix permission and get more values from the database when user doesn't have permission to the value.
2022-07-12 17:16:19 -06:00
FusionPBX
57df8a02aa
Require destination_number for add.
...
Update can get the number from the database.
2022-07-01 11:37:48 -06:00
FusionPBX
7a6f02474e
Prevent spaces from being considered as a valid destination_number.
2022-06-16 15:07:21 -06:00
FusionPBX
94bc7d9f99
Add distinctive ring to inbound destinations ( #6357 )
...
* Add distinctive ring to inbound destinations
* Update destination_edit.php
2022-05-02 18:11:56 -06:00
agree
9d69d91630
[destinations] fix missing dialplan extension name ( #6237 )
2022-01-10 22:25:42 -07:00
FusionPBX
4b68118d3e
Add group select
2021-12-14 16:23:47 -07:00
FusionPBX
a43ad4a992
Destination edit enable emptying app and data values
2021-09-03 23:13:16 -06:00
FusionPBX
b640a68581
Ensure destination cache is cleared when destination is saved by a user in the admin group.
2021-09-03 23:00:07 -06:00
FusionPBX
164467aea9
Change the order of operation to fix an issue when destination range was added.
2021-08-10 12:39:09 -06:00
FusionPBX
e20a27d659
Destination Edit - efficiency improvements.
...
Efficiency Improvements.
- Use the build dialplan XML when saving a dialplan as its more efficient than running the dialplan class xml method.
- Remove delete previous dialplan details as there it seems to be redundant. There is a broader delete for dialplan details in the code.
2021-07-30 14:27:02 -06:00
FusionPBX
00f121701f
Fix outbound destinations and toggle display the user and hold music.
2021-07-29 23:41:45 -06:00
FusionPBX
0445361ad1
Add destination_numbers array and use a foreach.
2021-07-18 17:28:37 -06:00
FusionPBX
e400815c75
Add ability to assign destinations to users.
...
- Remove trim
2021-06-04 10:46:35 -06:00
FusionPBX
b21572fb44
Add better support for destination alternate
...
Get the destination actions from columns in the destination table instead of filtering through the dialplan details. If a destination action app is set or export then use inline = true.
2021-06-03 21:30:31 -06:00
markjcrane
3ce6855116
Add hold_music support to ring groups
2021-05-06 15:09:34 -06:00
markjcrane
8d95421fc6
Only add continue_on_fail when using application bridge
2021-05-05 13:33:15 -06: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
FusionPBX
70577ac83f
Add destination order to the database and use it.
2021-03-06 08:14:54 -07:00
agree
a1baa68230
Destinations add accountcode permission
2021-01-18 17:08:12 -05:00
demonspork
8fb5ffb553
Destination Emergency Checkbox Spacing Fix
...
Add a missing non-breaking space to fix the positioning of the checkbox.
2021-01-11 10:24:30 -06:00
FusionPBX
dadea8d4c6
Merge pull request #5672 from demonspork/Destination-Emergency
...
Add Support for Validated Emergency Destinations/Caller ID
2020-12-24 10:31:44 -07:00
demonspork
c3704c6172
Add Support for Validated Emergency Destinations/Caller ID
...
This adds emergency_caller_id_select permissions. and an "Emergency" checkbox to destinations. When emergency_caller_id_select permssion is added, the "Emergency Caller ID number" and name become a dropdown in the Extension and only show Destinations that have the "Emergency" checkbox selected to indicate they are valid for emergency calls.
2020-12-11 18:24:14 -06:00