Allow other modules callerID prefixes to propagate down if prefix is not populated. eg Destinations prefix.
This commit is contained in:
parent
fe0575faa6
commit
8d4efb0683
|
|
@ -2735,6 +2735,7 @@ if (!function_exists('save_call_center_xml')) {
|
||||||
$dialplan->dialplan_detail_add();
|
$dialplan->dialplan_detail_add();
|
||||||
unset($dialplan);
|
unset($dialplan);
|
||||||
|
|
||||||
|
if (strlen($queue_cid_prefix) > 0) {
|
||||||
$dialplan = new dialplan;
|
$dialplan = new dialplan;
|
||||||
$dialplan->domain_uuid = $domain_uuid;
|
$dialplan->domain_uuid = $domain_uuid;
|
||||||
$dialplan->dialplan_uuid = $dialplan_uuid;
|
$dialplan->dialplan_uuid = $dialplan_uuid;
|
||||||
|
|
@ -2747,6 +2748,7 @@ if (!function_exists('save_call_center_xml')) {
|
||||||
$dialplan->dialplan_detail_order = '040';
|
$dialplan->dialplan_detail_order = '040';
|
||||||
$dialplan->dialplan_detail_add();
|
$dialplan->dialplan_detail_add();
|
||||||
unset($dialplan);
|
unset($dialplan);
|
||||||
|
}
|
||||||
|
|
||||||
$dialplan = new dialplan;
|
$dialplan = new dialplan;
|
||||||
$dialplan->domain_uuid = $domain_uuid;
|
$dialplan->domain_uuid = $domain_uuid;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue