MT#3977 Also set config.url for autoprov config.

apogrebennyk/3_1_force_outbound
Andreas Granig 13 years ago
parent 2a09c775bd
commit 4d619e3de4

@ -1,5 +1,6 @@
<flat-profile>
[% barge_in = 0 -%]
<Profile_Rule>[% config.url %]</Profile_Rule>
<Upgrade_Enable>Yes</Upgrade_Enable>
<Upgrade_Rule>[% firmware.url %]</Upgrade_Rule>
<Station_Name>[% phone.stationname %]</Station_Name>

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

Loading…
Cancel
Save