FreeSWITCH ISDN David Yat Sin

Slides:



Advertisements
Similar presentations
Quintum Technical Training
Advertisements

Configuring APACS & AAN Controllers
27 Oct-2010 / 1 Asterisk PRI Passive Call Recording Moises Silva Senior Software Engineer. Sangoma Technologies.
Copyright © Open Text Corporation. All rights reserved. Slide 1 Automatic Routing With Captaris FaxPress and FaxPress Premier Darin McGinnes Sales Engineer.
…performance audio networks. ABOUT RockNet => RockNet provides ultra low latency and very high audio quality. Genuine Audio Technology  RockNet is a.
Orion Telecom Networks Inc VCL-E1 DACS 8 Port, E1 Digital Access Cross Connect Switch Slide 1 Updated : January 1st, , Avenue of Fountains,
MX25: Multifunction SIP Gateway Zultys Technologies.
Lab7: Introduction to Arduino
2 Best of Breed Telephony Solutions- Open Source and Proprietary Presented by: David Mandelstam, CEO/President, Sangoma Technologies.
Acceptance Tests For Asterisk on the MCF54451
Intro to Sangoma Webinar Konrad Hammel Field Applications Engineer.
Introduction to SS7 – Part 3 Konrad Hammel Sangoma Technologies.
Canadian Based Company R&D and Manufacture in Cannada for Interface Card business Found in 1984 Premium provider for voice and data connectivity components.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—7-1 Completing ISDN Calls Configuring Dial-on-Demand Routing.
Instructor & Todd Lammle
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—7-1 Completing ISDN Calls Configuring ISDN BRI and PRI.
IST 201 Chapter 5. LAN Technologies Ethernet – most widely used technology in LANS In 1970, developed and implemented by: Digital Intel Xerox IEEE
Router Components Semester 2 Chapter 4. Table of Contents More on Components The Show Command Network Neighbor Routers Basic Network Testing.
1 CCNA 4 v3.1 Module 4. 2 CCNA 4 v3.0 Module 4 ISDN and DDR.
Physical Implementations Many physical implementations carry traffic across the WAN Needs vary, depending on the: – distance of the equipment from the.
02 Aug-2010 / 1 FreeTDM PRI Passive Call Recording Moises Silva Senior Software Engineer. Sangoma Technologies.
Integrating Voice with Data Over a Leased Line
Achieving optimal scalability and voice quality in open source telephony Konrad Hammel Software Engineer Sangoma Technologies.
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
What is Router? Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data.
Sangoma Voice Communications Product Portfolio December 2009.
Quintum Technologies, Inc. Risk Free VoIP.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Troubleshooting Your Network Networking for Home and Small Businesses.
Squiggle Lan Messenger.
PIKA Technologies’ fully customizable PBX Platform.
Ch.2 – Introduction to Routers
Sangoma Webinar Series Telecom Tapping Solutions F.Dickey / N.Corbic December 14, 2010.
1999 Cabletron Systems. Wireless Networking RoamAbout RoamAbout Installation Installation/Configuration of: Network adapter card on a: Windows 95 system.
Configuring ISDN BRI and PRI
High Speed Data Converter University
1 Chapter Overview Using the New Connection Wizard to configure network and Internet connections Using the New Connection Wizard to configure outbound.
5 Semester 4 CHAPTER 5 REVIEW JEOPARDY S4C05 Jeopardy Review.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
Copyright Kenneth M. Chipps Ph.D. ISDN Last Update
Ch.2 – Introduction to Routers
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0 Module 4 ISDN and DDR.
A116 Sales Training Julien Nephtali Product Manager May 15, 2012.
Sangoma Hardware and Open Source Asterisk IP/PBX Konrad Hammel Software Engineer/Level 3 Tech Sangoma Technologies.
LOGO Yeastar Technology Co., Ltd. Enterprise Communication.
Media Handling in FreeSWITCH Moisés Silva Software Engineer / Manager
ALARM APPLICATIONS.  DS200 Alarm Interface is an infrastructre, which provides a platform to program DS200 system via one central point or collect the.
06-Apr-10/ 1 FreeTDM Moises Silva Senior Software Engineer. Sangoma Technologies.
©UNT in partnership with TEA1 Telecommunications & Networking Unit Subtitle: Modems.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0 Module 4 ISDN and DDR.
© 2002, Cisco Systems, Inc. All rights reserved..
SKYPIAX, how to add Skype capabilities to FreeSWITCH (and Asterisk) CHICAGO, USA, September 2009.
Programming the Geiger Counter Board 1. Arduino Files Go to and download the latest Arduino.
Ch.2 – Introduction to Routers CCNA 2 version 3.0 Rick Graziani Cabrillo College.
ISDN REFERENCE MODEL. BASIC RATE ACCESS (BRI) 2B + D S0 interface B-CHANNEL D-CHANNEL BRI.
PIKA Technologies Inc. Digital Logger Application Sample March 2010.
ERICSON BRANDON M. BASCUG Alternate - REGIONAL NETWORK ADMINISTRATOR HOW TO TROUBLESHOOT TCP/IP CONNECTIVITY.
Introduction to Computer Networking Connecting to a Router M Clements.
1 Pertemuan 21 ISDN Concepts. Discussion Topics Introducing ISDN ISDN standards and access methods ISDN 3-layer model and protocols ISDN functions ISDN.
1 Copyright © Monash University ECS5365 Lecture 2 ISDN Protocols and Standards Philip Branch Centre for Telecommunications and Information Engineering.
1 Pertemuan 12 Cabeling WANs. Discussion Topics WAN physical layer WAN serial connections Routers and serial connections Routers and ISDN BRI connections.
LOGO Yeastar Technology Co., Ltd. Enterprise Communication.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.1 Module 4 ISDN and DDR.
Rohde & Schwarz Topex VoxiPlus Advanced July 2011.
After Construction Name: Per #:.
Instructor & Todd Lammle
Sangoma Voice Communications Product Portfolio
7.0 INTEGRATED SERVICES DIGITAL NETWORKS (ISDN)
Implement Inter-VLAN Routing
Module 9 Troubleshooting.
Presentation transcript:

