mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-02 10:03:49 +00:00
Only add default value if application was not found
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user