The IP04 Open telephony hardware for developing regions



Similar documents
H.KHouyuan Technology Co.,Limited

The 21 st Century Business Telephone System. VOIP PBX Telephone System

Asterisk: A Non-Technical Overview

Open Source Telephony Projects as an Application Development Platform. Frederic Dickey Director Product Management

IPPBX FAQ. For Firmware Version: V2.0/V

VoIP Laboratory B How to re flash an IP04

Mini IP-PBX PBX PBX120

Extend the Life of Your Legacy PBX while Benefiting from SIP Trunks. December 5, 2013

IP PBX. SD Card Slot. FXO Ports. PBX WAN port. FXO Ports LED, RED means online

AP200 VoIP Gateway Series Design Features & Concept AddPac R&D Center

Small & Medium Office Business IP PBX UTT-500 series Quick Details

The 21 st Century Business Telephone System. VOIP PBX Telephone System

White Paper. Open Source Telephony: The Evolving Role of Hardware as a Key Enabler of Open Source Telephony in the Business Market.

DT01 WiFi/3G VoIP PBX / ATA User Manual

IP-PBX Quick Start Guide

Where IP Gateways Fail

What s New in Converged Access and Unified Business Solutions

AudioCodes Mediant 1000 Configuration Guide

Device driver Blackfin CPU. FXS port FXO port. Ethernet

Management Summary for Unified Communications IP PBX

Avaya IP Office Solution

icalldroid User Manual

Mediatrix 3000 with Asterisk June 22, 2011

Integration of GSM Module with PC Mother Board (GSM Trunking) WHITE/Technical PAPER. Author: Srinivasa Rao Bommana

Peer-to-Peer SIP Mode with FXS and FXO Gateways

IP- PBX. Functionality Options

BridgeWay M400/M800 Radio/Intercom VoIP Gateway System Overview

VoIP Survivor s s Guide

AP-GS3000 TM Multi-Port GSM Gateway High Performance GSM Gateway Solution


Cisco Small Business Unified Communications 300 Series

Converged Telephony Solution. Technical White Paper

AX400P User Manual. ATCOM Analog Card AX400P User Manual Version:

Wildix Management System (WMS) White Paper

Using Asterisk with Odin s OTX Boards

Product Guide Version: 1.0

Asterisk Fast Start. The Asterisk Fast Start course is a three-day course. The class will consist of a combination of lectures and lab exercises.

VoIP Laboratory A Creating a local private telephony network in a rural community

Crystal Gears. Crystal Gears. Overview:

Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions

Leveraging Asterisk to Deliver Large Scale VoIP Services in a Carrier Environment. JR Richardson

MyPBX U100 & U200 Installation Guide

BRIDGEWAY MOBILE VOIP RADIO-INTERCOM GATEWAY

Softswitch & Asterisk Billing System

Figure 1. Example of a Security System

VoIP-PSTN Interoperability by Asterisk and SS7 Signalling

VoIP Telephone system benefits:

[Asterisk IP Telephony Solutions]

AudioCodes Gateway in the Lync Environment

ZyXEL IP PBX Support Note. ZyXEL IP PBX (X2002) VoIP. Support Notes

BridgeWay Fixed Base Radio Telecom VoIP Gateway

Crystal Innovation Solution 16 Moshe Shapira St., Rishon Le-Zion, 75704, Israel Crystal Gears

Lower Your Business Telephone Bill with Skype on your PBX/Phone System!! Actiontec VoSKY Exchange Skype Gateways connect your PBX Phones to SKYPE!!

Panasonic Telephone Systems

Page 1 of 7 Tel BR2460E Rev Fax

Design of PSTN - VoIP Gateway for rural environments

VoIP Solutions Guide Everything You Need to Know

Asterisk Calling Card & Billing System

Selecting the Right SIP Phone for Your IP PBX By Gary Audin May 5, 2014

4. H.323 Components. VOIP, Version 1.6e T.O.P. BusinessInteractive GmbH Page 1 of 19

VOIPOINT Europe s leading manufacturer of VoIP Access Technologies GSM PRI FXS FXO BRI 2 BRI / 2 FXS

Internet Telephony Terminology

