...
Stop Asterisk
amportal stop (For FreePBX 12 and below)
fwconsole stop (For FreePBX 13 and above)
Stop the Sangoma Telephony driver (which is called 'Wanpipe')
wanrouter stop
Being the firmware update process
Navigate to the following directly by typing:
-> cd /etc/wanpipe/util/wan_aftup/Type the following command to run the upgrade
-> ./update_aft_firm.shYou will notice an output similar to the example below (dependent on the telephony cards installed)
Code Block [root@support-sys1 wan_aftup]# ./update_aft_firm.sh modprobe wan_aften > /dev/null AFT card enabled Sangoma AFT Series card update flash software (version 1.9) Sangoma AFT card list: w1g1: AFT-A108-SH : SLOT=2 : BUS=7 : IRQ=23 : CPU=A : PORT=1 : HWEC=256 : V=42 (Ver.42) Please select card interface [def=w1g1; q=exit] >
specify the interface name that corresponds to your card, based on the output.
i.e. w1g1 then press <enter>A list of available firmware versions will be presented. Select the latest/current firmware version, as referenced from the table at the beginning of this page.
Example:Code Block Please select card interface [def=w1g1; q=exit] > w1g1 List of available versions: Version no. 44 (filename=A108dm_0100_V44.BIN) Please specify version number [def=44; q=exit] > 44
If the list does not display the latest/current firmware that is seen in the table, you will need to upload the latest/current firmware file into your system and redo these steps.
To do this:
a. Right click on the firmware file in the table, located under the 'Firmware version' column and copy the link . This will copy a link to the location of that firmware file.
b. In you Linux command line, in the current directory of /etc/wanpipe/firmware/wan_aftup, type:
-> 'wget' then left click to paste the firmware file location.
i.e. wget https://ftp.sangoma.com/firmware/A108dm_0100_V44.BIN
-> This will auto download the firmware, assuming your system has internet access
c. now follow the steps againAfter pressing <enter> the upgrade process will begin
Example:Code Block Please specify version number [def=44; q=exit] > 44 ABOUT TO board_reset FINISH board_reset w4g1: Current Sangoma Flash: Revision=44 ID=0x205B Erasing sectors Passed Updating flash 1%
Now that the firmware on your card has been updated, start your production environment back up.
Type the following, in your Linux command line, to start the telephony driver:
-> wanrouter startStart Asterisk by typing:
-> amportal start (For FreePBX 12 and below)
-> fwconsole start (For FreePBX 13 and above)
...