diff --git a/assets/linksys-spa5xx-configtemplate.tt b/assets/linksys-spa5xx-configtemplate.tt index eeae8d1bd6..f64aea70d0 100644 --- a/assets/linksys-spa5xx-configtemplate.tt +++ b/assets/linksys-spa5xx-configtemplate.tt @@ -1,5 +1,6 @@ [% barge_in = 0 -%] + [% config.url %] Yes [% firmware.url %] [% phone.stationname %] diff --git a/lib/NGCP/Panel/Controller/Device.pm b/lib/NGCP/Panel/Controller/Device.pm index cf5e094dee..88161f8c96 100644 --- a/lib/NGCP/Panel/Controller/Device.pm +++ b/lib/NGCP/Panel/Controller/Device.pm @@ -904,8 +904,10 @@ sub dev_field_config :Chained('/') :PathPart('device/autoprov/config') :Args() { my $fw = $dev->profile->firmware; my $vars = { + config => { + url => $c->uri_for, + } firmware => { - }, phone => { stationname => $dev->station_name,