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