FreeSWITCH ISDN David Yat Sin <dyatsin@sangoma.com> 4/11/2017 FreeSWITCH ISDN David Yat Sin <dyatsin@sangoma.com> Moisés Silva <moy@sangoma.com>

Agenda FreeTDM overview ISDN modules (lots of them!) 4/11/2017 Agenda FreeTDM overview ISDN modules (lots of them!) FreeTDM Sangoma ISDN configuration FreeSWITCH Sangoma ISDN configuration Sangoma ISDN Troubleshooting © 2012 Sangoma Technologies 11/01/2012

4/11/2017 FreeTDM Overview Analog and TDM interface library and FreeSWITCH endpoint for FXO/FXS, ISDN (PRI/BRI), SS7, MFCR2, GSM All freetdm code is at libs/freetdm in the FreeSWITCH git repo libs/freetdm/src/ has the freetdm library code mod_freetdm/ has the FreeSWITCH endpoint code (mod_freetdm.c) libs/freetdm/src/ftmod/ folder has IO and signaling modules/plugins for freetdm © 2012 Sangoma Technologies 11/01/2012 3

FreeTDM Overview Linux has the best support 4/11/2017 FreeTDM Overview Linux has the best support Windows support is limited to Sangoma boards and the Analog and Sangoma ISDN and MFCR2 stacks More information: http://wiki.freeswitch.org/wiki/FreeTDM © 2012 Sangoma Technologies 11/01/2012 4

4/11/2017 ISDN Modules Overview ftmod_isdn – Unmaintained for the most part. Ask ‘stkn’ in IRC about its state. Uses a home-brew ISDN stack ftmod_libpri – Requires the open source “libpri” stack to work ftmod_misdn – Another plugin written by ‘stkn’. Depends on the mISDN Linux stack ftmod_sangoma_isdn – Stack fully supported by Sangoma, depends on the library libsng_isdn © 2012 Sangoma Technologies 11/01/2012 5

4/11/2017 Sangoma ISDN Trillium ISDN stack by Continuous Computing (now acquired by Radisys), stable and well maintained (free of charge with Sangoma boards) © 2012 Sangoma Technologies 11/01/2012 6

Sangoma ISDN List of supported variants National ISDN 2 (T1) 4/11/2017 Sangoma ISDN List of supported variants National ISDN 2 (T1) NT DMS-100 (T1) Lucent 5ESS (T1) Lucent 4ESS (T1) EuroISDN (E1 and BRI point to point and point to multipoint) INSNET/NTT (BRI and J1*) QSIG** (E1) *INSNET support on J1 is not fully tested yet **QSIG support is not fully integrated/tested © 2012 Sangoma Technologies 11/01/2012 7

Installation (in a nutshell) 4/11/2017 Installation (in a nutshell) FreeSWITCH / FreeTDM Install Sangoma T1/E1/BRI Download and install the Wanpipe Drivers Download and Install libsng_isdn Download and install FreeSWITCH libsng_isdn Wanpipe Drivers Sangoma Card © 2012 Sangoma Technologies 11/01/2012 8

4/11/2017 Configuration See sample comments at libs/freetdm/conf/freetdm.conf and libs/freetdm/conf/freetdm.conf.xml The non-XML configuration is read by the FreeTDM library to enumerate the Wanpipe spans and setup basic I/O options The XML configuration is read by mod_freetdm, the FreeSWITCH endpoint module to setup the ISDN signaling parameters © 2012 Sangoma Technologies 11/01/2012 9

4/11/2017 Configuration Simplest freetdm.conf (basic IO settings) looks like this: [span wanpipe wp1] trunk_type => T1 b-channel => 1:1-23 d-channel => 1:24 The syntax is for Wanpipe spans is: [span wanpipe <span-name>] b-channel => <span-number>:<channel-range> d-channel => <span-number>:<channel-range> © 2012 Sangoma Technologies 11/01/2012 10

