VoIP for development - · PDF filePedagogical approach vs. a list of commands ... How can I...
-
Upload
trinhduong -
Category
Documents
-
view
221 -
download
1
Transcript of VoIP for development - · PDF filePedagogical approach vs. a list of commands ... How can I...
VoIPVoIPfor developmentfor development
Authors Alberto Escudero-Pascual Louise Authors Alberto Escudero-Pascual Louise BerthilsonBerthilson
(cc) Creative Commons (cc) Creative Commons Attribute Non-Commercial Share-Alike 25Attribute Non-Commercial Share-Alike 25
Based on VoIP-4D PrimerBased on VoIP-4D PrimerBuilding voice infrastructure in developing regionsBuilding voice infrastructure in developing regions
Unit 16Unit 16
TRICALCAR | wwwwilacnettricalcar - Version March 2008 2
ObjectiveObjective
To understand the basic concepts related to VoIP
To introduce the benefits of Asterisk and software based solutions in implementing VoIP networks
To present the great challenges in developing regions
To present a practical case study of introducing VoIP services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 3
MotivationMotivation
When living in Tanzania in 2004
Two big challenges Technical knowledge is not available in the local
languages The absence of low-cost IP infrastructure (voice
and data)
The proprietary solutions were not flexible enough
TRICALCAR | wwwwilacnettricalcar - Version March 2008 4
VoIP guide for developmentVoIP guide for development
40 pages of introduction to VoIP
Do it yourself approach
Pedagogical approach vs a list of commands
The guide wants to serve both the technical and general public
Aimed at developing regions and their specific problems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 5
VoIP guide for development (2)VoIP guide for development (2)
The document is available in four languages (en es fr ar)
Licenced under Creative Commons Non-Commercial Share-Alike
Now included in the second Spanish edition of the book WNDW
The chosen distribution channel is Internet
Funded by IDRC (Acacia initiative)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 6
Table of contentsTable of contents
PART 1
Introduction to VoIP
VoIP basic foundations
Equipment hardware
PART 2
How can I create my PBX (more information in the guide and practical section)
PART 3
A case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 7
Evidence of VoIP explosionEvidence of VoIP explosion
Telecommunications deregulation allowed the emergence of new operators MCI (wwwmcicom) Qwest (wwwqwestcom) Level3 (wwwlevel3net) Vonage (wwwvonagecom)
gt42 million lines in service March 2006 Skype (wwwskypecom)
200 million downloads November 2005 gt5 million simultaneous users January 2006
TRICALCAR | wwwwilacnettricalcar - Version March 2008 8
The traditional suppliers buy ldquodatardquo companies IP divisions are created Tradtional telecom services suppliers
Siemens Alcatel Ericsson
IP equipment suppliersCisco 3Com Nortel Networks
VoIP services appear httpwwwpulvercomproductssip
ConvergenceConvergence
TRICALCAR | wwwwilacnettricalcar - Version March 2008 9
The magic potionThe magic potion
1 VoIP
Carrying telephone conversations as IP packets
2 Open standards
Allow everyone to implement compatible communication systems interoperability
3 Free and open source software
Learn from existing experiences and share our results
TRICALCAR | wwwwilacnettricalcar - Version March 2008 10
Our magic potionOur magic potion
We have access to both software and hardware that allow us to exchange calls
We have access to an open and public network (Internet)
We are able to adapt and modify technology to meet our needs
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 2
ObjectiveObjective
To understand the basic concepts related to VoIP
To introduce the benefits of Asterisk and software based solutions in implementing VoIP networks
To present the great challenges in developing regions
To present a practical case study of introducing VoIP services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 3
MotivationMotivation
When living in Tanzania in 2004
Two big challenges Technical knowledge is not available in the local
languages The absence of low-cost IP infrastructure (voice
and data)
The proprietary solutions were not flexible enough
TRICALCAR | wwwwilacnettricalcar - Version March 2008 4
VoIP guide for developmentVoIP guide for development
40 pages of introduction to VoIP
Do it yourself approach
Pedagogical approach vs a list of commands
The guide wants to serve both the technical and general public
Aimed at developing regions and their specific problems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 5
VoIP guide for development (2)VoIP guide for development (2)
The document is available in four languages (en es fr ar)
Licenced under Creative Commons Non-Commercial Share-Alike
Now included in the second Spanish edition of the book WNDW
The chosen distribution channel is Internet
Funded by IDRC (Acacia initiative)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 6
Table of contentsTable of contents
PART 1
Introduction to VoIP
VoIP basic foundations
Equipment hardware
PART 2
How can I create my PBX (more information in the guide and practical section)
PART 3
A case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 7
Evidence of VoIP explosionEvidence of VoIP explosion
Telecommunications deregulation allowed the emergence of new operators MCI (wwwmcicom) Qwest (wwwqwestcom) Level3 (wwwlevel3net) Vonage (wwwvonagecom)
gt42 million lines in service March 2006 Skype (wwwskypecom)
200 million downloads November 2005 gt5 million simultaneous users January 2006
TRICALCAR | wwwwilacnettricalcar - Version March 2008 8
The traditional suppliers buy ldquodatardquo companies IP divisions are created Tradtional telecom services suppliers
Siemens Alcatel Ericsson
IP equipment suppliersCisco 3Com Nortel Networks
VoIP services appear httpwwwpulvercomproductssip
ConvergenceConvergence
TRICALCAR | wwwwilacnettricalcar - Version March 2008 9
The magic potionThe magic potion
1 VoIP
Carrying telephone conversations as IP packets
2 Open standards
Allow everyone to implement compatible communication systems interoperability
3 Free and open source software
Learn from existing experiences and share our results
TRICALCAR | wwwwilacnettricalcar - Version March 2008 10
Our magic potionOur magic potion
We have access to both software and hardware that allow us to exchange calls
We have access to an open and public network (Internet)
We are able to adapt and modify technology to meet our needs
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 3
MotivationMotivation
When living in Tanzania in 2004
Two big challenges Technical knowledge is not available in the local
languages The absence of low-cost IP infrastructure (voice
and data)
The proprietary solutions were not flexible enough
TRICALCAR | wwwwilacnettricalcar - Version March 2008 4
VoIP guide for developmentVoIP guide for development
40 pages of introduction to VoIP
Do it yourself approach
Pedagogical approach vs a list of commands
The guide wants to serve both the technical and general public
Aimed at developing regions and their specific problems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 5
VoIP guide for development (2)VoIP guide for development (2)
The document is available in four languages (en es fr ar)
Licenced under Creative Commons Non-Commercial Share-Alike
Now included in the second Spanish edition of the book WNDW
The chosen distribution channel is Internet
Funded by IDRC (Acacia initiative)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 6
Table of contentsTable of contents
PART 1
Introduction to VoIP
VoIP basic foundations
Equipment hardware
PART 2
How can I create my PBX (more information in the guide and practical section)
PART 3
A case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 7
Evidence of VoIP explosionEvidence of VoIP explosion
Telecommunications deregulation allowed the emergence of new operators MCI (wwwmcicom) Qwest (wwwqwestcom) Level3 (wwwlevel3net) Vonage (wwwvonagecom)
gt42 million lines in service March 2006 Skype (wwwskypecom)
200 million downloads November 2005 gt5 million simultaneous users January 2006
TRICALCAR | wwwwilacnettricalcar - Version March 2008 8
The traditional suppliers buy ldquodatardquo companies IP divisions are created Tradtional telecom services suppliers
Siemens Alcatel Ericsson
IP equipment suppliersCisco 3Com Nortel Networks
VoIP services appear httpwwwpulvercomproductssip
ConvergenceConvergence
TRICALCAR | wwwwilacnettricalcar - Version March 2008 9
The magic potionThe magic potion
1 VoIP
Carrying telephone conversations as IP packets
2 Open standards
Allow everyone to implement compatible communication systems interoperability
3 Free and open source software
Learn from existing experiences and share our results
TRICALCAR | wwwwilacnettricalcar - Version March 2008 10
Our magic potionOur magic potion
We have access to both software and hardware that allow us to exchange calls
We have access to an open and public network (Internet)
We are able to adapt and modify technology to meet our needs
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 4
VoIP guide for developmentVoIP guide for development
40 pages of introduction to VoIP
Do it yourself approach
Pedagogical approach vs a list of commands
The guide wants to serve both the technical and general public
Aimed at developing regions and their specific problems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 5
VoIP guide for development (2)VoIP guide for development (2)
The document is available in four languages (en es fr ar)
Licenced under Creative Commons Non-Commercial Share-Alike
Now included in the second Spanish edition of the book WNDW
The chosen distribution channel is Internet
Funded by IDRC (Acacia initiative)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 6
Table of contentsTable of contents
PART 1
Introduction to VoIP
VoIP basic foundations
Equipment hardware
PART 2
How can I create my PBX (more information in the guide and practical section)
PART 3
A case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 7
Evidence of VoIP explosionEvidence of VoIP explosion
Telecommunications deregulation allowed the emergence of new operators MCI (wwwmcicom) Qwest (wwwqwestcom) Level3 (wwwlevel3net) Vonage (wwwvonagecom)
gt42 million lines in service March 2006 Skype (wwwskypecom)
200 million downloads November 2005 gt5 million simultaneous users January 2006
TRICALCAR | wwwwilacnettricalcar - Version March 2008 8
The traditional suppliers buy ldquodatardquo companies IP divisions are created Tradtional telecom services suppliers
Siemens Alcatel Ericsson
IP equipment suppliersCisco 3Com Nortel Networks
VoIP services appear httpwwwpulvercomproductssip
ConvergenceConvergence
TRICALCAR | wwwwilacnettricalcar - Version March 2008 9
The magic potionThe magic potion
1 VoIP
Carrying telephone conversations as IP packets
2 Open standards
Allow everyone to implement compatible communication systems interoperability
3 Free and open source software
Learn from existing experiences and share our results
TRICALCAR | wwwwilacnettricalcar - Version March 2008 10
Our magic potionOur magic potion
We have access to both software and hardware that allow us to exchange calls
We have access to an open and public network (Internet)
We are able to adapt and modify technology to meet our needs
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 5
VoIP guide for development (2)VoIP guide for development (2)
The document is available in four languages (en es fr ar)
Licenced under Creative Commons Non-Commercial Share-Alike
Now included in the second Spanish edition of the book WNDW
The chosen distribution channel is Internet
Funded by IDRC (Acacia initiative)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 6
Table of contentsTable of contents
PART 1
Introduction to VoIP
VoIP basic foundations
Equipment hardware
PART 2
How can I create my PBX (more information in the guide and practical section)
PART 3
A case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 7
Evidence of VoIP explosionEvidence of VoIP explosion
Telecommunications deregulation allowed the emergence of new operators MCI (wwwmcicom) Qwest (wwwqwestcom) Level3 (wwwlevel3net) Vonage (wwwvonagecom)
gt42 million lines in service March 2006 Skype (wwwskypecom)
200 million downloads November 2005 gt5 million simultaneous users January 2006
TRICALCAR | wwwwilacnettricalcar - Version March 2008 8
The traditional suppliers buy ldquodatardquo companies IP divisions are created Tradtional telecom services suppliers
Siemens Alcatel Ericsson
IP equipment suppliersCisco 3Com Nortel Networks
VoIP services appear httpwwwpulvercomproductssip
ConvergenceConvergence
TRICALCAR | wwwwilacnettricalcar - Version March 2008 9
The magic potionThe magic potion
1 VoIP
Carrying telephone conversations as IP packets
2 Open standards
Allow everyone to implement compatible communication systems interoperability
3 Free and open source software
Learn from existing experiences and share our results
TRICALCAR | wwwwilacnettricalcar - Version March 2008 10
Our magic potionOur magic potion
We have access to both software and hardware that allow us to exchange calls
We have access to an open and public network (Internet)
We are able to adapt and modify technology to meet our needs
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 6
Table of contentsTable of contents
PART 1
Introduction to VoIP
VoIP basic foundations
Equipment hardware
PART 2
How can I create my PBX (more information in the guide and practical section)
PART 3
A case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 7
Evidence of VoIP explosionEvidence of VoIP explosion
Telecommunications deregulation allowed the emergence of new operators MCI (wwwmcicom) Qwest (wwwqwestcom) Level3 (wwwlevel3net) Vonage (wwwvonagecom)
gt42 million lines in service March 2006 Skype (wwwskypecom)
200 million downloads November 2005 gt5 million simultaneous users January 2006
TRICALCAR | wwwwilacnettricalcar - Version March 2008 8
The traditional suppliers buy ldquodatardquo companies IP divisions are created Tradtional telecom services suppliers
Siemens Alcatel Ericsson
IP equipment suppliersCisco 3Com Nortel Networks
VoIP services appear httpwwwpulvercomproductssip
ConvergenceConvergence
TRICALCAR | wwwwilacnettricalcar - Version March 2008 9
The magic potionThe magic potion
1 VoIP
Carrying telephone conversations as IP packets
2 Open standards
Allow everyone to implement compatible communication systems interoperability
3 Free and open source software
Learn from existing experiences and share our results
TRICALCAR | wwwwilacnettricalcar - Version March 2008 10
Our magic potionOur magic potion
We have access to both software and hardware that allow us to exchange calls
We have access to an open and public network (Internet)
We are able to adapt and modify technology to meet our needs
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 7
Evidence of VoIP explosionEvidence of VoIP explosion
Telecommunications deregulation allowed the emergence of new operators MCI (wwwmcicom) Qwest (wwwqwestcom) Level3 (wwwlevel3net) Vonage (wwwvonagecom)
gt42 million lines in service March 2006 Skype (wwwskypecom)
200 million downloads November 2005 gt5 million simultaneous users January 2006
TRICALCAR | wwwwilacnettricalcar - Version March 2008 8
The traditional suppliers buy ldquodatardquo companies IP divisions are created Tradtional telecom services suppliers
Siemens Alcatel Ericsson
IP equipment suppliersCisco 3Com Nortel Networks
VoIP services appear httpwwwpulvercomproductssip
ConvergenceConvergence
TRICALCAR | wwwwilacnettricalcar - Version March 2008 9
The magic potionThe magic potion
1 VoIP
Carrying telephone conversations as IP packets
2 Open standards
Allow everyone to implement compatible communication systems interoperability
3 Free and open source software
Learn from existing experiences and share our results
TRICALCAR | wwwwilacnettricalcar - Version March 2008 10
Our magic potionOur magic potion
We have access to both software and hardware that allow us to exchange calls
We have access to an open and public network (Internet)
We are able to adapt and modify technology to meet our needs
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 8
The traditional suppliers buy ldquodatardquo companies IP divisions are created Tradtional telecom services suppliers
Siemens Alcatel Ericsson
IP equipment suppliersCisco 3Com Nortel Networks
VoIP services appear httpwwwpulvercomproductssip
ConvergenceConvergence
TRICALCAR | wwwwilacnettricalcar - Version March 2008 9
The magic potionThe magic potion
1 VoIP
Carrying telephone conversations as IP packets
2 Open standards
Allow everyone to implement compatible communication systems interoperability
3 Free and open source software
Learn from existing experiences and share our results
TRICALCAR | wwwwilacnettricalcar - Version March 2008 10
Our magic potionOur magic potion
We have access to both software and hardware that allow us to exchange calls
We have access to an open and public network (Internet)
We are able to adapt and modify technology to meet our needs
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 9
The magic potionThe magic potion
1 VoIP
Carrying telephone conversations as IP packets
2 Open standards
Allow everyone to implement compatible communication systems interoperability
3 Free and open source software
Learn from existing experiences and share our results
TRICALCAR | wwwwilacnettricalcar - Version March 2008 10
Our magic potionOur magic potion
We have access to both software and hardware that allow us to exchange calls
We have access to an open and public network (Internet)
We are able to adapt and modify technology to meet our needs
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 10
Our magic potionOur magic potion
We have access to both software and hardware that allow us to exchange calls
We have access to an open and public network (Internet)
We are able to adapt and modify technology to meet our needs
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 11
A typical questionA typical question
Why not use Skype or Google Talk
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 12
The short answerThe short answer
FlexibilityAppropriation
Opportunity
Sustainability
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 13
The recipe in detail (Contents)The recipe in detail (Contents)
PBX (the base)
PSTN (Public Switched Telephone Network)
Comparison between IP and PSTN signalling
VoIP equipment (the terminals)
Quality of Service Codecs Latency and Jitter
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 14
What is a What is a PBXPBX
Private (Automatic) Branch Exchange
Definition for the layperson
It allows sharing one or more telephone lines with multiple users
Routing of incoming and outgoing calls
The (personal) owner of the system takes routing decisions and decides how to share the external phone lines with the users
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 15
PBX advantagesPBX advantages
Value-added services Call Transfer Three way calling Voice mail Interactive Voice Response (IVR)
services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 16
What is What is AsteriskAsterisk
A free implementation of a telephonic switch (Central office or exchange)
It allows associated ldquophonesrdquo to establish calls among them and connect to any other telephone subnet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 17
What is What is AsteriskAsterisk
Created by Mark Spencer (Digium) Based on previous work of Jim Dixon
(Zapata Telephony Project)
Runs better under GNULinux
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 18
PSTN PSTN
Public Switched Telephone Network The global network of circuit-switched
telephones The amalgamation of all circuit-
switched telephone subnets in the world
The network that will become obsolete -)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 19
PSTN vs InternetPSTN vs Internet
Flow of information Channel vs individual datagrams
Data processing Inside the netwok vs the edges
Standards setting organizations ITU vs IETF
Routing mechanisms Telephone numbers vs IP addresses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 20
Signalling in traditional Signalling in traditional telephonytelephony
ldquosignallingrdquo and ldquodatardquo are separated into different channels
signalling Is responsible for the establishment and
status of the ldquocallrdquo Is used in coordination with the billing
systems
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 21
Signalling in PSTN Signalling in PSTN
PBXs are the PSTN ldquoroutersrdquo
Two components according to the role FXO = Foreign Exchange Office FXS = Foreign Exchange Station
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 22
Foreign Exchange Office (FXO)Foreign Exchange Office (FXO)
Any device behaving as a ldquotelephonerdquo
Accepts signalling on-hookoff-hook busy
Starts and receives phone calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 23
Foreign Exchange Station (FXS)Foreign Exchange Station (FXS)
Generates dial and ring tones
In analogue lines Generates calling pulses Provides DC voltage to telephone
terminals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 24
Do not forgetDo not forget
An FXS connects to an FXO and viceversa In the same way as a phone line (FXS) connects to a phone (FXS)
An FXS is an active element that feeds a passive element (FXO)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 25
FXO FXS in a PBXFXO FXS in a PBX
The PBXs that have an FXO and an FXS can connect to the PSTN and to terminals
The telephone lines coming from the operator must be connected to the FXO interface of the PBX
Your office phones must be connected to the FXS interfaces of the PBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 26
FXO and FXSFXO and FXS
An analogue phone is an FXO device
connected to a telephone line (PSTN) acting as
an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 27
FXO and FXSFXO and FXS
An Analogue Telephony Adapter or ATA acts as an FXS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 28
FXO and FXSFXO and FXS
A PBX can be fitted with either FXS or FXO
interfaces
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 29
Analogue signallingAnalogue signalling
The signals transmitted between FXS and FXO are
Dial and busy tones
Ring tone
On-hook and off-hook
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 30
Analogue signalling (2)Analogue signalling (2)
Signalling methods vary from place to place
Two of the most common methods are ldquoloop startrdquo and ldquoground startrdquo
The PSTN (ATampT ITU) traditionally uses SS7
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 31
Analogue signalling (3)Analogue signalling (3)
In the PSTN voice and data are separated One ldquocircuitrdquo is for the voice (the conversation) A second ldquocircuitrdquo is for supervisory and
administrative signalling (SS7)
These information circuits do not have to use the same physical channel
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 32
Signalling in IP telephonySignalling in IP telephony
Signalling and conversations are separated (as in the PSTN)
Each signalling mechanism represents a ldquocultrdquoof followers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 33
Signalling in IP telephonySignalling in IP telephony
Dozens of protocols and their cults H323 (Telco) SIP (Internet) Session Initiation Protocol IAX2 (Community) Inter-Asterisk
eXchange
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 34
SIPSIP
A protocol developed by IETF
Responsible for Setting up the calls and other signalling
tasks Authentication Negotiating the quality of the phone
call Handling the port numbers and IP
addresses involved in voice flow
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 35
SIP and mobilitySIP and mobility
SIP Proxy servers facilitate the establishment of phone
calls acts as an intermediary that knows how
to find a certain phone number in the network (where the user was initially registered)
IP telephony allows to physically move the phone numbers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 36
SIP proxy serversSIP proxy servers
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 37
Phone calls and NATsPhone calls and NATs
Calls (voice) are transmitted using a protocol called RTP (Real-time Transport Protocol
In a network with a Network Address Translator (NAT) a set of machines share a routable IP address
The NATs are the big enemies of RTP
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 38
RTP y NATRTP y NAT
Pros NATs are easy to implement They connect machines without requiring
more network resources Great acceptance and products
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 39
RTP and NAT(2)RTP and NAT(2)
Cons Limitations on the real traffic routing It is difficult to create services within a NAT They create audio problems with VoIP networks
(eg listening only to the party within the NAT who initiates the call)
Unfortunately public IP addresses are a scarce resource in developing regions
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 40
IAX2IAX2
Created as part of the development of the PBX Asterisk
It uses a bidirectional flow to send the voice (SIP uses two independent flows)
It works much better (always) in the presence of NATs
It allows merging conversations taking place at the same time thus saving bandwidth Trunking
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 41
Why is Why is IAX2 better than SIPIAX2 better than SIP
1)It minimizes the bandwidth used per call
2) It incorporates native support of NATs and it is easier to integrate with firewalls
3) It further minimizes the use of bandwidth when making many simultaneous calls
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 42
VoIP EquipmentVoIP Equipment
The base
PBX
The terminals
VoIP telephones Soft phones Analogue Telephone Adaptors (ATA)
Connection to PSTN
PSTN interface cards
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 43
PBXPBX
Components
Motherboard VIA Mini-ITX Epia M10000
Chassis Morex Mini-ITX Chassis Cubid 2688
Hard drive 40 GB IDE UDMA133
Memory 512 MB DDR PC3200 400MHz
Today price 1000 USD
Expected 100-150 USD (IP04 2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 44
PBXPBX
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 45
VoIP telephoneVoIP telephone
Dedicated VoIP equipment
When buying a VoIP phone do not forget
1) Support for high-compression codecs2) A good administrator interface3) A good audio output
Price today USD 100-120Expected lt$ 50 (2008)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 46
VoIP telephoneVoIP telephone
Thompson Speedtouch2030
Four IP lines
Web Interface
Hands-free
Price today USD 125
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 47
VoIP Telephones (WiFi)VoIP Telephones (WiFi)
Zyxel Prestige 2000W
WiFi VoIP
One of the first models
Price USD 300 (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 48
SoftphonesSoftphones
PC installed software
Requirements A sound card A firewall that does not block VoIP
Price 0 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 49
SoftphonesSoftphones
X-lite
0 USD
Download httpwwwxtencom
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 50
SoftphonesSoftphones
iaxComm kiax
Supports IAX
0 USD
Download
httpiaxclientsourceforgenet
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 51
Analogue Telephone Adaptor Analogue Telephone Adaptor (ATA)(ATA)
Connects an analogue telephone to a VoIP network
It has an RJ-11 (phone jack) and an RJ-45 (Ethernet jack)
An ATA is an FXS adaptor It ldquotalksrdquo analogue with the phone While ldquotalkingrdquo digital with the VoIP network
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 52
ATAATA
Digium IAXy
One of the first
(the first) with IAX2 support
Low power
consumption
Price 95 USD (2005)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 53
ATAATA
Gateway IP- IAX IAD100 with one FXS
It integrates an ATA with support for IAX2 and an NAT
Price 110 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 54
ATAATA
Sipura SPA-3000
A mini-PBX
Price 170 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 55
PSTN interface cardsPSTN interface cards
Needed to connect our VoIP network to the PSTN
It can incorporate FXO and FXS modules
These cards traditionally used Digital Signal processors (DSP)
Current trend is to move the intelligence to the CPU (agrave la WinModem)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 56
PSTN Interface PSTN Interface
TDM400P
wildcard 1FXO +1
FXS (Digium)
Price 190 USD
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 57
Other aspectsOther aspectsQuality of ServiceQuality of Service
The ability of a network to provide better service to certain network traffic
Optimize the available bandwidth (codec)
Control jitter Minimize latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 58
CodecsCodecs
Coderdecoder
It is employed to digitize voice into data and viceversa
Higher compression leads to greater distortion
One codec is better than another if it provides better voice quality using less bandwidth
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 59
CodecsCodecs
PSTN normally uses PCM (Pulse Code Modulation)a codec that needs 64 kbps
Two very common PCM standards are micro-law (G711micro) USACanadaJapan A- law (G711a) rest of the world
Since G711 does not have large processing requirements it is available in almost all equipments
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 60
CodecsCodecs
G711 codec is not appropriate in developing countries because it needs too much bandwidth
We must use other codecs that use less bandwidth such as GSM or Speex
G729 is a good codec but it has the disadvantage of requiring a license
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 61
JitterJitter
Variation in the arriving time ldquobetweenrdquo packets
Due to network congestionroute changes or clock drift
A jitter buffer can help alleviate this problem at the cost of additional latency
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 62
Latency (delay)Latency (delay)
The time it takes for a packet of data (datagram) to get from one designated point to another
In VoIP networks we must try to minimize the latency by giving priority to the voice traffic
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 63
Latency Latency
Latency cannot be reduced below the propagation time of the signal In satellite links ~ 300 ms
Always install your PBX where your network is less congested
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 64
VoIP implementation VoIP implementation challengeschallenges
Technical Avoiding the negative impact of NAT
Supporting infrastructure Wireless network with great latency and
jitter Networks that have not been designed to
prioritize real time services
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 65
VoIP implementation VoIP implementation challengeschallenges
Energy There are no reliable sources of energy
Regulatory Framework Illegal Service Need for licenses
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 66
RecommendationsRecommendations
Technical Use IAX2
Supporting infrastructure Wireless networks Use the 5 GHz band (IEEE
80211a) Use protocols with TDMA in urban areas (WiMAX)
Incorporate QoS
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 67
RecommendationsRecommendations
Energy Low power consumption equipment solar energy
Regulatory Framework Lobby Business Models
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 68
PART 2 ndash Hands onPART 2 ndash Hands on
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 69
The componentsThe components
1 PC with Asterisk Any distribution of the Linux operating system
2 VoIP telephones Alternative 2 PCs with 2 soft phones
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 70
You can build a portable PBX You can build a portable PBX
Mini-ITX board with Digium TDM400P Card
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 71
First steps First steps Installing Asterisk Installing Asterisk
Download the code
Compile
Learn the basic commands
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 72
Configuration filesConfiguration files
Step 1
Define and configure communication channels
Step 2
Define ldquorulesrdquo for the extensions (create a dial plan)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 73
A communication channel in Asterisk is like a virtual phone wire
The channels are your virtual PBX wires
On the Internet you can have more than one conversation on the same physical channel
In this section you need to define the type of channels (SIP IAX connection to the PSTN etc)
Communication channelsCommunication channels
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 74
Communication channels (2)Communication channels (2)
Asterisk lets you interconnect devices that use different protocols
You can connect devices with IP support (VoIP Phones ATA Softphones) with other digital and analogue devices (PSTN ISDN PRI BRI)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 75
Communication channels (3)Communication channels (3)
Each type of channel technology is configured in a specific file (sipconf iaxconf zapataconf etc)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 76
Define extensions rules (create Define extensions rules (create youryour dial plan) dial plan)
All incoming and outgoing calls use the channels that you have previously defined
The dial rules indicate how channels interact
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 77
Define extension rules (create yourDefine extension rules (create your dial plan) dial plan)
This intelligent aspect of routing between calls is specified in the extensions file (extensionsconf)
The extensions file is known as the dial plan
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 78
Asterisk followsAsterisk followsthe old telephony operators the old telephony operators logic logic
To make a call (via two communication channels)
We contact the operator (PBX)
We indicate the person we want to contact
The operator makes the connection depending on the type of line (extensionsconf file)
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 79
PARTE 3 ndash Case studyPARTE 3 ndash Case study
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 80
Implementation example
Fantsuam Foundation Wireless ISPKafanchan Nigeria
VoIP as a business model
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 81
Kafanchan NigeriaKafanchan Nigeria
Schools
NGOs
Health sector
Religious sector
Private sector
Individuals
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 82
Kafanchan NigeriaKafanchan Nigeria
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 83
Network BackboneNetwork Backbone
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 84
Sectors in serviceSectors in service
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 85
Network topologyNetwork topology
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 86
Inclusion of VoIP in the NOCInclusion of VoIP in the NOC
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 87
Wireless hub equipmentWireless hub equipment
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 88
Client equipment + VoIP ATA Client equipment + VoIP ATA
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 89
ConclusionsConclusions
The convergence of telephony is unstoppable The future is moving toward an integrated IP network
Open standards the Internet and FOSS (Asterisk) allow us to implement VoIP networks
The developing regions have to deal with very specific local challenges access to bandwidth energy and an apropriate network infrastructure
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-
TRICALCAR | wwwwilacnettricalcar - Version March 2008 90
httpvoip4dit46se
- Slide 1
- Slide 2
- Slide 3
- Slide 4
- Slide 5
- Slide 6
- Slide 7
- Slide 8
- Slide 9
- Slide 10
- Slide 11
- Slide 12
- Slide 13
- Slide 14
- Slide 15
- Slide 16
- Slide 17
- Slide 18
- Slide 19
- Slide 20
- Slide 21
- Slide 22
- Slide 23
- Slide 24
- Slide 25
- Slide 26
- Slide 27
- Slide 28
- Slide 29
- Slide 30
- Slide 31
- Slide 32
- Slide 33
- Slide 34
- Slide 35
- Slide 36
- Slide 37
- Slide 38
- Slide 39
- Slide 40
- Slide 41
- Slide 42
- Slide 43
- Slide 44
- Slide 45
- Slide 46
- Slide 47
- Slide 48
- Slide 49
- Slide 50
- Slide 51
- Slide 52
- Slide 53
- Slide 54
- Slide 55
- Slide 56
- Slide 57
- Slide 58
- Slide 59
- Slide 60
- Slide 61
- Slide 62
- Slide 63
- Slide 64
- Slide 65
- Slide 66
- Slide 67
- Slide 68
- Slide 69
- Slide 70
- Slide 71
- Slide 72
- Slide 73
- Slide 74
- Slide 75
- Slide 76
- Slide 77
- Slide 78
- Slide 79
- Slide 80
- Slide 81
- Slide 82
- Slide 83
- Slide 84
- Slide 85
- Slide 86
- Slide 87
- Slide 88
- Slide 89
- Slide 90
-