Allow other modules callerID prefixes to propagate down if prefix is not populated. eg Destinations prefix.

This commit is contained in:
Digital Daz 2015-02-07 18:20:03 +00:00
parent fe0575faa6
commit 8d4efb0683
1 changed files with 14 additions and 12 deletions

View File

@ -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;