Commit Graph

555 Commits

Author SHA1 Message Date
FusionPBX e51f48b17f
Update app_defaults.php 2022-08-22 17:54:29 -06:00
FusionPBX 2fcd0dbd9a
Use destination_app and destination_data 2022-08-22 17:30: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 b12c474c19
When using the add button send the destination type in the URL. 2022-08-08 12:56:17 -06:00
FusionPBX 854f2bf1f0
Add missing _alternate 2022-08-01 18:20:38 -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 89258e09e5
Admin user should have access to the destination_prefix. 2022-07-18 10:42:56 -06:00
FusionPBX e6d7c76870
Fix the caller ID number label. 2022-07-17 19:09:34 -06:00
FusionPBX 5f8fcc07fb
Add destination_prefix required for superadmin. 2022-07-17 18:59:19 -06:00
FusionPBX 8ce558702a
Add destination conditions. 2022-07-16 23:31:29 -06:00
FusionPBX ca5ef8d03d
Change label-detail_action to label-destination_actions. 2022-07-16 23:30:15 -06:00
FusionPBX 41c5fa3a3f
Add a field and permission called destination_conditions. 2022-07-16 23:29:04 -06:00
FusionPBX 2c7e40bd8e
Add destination_conditions, destination_actions, and additional descriptions. 2022-07-16 23:27:59 -06:00
FusionPBX d9a9bbc8e0
Add destination_actions to the destinations table. 2022-07-16 11:27:03 -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 c2ba621c15
Add permission destination_cid_name_prefix. Remove an unused permission other_destinations. 2022-07-12 16:46:47 -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 bfa5492e21
Allow an empty destination so that values can be nulled. 2022-05-03 09:46:26 -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
FusionPBX be5f1e47f6
Add new permissions destination_hold_music and destination_distinctive_ring. Add new field destination_distinctive_ring to to the destinations table. 2022-05-02 16:54:31 -06:00
nyash 0bc048a634
Add/edit some polish translations (#6327)
* Add/edit some polish translations

* Minor touches to polish translations
2022-03-26 14:30:02 -06:00
FusionPBX 15977eff35
Removed this as it prevents adding to the array by resetting the value back to 0. 2022-02-04 11:39:49 -07:00
KRooney 9ae3e78238
Update app_menu.php (#6276) 2022-01-30 21:06:12 -07:00
AlexC 2a74114cf2
Copy, toggle and delete buttons visible when checkbox is selected (#6242)
* Update bridges.php

* Update call_block.php

* Update call_center_queues.php

* Update call_center_agents.php

* Update call_broadcast.php

* Update call_flows.php

* Update call_recordings.php

* Update conference_centers.php

* Update conference_rooms.php

* Update conference_controls.php

* Update conference_profiles.php

* Update conferences.php

* Update contacts.php

* Update fax.php

* Update ivr_menus.php

* Update music_on_hold.php

* Update phrases.php

* Update recordings.php

* Update streams.php

* Update voicemails.php

* Update devices.php

* Update device_vendors.php

* Update device_vendor_functions.php

* Update extensions.php

* Update gateways.php

* Update dialplans.php

* Update destinations.php

* Update email_templates.php

* Update modules.php

* Update sip_profiles.php

* Update vars.php

* Update databases.php

* Update users.php

* Update default_settings.php

* Update domains.php

* Update groups.php

* Update menu.php
2022-01-13 11:37:59 -07:00
Anthony 1db3e5ba14
Removed Search Reset (#6241)
* Update default_settings.php

* Update devices.php

* Update extensions.php

* Update gateways.php

* Update users.php

* Update destinations.php

* Update dialplans.php

* Update bridges.php

* Update call_block.php

* Update call_broadcast.php

* Update call_flows.php

* Update call_forward.php

* Update call_recordings.php

* Update conference_centers.php

* Update conference_controls.php

* Update conference_profiles.php

* Update conferences.php

* Update contacts.php

* Update fax.php

* Update ivr_menus.php

* Update phrases.php

* Update recordings.php

* Update ring_groups.php

* Update time_conditions.php

* Update voicemails.php

* Update call_center_queues.php

* Update email_logs.php

* Update registrations.php

* Update user_logs.php

* Update access_controls.php

* Update domains.php

* Update email_templates.php

* Update groups.php

* Update menu.php

* Update number_translations.php

* Update sip_profiles.php

* Update database_transactions.php

* Update vars.php

* Update dashboard.php
2022-01-12 16:00:01 -07:00
agree 9d69d91630
[destinations] fix missing dialplan extension name (#6237) 2022-01-10 22:25:42 -07:00
FusionPBX 6e8fd019b2
Add group_uuid to the destinations table. 2021-12-14 21:49:29 -07:00
FusionPBX 4b68118d3e
Add group select 2021-12-14 16:23:47 -07:00
FusionPBX 68238e9ce4
Account for destination_prefix larger than one character.
Also account for trunk prefix when not using the area code.
2021-12-08 13:49:15 -07:00
frytimo 48b93b66a1
Allow the use of TAB as a delimiter (#5931)
Allows the use of TAB character for a delimiter while importing.
2021-10-14 00:46:33 -06: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 a3a1fc737b
HTTP POST corrects destination delete. 2021-06-19 12:08:57 -06:00
FusionPBX 4b1ab310b7
Remove the login.php code as it breaks the destinations and not needed for this.
Retract changes from this pull request. Its not constantly refreshing and so this login check is not needed for this feature.
https://github.com/fusionpbx/fusionpbx/pull/5951
2021-06-10 22:51:29 -06:00
FusionPBX b551ef2148
Improve the search to maintain the type. 2021-06-10 00:04:27 -06:00
FusionPBX b2a7ebb4b0
Add two descriptions. 2021-06-04 10:54:43 -06:00
FusionPBX e400815c75
Add ability to assign destinations to users.
- Remove trim
2021-06-04 10:46:35 -06:00
FusionPBX c1caba1e7c
Add new field user_uuid and permission destination_user_uuid 2021-06-04 10:33:50 -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
mhoogveld bcf2366dbd
Redirect to login page when auto-refreshing a (part of a) page while being logged out (#5951) 2021-05-28 22:45:11 -06:00
chansizzle 6c47a567c9
improved export page descriptions 2021-05-17 14:37:34 -06:00
chansizzle 72bef9be31
improved export page descriptions 2021-05-17 14:36:27 -06:00
chansizzle c25037ca13
create destinations export 2021-05-12 15:49:18 -06:00
chansizzle 15e7807e90
create destinations export 2021-05-12 15:48:33 -06:00
chansizzle 5999d79b6a
create destinations export 2021-05-12 15:46:50 -06:00
chansizzle d5de5ec791
create destinations export 2021-05-12 15:45:07 -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
Andrew Querol 228b3d0b31
Fix typo with destination ID for the new destination buttons 2021-03-23 00:42:33 -05: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 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
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 7390f79ae0
Add destination order to the order by. 2021-03-06 08:16:30 -07:00
FusionPBX 70577ac83f
Add destination order to the database and use it. 2021-03-06 08:14:54 -07:00
FusionPBX c6707fc835
Add destination_order ot the destinations table. 2021-03-06 08:10:47 -07:00
FusionPBX 524bf1e230
Merge pull request #5709 from emaktech/patch-6
French language update
2021-01-26 08:41:46 -07:00
agree 71a468113a
add destination_accountcode permission 2021-01-18 17:12:13 -05: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
emaktech 731c969d4a
Update app_languages.php
super minor french language edit
2021-01-06 16:02:31 -05: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
fusionate 1687ebb3ae Destinations: Correct permission. 2020-12-10 16:58:50 -07:00
fusionate c13c5182ac Destination Select - Dynamic: Clear session array for Outbound Destinations. 2020-11-30 15:53:44 -07:00
fusionate c67c8cd4c2 Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
FusionPBX e8790a8314
Remove trailing white space. 2020-11-23 09:36:04 -07:00
FusionPBX 6be0a340f2
Improve the destination select list other category. 2020-11-23 09:32:02 -07:00
FusionPBX 7370d5cd45
Add other_destinations permission. 2020-11-23 08:52:29 -07:00
FusionPBX 6fd52ec721
Add select_mode 2020-11-19 09:54:32 -07:00
FusionPBX cb14ed7a77
Create resources/destinations.php 2020-11-19 09:48:38 -07:00
FusionPBX a1ac4cb1b9
Create root.php 2020-11-19 09:47:09 -07:00
FusionPBX 43f162e815
Add new destinations select_mode 2020-11-19 09:46:05 -07:00
agree 0857b79ddb
Fix accountcode when using loopback 2020-11-18 13:05:31 -05:00
FusionPBX 708ae63440
Minor change use is_array before count this prevents a PHP Warninng. 2020-11-16 15:42:27 -07:00
fusionate 6e25a4a7bf Destinations: Apply destinations > unique default setting. 2020-11-16 12:52:14 -07:00
FusionPBX dd15534541
Add a destination unique boolean setting. 2020-11-16 12:43:31 -07:00
FusionPBX 4d183c1ffa
Update destinations.php
Fix a PHP warning.
2020-11-11 09:34:42 -07:00
FusionPBX c13b1426bb
Update destinations.php
Prevent a plugin from breaking parts of the project.
2020-11-04 10:46:58 -07:00
FusionPBX 3283140022
Update destination_edit.php
Replace string_to_regex with destination to_regex method.
2020-10-10 00:06:38 -06:00
FusionPBX cd3ed425de
Update destinations.php
Add to_regex method to the destinations class.
2020-10-10 00:03:04 -06:00
FusionPBX 2bbec3f38b
Add a missing comma. 2020-10-01 19:12:30 -06:00
agree 16b34145d6
add extensions to destination class (#5501) 2020-09-29 11:43:48 -06:00
FusionPBX e591ab9ce2
Change count to is_array to prevent a warning on PHP 7.3. 2020-09-28 11:17:17 -06:00
FusionPBX 61767aac3a
Add new destinations get method. 2020-09-23 10:46:28 -06:00
FusionPBX 05ba2b3ca0
Fix PHP warnings 2020-09-15 19:12:19 -06:00
FusionPBX 1b651b6704
Change dialplan_method to the dialplan_mode. 2020-08-27 12:58:14 -06:00
FusionPBX d95052ffef
Update app_config.php 2020-08-27 09:49:10 -06:00
FusionPBX d1981a77cc
Add optional new optional columns destination_trunk_prefix and destination_area_code. 2020-08-26 22:05:11 -06:00