Hello,
For Nortel1535 vedio phone plug&play, automatic firmware update through
web UI does not work yet. (XECS-860). For Nortel1535 firmware update,
the new firmware package contains a file named
FirmwareUpdateRequest.acfg, which specifies the upgrade is from which
version to which version, and it requires the file to be copied to the
old firmware's folder, that is cp
<newHwVersion>/<newSwVersion>/FirmwareUpdateRequest.acfg
<oldHwVersion>/<oldSwVersion>/ FirmwareUpdateRequest.acfg
Currently, this step has to be done manually.
Given the way Nortel1535 does firmware update, and in order to achieve
the automatic firmware update through web UI, we need to know the update
is from which version to which version before apply the new firmware.
To solve this problem, I propose to add some configuration fields in the
device upload page for NT1535 phone, and the fields are:
Old Hardware Version
Old Firmware Version
New Hardware Version
New Firmware Version
With the values of those fields, we will know the source of
FirmwareUpdateRequest.acfg, and where it should be copied. Then when the
new firmware file is applied and activated, we can trigger the copy
underneath. Similarly, when the firmware file is deactivated, we can
also remove the file from the old firmware's folder.
Does anyone see an issue with this approach or have a better idea?
If this approach is acceptable, I have a detailed technical question:
I am thinking to define a subclass of ZipUpload, which will override
deploy() and undeploy() methods, so that I can do the actual tricks, to
copy/delete file when activate/deactivate is invoked. I defined the
extra fields mentioned above in upload.xml, but did not figure out how
to get those settings' values. Can anyone shed some light on this?
Thanks in advance!
Huijun
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev