MT#56835 Fix device provisioning when external_number is in use

In case device is provisioned with lines that use the
external_number feature, then the provisioning system
uses the pilot subscriber username instead.
This because the external_number is not properly
passed to the provisioning templates.

Change-Id: I48e494b303db318d504578f10e8b44aa9b64ddc5
mr11.3
Marco Capetta 3 years ago
parent 3c1842c122
commit 26b63e88f0

@ -1380,6 +1380,7 @@ sub dev_field_config :Chained('/') :PathPart('device/autoprov/config') :Args() {
keynum => $line->key_num,
type => $line->line_type,
preferences => $preferences,
target_number => $line->target_number,
%sub_preferences_vars,
};
if(!$ldap_attr_set && $linerange->name eq "Full Keys" && $line->line_type eq "private") {

Loading…
Cancel
Save