Commit Graph

447 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 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
FusionPBX 0218f3be0c
A few minor fixes. 2020-08-26 22:00:05 -06:00
FusionPBX b105b737d8
Add destination_area_code and destination_trunk_prefix. 2020-08-26 21:58:21 -06:00
FusionPBX 0cee9958ea
Add the destination prefix back for now. 2020-08-26 21:55:18 -06:00
FusionPBX 036a013c45
Change prefix to country code and add destination area code and trunk prefix. 2020-08-26 21:03:50 -06:00
FusionPBX b594e5ce10
Add destination_trunk_prefix and destination_area_code. 2020-08-26 21:02:38 -06:00
FusionPBX da10df7cfe
Rearrange the destinations array and add the uuid. 2020-08-24 08:56:10 -06:00
FusionPBX 95dd1cee01
Remove the deprecated save_dialplan_xml function. 2020-08-14 00:41:31 -06:00
FusionPBX 6310f5fdb7
Remove the deprecated save_dialplan_xml function. 2020-08-14 00:34:01 -06:00