Welcome to Completely Distributed P25 VoIP Dispatch Console Technology

How To Get A Cell Phone With A Video Camera And A Speaker Phone (For A Premium) For A Small Price (For An Extra $100) (For The Premium) ( For A Long Time) (With A Long Distance) (To

White Paper: Voice Over IP Networks

Cost Effective Deployment of VoIP Recording

VegaStream PSTN Gateways and pbxnsip

Welcome to the beronet partner program Presentation of beronet s products beronet GmbH

Building Voice VPN with Simton IPX

With HD quality Full transparent networking features And on-demand capacity enhancements

Crystal Gears. The Next Generation Personal Desktop Call Recording Solution. Why Crystal Gears

Com.X1 the Complete Telephony Solution in a Box

Toll-bypass Long Distance Calling What Is VOIP? Immediate Cost Savings Applications Business Quality Voice...

Unified Communications in a Nutshell. beronet. communication without borders

An Embedded Wireless Mini-Server with Database Support

MyPBX U510 Installation Guide

Voice over IP Product Quick Guide

Figure 1. Traditional PBX system based on TDM (Time Division Multiplexing).

Enterprise open source VoIP with Asterisk

Asterisk: The Future of Your Phone Service

Internet Telephony PBX System

VoIP H.323 Series. VoIP Gatways: VoIP 422/404/440/800 VoIP Routers: VoIP 404R/440R/200R/110R. Quick Setup Guide

Lab Testing Summary Report

Customer Contract. MX Columbia. December 8, s u p p o r t e l d i o. c o m. P h o n e : F a x :

Cisco Survivable Remote Site Telephony Version 7.0

LocaPhone VoIP PBX System

Com.X2 Intelligent Branch Exchange

Atcom IP-04 User Manual

BUILDING LARGE CAMPUS ASTERISK-BASED PABX SYSTEMS

Voice Call Addon for Ozeki NG SMS Gateway

Hanlong Technology Co., Ltd

Linksys Voice over IP Products Guide: SIP CPE for Massive Scale Deployment

STLinux Software development environment

Transcription:

The IP04 Open telephony hardware for developing regions The Free Telephony Project David Rowe <david@rowetel.com> Alberto Escudero Pascual <aep@it46.se> 20 th November 2007 (v1.0c)

Table of Contents 1 Executive Summary...2 2 The IP04 Open Hardware IP PBX...3 3 The Free Telephony Project...3 3.1 Community development model...4 4 IP04 Design...5 4.1 Open Hardware Design...6 5 Competitor Analysis...7 6 VOIP and GSM Partners not Competitors...9 7 Business Models in developing countries...9 8 Next Steps...10 1 Executive Summary We have a vision. Anyone should be able to make a phone call to anyone else. Telephony should be regarded as a human right, not a privilege of the developed world. With the IP04, open hardware, and minimal capital cost, this vision is now possible. This document describes the IP04, a low cost open hardware IP PBX developed by the Free Telephony Project 1 for developing regions. The IP04 is a tiny, full function Asteriskbased IP PBX with 4 analogue ports. It retails for around $400 but can be potentially be built and deployed to developing regions for under $100. The hardware design is free as in speech. Anyone is welcome to copy, modify, and improve the hardware design, just like open software. Open hardware offers exciting new possibilities, for example dramatic end user cost reductions; the potential for local manufacture; customisation to support developing world conditions such as low power and local languages; and flexibility, for example integration of solar charge controller and WiFi chip sets. The IP04 is a mature design that is in volume production today. The next step is to deploy the technology for field trials to optimise the system and evaluate business models to support viral growth of the technology. This document summarizes the IP04 project, including history of the product and key benefits for the developing world. Finally we present the outline of a plan for the next stage in the roll out of this technology: beta deployment of the 100 IP04 nodes. 1 Free Telephony Project, http://www.rowetel.com/ucasterisk

2 The IP04 Open Hardware IP PBX The IP04 is a 4 port IP PBX that runs Asterisk and uclinux on a powerful embedded Blackfin processor 2. To build an Asterisk IP PBX you normally need a x86 PC plus PCI card for the analog ports. With the IP04 you get all of that functionality in a tiny, low cost, low power, silent box with no moving parts. Unlike many other embedded processors, the Blackfin has enough DSP horsepower to handle multiple channels of echo cancellation and speech compression. This means that the IP04 is a complete IP PBX with 4 analog ports. It is around 10 times as powerful as a WRT54G, yet consumes only a few watts. No PC required not even for configuration! The IP04 is an open hardware IP PBX design. This means the design is available for anyone to modify, improve, or manufacture. As it runs uclinux and Asterisk (open source OS and IP PBX application software) the software is also freely available. For the developing world, open hardware offers many exciting opportunities, for example: The IP04 can be manufactured at near cost price (sub $100 for a 4 port IP PBX in Qty 1,000), and distributed through non traditional methods (e.g. a NGO could arrange for manufacture of a batch and distribute through their channels). This is the same pricing model as the the OLPC, if we reduce the overheads the end user price or IT hardware can be reduced by 75%. The IP04 hardware and software can be customised to suit local conditions, for example multi lingual voice prompts can be installed to allow easy configuration and installation, or perhaps a simple user interface. The hardware could be combined with a wireless chipset and solar charge controller to produce a "turn key" solution to bring VOIP over WiFi to remote villages at extremely low cost. 3 The Free Telephony Project The IP04 is the first product released by the Free Telephony Project. The Free Telephony project aims to release a range of open (free as in speech) reference designs for embedded (non x86) telephony products. The project was started in 2005 by Dr. David Rowe, an Australian engineer who has 20 years experience in developing voice processing hardware and software. David founded, grew, and successfully exited www.voicetronix.com; a manufacturer of PCI based computer telephony hardware for Linux. He has a broad range of telephony hardware, software, DSP, and management experience and has held executive level positions in the sat com industry (www.dspace.com). In August 2005 David started porting Asterisk to the Blackfin processor, and a few months later had a basic version of Asterisk running on a STAMP development card. 2 Blackfin Linux Project, http://blackfin.uclinux.org

David was inspired by the Blackfin community who had released their development cards as "open hardware". So it was decided to follow this example and open the hardware designs. There are many people writing great open source software. However very few are making hardware or DSP code. David therefore decided to focus on those areas. In 2006 David worked with some like minded developers to release open FXS/FXO analog hardware that could run on the STAMP card. In parallel, two talented Bulgarian engineers named Dimitar Penev and Ivan Danov developed and published an open hardware design for the BlackfinOne DSP motherboard. David combined the BlackfinOne design and the Figure 1: Early Blackfin Asterisk prototype a STAMP development card hacked to use a Digium FXO module! FXS/FXO analog hardware to produce the IP04. Two Canadian software engineers, Wojtek Tryc and Pawel Pastuszak developed a convenient build system (Astfin) to generate the IP04 firmware. The IP04 project attracted the attention of Atcom 3, a commercial VOIP hardware manufacturer, who offered to build the product commercially in China. As with other open source projects, many other developers have also contributed. Several hundred IP04s have now been manufactured and sold (up to November 2006). The design is tested and stable, and many companies are using the IP04 as a reference design for their own products. This success combined with the open hardware design will stimulate competition, encourage mass production and therefore act to further reduce the end user price. 3.1 Community development model It should be stressed that the IP04 is a community effort, with many people contributing. In no particular order: the Astfin 4 & BlackfinOne teams, uclinux 5, Analog Devices Blackfin team, the Asterisk community, and Atcom. 3 Atcom, http://www.atcom.cn/ 4 Astfin http://astfin.org 5 uclinux http://blackfin.uclinux.org

4 IP04 Design This section provides technical details of how the IP04 hardware and software works. Figure 2: IP04 Hardware Architecture When power is applied, the Blackfin boot ROM starts reading from the 256k SPI flash chip. The program it loads is called u boot, a powerful boot loader that has been ported to the Blackfin by the Analog Devices Blackfin team. U boot has a command line interface that lets you load other programs from flash or via Ethernet. In normal operation it automatically loads and executes the uclinux kernel. A 256M NAND flash chips is used as the main storage for the IP04. NAND flash has the advantage of high density and low cost. It's the same hardware that is used in your MP3 player, so prices have plummeted over recent years. However the Blackfin boot ROM can't read the NAND flash directly, which is why we need the SPI flash chip and u boot to support the start up process. Compared to many embedded Linux systems, the IP04 requires quite a lot of flash storage (around 16M minimum) to store the Asterisk executable and audio prompts. After booting the kernel runs out of SDRAM, and the NAND flash is mapped to the root filesystem. We also use a portion of the SDRAM for temporary files, e.g. /tmp. The IP04 runs Asterisk and the uclinux operating system. Asterisk was relatively easy to port to the Blackfin, thanks to the similarities of uclinux to the Linux operating system, and the maturity of the Blackfin gcc toolchain. The Astfin 6 build system is used a system of nested Makefiles and patches that simplifies the complex build process required for the IP04. 6 Astfin, http://astfin.org/

Some changes to Asterisk were required to account for the lack of FPU and MMU on the Blackfin, for example porting of DTMF routines from floating point to fixed point. The standard Asterisk PCI card FXS/FXO port device drivers were ported to the Blackfin. Due to the richness of the Blackfins peripherals (e.g. TDM serial and SPI ports), the Blackfin device drivers are actually simpler compared to their PCI equivalents. The 4 analog ports can be flexibly configured using single port FXS/FXO modules. The IP04 auto detects the module type when it powers up and helpful LEDs indicate what flavour (FXS or FXO) each port is. Use of the IP04 is similar to any other Asterisk box. You can telnet in, modify config files, or even use the new Asterisk GUI. Setting up the IP04 is easier than a x86 PC based Asterisk system: you don't need to install Asterisk, or even Linux. The IP04 comes pre loaded with Asterisk and uclinux. Plug it in and in a few seconds you can make calls. With the IP04 you get dial tone out of the box! 4.1 Open Hardware Design The IP04 is an open hardware project. The Blackfin portion of the design is based on the BlackfinOne DSP motherboard 7, and the FXO/FXS interfaces derived from Silicon Labs reference designs. The use of open hardware techniques helped bring the design together quickly and with minimum effort. The specific benefit of open hardware is lower R&D costs. This has been the experience with the IP04 project we have developed a leading edge IP PBX design with a modest investment of effort, simply by working together with other open hardware and software developers. Figure 3: IP04 design manufactured by ATCOM. Bug counts have been very low and development cycles very fast due to re use of existing open hardware modules. The IP04 was booting uclinux and making phone calls using Asterisk 1 week after the solder had cooled on the first prototype. This is practically unheard of in hardware development. The IP04 reached production 3 months later and the design has proven to be reliable and stable. Similar tools and techniques to open software are used for open hardware development. For 7 BlackfinOne Project, http://blackfin.uclinux.org/gf/project/bf1

example the team uses SVN to store and share schematic and PCB files, as well as the software components of the IP04. The team is spread throughout the world, so chat, Skype, and email were used to coordinate hardware development and debugging. Blog posts have been used to document and share IP04 development instead of the traditional engineering log book. Open hardware is a 21 st Century technique to help solve a timeless problem connecting the world. 5 Competitor Analysis The IP04 is a leading edge embedded IP PBX, equivalent to anything developed by traditional (closed development) commercial companies. The open hardware pedigree means that the hardware has been reviewed by many eyes. This means (just like open software) that the IP04 is likely to be more stable and have higher quality compare to closed products. It should be noted that the IP04 is one of the first embedded Asterisk Appliance type devices to be offered for commercial sale community based development (open hardware and software) gave the development team a time to market edge. Note also that with the right business model (e.g. NGO support for distribution, volume manufacture), the IP04 can be deployed for as low as $100 per unit, around 5% of the price of competing devices (e.g. the Asterisk Appliance) with equivalent functionality! Product Arch HW SW Interfaces Power Features Status (Nov 2007) Price (USD) IP04 Blackfin Open Open 1 Ethernet 4 FXS/FXO very low MMC card Production 450 IP08 Blackfin Open Open 2 Ethernet 8 FXS/FXO very low MMC card USB Prototype N/A Asterisk Appliance Blackfin Closed Open 5 Ethernet (4 LAN, 1 WAN) 8 FXS/FXO low HW echo, CF card Production 1259 (VoIP only) 1859 (4 FXO) Vdex 40 Mindspeed Closed Open 1 Ethernet 4 FXO Trixbox x86 Closed Open Any with expansions low HW echo Evaluation 695 high 4 line LCD Production 1499 (4 FXOs) Magiclink Blackfin Closed?? 2 Ethernet 4/8 FXO very low based on IP04 Evaluation 899 (1+) Astfin Blackfin Open Open 1 Ethernet 1 PRI 1 BR4 low MMC card, HW echo option Prototype N/A PIKA AMCC Power PC Closed Closed 1 Ethernet 1 USB 4 FXS/FXO low Evaluation 1200 Table 1: Comparative chart of Asterisk based appliances

6 VOIP and GSM Partners not Competitors In this section we address the question of Why VOIP? given the popularity of GSM in developing countries. Just like 1 st world telephone networks, VOIP and GSM can complement each other. In the 1 st world we tend to use mobile phones for short phone calls in situations where portability is important. For longer duration phone calls, or for areas without mobile coverage we use traditional land line or VOIP. These same models can apply to the developing world. In fact VOIP models may offer GSM providers opportunities to expand their network and billed air time. First, lets examine the novel features of VOIP. Unlike cellular networks, a VOIP network can be deployed on a small scale at at low capital and operating costs. For a few $100, a village can install a VOIP over WiFi node that supports say 4 telephones and links to a nearby village via WiFi. This can then provide unlimited, untimed phone calls at virtually zero recurring cost. As more villages are added, a mesh network will evolve. As a bonus, it builds out a data backbone the WiFi link can be used to support Intranet type applications like chat, email, and web access. However the problem of connectivity with the PSTN and GSM networks remains. Using GSM VOIP gateways, the mesh network can be connected to and interoperate with the GSM network. A calling card system could be added to the IP04 firmware to manage billing. Such a network could also be used to extend the range of a GSM network, for example in the case that only one end of the WiFi VOIP mesh network has strong GSM signals. 7 Business Models in developing countries Open hardware opens up exciting new "business" models, for example developing countries could start their own local industry building advanced telephone systems for cost price. This is far more attractive than buying technology from a first world profit oriented business that must charge a 75% mark up to cover their overheads. This business model is used for the one laptop per child project. A $100 laptop is possible if you remove the overheads, use community input and sponsorship for R&D and build volume. Now, with the IP04, a solar powered $100 IP PBX suitable for the developing world is also possible. Such a device could bring telephony to remote villages using WiFi links for trunking. Another benefit is that the hardware can be built locally in developing countries (remember the hardware design is free) overcoming import tariff problems and building local industry. Combining these elements means lots of people getting connected cheaply. That is a very good thing for the world. To help deploy VOIP in the developing world, specific business models for the IP04 are required. This will promote "viral" growth and sustainability of the technology.

Here are some ideas: Existing Internet Cafe's can add voice capability Integration of a billing system into the IP04 firmware to allow operations with prepaid calling cards. Communication within organisations. Consider a university which has WiFi based Intranet but no fixed landlines. Rather than using GSM handset for inter office calls, VOIP over WiFi can be used. Local call mesh network. Statistics show that 60% of all phone calls are local. A group of villages several km apart could be linked by Wifi, and IP04s deployed to build a small local "mesh" telephone network. Voice works for the illiterate, so IP04 deployment may actually stimulate WiFi link roll out, which can then be used as a back bone for Internet connection and web/text based services like email and chat. One end of the mesh could be connected to the PSTN or GSM network. 8 Next Steps We suggest one or more field trial deployments designed to test the hardware and business models. The plan should include the following activities: Find sponsor: venture, donor or private philanthropist Identify general recipient requirements Identify training needs and local support Study the regulatory aspects Identify and manage risks Choose a site and identify who would benefit the most from telephony Design a production environment including the possibility of building the units locally. Develop a localized software version, focus on usability, e.g. ease of installation, ease of maintenance. Develop local training materials Develop a business model and integrate it with the technology Field implementation and training including Hardware assembling VoIP networking Energy support Business models Involve the community Document the findings