27 Oct-2010 / 1 Asterisk PRI Passive Call Recording Moises Silva Senior Software Engineer. Sangoma Technologies.

Slides:



Advertisements
Similar presentations
Computer Concepts – Illustrated 8th edition
Advertisements

The Right Choice for Call Recording OAISYS and Mitel: Call Recording Solution Configuration.
Advanced Piloting Cruise Plot.
1
Chapter 1 The Study of Body Function Image PowerPoint
Slide 1 FastFacts Feature Presentation August 14 th, 2008 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation October 16 th, 2008 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation August 28, 2008 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation September 4, 2012 To dial in, use this phone number and participant code… Phone number: Participant.
Slide 1 FastFacts Feature Presentation August 12, 2010 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation February 17, 2011 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation September 7, 2010 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation October 12, 2010 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation October 19, 2010 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation November 11, 2008 We are using audio during this session, so please dial in to our conference line… Phone number:
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Local Customization Chapter 2. Local Customization 2-2 Objectives Customization Considerations Types of Data Elements Location for Locally Defined Data.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
Communicating over the Network
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
© Tally Solutions Pvt. Ltd. All Rights Reserved Shoper 9 License Management December 09.
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
CSU/DSU Last Update Copyright Kenneth M. Chipps Ph.D. 1.
1 Telephone Connection. 2 Introduction The section instructs you on how to install a required phone line to every receiver.
Chapter 1: Introduction to Scaling Networks
Copyright © Open Text Corporation. All rights reserved. Slide 1 Automatic Routing With Captaris FaxPress and FaxPress Premier Darin McGinnes Sales Engineer.
ABC Technology Project
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 1Creating Tables and Queries Chapter 2Creating Relationships between Tables.
Chapter 15 Integrated Services Digital Network ISDN Services History Subscriber Access Layers BISDN WCB/McGraw-Hill The McGraw-Hill Companies, Inc., 1998.
IP Multicast Information management 2 Groep T Leuven – Information department 2/14 Agenda •Why IP Multicast ? •Multicast fundamentals •Intradomain.
VOORBLAD.
An Introduction to the Max PVN. 2 Net2Phone Overview.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
By CA. Pankaj Deshpande B.Com, FCA, D.I.S.A. (ICA) 1.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLANs LAN Switching and Wireless – Chapter 3.
25 seconds left…...
Januar MDMDFSSMDMDFSSS
Week 1.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Intracellular Compartments and Transport
PSSA Preparation.
VPN AND REMOTE ACCESS Mohammad S. Hasan 1 VPN and Remote Access.
Essential Cell Biology
McGraw-Hill©The McGraw-Hill Companies, Inc., 2001 Chapter 16 Integrated Services Digital Network (ISDN)
Profile. 1.Open an Internet web browser and type into the web browser address bar. 2.You will see a web page similar to the one on.
What’s new in WebSpace Changes and improvements with Xythos 7.2 Effective June 24,
Implementation Lessons using WebRTC in Asterisk
FreeSWITCH ISDN David Yat Sin
02 Aug-2010 / 1 FreeTDM PRI Passive Call Recording Moises Silva Senior Software Engineer. Sangoma Technologies.
Achieving optimal scalability and voice quality in open source telephony Konrad Hammel Software Engineer Sangoma Technologies.
Sangoma Webinar Series Telecom Tapping Solutions F.Dickey / N.Corbic December 14, 2010.
A116 Sales Training Julien Nephtali Product Manager May 15, 2012.
Media Handling in FreeSWITCH Moisés Silva Software Engineer / Manager
06-Apr-10/ 1 FreeTDM Moises Silva Senior Software Engineer. Sangoma Technologies.
PIKA Technologies Inc. Digital Logger Application Sample March 2010.
Presentation transcript:

27 Oct-2010 / 1 Asterisk PRI Passive Call Recording Moises Silva Senior Software Engineer. Sangoma Technologies.

27 Oct-2010 / 2 Agenda Why recording?. Asterisk recording. What is line tapping?. PRI tapping in Asterisk. Future of tapping in Asterisk. Conclusion.

27 Oct-2010 / 3 Is call recording legal? Ask a lawyer.

27 Oct-2010 / 4 Why Recording? Enhance customer service. Legal liability. Compliance with industry regulations. Security.

27 Oct-2010 / 5 Asterisk Recording. Monitor, MixMonitor or Record applications. Sends files to /var/spool/asterisk/monitor Recording in any supported format (formats/ directory). Experimental Xorcom / Tzafrir RTP monitoring and Orecx recording server. (

27 Oct-2010 / 6 Asterisk Recording. Asterisk must be in signaling and media path. It can be risky. No redundancy. Predictive dialing on CPE/PBX may make it unsuitable. Not plug and play. (config req.)

27 Oct-2010 / 7 Telephone Line tapping.

27 Oct-2010 / 8 Telephone Line tapping. Also known as wire-tapping. Passive monitoring of the telephone line. Legal wiretapping == Lawful interception. Equivalent to monitor network traffic in a switch.

27 Oct-2010 / 9 PRI Tapping

27 Oct-2010 / 10 PRI Tapping. T1/E1 tap connection adapter required. Raw voice and signaling delivered to application. Zero disruption of current telephony link. Redundancy through multiple tapping boxes.

27 Oct-2010 / 11 PRI Tapping Typical Uses Call logging (if you only need CDR). Call recording (both media and CDR). Inbound/Outbound call centers live monitoring.

27 Oct-2010 / 12 PRI Tapping Connections Connections between A102 and tapping box.

27 Oct-2010 / 13 PRI Tapping Connections Connections between A102 and tapping box.

27 Oct-2010 / 14 PRI Tapping Connections 2 ports needed per link. Tapping box (PN 633) ensures quality. High impedance mode in the card. Any Tx data is dropped. One port for Tx NET, other for Tx CPE. Span 1Span 2

27 Oct-2010 / 15 PRI Raw Tapping Raw tapping can be achieved with Wanpipemon (pcap file). Raw access to D-channel messages through DAHDI channels. Voice from NET in span 1, voice from CPE in span 2. Application has to do the audio mixing and ISDN message-matching.

27 Oct-2010 / 16 Asterisk PRI Tapping

27 Oct-2010 / 17 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 aint a regular call!

27 Oct-2010 / 18 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. Any application doing only media writing, wont fail, but wont do anything useful either. Any call control operation (Answer, Ring, Hang Up) is local only, does not affect tapped call, since there is no Tx enabled.

27 Oct-2010 / 19 Asterisk PRI Tapping Installation Uses passive version of libpri for message decoding. – Decodes IEs on SETUP, PROCEED, ALERTING, CONNECT, DISCONNECT, etc chan_dahdi required changes to drop data, match peer tapping spans and mix audio. – – Need your feedback to integrate into Asterisk trunk!

27 Oct-2010 / 20 Wanpipe Configuration Interface in TDM_VOICE mode. TE_HIGHIMPEDANCE = YES Sample configs available: – at

27 Oct-2010 / 21 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 hardhdlc=47

27 Oct-2010 / 22 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

27 Oct-2010 / 23 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 Number.

27 Oct-2010 / 24 Asterisk PRI Tapping Limitations No NFAS support currently. (Although easy to add). Not every message IE is recorded. Non-Sangoma boards may require work on the driver. Try it!

27 Oct-2010 / 25 Asterisk Tapping Future Analog tapping in the works. Extending the concept to network protocols (ie: SIP) Do we need chan_tap?

27 Oct-2010 / 26 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.

27 Oct-2010 / 27 References

27 Oct-2010 / 28 Thank You! Questions and Comments? Contact Information: GTalk and MSN: