Commit Graph

19 Commits

Author SHA1 Message Date
FusionPBX
cd1cc70044 Remove redundant database objects
This reduces database connections and improves performance.
2024-08-05 14:22:17 -06:00
FusionPBX
fa123ff069 Build dialplan xml from the array. More efficient to save data and xml in one step. 2023-11-03 02:18:57 -06:00
FusionPBX
c6d966395e Use settings class for app_defaults.php 2023-09-16 00:22:12 -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
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
13d73a33e2 If the group is null set to 0 2023-05-09 09:50:16 -06:00
FusionPBX
2fb7a5a29c Need to escape the $ with the back slash 2022-01-28 19:20:33 -07:00
FusionPBX
b037bf9cf4 Add additional Dialplan upgrade commands. 2022-01-27 00:06:29 -07:00
FusionPBX
67be72b452 Database save method set to false. (#6215)
* When database save set to false for app_defaults.php
2021-12-24 12:42:16 -07:00
Luis Daniel Lucio Quiroz
4523d6e264 Same as 4.4, move 404 not found from DEBUG to WARNING (#4925)
New system use the journal (some still use syslog). the "log" action default level is DEBUG.
This change moves the 404 error code to WARNING, the mod_syslog will report to the journal (or syslog).
2019-12-03 15:35:24 -07:00
FusionPBX
b3614a6a79 Update app_defaults.php 2019-10-19 19:09:30 -06:00
Nate
d3c6182f85 Dialplans: Database class integration. 2019-08-05 19:18:21 -06:00
FusionPBX
06b040c42f Update app_defaults.php 2019-03-14 23:53:15 -06:00
FusionPBX
7ba3fd49c5 Update app_defaults.php 2019-03-07 16:37:47 -07:00
FusionPBX
ada85fdf96 Update app_defaults.php 2018-09-13 22:51:38 -07:00
shaunjstokes
e1b989d91b Fix PHP out of memory error on App Defaults (#3403)
If 400+ domains exist it's not possible to Execute App Defaults without getting PHP out of memory error on line 630 in 'app\dialplan\resources\classes\dialplan.php'.

It would be better to first build XML for each domain_name (context) then for all else.
2018-09-13 23:50:08 -06:00
FusionPBX
d1ac931b53 Update app_defaults.php 2018-06-17 16:31:59 -06:00
markjcrane
2206c2f97c Rename the directory app/dialplan to app/dialplans to make it more consistent. 2017-09-24 15:56:04 +00:00