Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Provisioning with Firmware update also

Discussion in '3CX Phone System - General' started by cloidhamer, Jan 20, 2010.

Thread Status:
Not open for further replies.
  1. cloidhamer

    Joined:
    Jan 30, 2009
    Messages:
    33
    Likes Received:
    1
    I was wondering if it is possible to have the settings provisioned from the 3CX server and also have the phone check it's firmware. It seems that you can either have one or the other with DHCP option 66.

    I currently have my SNOM phones using option 66 with the CFG{mac} file to retrieve 3CX settings, and that works great. But I don't see that there are any settings for firmware update files.

    I saw that the Snom phones have this in their log:
    [5] 24/12/2001 00:00:24:Fetching FW URL: http://xxx.xxx.xxx.xxx:80/snom320/snom320-firmware.htm
    [5] 24/12/2001 00:00:24:Fetching URL: http://xxx.xxx.xxx.xxx:80/snom320/snom320-firmware.htm

    I tried creating this file and pointed it to the firmware file, but I couldn't get it to work.
    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <setting-files>
    <file url="http://xxx.xxx.xxx.xxx:80/snom320/snom320-7.3.30-SIP-bf.bin" />
    </setting-files>
    
    If anyone has any input I would sure appreciate it. Thanks.

    Craig
     
  2. SW7

    SW7

    Joined:
    Oct 21, 2009
    Messages:
    4
    Likes Received:
    0
    Hi Craig,

    You can try to use a FTP server to do the provisioning. Point the FTP server to the 3CX provisioning folder. Set the IP address of the FTP server in DHCP Option 66, put the new firmware in the provisioning folder, reboot the phones.

    Regards,
    Shoulun
     
  3. cloidhamer

    Joined:
    Jan 30, 2009
    Messages:
    33
    Likes Received:
    1
    I figured it out. I had my snom320-firmware.htm file incorrectly formatted. Now my phones load the 3CX config files and also automatically update their firmware. Here is what I did.

    On the 3CX server:
    In the provisioning folder I created a folder called snom.
    Then in the snom folder I put the current firmware image snom320-7.3.30-SIP-bf.bin and also
    in the snom folder I created a file called snom320-firmware.htm with the following code:
    Code:
    <html>
    <pre>
    
    # Firmware setting specifies the URL of the firmware/root fs/linux image file
    firmware: http://yourserveraddress/snom320/snom320-7.3.30-SIP-bf.bin
    
    # Bootloader setting MUST NOT be used from Version 5.0 onwards  
    # bootloader:
    
    </pre>
    </html>
    Finally I created a new Virtual Directory in IIS called snom320 and linked it to the snom folder in the provisioning folder. The Virtual Directory name must be snom320.

    It seems that the snom 320 phones take the IP address of the server in option 66 and then tag on /snom320/snom320-firmware.htm as the directory to look for firmware updates. Phones are automatically updated on reboot. Now all I have to do to push firmware updates is add the firmware file to the snom folder, update the snom320-firmware.htm file and reboot the phones.

    Edit: I tested this with the Snom 300 and it works also. Just create a snom300 virtual directory in IIS and link it to the snom directory. Add the snom 300 firmware image to the snom folder and make a snom300-firmware.htm that points to the 300 firmware image.

    Craig
     
Thread Status:
Not open for further replies.