Commit Graph

10706 Commits

Author SHA1 Message Date
FusionPBX 956b8686f9
Bug fix use tonumber function to detect non numeric required for those using extension number alias 2023-08-10 13:57:30 -06:00
FusionPBX e8e6673be8
Remove some redudant code for finding record_path and record_name 2023-08-10 09:05:42 -06:00
FusionPBX 503b59267e
Fix call center agent call recording
Issue was caused by xml sanitize and this change allows using strftime.
2023-08-09 11:13:09 -06:00
jacobbuscher-bt 719912f453
Fix time conditions using 'minute-of-day' switching 1 minute early (#6784)
Fix time conditions using 'minute-of-day' switching 1 minute early.

We are augmenting the value saved based on what select option is selected.

12:00 AM - 11:59 PM will now serialize as 1-1439 as expected
11:59 PM - 11:59 PM will now serialize as 1440-1439 which is unexpected behavior due to freeswitch's 'wrap around' behavior but acceptable.

Additional information
minute-of-day	1-1440	minute of the day (midnight = 1, 1am = 60, noon = 720, etc)
2023-08-08 14:24:14 -06:00
FusionPBX 0304dfffad
Use empty record_name
Recording call through a ring group its not setting the record_name variable this picks up the recording from the file system.
2023-08-04 13:53:37 -06:00
fusionate 6000c8235c
Dashboard - Ring Group Forward: Remove form elements if ring_group_forward permission not assigned. 2023-08-04 19:28:08 +00:00
fusionate 578dcc6256
Voicemail - Email [Function]: Send basic email even if email template is disabled. 2023-08-04 03:49:29 +00:00
FusionPBX 68f575b941
Fixed a problem for inbound destinations with more than one caller ID routing conditions.
Its a minor bug as it created the dialplan XML so the call will work. However the dialplan details needed the group incremented.
2023-08-03 12:18:02 -06:00
jacobbuscher-bt 2d872a3566
Finalize changing origination_callee_id_name from destination_number to caller_destination in domain_variables and variables dialplan. (#6782)
* Add the / character to the ALLOWED_CHARS variable to fix bug with front slashes being stripped. Previously was turning /var/lib/freeswitch into varlibfreeswitch

* Update app_defaults.php

Updating app defaults for Dialplan -> Domain Variables to set origination_callee_id_name to match the caller_destination instead of the destination number so that if you call another tenant in the same Fusion instance without is_local enabled the caller_destination shows instead of the tenant's called extension.

* Update app_defaults.php

Instead of removing the export all together we need to update it from destination_number to caller_destination.

* Update 020_domain-variables.xml

Set origination callee ID to caller_destination so internal calls don't show "Outbound Call"

---------

Authored-by: Jacob Buscher <jacob@bfitec.com>
2023-08-02 12:25:45 -06:00
jacobbuscher-bt 80580bb931
Fixing 'origination_callee_id_name' in domain variables dialplan (#6781)
Updating app defaults for Dialplan -> Domain Variables to set origination_callee_id_name to match the caller_destination instead of the destination number so that if you call another tenant in the same Fusion instance without is_local enabled the caller_destination shows instead of the tenant's called extension.

---------

Authored-by: Jacob Buscher <jacob@bfitec.com>
2023-08-01 18:19:26 -06:00
FusionPBX 167e5e1740
Create 080_caller_id.xml 2023-08-01 18:14:56 -06:00
FusionPBX 6832d9e081
Deprecate cidlookup dialplan 2023-08-01 18:08:05 -06:00
FusionPBX 2582511594
Update and rename contacts.lua to database.lua 2023-08-01 18:03:58 -06:00
FusionPBX b436200a61
Create index.lua 2023-08-01 18:02:02 -06:00
fusionate f61302190b
Dashboard - Missed Calls: Apply domain time zone. 2023-08-01 20:33:51 +00:00
fusionate d68f9826f1
Dashboard - Recent Calls: Apply domain time zone. 2023-08-01 20:33:39 +00:00
FusionPBX bd513b3629
Rename inbound_lookup.lua to contacts.lua 2023-08-01 10:31:47 -06:00
FusionPBX 398278c7ea
Create inbound_lookup.lua 2023-08-01 00:09:54 -06:00
fusionate d4d5799342
Email Queue - Job & Service: Fix variable issues to mitigate errors. 2023-08-01 00:14:00 +00:00
fusionate 2c298113f6
Destinations - Import/Export: Include Conditions and Actions. 2023-07-31 23:27:45 +00:00
fusionate 3d6c1cbb99
Destinations - List: Adjust case on Type column value, Center Prefix, mitigate PHP 8.1 warning. 2023-07-31 23:26:03 +00:00
fusionate f88af8b502
Extensions - List: Hide Call Group if no permission to view. 2023-07-31 22:37:37 +00:00
fusionate bd12b748e6
Destinations - List: Resolve PHP 8.1 warning. 2023-07-31 21:07:30 +00:00
FusionPBX 5e04c63824
remove origination_callee_id_name from domain-variables dialplan
Removed for these reasons.
- Update the caller's display when making a call to the final destination number rather than the number that was called.
- It also modifies the phone history of called numbers
- Changes the number in Call Detail Records  to the final destination rather than Caller's Destination
2023-07-29 12:55:52 -06:00
FusionPBX 8b502d4355
Remove origination_callee_id_name from domain-variables dialplan 2023-07-29 11:18:36 -06:00
Andy Binder 74bdf82dba
Update event_guard.php (#6779) 2023-07-26 14:05:57 -06:00
FusionPBX ee610ccb1b
convert the message_length value to a number
Fixed this error "attempt to compare number with a string"
2023-07-25 13:12:42 -06:00
FusionPBX 1bbe9b2f8a
Prevent CPU number showing more than once on BSD 2023-07-22 09:50:11 -06:00
fusionate c4f3565a15
Provisioning: Updates to resolve PHP 8.1 warnings. 2023-07-17 22:52:03 +00:00
FusionPBX f7b1ad53cd
is_writable prevents an error writing to the file if its not writable 2023-07-16 00:44:18 -06:00
FusionPBX 5e69a3deda
Update xml_cdr_details.php 2023-07-15 23:59:05 -06:00
FusionPBX 64c5eeb35e
Update xml_cdr_details.php 2023-07-15 23:49:55 -06:00
FusionPBX 1b6bf49a62
Update xml_cdr_details.php 2023-07-15 23:43:19 -06:00
Norman King d70fa0307b
Add var to enable tr 069 on grandstream (#6774)
* added tr069 enable and periodic_inform_enable vars to config templates add variable on dp750 template for enabling tr-069 provisioning.

* add vars to grandstream app default settings

* add if condition to use the variables.

* Update app_config.php
2023-07-15 18:49:39 -06:00
markjcrane 278ae0376b When using dialplan details with the public context ensure call_direction, domain_name and domain_uuids is added to each dialplan detail group 2023-07-15 18:32:25 -06:00
markjcrane 689fe5c6b4 Use call_direction, domain_name and domain_uuuid details are added to the conditions 2023-07-15 18:22:03 -06:00
markjcrane 296b092b22 Add caller ID routing dialplan details. 2023-07-14 20:49:23 -06:00
markjcrane 1f0c30529b Add dialplan condition regex 2023-07-14 20:44:40 -06:00
markjcrane b9e6a89a37 Add extension_type is null for better backwards compatibility 2023-07-14 12:44:24 -06:00
FusionPBX 4e861b0dcb
Hide device information If the extension type is virtual 2023-07-13 21:40:43 -06:00
FusionPBX f93fd6b00c
Require extension_type as default 2023-07-13 21:32:25 -06:00
FusionPBX b1457116d8
Require extension_type default 2023-07-13 21:30:24 -06:00
markjcrane d3aed6707e Update the extension_type when the value is null 2023-07-13 18:29:12 -06:00
markjcrane e06c8ea208 Add extension_type options: default, virtual 2023-07-13 17:11:07 -06:00
markjcrane 025f243bac Prevent PHP 8.1 warnings 2023-07-13 17:00:47 -06:00
FusionPBX 8841e28f32
Default setting catetogies should use an underscore rather than a space 2023-07-13 08:17:44 -06:00
jacobbuscher-bt 28695de14c
Add the / character to the ALLOWED_CHARS variable to fix bug with front slashes being stripped. Previously was turning /var/lib/freeswitch into varlibfreeswitch (#6773)
Co-authored-by: Jacob Buscher <jacob@bfitec.com>
2023-07-12 22:15:37 -06:00
FusionPBX ddfa077635
Remove undefined translation 2023-07-12 15:42:40 -06:00
FusionPBX 9a2c3f6299
Use isset with REQUEST address and mac 2023-07-12 12:58:02 -06:00
FusionPBX d3cfa9c2bc
Update mkdir.lua 2023-07-12 10:47:57 -06:00