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

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