Sangoma Technologies Corporation · TSX:STC
Sangoma Technologies — Technical Presentation (December 2010)
53 slides from Sangoma Technologies's technical presentation, Dec 14, 2010

Slide 1: Sangoma Webinar Series: Telecom Tapping Solutions
Sangoma Webinar Series Telecom Tapping Solutions F.Dickey / N.Corbic December 14, 2010

Slide 2: Agenda
2010-12-14 Agenda • What is Tapping? • What Telecom Applications would require Tapping? • How can I do this with Sangoma? – Hardware products – API modes and configurations options • Q&A • Conclusion • Winner Announcement (c) 2010 Sangoma Technologies 2

Slide 3: Start with a normal telecom set up
2010-12-14 Start with a “normal” telecom set up PBX / Call Center PSTN or T1/E1, PRI, SS7, etc. PLMN (c) 2010 Sangoma Technologies 3

Slide 4: What is Tapping?
2010-12-14 What is Tapping? PBX / Call Center PSTN or T1/E1, PRI, SS7, etc. PLMN T1/E1, PRI, SS7, etc. It’s grabbing telecom Tapping information from a standard System installation without disrupting normal operations: Passive Tapping (c) 2010 Sangoma Technologies 4

Slide 5: Why would I want to do this?
2010-12-14 Why would I want to do this? • There is lot of useful information on telecom links: – Call Control information – Telecom Protocol information – Voice and Media • It can be very useful to access this information for analysis – Fraud detection – Quality monitoring in call centers (recording

Slide 6: Is there another way to do this?
2010-12-14 Is there another way to do this? PBX / Call Center PSTN or PLMN Tapping System • Terminate and re-originate calls in-line • Becomes single point of failure • Passive Tapping is better (c) 2010 Sangoma Technologies 6

Slide 7: How do I get started with Passive Tap?
2010-12-14 How do I get started with Passive Tap? 1 Create a passive tap connection 2 Set-up Sangoma Telephony card 3 Work your magic! (develop your app) (c) 2010 Sangoma Technologies 7

Slide 8: How do I get started (bis)?
2010-12-14 How do I get started (bis)? PBX / Call Center PSTN or T1/E1, PRI, SS7, etc. PLMN T1/E1, PRI, SS7, etc. Connect 1 3 Develop Configure 2 Tapping System (c) 2010 Sangoma Technologies 8

Slide 9: Passive Tap Connection
2010-12-14 1 Passive Tap Connection • To be passive, connection needs to have high impedance • Some people build their own special cables with resistors • Sangoma provides a tapping interconnect box that makes this easy for you • Part number: TAP • List Price: $150 USD • 1 TAP box required for each

Slide 10: Where does this TAP box fit?
2010-12-14 Where does this TAP box fit? PBX / Call Center PSTN 1 T1/E1 under TAP or PLMN TAP RJ45 cables RJ45 cables Rx side only Minimum: 2 Span card (A102) (c) 2010 Sangoma Technologies 10

Slide 11: Why do I need at least a 2 Span card (A102)?
2010-12-14 Why do I need at least a 2 Span card (A102)? T1/E1 is 4 wires Tx Rx PSTN or PLMN Rx Tx Can only use Receive side Port 1 Port 2 (Tx ports unused) Rx Rx 1 Span TAP = 2 port card (A102) 2 Span TAP = 4 port card (A104) 4 Span TAP = 8 port card (A108) Rx = Receive Tx = Transmit * Echo Cancella

Slide 12: Sangoma Cards SKU and List Prices
2010-12-14 Sangoma Cards SKU and List Prices List Price SKU Description ($USD) A102 2 span card, PCI bus $ 1000 A102E 2 span card, PCI Express bus $ 1000 A104 4 span card, PCI bus $ 1700 A104E 4 span card, PCI Express bus $ 1700 A108 8 span card, PCI bus $ 2900 A108E 8 span card, PCI Express bus $ 2

Slide 13: Sangoma Tapping Solutions
2010-12-14 2 3 Sangoma Tapping Solutions • SDK/API – LibSangoma + LibStelephony – FreeTDM • Applications – SigTap App – RTP Tap • Open Source Frameworks – Asterisk – FreeSWITCH (c) 2010 Sangoma Technologies 13

Slide 14: Wanpipe Configuration
2010-12-14 Wanpipe Configuration • Interface in TDM_VOICE mode. • TE_HIGHIMPEDANCE = YES • Sample configs available: – http://wiki.sangoma.com/sangoma-tap-system ((c) c) 2010 Sangoma Technologies 14

Slide 15: LibSangoma Telephony Base
2010-12-14 LibSangoma Telephony Base User Library LibSangoma User Space Library [ config, start, stop, open,close,read,write,events ] Kernel WANPIPE TDM API Kernel Interface [ T1,E1,BRI,Analog,Serial ] Sangoma Hardware (c) 2010 Sangoma Technologies 15

Slide 16: LibSangoma – more details
2010-12-14 LibSangoma – more details (c) 2010 Sangoma Technologies 16

Slide 17: WANPIPE / LibSangoma + LibStelephony
2010-12-14 WANPIPE / LibSangoma + LibStelephony • WANPIPE® Voice API – libsangoma is a device based, multi-threaded suite of kernel drivers and user space libraries that is used to build custom Voice applications over Sangoma TDM Voice hardware, on both Linux & Windows. • LibSangoma: – Is a user spa

Slide 18: LibSangoma Components
2010-12-14 LibSangoma Components • Configuration Functions – configure T1/E1, analog, BRI ports before they are started or restarted • System Operation Functions – used to start, stop, restart Sangoma tdm ports • IO Operation Functions – used to open, close, read, write,poll on bchan or dchan device

Slide 19: LibSangoma I/O modes
2010-12-14 LibSangoma I/O modes • SPAN Mode – Single device per T1/E1 span. – Data from a single span is passed up to a user as a single chunk of data. – User has the responsibility to multiplex and de-multiplex data per channel. – Better performance on higher densities. – Harder to develop on. • CH

Slide 20: LibSangoma Tapping Sample App
2010-12-14 LibSangoma Tapping Sample App • Libsangoma is distributed as part of Wanpipe Driver Release. • Libsangoma Location: – wanpipe-<ver>/api/libsangoma • C Sample: – wanpipe-<ver>/api/sample_c • C++ Sample: – wanpipe-<ver>/api/sample_cpp • Each sample API will can open a b-chan or a d-chan and

Slide 21: LibSangoma Reference
2010-12-14 LibSangoma Reference • Reference: – http://wiki.sangoma.com/wanpipe-api • Doxygen Documentation: – http://docs.sangoma.com/doxygen/libsangoma/html/files.ht ml (c) 2010 Sangoma Technologies 21

Slide 22: FreeTDM
2010-12-14 FreeTDM • An open source TDM Framework. It builds on top of Libsangoma functionality and includes full TDM protocols and state machines as well as voice processing • TDM Endpoint for FreeSWTICH project • A user space library (.so/.dll) • Abstracts Linux and Windows system calls into a OS

Slide 23: FreeTDM API
2010-12-14 FreeTDM API FreeTDM FreeTDM API Interface ftdm_sangoma_ss7 signaling SS7 ISUP FTDM Core SS7 SIGTRAN Media ftdm_sangoma_isdn Media IO: PRI mod_wanpipe BRI LibSangoma Dchan Bchan User Space Library WANPIPE TDM API Kernel Interface [ T1,E1,BRI,Analog,Serial ] (c) 2010 Sangoma Technologies 23

Slide 24: FreeTDM Components
2010-12-14 FreeTDM Components • I/O Operation Functions – used to open, close, read, write, poll on bchan or dchan devices – set events that relate to IO or call setup: callerid, on-hook, off-hook, rbs etc… call recording functions (start, stop…) • Signaling Functions** – used to place call, clear c

Slide 25: FreeTDM Tapping Module
FreeTDM Tapping Module 02 Aug-2010 / 25

Slide 26: FreeTDM PRI Tapping Module
FreeTDM PRI Tapping Module • Easier API in C for PRI tapping. • You configure your spans with “pritap” signaling. • Calls are reported through regular SIGEVENT_ messages. • Using I/O FreeTDM API you can access the mixed stream. – ftdm_channel_read(ftdmchan) returns the stream already mixed. 02 Aug-2

Slide 27: FreeTDM PRI Tapping Module
FreeTDM PRI Tapping Module • Uses passive version of libpri for message decoding. – http://svn.digium.com/svn/libpri/team/moy/tap-1.4/ • Decodes IE’s on SETUP, PROCEED, ALERTING, CONNECT, DISCONNECT, etc • Planning to move to independent decoder to drop dependency. • Configure FreeTDM with –with-pri

Slide 28: FreeTDM Configuration
FreeTDM Configuration • Regular T1/E1 configuration parameters for 2 spans (or more). [span wanpipe tap1] trunk_type => T1 b-channel => 1:1-23 d-channel => 1:24 [span wanpipe tap2] trunk_type => T1 b-channel => 2:1-23 d-channel => 2:24 02 Aug-2010 / 28

Slide 29: FreeTDM Reference
2010-12-14 FreeTDM Reference • FreeTDM is distributed as stand alone product. • Reference: – http://wiki.sangoma.com/wanpipe-api-freetdm – http://wiki.freeswitch.org/wiki/FreeTDM • Doxygen Documentation: – http://docs.sangoma.com/doxygen/freetdm/ (c) 2010 Sangoma Technologies 29

Slide 30: Sangoma Tapping Solutions
2010-12-14 2 3 Sangoma Tapping Solutions • SDK/API – LibSangoma + LibStelephony – FreeTDM • Applications – SigTap App – RTP Tap • Open Source Frameworks – Asterisk – FreeSWITCH (c) 2010 Sangoma Technologies 30

Slide 31: SigTap Application
2010-12-14 SigTap Application • SigTap is signaling tapping application written on top of libsangoma. – Application written in C++ – Build on top of libsangoma API – Runs on Linux & Windows • Purpose of SigTap is to tap signaling channels NOT VOICE. (c) 2010 Sangoma Technologies 31

Slide 32: SigTap Features
2010-12-14 SigTap Features • Auto configures T1/E1 cards into SPAN mode. • Auto detects T1/E1 configuration. • Keeps trying all possibilities until the T1/E1 line becomes connected. • Once line becomes connected it starts receiving JUMBO (16K to 64K) frames. • Its developers responsibility to de-mul

Slide 33: RTP TAP
RTP TAP 14- Dec- (c) 2010 Sangoma Technologies 10 / 33

Slide 34: RTP TAP Features
2010-12-14 RTP TAP Features • The "Wanpipe Voice RTP TAP" is used to tap voice channels at the driver/kernel level during Asterisk-Dahdi or TDM API operation mode. • All tapped voice channels, in Wanpipe driver, are encapsulated in UDP and RTP headers and transmitted over the neighboring Ethernet ca

Slide 35: RTP TAP Operations
2010-12-14 RTP TAP Operations • RTP TAP is a feature of WANPIPE Linux Kernel Driver • RTP TAP configuration is part of WANPIPE configuration files /etc/wanpipe/wanpipe1.conf • RTP TAP feature works with Asterisk+DAHDI on T1/E1/Analog devices. • Default Configuration Parameters: – RTP_TAP_IP=192.168.

Slide 36: RTP TAP Reference
2010-12-14 RTP TAP Reference • RTP TAP Reference • http://wiki.sangoma.com/wanpipe-voice-rtp- tap • Third Party Solution Partner • Orecx • Orecx has developed an Asterisk Call Recording Solution with Sangoma RTP TAP Technology (c) 2010 Sangoma Technologies 36

Slide 37: Sangoma Tapping Solutions
2010-12-14 2 3 Sangoma Tapping Solutions • SDK/API – LibSangoma + LibStelephony – FreeTDM • Applications – SigTap App – RTP Tap • Open Source Frameworks – Asterisk – FreeSWITCH (c) 2010 Sangoma Technologies 37

Slide 38: Asterisk PRI Tapping
2010-12-14 Asterisk PRI Tapping ((c) c) 2010 Sangoma Technologies 38

Slide 39: Asterisk PRI Tapping
2010-12-14 Asterisk PRI Tapping • chan_dahdi matches signaling messages from different spans. • chan_dahdi creates an Asterisk channel and provide the mixed audio to the Asterisk core. • Asterisk see the call as a regular incoming call. – Smells like a call. – Tastes like a call – But brother, it ai

Slide 40: Asterisk PRI Tapping
2010-12-14 Asterisk PRI Tapping • You can use regular Asterisk dial plan logic to do recording, logging or execute any other supported Asterisk application on the tapped call. – exten => _X.,1,Answer() – exten => _X.,n,Record(…) • Other applications, like ChanSpy() can be used for live monitoring. •

Slide 41: Asterisk PRI Tapping Installation
2010-12-14 Asterisk PRI Tapping Installation • Uses passive version of libpri for message decoding. – http://svn.digium.com/svn/libpri/team/moy/tap-1.4/ • Decodes IE’s on SETUP, PROCEED, ALERTING, CONNECT, DISCONNECT, etc • chan_dahdi required changes to drop data, match peer tapping spans and mix a

Slide 42: DAHDI Configuration (system.conf)
2010-12-14 DAHDI Configuration (system.conf) • Regular T1/E1 configuration parameters for 2 spans (or more). • Remember you need 2 spans per T1/E1 link. • Sample configuration for E1 tapping: # Rx span span=1,1,0,ccs,hdb3 bchan=1-15,17-31 hardhdlc=16 # Tx span span=2,2,0,ccs,hdb3 bchan=32-46,48-62 h

Slide 43: Asterisk PRI tapping Configuration
2010-12-14 Asterisk PRI tapping Configuration • chan_dahdi.conf switchtype=national context=from-tapped-line signalling=pri_cpe passive=yes channel => 1-15,17-31 channel => 32-46,48-62 ((c) c) 2010 Sangoma Technologies 43

Slide 44: Asterisk PRI Tapping Key Points
2010-12-14 Asterisk PRI Tapping Key Points • Two spans are required per tapped trunk. • No outgoing calls can be placed in those circuits. • No media writing (only media reading). • Restarting the tapping server or Asterisk is safe. • Exported PRI fields: – Caller Name – Caller Number – Called Numbe

Slide 45: Asterisk Tapping Conclusion
Asterisk Tapping Conclusion • You can build now a passive call recorder/logger easily. • Tapped system can be any PRI switch/telco. • Available in API mode or using standard Asterisk/DADHI integration. • Extensible through regular dial plan logic, AGI scripts etc. (c) 2010 Sangoma Technologies

Slide 46: FreeSWITCH PRI tapping
FreeSWITCH PRI tapping 02 Aug-2010 / 46

Slide 47: FreeSWITCH PRI tapping
FreeSWITCH PRI tapping • FreeSWITCH acts as an FreeTDM application. No modifications at all needed in FreeSWITCH. • FreeTDM reports tapped calls to FreeSWITCH as regular incoming calls. • You use FreeSWITCH dial plan to do recording, logging or any other supported FreeSWITCH application on the tappe

Slide 48: FreeSWITCH PRI tapping Configuration
FreeSWITCH PRI tapping Configuration • XML configuration in autoload_configs/freetdm.conf.xml <configuration name="freetdm.conf" description="FreeTDM Configuration"> <pritap_spans> <span name="tap1”> <param name="peerspan" value="tap2"/> <param name="dialplan" value="XML"/> <param name="context" val

Slide 49: FreeSWITCH PRI Conclusion
FreeSWITCH PRI Conclusion • You can build now a passive call recorder/logger easily. • Tapped system can be any PRI switch/telco. • Available in API mode or using standard FreeSWITCH/FreeTDM integration. • Extensible through regular dial plan logic (XML, LUA etc). 02 Aug-2010 / 49

Slide 50: Sangoma Tapping Solutions
2010-12-14 2 3 Sangoma Tapping Solutions • SDK/API – LibSangoma + LibStelephony – FreeTDM • Applications – SigTap App – RTP Tap • Open Source Frameworks – Asterisk – FreeSWITCH (c) 2010 Sangoma Technologies 50

Slide 51: For more information
2010-12-14 For more information: • sangoma.com • wiki.sangoma.com (c) 2010 Sangoma Technologies 51

Slide 52: Conclusion
2010-12-14 Conclusion • Passive Tapping useful for a lot of applications • Need to set-up passive / high impedance connection – Tapping box from Sangoma • Use Sangoma Boards for Tapping Application • Several options for maximum flexibility – API/SDK – Apps – Open Source Frameworks (c) 2010 Sangoma T

Slide 53: Thank You!
Thank You! Sales: +1.905.474.1990 sales@sangoma.com Frederic Dickey Marketing and Product Management fdickey@sangoma.com Nenad Corbic Software R&D ncorbic@sangoma.com 14- Dec- 10 / 53
Source: Internet Archive copy of wiki.sangoma.com
More decks from Sangoma Technologies Corporation
Investor Presentation (February 2026)24 slides · February 2026
Investor Presentation (February 2026)26 slides · February 2026
Q1 2026 Earnings Presentation24 slides · Nov 10, 2025
Investor Presentation (November 2025)23 slides · November 2025
Investor Presentation (September 2025)24 slides · September 2025
Investor Presentation (May 2025)28 slides · May 2025