Only add default value if application was not found
This commit is contained in:
parent
1e06e3aa1c
commit
f09b04eb01
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue