Include profile and caller id type in copy

This commit is contained in:
Darren Williams 2020-10-23 19:14:09 +01:00 committed by GitHub
parent 6d0865acc8
commit f5a34d02f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -75,12 +75,14 @@
$channels = $row["channels"];
$caller_id_in_from = $row["caller_id_in_from"];
$supress_cng = $row["supress_cng"];
$sip_cid_type = $row["sip_cid_type"];
$extension_in_contact = $row["extension_in_contact"];
$effective_caller_id_name = $row["effective_caller_id_name"];
$effective_caller_id_number = $row["effective_caller_id_number"];
$outbound_caller_id_name = $row["outbound_caller_id_name"];
$outbound_caller_id_number = $row["outbound_caller_id_number"];
$context = $row["context"];
$profile = $row["profile"];
$enabled = $row["enabled"];
$description = $row["description"]." (".$text['label-copy'].")";
}
@ -118,8 +120,10 @@
//$array['gateways'][0]['channels'] = $channels;
$array['gateways'][0]['caller_id_in_from'] = $caller_id_in_from;
$array['gateways'][0]['supress_cng'] = $supress_cng;
$array['gateways'][0]['sip_cid_type'] = $sip_cid_type;
$array['gateways'][0]['extension_in_contact'] = $extension_in_contact;
$array['gateways'][0]['context'] = $context;
$array['gateways'][0]['profile'] = $profile;
$array['gateways'][0]['enabled'] = $enabled;
$array['gateways'][0]['description'] = $description;