Posted on

OAK Appliance PRO is released

Overviews

OAK Appliance PRO is a new generation of open-source designed IPPBX (PABX) system that is more powerful, more stable, and faster performing than OAK Appliance.

The main CPU of the OAK Appliance PRO is based on 64bits RK3399, that is

  • 6 cores CPU, Dual-core Cortex-A72 up to 1.8GHz, Quad-core Cortex-A53 up to 1.4GHz
  • 64 bits width dual-channel 2G DDR4 RAM
  • Onboard 16G eMMC
  • USB 3.0
  • WIFI interface
  • 1000Mbps Ethernet supports

With the most advanced improvement of PCB design, the CPU multi-core performance is around 200% faster than OAK Appliance eLite.

Modular designed interface PRI/E1(OAK PRI module, two E1 modules supported, up to 64 Asterisk channels), FXS, FXO module interface, you can change it by your own configuration.

OAKEC-128 DSP echo cancellation module supported

Details

  1. RK3399 6 core 64bits CPU, up to 1.8GHZ each core
  2. 16G eMMC (5.1)
  3. 2G DDR4 RAM with 64 bits data bus (dual channels)
  4. Onboard RTC supported, 1F super capacitor to store the date of RTC circuit, no battery included, best safety for the air shipping
  5. Modular designed E1 PRI, FXS and FXO slot 1, easily to switch them, 4G, Lora module is coming soon
  6. Modular designed E1 PRI, FXS and FXO slot 2, easily to switch them, 4G, Lora module is coming soon
  7. DSP EC module, ITU-T G.168 standard, 128ms tails remove, check here out for the performance of OAKEC DSP based EC module
  8. 1000/100/10 Mbps Ethernet
  9. WIFI interface
  10. USB 3.0
  11. Reset button, focus the main board to reset
  12. SD card slot, supports up to 256G SD card

Posted on

How to recover the OAK Appliance

To recover the OAK Appliance you have to preparing an 8G at least SD card, a 16G at least USB flash disk. Also, the USB flash disk has to formatted to vfat or ext4 to support bigger than 4G file in single.

Download the recovery image from this link, and the OAK Appliance 1.0.1 version firmware from this link. After downloading the image, use this https://www.balena.io/etcher/ SD writing tool to burn the recovery image to an 8G at least SD card, copy the OAK Appliance image to a USB flash disk after unzipping it.

When done, open the OAK Appliance enclosure, insert the recovery SD card to the SD slot as below picture shows position

SD Card slot poistion

Plug the power and ethernet cable of OAK appliance, the OAK Appliance will try to booting up the recovery image from SD card, wait up 50 seconds, try to SSH log into it with 192.168.4.98, username/password pi/pi.

Plug the USB flash disk to OAK Appliance, the OAK Appliance should be recognized it as below shows

[   12.267134] usb 2-1: new high-speed USB device number 2 using ehci-platform
[ 12.434215] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 12.435974] scsi host0: usb-storage 2-1:1.0
[ 14.078740] scsi 0:0:0:0: Direct-Access Lexar USB Flash Drive 1100 PQ: 0 ANSI: 6
[ 14.079803] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 14.080498] sd 0:0:0:0: [sda] 250068992 512-byte logical blocks: (128 GB/119 GiB)
[ 14.081585] sd 0:0:0:0: [sda] Write Protect is off
[ 14.081598] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 14.082680] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 14.090422] sda:
[ 14.094997] sd 0:0:0:0: [sda] Attached SCSI removable disk

Mount it to /mnt folder like below shows

root@OAK-APP-Lite:~# mount /dev/sda /mnt/
root@OAK-APP-Lite:~# cd /mnt/
root@OAK-APP-Lite:/mnt# ls -l
-rwxr-xr-x 1 root root 3847225344 Jan 3 2019 switchpi-oakapp-1.0.1.img
-rwxr-xr-x 1 root root 596906364 Mar 18 2019 switchpi-oakapp-1.0.1.img.zip

And then use the DD command to burn it to the OAK Appliance eMMC disk, make sure you use the correct mmc device id, as the OAK Appliance recognized SD and eMMC to same device but different ID, for the OAK Appliance, the ID mostly is 2, and should like below shows(you might have an 8G eMMC, but the ID should same to 4G)

[    2.163098] sunxi-mmc 1c11000.mmc: base:0xffff000008ded000 irq:9
[ 2.284309] mmc2: new high speed MMC card at address 0001
[ 2.290236] mmcblk2: mmc2:0001 4FPD3R 3.64 GiB
[ 2.295020] mmcblk2boot0: mmc2:0001 4FPD3R partition 1 4.00 MiB
[ 2.301165] mmcblk2boot1: mmc2:0001 4FPD3R partition 2 4.00 MiB
[ 2.308457] mmcblk2: p1 p2
root@OAK-APP-Lite:/mnt# dd if=switchpi-oakapp-1.0.1.img of=/dev/mmcblk2 bs=4M

The above command will take about 2 minutes to finish, when done, it looks like below

917+1 records in
917+1 records out
3847225344 bytes (3.8 GB, 3.6 GiB) copied, 182.244 s, 21.1 MB/s

Then umount the USB flash disk, power off the OAK Appliance with commands

root@OAK-APP-Lite:/mnt# cd 
root@OAK-APP-Lite:~# umount /mnt/
root@OAK-APP-Lite:~# poweroff

Wait up to 30 seconds, unplug the power supply and remove the SD card, and start again OAK Appliance, you should get the OAK Appliance fully recovered.

What’s the next

You can follow this link to configure your OAK Appliance again.

