D-Series Voice Transcoding Training Webinar
description
Transcript of D-Series Voice Transcoding Training Webinar
D-Series Voice TranscodingTraining Webinar
May 2011
2
Today’s Speakers
Julien Nephtali
Product ManagerSangoma Technologies
Tel: +1.514.288.7111 x236@: [email protected]
Lisa SzetoMarketing Events Manager@: [email protected]
Jeff DworkinDirector of Marketing@: [email protected]
• Voice Transcoding Explained• Existing Transcoding Solutions• Sangoma Solution – D-Series Transcoding Card• Ordering and Pricing• Architecture• Technical Dive• Closing• Q&A
Agenda
3
• Transcoding is the direct digital-to-digital conversion of one encoding to another
• This is usually done in cases where a target device does not support the format or has limited storage capacity that mandates a reduced file size, or to convert incompatible or obsolete data to a better-supported or modern format
• Transcoding is widely used in multimedia applications such as MMS, Streaming Video and VoIP
Definition of Transcoding
4
• To save bandwidth, VoIP Network engineers sometimes compress the voice signal
• This is done using CODECs– COders – DECoders
• Codecs are algorithms (a lot of math) to compress and decompress voice signal– Similar to ripping a CD to MP3 – MP3 is a
codec• Sometimes called Vocoding
Function of Transcoding
5
• Extensive List of codecs– G.711, G.729, GSM, AMR, G.726, iLBC,
G.722.1, etc.• Most common in use in wired world are:
– G.711 (64kbps)– G.729 (8 kbps)
• Most common in use in wireless applications:– GSM / AMR
• Growing in popularity – G.722.1 (HD voice)
Voice Codecs
6
• End-points advertise their capabilities in the protocols (such as SIP)
Call Set-up in VoIP
7
• I’m calling you.
• I can do G.711
• I can do G.711and G.729
• Let’s go ahead with G.711
SIP
Voice Call
SIP
Voice Call
• No common denominator - Call cannot be established • Need for a middleman to translate – Transcoding!
Sometimes, there is a mismatch
8
• I’m calling you.• I can do G.711 • I can do G.729
SIPNo Call
TranscodingServer
9
G.711 V
oice C
all
• I’m calling the phone on the other side
• I can do G.711 • I can do G.729SIP
• I have a call for you• What do you
support?
G.729 Voice Call1
2
3SIP
• OK. I will broker the call on both ends
4
• Voice Transcoding Explained• Existing Transcoding Solutions• Sangoma Solution – D-Series Transcoding Card• Ordering and Pricing• Architecture• Technical Dive• Closing• Q&A
Agenda
10
• Vocoding is complicated Math (or algorithms)• Math takes a lot of processing power• It does not leave much room for your telecom
application to run• Call only accommodate low port counts
Software Solutions for Transcoding
11
Software Transcoding is CPU intensive that impacts the performance of your VoIP apps.
• Existing Solutions are only available for up to 120 channels
• Not available for lower densities• Short list of codec supported
– G.711– G.723– G.729
Current Hardware Transcoding Solutions
12
• Voice Transcoding Explained• Existing Transcoding Solutions• Sangoma Solution – D-Series Transcoding Card• Ordering and Pricing• Architecture• Technical Dive• Closing• Q&A
Agenda
13
Sangoma Solution – D-Series Boards
• From 30 to 2,000 transcoding sessions on a single board!
• Works with Asterisk® and FreeSWITCH®
• Simple API for application integration
• Works on Linux and Windows®
• Can be integrated or on separate dedicated server
14
Sangoma Solution – D-Series Boards
• Ethernet Drivers– “Seen” as Ethernet board
by OS– Voice Traffic in and out of
Ethernet Port• Small Footprint
– Includes low profile bracket for 2U chassis
• D150 adds more deployment possibilities
15
D-Series Boards - Supported Codecs
• Wireline Applications– G.711– G.722– G.722.1 (HD Voice)– G.723.1– G.726– G.729AB– iLBC
• Wireless Applications– GSM FR– GSM EFR– AMR– AMR-WB (G.722.2)
16
D-Series Boards Support Any to Any Codec
Combinations
• Some Codecs are more complicated than others• Require more processing power
(more complicated math!)• Some examples
– G.711 G.729: 400 Sessions– G.711 AMR: 150 Sessions
Transcoding Capacity – “It Depends”
17
Total Capacity depends on Codec mix
Sangoma Solution – D-Series Boards
18
Product Sessions Options Specifications
D100 30 – 400PCI
• Media flows through PCI or PCIe bus• Compact form factorPCIe
D150 30 – 400
ETH• Media flows through Ethernet Port• Ideal for appliances with limited PCI
slots
BOX• Media flows through Ethernet Port• Stand-alone boxed enclosure with
external Power Supply• Stackable on 19 inch rack mount
PMC • Allows hardware manufacturers to integrate D150 via the PMC standard
D500 400 – 2,000 PCIe • Media flows through Ethernet Port• For larger scale deployments
• Voice Transcoding Explained• Existing Transcoding Solutions• Sangoma Solution – D-Series Transcoding Card• Ordering and Pricing• Architecture• Technical Dive• Closing• Q&A
Agenda
19
Ordering and Pricing (D100)
20
SKU Bus type Description List Price
D100-030 PCI 30 sessions voice transcoding card $ 7 5 0D100-030E PCI Express 30 sessions voice transcoding card $ 7 5 0D100-060 PCI 60 sessions voice transcoding card $ 8 7 5
D100-060E PCI Express 60 sessions voice transcoding card $ 8 7 5D100-120 PCI 120 sessions voice transcoding card $ 11 3 0
D100-120E PCI Express 120 sessions voice transcoding card $ 11 3 0D100-240 PCI 240 sessions voice transcoding card $ 1 6 4 0
D100-240E PCI Express 240 sessions voice transcoding card $ 1 6 4 0D100-400 PCI 400 sessions voice transcoding card $ 2 3 2 0
D100-400E PCI Express 400 sessions voice transcoding card $ 2 3 2 0
• Capacity upgrades are available in the field• Total port capacity rated for G.711 to G.729. Totals vary on call mix.• No extra licensing fees for Codecs*
* Except AMR. Please contact Sangoma Sales for details.
Ordering and Pricing (D150-ETH)
21
SKU Description List Price
D150-ETH-030 30 sessions voice transcoding card $ 7 5 0D150-ETH-060 60 sessions voice transcoding card $ 8 7 5D150-ETH-120 120 sessions voice transcoding card $ 11 3 0D150-ETH-240 240 sessions voice transcoding card $ 1 6 4 0D150-ETH-400 400 sessions voice transcoding card $ 2 3 2 0
• Capacity upgrades are available in the field• Total port capacity rated for G.711 to G.729.
Totals vary on call mix.• No extra licensing fees for Codecs*
* Except AMR. Please contact Sangoma Sales for details.
Ordering and Pricing (D150-BOX)
22
SKU Description List Price
D150-BOX-030 30 sessions voice transcoding card $ 8 0 0D150-BOX-060 60 sessions voice transcoding card $ 9 2 5D150-BOX-120 120 sessions voice transcoding card $ 11 8 0D150-BOX-240 240 sessions voice transcoding card $ 1 6 9 0D150-BOX-400 400 sessions voice transcoding card $ 2 3 7 0
SPEC-D150-BOX-1U06 1U Special Bracket that holds up to 6 D150-BOX $ 5 0SPEC-D150-BOX-2U14 2U Special Bracket that holds up to 14 D150-BOX $ 7 0
• Capacity upgrades are available in the field• Can be stacked on a 19 inch bracket .• Total port capacity rated for G.711 to G.729.
Totals vary on call mix.• No extra licensing fees for Codecs*
* Except AMR. Please contact Sangoma Sales for details.
Ordering and Pricing (D150-PMC)
23
SKU Description List Price
D150-PMC-030 30 sessions voice transcoding card $ 7 5 0D150-PMC-060 60 sessions voice transcoding card $ 8 7 5D150-PMC-120 120 sessions voice transcoding card $ 11 3 0D150-PMC-240 240 sessions voice transcoding card $ 1 6 4 0D150-PMC-400 400 sessions voice transcoding card $ 2 3 2 0
• Capacity upgrades are available in the field• Total port capacity rated for G.711 to G.729.
Totals vary on call mix.• No extra licensing fees for Codecs*
* Except AMR. Please contact Sangoma Sales for details.
Ordering and Pricing (D100 and D150)
24
SKU Description List Price
D1X0-UPG-030 Upgrade from 030 to 060 sessions $ 1 2 5
D1X0-UPG-090 Upgrade from 030 to 120 sessions $ 3 8 0
D1X0-UPG-210 Upgrade from 030 to 240 sessions $ 8 9 0
D1X0-UPG-370 Upgrade from 030 to 400 sessions $ 1 5 7 0
D1X0-UPG-060 Upgrade from 060 to 120 sessions $ 2 5 5
D1X0-UPG-180 Upgrade from 060 to 240 sessions $ 7 6 5
D1X0-UPG-340 Upgrade from 060 to 400 sessions $ 1 4 4 5
D1X0-UPG-120 Upgrade from 120 to 240 sessions $ 5 1 0
D1X0-UPG-280 Upgrade from 120 to 400 sessions $ 11 9 0
D1X0-UPG-160 Upgrade from 240 to 400 sessions $ 6 8 0
• Capacity upgrades are available in the field• Total port capacity rated for G.711 to G.729. Totals vary on call mix.• No extra licensing fees for Codecs*
* Except AMR. Please contact Sangoma Sales for details.
Ordering and Pricing (D500)
25
SKU Description List Price
D500-100E 1 Transcoding module, up to 400 sessions, PCI Express Bus $ 2 4 5 0D500-200E 2 Transcoding module, up to 800 sessions, PCI Express Bus $ 4 3 2 5D500-300E 3 Transcoding module, up to 1,200 sessions, PCI Express Bus $ 6 2 2 5D500-400E 4 Transcoding module, up to 1,600 sessions, PCI Express Bus $ 8 1 0 0D500-500E 5 Transcoding module, up to 2,000 sessions, PCI Express Bus $ 9 9 7 5
D500- MOD-100 1 D500 Field Upgrade Transcoding Module $ 1 8 7 5
• Capacity upgrades are available in the field• Total port capacity rated for G.711 to G.729.
Totals vary on call mix.• No extra licensing fees for Codecs*
* Except AMR. Please contact Sangoma Sales for details.
• Voice Transcoding Explained• Existing Transcoding Solutions• Sangoma Solution – D-Series Transcoding Card• Ordering and Pricing• Architecture• Technical Dive• Closing• Q&A
Agenda
26
Sample Application - Call Center
27
PSTN LAN
G.711
G.711T1/E1
Computer Server
WANG.729
LocalAgents
RemoteAgents
Sample Application - Call Center
28
PSTN LAN
G.711
G.711T1/E1
Computer Server
WANG.729
LocalAgents
RemoteAgents
Sample Application - Call Center“Under the Hood”
29
PSTN
LAN
G.711
G.711T1/E1
Call Center
App
Computer Server
D-Series Transcoding
A108 T1/E1
WANG.729
LocalAgents
RemoteAgents
Integrated with Server
Sample Application - Call Center“Under the Hood”
30
Computer Server
D-Series Transcoding
PSTNT1/E1 Call Center
App
WANG.729
RemoteAgents
LAN
G.711
G.711
LocalAgents
Separate Dedicated Server
Sample Application: PBX with HD (G.722.1) Phones
31
PSTN
LAN
G.722.1
G.722.1
T1/E1
PBX
Computer Server
D-Series Transcoding
A101DE
G.722.1
Sample Application: PBX with HD (G.722.1) Phones
32
PSTN
LAN
G.722.1
G.722.1
T1/E1
PBX
Computer Server
A101DE
G.722.1
Internal Call: Codec match, no need for
Transcoding
External Call: D-Series to
transcode G.722.1 to G.711
D-Series Transcoding
Sample Application: PBX with HD (G.722.1) Phones
33
PSTN
LAN
G.722.1
G.722.1
T1/E1
PBX
Computer Server
A101DE
G.722.1
Internal Call: Codec match, no need for
Transcoding
External Call: D-Series to
transcode G.722.1 to G.711
D-Series Transcoding
Sample App: Network Peering
34
SS7 GW
SS7 GW
SS7 GW
SS7 GW
SS7 GW
G.729 Network
G.711 Network
Dedicated Server with Several D500 to Support 1000s of Ports
TranscodingServer
• Voice Transcoding Explained• Existing Transcoding Solutions• Sangoma Solution – D-Series Transcoding Card• Ordering and Pricing• Architecture• Technical Dive• Closing• Q&A
Agenda
35
Technical Dive
• Sangoma D-Series of Transcoding Cards• Ethernet Drivers
– PCIe – Broadcom– PCI – Micrel
• Sangoma Transcoding API Library• Codec applications on Linux
– Codec module for Asterisk– Codec module for FreeSWITCH
Media Transcoding Solution
3737
Single Server – Asterisk / FreeSWITCH
38
API(libsng-tc)
Asterisk / FreeSWITCH Codec Module
Ethernet Driver
RTP(Voice)
Adapter(codec_sangoma)
SOAP server
SOAP client(libsngtc-node)
Control(SOAP TCP connection)
Board discovery at Install time
Distributed Architecture – Asterisk / FreeSWITCH
39
API (libsng-tc)
Ethernet Driver
RTP(Voice)
SOAP server
Asterisk / FreeSWITCH Codec Module
Adapter(codec_sangoma)
Asterisk / FreeSWITCH Codec Module
Adapter(codec_sangoma)
RTP(Voice)
SOAP client(libsngtc-node)
TranscodingServerApp
Server
AppServer
SOAP client(libsngtc-node)
Control(SOAP TCP connection)
TranscodingServer
Distributed Architecture – “Cables View”
40
AppServer
AppServer
LANEthernet
Ethernet
Ethernet
• Download Media Transcoding Package:http://wiki.sangoma.com/sangoma-media-transcodingeg: sng-tc-linux-x86-1.2.1.tgz
• Untar Package in /usr/src directory-> tar xfz sng-tc-linux-x86-<ver>.tgz -> cd sng-tc-linux-x86-<ver>
• Install Ethernet Drivers-> cd sng-tc-linux-x86-<ver> -> cd server/eth_driver-> ./install.sh
• PCIe cards use Broadcom tg3 driver: -> modprobe tg3PCI cards use Micrel ks8842_pci driver: -> modprobe ks8842_pci
• Once Ethernet drivers are loaded confirm that new interfaces have been created-> cat /proc/net/dev # check for eth1, eth2 …
• Give each ethX device a private IP address: eg: 10.100.1.1/24On RedHat: system-config-network
Media Transcoding: Installation
4141
• Build Sangoma Media Transcoding libraries, configurator and server-> cd sng-tc-linux-x86-<ver> -> make-> make install
or if you have Astersk installed on the system, also build Sangoma Asterisk Codec-> make asterisk-> make install
FreeSWITCH codec is part of FreeSWITCH GIT repository
• Asterisk Sangoma Transcoding Configuration:-> sngtc_cfg --server --asterisk or-> sngtc_cfg --server --asterisk --astdir=/etc/asterisk
Asterisk Sangoma Transcoding Config file/etc/asterisk/sangoma_codec.conf
• FreeSWITCH Sangoma Transcoding Configuration: -> sngtc_cfg --server --freeswitch or-> sngtc_cfg --server --freeswitch --fsdir=/usr/local/freeswitch/conf/autoload_configs
FreeSWITCH Sangoma Transcoding Config file:/usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml
Media Transcoding: Installation ...
4242
• Firmware Upgrade Procedure
The sngtc_tool is a binary application that contains the latest firmware version.The sngtc_tool will upgrade firmware on all trancoding modules detected.
-> sngtc_tool –dev eth1 –firmware
• License Update Procedure
The License update program is not distributed in a sngtc release. It is provided to a customerwith a license key that is built using customer hardware information.
Customer needs to send Sangoma Support module their hardware information-> sngtc_tool –dev eth1 –list_modules
Based on this information, Sangoma Sales will send a package to the customer containinglicense update application and the license key. The sngtc_tool application contains the up to date license files which will be applied to all sangoma modules detected.
-> sngtc_tool –dev eth1 –license <license_key_file>
Media Transcoding: Firmware & License
4343
• Before starting Asterisk or FreeSWITCH, one must start theSangoma Transcoding Server. Server autodetects and initializes the SangomaTranscoding Cards. -> sngtc_server_ctrl start
Log file located in /var/log/sngtc_sever.logCheck for message: [SNGTC_INFO ] Sangoma Transcoding Server Ready
• Start Asterisk-> safe_asterisk
Load Sangoma transcoding module from CLI (If not automatically loaded)-> module load codec_sangoma.so
-> sangoma show translators-> sangoma show transcoding sessions-> sangoma show rtp statistics
Media Transcoding: Asterisk Operation
4444
• Before starting Asterisk or FreeSWITCH one must start theSangoma Transcoding Servier. Server autodetects and initializes the SangomaTranscoding Cards. -> sngtc_server_ctrl start
Log file located in /var/log/sngtc_sever.logCheck for message: [SNGTC_INFO ] Sangoma Transcoding Server Ready
• Start FreeSWITCH-> /usr/local/freeswitch/bin/freeswitch
Load Sangoma transcoding module from CLI (If not automatically loaded)-> load mod_sangoma_codec
-> show codecs-> sangoma_codec settings-> sangoma_codec sessions-> sangoma_codec stats <session number>
Media Transcoding: FreeSWITCH Operation
4545
• Software Transcoding is a CPU intensive activity that could impact your VoIP applications
• Sangoma’s D-Series Hardware Transcoding Cards handle all your applications transcoding with no added latency and work with Asterisk and FreeSWITCH
• The D-Series cards come in multiple form factors for added deployment flexibility
• The D100 and D150 offer from 30 to 400 sessions per card
• The D500 offer 400 to 2,000 sessions per card• All D-Series cards offer field upgrades options
Closing
46
47
Q&AFollow us on:
http://twitter.com/Sangoma
http://www.facebook.com/SangomaTech
For more information:
• Sangoma.com
48
• Wiki.sangoma.com
49
• Be sure to check back regularly to see other training events:
http://sangoma.com/resources/training.htm
• Follow us on:
http://twitter.com/Sangoma
http://www.facebook.com/SangomaTech
Stay Connected!