Skip to content

Commit

Permalink
Include profile and caller id type in copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Digital-Daz authored Oct 23, 2020
1 parent 6d0865a commit f5a34d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/gateways/gateway_copy.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'].")";
}
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit f5a34d0

Please sign in to comment.