Leave your message to below if you have any trouble when you try to recover your OAK Appliance

Posted on

OAK Appliance user manual – Part 1

Unpacking

You will have a fully packed bag when you received your OAK Appliance

Unpacking it

Connect the power supply and cables

Power up the OAK Appliance

Power up the OAK Appliance, the system will be booting up in 30 seconds. there is a power status green LED, and two orange LEDs for the status of the port 1 to 4 and the port 5 to 8

The module of port 1 to 4 detected, therefore the Port 1 to 4 status orange LED is swithed on

Configure the OAK Appliance and IPPBX functions

The OAK Appliance configured the static IP address in the default status, The default GUI IP address is 192.168.4.98, point your web browser to https://192.168.4.98 and accept the connections of SSL.

GUI OF OAK APPLIANCE

The GUI default username and password is admin/admin, also, you have to change the default password when you are log into GUI in the first time. Enter the admin/admin and press “Log In button, the system will prompt you to change the default password

It is focused on to change the default password

Click “Update Password” button and log into the GUI with the new password, the main GUI of OAK Appliance will appeared

Main GUI of OAK Appliance

A quick example for how to add SIP, analog extensions

The example scenario is:

  • SIP: extension number 6000, password 6000
  • Analog external FXO: PSTN lines 1 to 4
  • Analog phone FXS: 6001 (line 5), 6002 (line 6), 6003 (line 7), 6004 (line 8)

Go to the PBX Configuration -> Phone Extensions -> VoIP extension table -> New VoIP extension

Fill up the Caller ID Number to 6000, Password to 6000, and leave the rest of parameters to defaults

Click Save, You will have a 6000 extension added in the Extension Table list

Extension 6000 added

Add the external FXO extensions. Go to the Analog Extension Table -> New Analog Extension

Fill up the Caller ID Name to 6001, and select the Analog station to Port 5, leave the rest of parameters to default

Click Save, You will have an 6001 extension added in the Analog Extension Table list

Analog extension 6001 added

Then add the 6002, 6003, 6004 with port 6, 7, and 8, the final results will like below

Final extensions list

Add a incoming route to route all external PSTN calls to the analog extension 6001.

Go to main menu PBX Configurations -> External Lines

Then click the Analog External Line -> New Analog external line

Fill up the External Line Name to PSTN, select Channels 1, 2, 3 and 4, leave the rest of parameters to default

Click Save, you will have it in the New Analog External Line Table list

Go to main menu Call Routing -> Incoming calling Rules -> New incoming calling rules

Incoming Calling Rules
Select the External Line to PSTN that we created, Time of dAY Route to None as we didn’t create one, The number Starts With to “s” to accept all the calls, Put the Destination to Analog extension 6001 which we created

Click Save, you will have a new incoming call rule created

Now, We have finished all the requirements from the test scenario, it is time to reboot the OAK Appliance to enable all the configures. Click the menu of the left of the top button “Apply Changes”, the OAK Appliance will ask you to reboot the PBX

Click Reboot Now, the system is going to reboot, and that will take 30 seconds.

Connect the external PSTN line to Port FXO (1 to 4) RJ45 one port, and try to call your external PSTN number, you will receive the call from analog extension 6001.

The OAK Appliance System GUI

We provide a system configuration GUI for the OAK Appliance system configuring, status monitoring, terminal console.

The default system GUI link is https://192.168.4.98:9090, username and password is pi/pi

The login GUI of OAK Appliance
System status
A consol of GUI that let you configure your OAK Appliance in command mode

Posted on

OAK Appliance specifications

OAK Appliance is a standalone embedded hybrid Asterisk IPPBX for Small/medium Office and Home Office. OAK Appliance also offers a hybrid solution (a combination of VoIP applications using legacy telecom equipment) alternative for enterprises who are not yet ready to migrate to a complete VoIP solution. 

OAK Appliance is open hardware/software designed Asterisk IPPBX, It is based on the powerful Allwinner H5 SoC that SoC features a Quad-Core 1.5G Cortex-A53 ARM CPU (ARM64 architecture), and a Mali450 MP4 GPU from ARM. 

Specifications:

  • ARM64 Quad-Core 1.5GHZ Cortex-A53 CPU (*), 512M DDR3 RAM, Onboard 4G high-speed eMMC. 
  • LAN: One 1Gbps Ethernet
  • USB: One USB2.0 port
  • Power Supply: 9V/2A Power Supply
  • Size: 12*12*3MM
  • Weight: 400g (4 FXO channels) or 500g (4 FXO plus 4 FXS, 8 channels configured)
  • Asterisk Channels: Up to 8 FXO or 4FXO/4FXS Asterisk channels (4FXS is modulation designed)
  • Concurrent Calls(Max): 128 (Asterisk sip)
  • Warranty: 1 year
  • Approves: CE/FCC (**)

Firmware:

Pictures:

*: The OAK Appliance runs on 1.2GHZ in default.

**: On the testing lab

Custom Service:

We provide the professional custom service for the OAK Appliance, such as:

  • Increase the DDR3 RAM to 1G, 2G bytes
  • increase the eMMC to 8, 16, 32G bytes
  • Add another Ethernet port, USB port
  • Increase the Dahdi channel number from 8 to 12, 16, 20, 24, 32, even up to 64 channels
  • Print your own Logo to the enclosure, different colour of the enclosure
  • Add SwitchPi DSP hardware ITU-T Standard G.168 Line Echo Canceller in 8, 16, 32, 64, 96 and 128 channels with 64ms, 128ms filter length. 

If you are interested in the custom service, fill up the below form with your requirements.