ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Fanvil x5u - Firmware upgrade via server download

    IT Discussion
    fanvil autoprovision x5u
    3
    9
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RomoR
      Romo
      last edited by Romo

      EDIT:
      Adding the Auto Image Url entry to the model.cfg file actually made the autoprovisioning able to be able to download the new firmware and install it directly from the server without any other intervention.
      F0V0X5U00000.cfg contents for the test.

      <<VOIP CONFIG FILE>>Version:2.0000000000
      
      <AUTOUPDATE CONFIG MODULE>
      Auto Image Url     :https://URL/x5u-6906-P0.18.23.21-2.2.10-3421T2020-09-27-16.44.21.z
      
      
      <<END OF FILE>>
      

      END EDIT


      In order to get the phone to see there is a new firmware in the server for autoprovisioning, a specific txt file must be added as this is the file where the phone gets the actual firmware details. In this case the x5u was looking for a file named fanvil_x5u_hwv1_0.txt.

      Syntax for the file should be the following:

      Version=2.2.10 #Firmware version you are making available
      Firmware=x5u-6906-P0.18.23.21-2.2.10-3421T2020-09-27-16.44.21.z #Path to the firmware file
      BuildTime=2020.09.27 16:44 # Just got this from within the firmware file name
      Info=TXT
      

      Once the phones reads this txt file, it is able to see the new firmware upgrade.
      1b94b06c-ca2d-437f-8f56-0add1ee20ab7-image.png

      Upgrade pop up is shown in the phone screen (if popups are enabled which is the default) or it can be triggered from the admin web gui by clicking the Upgrade button.

      4b7eccac-1b47-4490-bc96-6f9f6307eeff-image.png

      I am not liking that I can't seem to actually trigger the upgrade without user intervention/web gui access. There is an enable autoupgrade option with an update interval but in the initial tests it just shows the upgrade option but doesn't auto-upgrade actually.
      5ad8a2a3-df33-488b-9385-f6b431ef7d5c-image.png

      1 Reply Last reply Reply Quote 2
      • DashrenderD
        Dashrender
        last edited by

        It might be something that was broken in the old/original firmware.

        If you could upgrade to a slightly newer version and try again to a later one, things might be different.

        RomoR 1 Reply Last reply Reply Quote 0
        • RomoR
          Romo @Dashrender
          last edited by

          @Dashrender I actually started also tested from 2.0.2 and couldn't get it to autoupgrade either, it kept just showing the popup. Trying to get access to more documentation to see if this can be really done automatically as other brands do.

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @Romo
            last edited by

            @Romo said in Fanvil x5u - Firmware upgrade via server download:

            @Dashrender I actually started also tested from 2.0.2 and couldn't get it to autoupgrade either, it kept just showing the popup. Trying to get access to more documentation to see if this can be really done automatically as other brands do.

            My X4U is at a potential client for a demo, so I cannot test.

            But I am fairly certain I only needed to specify the url in the config file.

            RomoR 1 Reply Last reply Reply Quote 0
            • RomoR
              Romo @JaredBusch
              last edited by

              Had a personal issue this afternoon and I couldn't keep testing further, but in the logs, it does look for that specific file. No matter what I put in the server url it always looked for that file appending the name to the server URL.

              [14/Oct/2020:19:26:40 -0500] "GET ../F0V0X5U00000.cfg HTTP/1.1" 404 229 "-" "Fanvil X5U 2.2.10 "
              [14/Oct/2020:19:26:41 -0500] "GET ../MAC_ADDRESS.cfg HTTP/1.1" 200 146743 "-" "Fanvil X5U 2.2.10"
              [14/Oct/2020:19:15:57 -0500] "GET ../../fanvil_x5u_hwv1_0.txt HTTP/1.1" 200 115 "-" "Fanvil X5U 2.2.10"
              
              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender
                last edited by

                https://www.fanvil.com/Uploads/Temp/download/20191218/5df9dd9ce42f0.pdf

                The general configuration file is helpful in automatic configuration deployment of a large number of terminals. For example, only a general configuration file F0V00X600000.cfg carrying firmware parameters needs to be placed on the automatic configuration server to automatically deploy firmware for 1000 X6 terminals.

                JaredBuschJ RomoR 2 Replies Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @Dashrender
                  last edited by

                  @Dashrender That is the X6 not the X5. I also only have an X4 to play with (once I get it back).

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @Romo
                    last edited by

                    @Romo said in Fanvil x5u - Firmware upgrade via server download:

                    Had a personal issue this afternoon and I couldn't keep testing further, but in the logs, it does look for that specific file. No matter what I put in the server url it always looked for that file appending the name to the server URL.

                    [14/Oct/2020:19:26:40 -0500] "GET ../F0V0X5U00000.cfg HTTP/1.1" 404 229 "-" "Fanvil X5U 2.2.10 "
                    [14/Oct/2020:19:26:41 -0500] "GET ../MAC_ADDRESS.cfg HTTP/1.1" 200 146743 "-" "Fanvil X5U 2.2.10"
                    [14/Oct/2020:19:15:57 -0500] "GET ../../fanvil_x5u_hwv1_0.txt HTTP/1.1" 200 115 "-" "Fanvil X5U 2.2.10"
                    

                    My X4U only pings the two config files.

                    [root@pbx ~]# grep anvil /var/log/httpd/access_log*
                    /var/log/httpd/access_log-20200920:64.53.207.74 - - [13/Sep/2020:07:24:43 -0500] "GET /F0V0X4U00000.cfg HTTP/1.1" 404 214 "-" "Fanvil X4U 1.0.0 0c383e42480e"
                    /var/log/httpd/access_log-20200920:64.53.207.74 - - [13/Sep/2020:07:24:43 -0500] "GET /0c383e42480e.cfg HTTP/1.1" 200 2249 "-" "Fanvil X4U 1.0.0 0c383e42480e"
                    
                    1 Reply Last reply Reply Quote 0
                    • RomoR
                      Romo @Dashrender
                      last edited by Romo

                      @Dashrender said in Fanvil x5u - Firmware upgrade via server download:

                      https://www.fanvil.com/Uploads/Temp/download/20191218/5df9dd9ce42f0.pdf

                      The general configuration file is helpful in automatic configuration deployment of a large number of terminals. For example, only a general configuration file F0V00X600000.cfg carrying firmware parameters needs to be placed on the automatic configuration server to automatically deploy firmware for 1000 X6 terminals.

                      @Dashrender thanks I had totally missed that section of the pdf. Adding the Auto Image Url option, to the F0V0X5U00000.cfg did get the phone to properly upgrade the firmware automatically.

                      F0V0X5U00000.cfg contents for the test.

                      <<VOIP CONFIG FILE>>Version:2.0000000000
                      
                      <AUTOUPDATE CONFIG MODULE>
                      Auto Image Url     :https://URL/x5u-6906-P0.18.23.21-2.2.10-3421T2020-09-27-16.44.21.z
                      
                      
                      <<END OF FILE>>
                      

                      Here are the logs of the process, phones starts with firmware 1.0.0 and properly upgrades to 2.2.10

                      [15/Oct/2020:09:20:42 -0500] "GET /F0V0X5U00000.cfg HTTP/1.1" 200 209 "-" "Fanvil X5U 1.0.0"
                      [15/Oct/2020:09:20:43 -0500] "GET /MACADDRESS.cfg HTTP/1.1" 200 93621 "-" "Fanvil X5U 1.0.0"
                      [15/Oct/2020:09:20:53 -0500] "GET /x5u-6906-P0.18.23.21-2.2.10-3421T2020-09-27-16.44.21.z HTTP/1.1" 200 40789888 "-" "Fanvil X5U 1.0.0"
                      [15/Oct/2020:09:21:44 -0500] "GET /F0V0X5U00000.cfg HTTP/1.1" 200 209 "-" "Fanvil X5U 1.0.0"
                      [15/Oct/2020:09:21:45 -0500] "GET /MACADDRESS.cfg HTTP/1.1" 200 93621 "-" "Fanvil X5U 1.0.0"
                      [15/Oct/2020:09:23:02 -0500] "GET /F0V0X5U00000.cfg HTTP/1.1" 200 209 "-" "Fanvil X5U 2.2.10"
                      [15/Oct/2020:09:23:02 -0500] "GET /MACADDRESS.cfg HTTP/1.1" 200 93621 "-" "Fanvil X5U 2.2.10"
                      [15/Oct/2020:09:23:23 -0500] "GET /F0V0X5U00000.cfg HTTP/1.1" 200 209 "-" "Fanvil X5U 2.2.10"
                      [15/Oct/2020:09:23:23 -0500] "GET /MACADDRESS.cfg HTTP/1.1" 200 93621 "-" "Fanvil X5U 2.2.10"
                      [15/Oct/2020:09:32:53 -0500] "GET /fanvil_x5u_hwv1_0.txt HTTP/1.1" 200 115 "-" "Fanvil X5U 2.2.10"
                      
                      1 Reply Last reply Reply Quote 1
                      • 1 / 1
                      • First post
                        Last post