500 likes | 682 Vues
D-Series Voice Transcoding Training Webinar. May 2011. Today’s Speakers. Julien Nephtali Product Manager Sangoma Technologies Tel: +1.514.288.7111 x236 @: julien.nephtali@sangoma.com. Lisa Szeto Marketing Events Manager @: lszeto@sangoma.com. Jeff Dworkin Director of Marketing
E N D
Today’s Speakers Julien Nephtali Product Manager Sangoma Technologies Tel: +1.514.288.7111 x236 @: julien.nephtali@sangoma.com Lisa Szeto Marketing Events Manager @: lszeto@sangoma.com Jeff Dworkin Director of Marketing @: jdworkin@sangoma.com
Agenda • Voice Transcoding Explained • Existing Transcoding Solutions • Sangoma Solution – D-Series Transcoding Card • Ordering and Pricing • Architecture • Technical Dive • Closing • Q&A
Definition of Transcoding • 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
Function of Transcoding • 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
Voice Codecs • 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)
Call Set-up in VoIP • End-points advertise their capabilities in the protocols (such as SIP) • I can do G.711and G.729 • Let’s go ahead with G.711 • I’m calling you. • I can do G.711 SIP Voice Call
Sometimes, there is a mismatch • No common denominator - Call cannot be established • Need for a middleman to translate – Transcoding! • I’m calling you. • I can do G.711 • I can do G.729 No Call SIP SIP Voice Call
TranscodingServer 2 • I have a call for you • What do you support? 4 • OK. I will broker the call on both ends 1 • I’m calling the phone on the other side • I can do G.711 3 • I can do G.729 SIP SIP G.711 Voice Call G.729 Voice Call
Agenda • Voice Transcoding Explained • Existing Transcoding Solutions • Sangoma Solution – D-Series Transcoding Card • Ordering and Pricing • Architecture • Technical Dive • Closing • Q&A
Software Solutions for Transcoding • 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 Transcoding is CPU intensive that impacts the performance of your VoIP apps.
Current Hardware Transcoding Solutions • 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
Agenda • Voice Transcoding Explained • Existing Transcoding Solutions • Sangoma Solution – D-Series Transcoding Card • Ordering and Pricing • Architecture • Technical Dive • Closing • Q&A
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
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
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) D-Series Boards Support Any to Any Codec Combinations
Transcoding Capacity – “It Depends” • 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 Total Capacity depends on Codec mix
Agenda • Voice Transcoding Explained • Existing Transcoding Solutions • Sangoma Solution – D-Series Transcoding Card • Ordering and Pricing • Architecture • Technical Dive • Closing • Q&A
Ordering and Pricing (D100) • 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 SangomaSales for details.
Ordering and Pricing (D150-ETH) • 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 SangomaSales for details.
Ordering and Pricing (D150-BOX) • 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 SangomaSales for details.
Ordering and Pricing (D150-PMC) • 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 SangomaSales for details.
Ordering and Pricing (D100 and D150) • 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 SangomaSales for details.
Ordering and Pricing (D500) • 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 SangomaSales for details.
Agenda • Voice Transcoding Explained • Existing Transcoding Solutions • Sangoma Solution – D-Series Transcoding Card • Ordering and Pricing • Architecture • Technical Dive • Closing • Q&A
Sample Application - Call Center G.711 Computer Server Local Agents G.711 PSTN T1/E1 LAN Remote Agents WAN G.729
Sample Application - Call Center G.711 Computer Server Local Agents G.711 PSTN T1/E1 LAN Remote Agents WAN G.729
Sample Application - Call Center“Under the Hood” Computer Server G.711 A108 T1/E1 Local Agents PSTN Call Center App T1/E1 G.711 LAN Remote Agents WAN G.729 D-Series Transcoding Integrated with Server
Sample Application - Call Center“Under the Hood” G.711 Call Center App PSTN T1/E1 LAN Local Agents G.711 Computer Server Remote Agents WAN G.729 D-Series Transcoding Separate Dedicated Server
Sample Application: PBX with HD (G.722.1) Phones Computer Server G.722.1 A101DE PSTN PBX T1/E1 G.722.1 LAN G.722.1 D-Series Transcoding
Sample Application: PBX with HD (G.722.1) Phones Computer Server G.722.1 A101DE PSTN PBX T1/E1 G.722.1 LAN G.722.1 D-Series Transcoding External Call: D-Series to transcode G.722.1 to G.711 Internal Call: Codec match, no need for Transcoding
Sample Application: PBX with HD (G.722.1) Phones Computer Server G.722.1 A101DE PSTN PBX T1/E1 G.722.1 LAN G.722.1 D-Series Transcoding External Call: D-Series to transcode G.722.1 to G.711 Internal Call: Codec match, no need for Transcoding
Sample App: Network Peering SS7 GW SS7 GW G.711 Network G.729 Network SS7 GW SS7 GW Transcoding Server SS7 GW Dedicated Server with Several D500 to Support 1000s of Ports
Agenda • Voice Transcoding Explained • Existing Transcoding Solutions • Sangoma Solution – D-Series Transcoding Card • Ordering and Pricing • Architecture • Technical Dive • Closing • Q&A
Media Transcoding Solution • 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 37
Single Server – Asterisk / FreeSWITCH • Asterisk / • FreeSWITCH Codec Module Adapter (codec_sangoma) SOAP client (libsngtc-node) Control (SOAP TCP connection) SOAP server RTP (Voice) API (libsng-tc) Board discovery at Install time Ethernet Driver
Distributed Architecture – Asterisk / FreeSWITCH Transcoding Server App Server • Asterisk / • FreeSWITCH Codec Module Adapter (codec_sangoma) SOAP client (libsngtc-node) Control (SOAP TCP connection) RTP (Voice) SOAP server App Server • Asterisk / • FreeSWITCH API (libsng-tc) Codec Module Ethernet Driver Adapter (codec_sangoma) SOAP client (libsngtc-node) RTP (Voice)
Distributed Architecture – “Cables View” App Server Transcoding Server LAN Ethernet Ethernet App Server Ethernet
Media Transcoding: Installation • 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 41
Media Transcoding: Installation ... Build Sangoma Media Transcoding libraries, configurator and server-> cd sng-tc-linux-x86-<ver> -> make-> make installor if you have Astersk installed on the system, also build Sangoma Asterisk Codec-> make asterisk-> make installFreeSWITCH codec is part of FreeSWITCH GIT repository Asterisk Sangoma Transcoding Configuration:-> sngtc_cfg --server --asterisk or-> sngtc_cfg --server --asterisk --astdir=/etc/asteriskAsterisk Sangoma Transcoding Config file/etc/asterisk/sangoma_codec.conf FreeSWITCH Sangoma Transcoding Configuration: -> sngtc_cfg --server --freeswitchor-> sngtc_cfg --server --freeswitch --fsdir=/usr/local/freeswitch/conf/autoload_configsFreeSWITCH Sangoma Transcoding Config file:/usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml 42
Media Transcoding: Firmware & License Firmware Upgrade ProcedureThe 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 ProcedureThe 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_modulesBased 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> 43
Media Transcoding: Asterisk Operation • Before starting Asterisk or FreeSWITCH, one must start theSangoma Transcoding Server. Server autodetects and initializes the SangomaTranscoding Cards. -> sngtc_server_ctrl startLog file located in /var/log/sngtc_sever.logCheck for message: [SNGTC_INFO ] Sangoma Transcoding Server Ready • Start Asterisk-> safe_asteriskLoad Sangomatranscoding module from CLI (If not automatically loaded)-> module load codec_sangoma.so-> sangoma show translators-> sangoma show transcoding sessions-> sangoma show rtp statistics 44
Media Transcoding: FreeSWITCH Operation • Before starting Asterisk or FreeSWITCH one must start theSangoma Transcoding Servier. Server autodetects and initializes the SangomaTranscoding Cards. -> sngtc_server_ctrl startLog file located in /var/log/sngtc_sever.logCheck for message: [SNGTC_INFO ] Sangoma Transcoding Server Ready • Start FreeSWITCH-> /usr/local/freeswitch/bin/freeswitchLoad Sangomatranscoding module from CLI (If not automatically loaded)-> load mod_sangoma_codec-> show codecs-> sangoma_codec settings-> sangoma_codec sessions-> sangoma_codec stats <session number> 45
Closing • 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
Q&A • Follow us on: http://twitter.com/Sangoma http://www.facebook.com/SangomaTech
For more information: • Sangoma.com • Wiki.sangoma.com
Stay Connected! • 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
Thank you! sales@sangoma.com +1.905.474.1990