Configuration Simplest freetdm.conf.xml (signaling) looks like this: 4/11/2017 Configuration Simplest freetdm.conf.xml (signaling) looks like this: <sangoma_pri_spans> <span name=“wp1”> <param name=“signalling” value=“cpe” /> <param name=“switchtype” value=“national” /> <param name=“dialplan” value=“XML” /> <param name=“context” value=“default” /> </span> </sangoma_pri_spans> © 2012 Sangoma Technologies 11/01/2012 11

Configuration Advanced settings are documented here: 4/11/2017 Configuration Advanced settings are documented here: http://wiki.sangoma.com/wanpipe-freeswitch-config-freetdm-isdn http://wiki.sangoma.com/FreeTDM-Sangoma-ISDN-Library-Configuration-Files © 2012 Sangoma Technologies 11/01/2012 12

Troubleshooting Follow the bottom – top approach 4/11/2017 Troubleshooting Follow the bottom – top approach Layer 1, Physical layer (T1/E1/BRI) Layer 2, D-channel reliability (Q.921) Layer 3, Call Control (Q.931) © 2012 Sangoma Technologies 11/01/2012 13

Physical Layer Troubleshooting 4/11/2017 Physical Layer Troubleshooting Check the physical layer status: #> wanrouter status Confirm that the relevant ports are in Connected state © 2012 Sangoma Technologies 11/01/2012 14

Are the ports in “Disconnected” state? 4/11/2017 Are the ports in “Disconnected” state? Make sure you are plugging the cable in the right port Use wanpipemon to blink the port leds to identify them wanpipemon –i w1g1 –c dled_blink –timeout 20 You may be using the wrong type of cable or a faulty cable: Use a cable tester to verify the cable works Straight-through cable http://wiki.sangoma.com/Cablepinouts#t1_rj45 T1/E1 cross-over cable http://wiki.sangoma.com/Cablepinouts#t1_e1_cross Telco may have not enabled/provisioned the line yet Contact the telco to verify that the line is provisioned © 2012 Sangoma Technologies 11/01/2012 15

Verify there are no alarms 4/11/2017 Verify there are no alarms #> wanpipemon –i w1g1 –c Ta Confirm that all alarms are OFF Confirm that performance monitoring counters are not incrementing rapidly Confirm that Rx Level > -2.5 dB © 2012 Sangoma Technologies 11/01/2012 16

Troubleshooting alarms 4/11/2017 Troubleshooting alarms Defective cable Loose RJ-45 connectors Incorrect line coding and/or line framing configuration Both sides configured as the master clock © 2012 Sangoma Technologies 11/01/2012 17

Layer 2, D-channel reliability (Q.921) 4/11/2017 Layer 2, D-channel reliability (Q.921) Use FreeTDM CLI to verify signaling on all spans: fscli> ftdm sangoma_isdn show_spans Confirm that: Physical status is OK Signalling status is UP © 2012 Sangoma Technologies 11/01/2012 18

Layer 2, D-channel reliability (Q.921) 4/11/2017 Layer 2, D-channel reliability (Q.921) If physical status is Alarmed Go back to troubleshoot the physical layer If signalling status is DOWN Enable Q.921 debug tracing fscli> ftdm sangoma_isdn trace q921 <span_name> If you see only outgoing SABME’s and no response from the remote switch, then this line is not provisioned, you should contact your telco If you see FRMR frames (Frame Reject), then bothlines are configured as either PRI-NET or PRI-CPE © 2012 Sangoma Technologies 11/01/2012 19

Layer 3, Call Control (Q.931) Enable Q.931 tracing 4/11/2017 Layer 3, Call Control (Q.931) Enable Q.931 tracing fscli> ftdm sangoma_isdn trace q931 <span_name> Q.931 message example: © 2012 Sangoma Technologies 11/01/2012 20

Q.931 message flow for a call 4/11/2017 Q.931 message flow for a call © 2012 Sangoma Technologies 11/01/2012 21

Troubleshooting Inbound Calls 4/11/2017 Troubleshooting Inbound Calls If you did not see any incoming SETUP message from the Q.931 traces, then you are dialing the wrong number or the telco is not routing your DID to this PRI link If an incoming SETUP was received but FreeSWITCH responded with a RELEASE or DISCONNECT message, then this is a problem with your dialplan, confirm that there is valid routing rules for the context configured for this PRI link © 2012 Sangoma Technologies 11/01/2012 22

Troubleshooting Outbound Calls 4/11/2017 Troubleshooting Outbound Calls If you did not see any outgoing SETUP message from the Q.931 traces, then you may not be dialing on the correct span/group (no bridge(freetdm/… was executed), check your dialplan If an outgoing SETUP message was transmitted on the line but the remote side did not respond with any message you should contact your telco If an outgoing SETUP message was transmitted on the line but the remote side rejected the call with a DISCONNECT or RELEASE message, look at the cause code for a possible reason: http://networking.ringofsaturn.com/Routers/isdncausecodes.php http://wiki.freeswitch.org/wiki/Hangup_causes © 2012 Sangoma Technologies 11/01/2012 23

4/11/2017 THANK YOU © 2011 Sangoma Confidential 11/01/2012