Only add default value if application was not found

This commit is contained in:
FusionPBX 2023-10-23 16:13:07 -06:00 committed by GitHub
parent 1e06e3aa1c
commit f09b04eb01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -1114,11 +1114,13 @@ if (!class_exists('xml_cdr')) {
//outbound routes
if ($this->call_direction == 'outbound') {
$app['application'] = 'dialplans';
$app['uuid'] = '';
$app['status'] = '';
$app['name'] = 'Outbound';
$app['label'] = 'Outbound';
if (empty($app['application'])) {
$app['application'] = 'dialplans';
$app['uuid'] = '';
$app['status'] = '';
$app['name'] = 'Outbound';
$app['label'] = 'Outbound';
}
}
//ring groups