• Welcome to SAIL Community Supported PBX . Please login or sign up.
 
May 17, 2024, 07:48:24 AM

News:

SMF updated to 2.0


Firmware location??

Started by compsos, October 02, 2017, 03:04:53 AM

Previous topic - Next topic

compsos

Hi S
Now that autoprovisioning works, where can you put a firmware file? Is it possible to load firmware from Sark?
For Yealink the entry is firmware.url = so for a T42 I put in the following entry into the y000000000029.cfg file.
firmware.url = http://pbx/provisioning/T42-29.82.0.20.rom
and got back
T42-29.82.0.20.rom not found in db(RowCount).  Sending 404 and giving up

The firmware file is in the opt/sark/provisioning directory.

Do we have create a new template or have I put it in the wrong spot?
Thanks.

Del

October 02, 2017, 05:32:05 PM #1 Last Edit: October 02, 2017, 05:46:50 PM by Del
Quote from: compsos on October 02, 2017, 03:04:53 AM
Now that autoprovisioning works, where can you put a firmware file? Is it possible to load firmware from Sark?
The firmware file is in the opt/sark/provisioning directory.

I don't think the provisioning location can be used for firmware files.

I usually create a 'firmware' directory inside the www directory or in the public directory and put the firmware in there, examples:

opt/sark/www/firmware/ = http://pbx/firmware/
opt/sark/public/firmware/ = http://pbx/public/firmware/

Either one should work fine, I use them for custom wallpapers, firmware etc

sysadmin

Del is correct.  We created the public folder as a general space you can use for firmwares and whatever else you may want to serve from the PBX.  In our own case, we serve polycom firmwares from public/polycom and aastra firmwares from public/aastra and so on. 




compsos

Thanks
Had worked with it in /var/www/html/ as well but will revert to the /opt/sark/ location.