Asterisk and SS7 Performance Tests



Similar documents
VoIP-PSTN Interoperability by Asterisk and SS7 Signalling

Asterisk SS7 Installation

USING THE SGCP INTERACTIVE CONTROL PANEL FOR IP TELEPHONY TESTING

VoIP-Enabling A Class 4/5 Switch Network Integrated Media Gateway 1010 Chris Lengyel

1. Public Switched Telephone Networks vs. Internet Protocol Networks

Softswitch & Asterisk Billing System

Implementing a Voice Over Internet (Voip) Telephony using SIP. Final Project report Presented by: Md. Manzoor Murshed

Asterisk: A Non-Technical Overview

Asterisk Calling Card & Billing System

Internet Telephony Terminology

Benefits. Around-the-clock data collection and CDR warehousing ensures data is there when needed

Contents. Specialty Answering Service. All rights reserved.

for SS7 VoIP Gateways

SIP Trunking Configuration with

IP Implementation in Private Branch Exchanges From 9:30 a.m until 4:30 p.m (7 hrs./day) 5 days / week

Gateways and Their Roles

Contents Introduction Why Fax over IP? How Real-time Fax over IP works Implementation with MessagePlus/Open Summary. About this document

Configuration Guide for connecting the Eircom Advantage 4800/1500/1200 PBXs to the Eircom SIP Voice platform.

Cost Effective Tapping and Call Recording using the Sangoma T116. April 2013

Leveraging Asterisk to Deliver Large Scale VoIP Services in a Carrier Environment. JR Richardson

VOIP Security Essentials. Jeff Waldron

Dialogic DSI SS7LDH4 Network Interface Board

Internet Protocol (IP)/Intelligent Network (IN) Integration

Qfiniti Enterprise and VoIP for Avaya. Qfiniti Enterprise and VoIP. An etalk Technical White Paper

Access Mediation: Preserving Network Security and Integrity

Tutorial on Signaling System 7 (SS7) Performance Technologies

Troubleshooting Voice Over IP with WireShark

Chapter 2 PSTN and VoIP Services Context

Three Network Technologies

2- Technical Training (9 weeks) 3- Applied Project (3 weeks) 4- On Job Training (OJT) (4 weeks)

Integrate VoIP with your existing network

Using Asterisk with Odin s OTX Boards

Introduction. Channel Associated Signaling (CAS) Common Channel Signaling (CCS) Still widely deployed today Considered as old technology

VoIP Survivor s s Guide

Failsafe WAN, VoIP, IVRS & LAN connectivity

NGN Interconnection Standards & Protocols

Mobile Application Part protocol implementation in OPNET

Telephone Charging System

VOICE OVER IP AND NETWORK CONVERGENCE

Functional Specifications Document

VoIP Conformance Labs

Introduction to SS7 Signaling This tutorial provides an overview of Signaling System No. 7 (SS7) network architecture and protocols

SIP-ing? Pipeline Articles

Lab Testing Summary Report

VoIP in the Enterprise

Chapter 10 VoIP for the Non-All-IP Mobile Networks

Update in Methodology of SIP Performance Testing and its Application

VoIP Network Status in Portuguese R&E

Setup Guide: on the MyNetFone Service. Revision History

How To Set Up An Ip Trunk For A Business

Application Notes. Introduction. Contents. Managing IP Centrex & Hosted PBX Services. Series. VoIP Performance Management. Overview.

[Asterisk IP Telephony Solutions]

3rd Annual i3forum Conference

Advanced LCR (Least Cost Router) With SIP Proxy Server

White Paper. Open Source Telephony: The Evolving Role of Hardware as a Key Enabler of Open Source Telephony in the Business Market.

ETSI TR V1.1.2 ( )

Voice Over Internet Protocol (VoIP) Issues and Challenges William McCrum

2 Voice over IP Network

10 Key Things Your VoIP Firewall Should Do. When voice joins applications and data on your network

White paper. Reliable and Scalable TETRA networks

Overview of Asterisk (*) Jeff Gunther

Introducing Cisco Voice and Unified Communications Administration Volume 1

This topic describes dial peers and their applications.

SIP Trunking with Microsoft Office Communication Server 2007 R2

STUDY PAPER on IP PABX. (IP based PRIVATE AUTOMATIC BRANCH EXCHANGE) Table of Contents. 1. Introduction History & Evolution of PABX...

SIP-Based Solutions in the Contact Center: Using Dialogic Media Gateways with the Genesys Voice Platform

Mobile Wireless Overview

2N VoiceBlue Next. 2N VoiceBlue Next & Siemens HiPath (series 3000) connected via SIP trunk. Quick guide. Version 1.00

Analysis and Simulation of VoIP LAN vs. WAN WLAN vs. WWAN

ETSI TR V8.0.0 ( )

SIP Registration Stress Test

Signaling System 7 (SS7) Gateway Solution for Internet Access

Mida TerraFaxPro. Overview. Why Deploy a Fax Server

Setup Reference guide

PARAMETERS TO BE MONITORED IN THE PROCESS OF OPERATION WHEN IMPLEMENTING NGN TECHNICAL MEANS IN PUBLIC TELECOMMUNICATION NETWORKS

Cost Effective Tapping and Call Recording using the Sangoma T116 Card. November 2013

Building the NGN Switch (with Asterisk) David Zimmer, CEO and Founder

and Voice Applications Eyal Wirsansky, Verso Technologies JaxJUG

VoIP Trunking with Session Border Controllers

GHEM Secure Access Control

EarthLink Business SIP Trunking. Switchvox SMB 5.5 & Adtran SIP Proxy Implementation Guide

Online course syllabus. MAB: Voice over IP

Allstream Converged IP Telephony

Mediatrix 3000 with Asterisk June 22, 2011

Solution Architecture

Interoperability of open-source VoIP and multi-agent systems

Analysis of Call scenario in NGN network

BLACK BOX. The Changing Communications Market. PBX Systems for Voice over IP (VoIP)

NTS Testing Labs Voice over IP (VoIP) Product Test Lab Compatibility & Functionality Test Outline

How to Configure the Allworx 6x, 24x and 48x for use with Integra Telecom SIP Solutions

IBM WebSphere Application Server Communications Enabled Applications

EarthLink Business SIP Trunking. NEC SV8300 IP PBX Customer Configuration Guide

SIP : Session Initiation Protocol

Enhanced Enterprise SIP Communication Solutions

ETM System SIP Trunk Support Technical Discussion

SS7 ISUP and Converged Networks

Transcription:

Asterisk and SS7 Performance Tests Jan Rudinský CESNET z.s.p.o., Zikova 4, Praha, Czech Republic (Technical Report is under oponent review) rudinsky@cesnet.cz 6. 11. 2007 At Cesnet z.s.p.o. we have installed and configured Asterisk PBX with Signalling System #7 (SS7) support. This document describes tests to verify a functionality of two SS7 implementations for Asterisk PBX. The tests include interoperability with PSTN switch, signalling procedures verification and load performance tests using SS7 protocol analyzer/simulator.. Keywords: Asterisk, SS7, chan_ss7, libss7, performance testing 1. Introduction PSTN, the world's circuit-switched network, has employed Signalling System #7 as its protocol suite for international and national interconnection during past decades. VoIP networks however have developed different signalling protocols suitable for IP environment. Gateways interconnecting VoIP and PSTN networks are usually proprietary and expensive solutions. Today an open source software is able to perform this function. As an example we have decided to test open source PBX Asterisk and two open source implementations of SS7, the SS7 channel driver and SS7 library. Asterisk is an open source software private branch exchange (PBX). It has a large functionality representing traditional PBX system with voice mail, interactive voice response system (IVR), automatic call distributor and signalling or media gateway functions. Asterisk can interface both traditional TDM based systems (PSTN or PLMN networks) as well as packet based systems (VoIP networks). In our project we have focused on the PSTN interconnection. We tested the link between Asterisk PBX and other telecommunication equipment using SS7.

2. Asterisk and SS7 installation and configuration We have downloaded Asterisk source code from developers web page and installed the application on Linux operating system. SS7 implementations for Asterisk are available in several variants. We have focused on open the source software. Chosen representatives were SS7 channel driver (chan_ss7) and SS7 library (libss7). Asterisk SS7 channel driver (chan_ss7) is an open source software developed by Danish company SIFIRA A/S. It has been released under GPL license (General Public License) and it is not officially certified for SS7 interoperability. Functionality of the solution includes implementations of MTP2 layer, bare essentials of MTP3 and a large subset of ISUP functions. SS7 library is the latest implementation of native SS7 support for Asterisk. It was released by Asterisk developers in summer 2006. Libss7 functionality covers the ITU variant of SS7 implementing MTP2, MTP3, and ISUP protocols. A complete process of installation and configuration of Asterisk PBX and installation and configuration of SS7 variants for Asterisk (chan_ss7 and libss7) is described in Cesnet Technical Report Asterisk and SS7 [1]. 3. Asterisk and SS7 tests 3.A. Interconnection tests First we run interconnection tests to verify basic call control functionality. As a result of cooperation between Cesnet z.s.p.o. and CTU-Ericsson-Vodafone R&D Centre (RDC) we have interconnected PSTN switch with Asterisk PBX using SS7. The PSTN exchange was Ericsson AXE platform. Physical layer of the connection was represented by one trunk (E1 interface) terminated at Digium PCI card on Asterisk server. Trunk configuration composed of 32 time slots with following structure: time slot 0 - synchronization time slot 16 - signalling channel (with CRC-4) remaining 30 time slots - voice channels. Upper layers of SS7 including MTP 2, MTP 3 and ISUP were implemented by chan_ss7 and libss7 solutions. This functionality was automatically loaded and SS7 link initialized when Asterisk started. After Asterisk startup and SS7 link initialization we exchanged calls in both directions over the E1 interface. Incoming calls from PSTN (PLMN) were either routed to VoIP terminals or terminated in IVR. Calls from VoIP clients via Asterisk were routed to PLMN exchange and terminated on mobile

phones. All test calls were successful. 3.B. Conformance tests Next step was to perform conformance tests according to ITU recommendations Q.784 and Q.785. In cooperation with Sitronics TS we have interconnected Tektronix K1297 protocol tester and Asterisk SS7 using E1 interface. We have configured the conformance test suite on the protocol tester and started the tests. We found out that the protocol tester insisted on voice channel initialization (group reset) done by the remote side before every single test (though SS7 link was inservice already). Unfortunatelly none of the SS7 implementations (chan_ss7, libss7) supported this feature. Therefore we couldn't complete the conformance tests. 3.C. Performance tests Final and most extensive part of SS7 implementation testing were performance tests. We ran performance tests of Asterisk with SS7 support to test the ability of load processing and unexpected situations handling. Tests were carried out in cooperation with Sunrise Telecom (STT) and HKE who kindly provided us with STT Multi-service Analyzer (MSA). STT-MSA can operate either as a protocol analyzer or as a signalling node simulator. STT- MSA protocol analyzer was used to monitor signalling message exchange and signalling procedures verification in the first part of the tests. SST-MSA simulator was later used as a call generator and call data record (CDR) collector to perform load performance tests. 3.C.1 Signalling procedures monitoring We have analyzed signalling message exchange during SS7 link initialization. Figure 1 represents MTP and ISUP message exchange observed when SS7 link was brought into service. The signalling node with point code 806 represents Asterisk (with chan_ss7 or libss7) and 2001 is the point code of protocol tester.

Fig. 1. SS7 link establishment (chan_ss7 and libss7) The signalling procedures include messages such as SLTM and SLTA messages that test the signalling link. STLM carries a code sequence that has to be identical to the sequence received by STLA message from the adjacent node. TRA (Traffic Restart Allowed) indicates the end of routing information exchange on MTP layer and CBD (changeback declaration) confirms particular signalling link as a current signalling channel. Main difference between these signalling procedures is that only libss7 exchange GRS/GRA group reset messages to initialize voice channels, while chan_ss7 does not. Verification of other signalling procedures such as call setup and tear down are desribed in following paragraphs.

3.C.2 Chan_ss7 performance test We have used the STT-MSA capability of a call generator. The tester has offered around ten thousands of call requests during a period of about twelve minutes. The signalling procedure of a typical successful call is on figure 2. Fig. 2. Performance tests - typical test call Call is initiated by ISUP Initial Address Message (IAM) which is acknowledged by Address Complete Message (ACM) sent by remote side. Call answer is signalled by Answer Message (ANM) sent back to initiator. After random period of time the call is released by exchange of Release (REL) and Release Complete (RLC) messages. All behaviour corresponds with ITU recommendations. Following graphs display the total amount of requested calls in testing period (on the left) and the average number of concurrent calls being actively exchanged between PSTN and Asterisk (on the right). Fig. 3. Requested calls in time, average number of served calls

All calls have been successfully established during the test. We encountered only one difference from standard procedure were Asterisk sent a REL message few miliseconds before tester REL. Although this call was successfully closed by RLC message. 3.C.3 Libss7 performance test The duration of libss7 performance test was also approximately twelwe minutes and the number of requested calls reached ten thousands. Asterisk with libss7 had problems with serving the offered calls at initial phase of test. Signalling message exchange differed from the standard. Asterisk often sent REL message, although it is the protocol tester that initiated the call and that would normally clear the call. And though the release cause in Asterisk messages stated normal call clearing more probable cause can be lack of resources for processing the call. A serious problem has occurred in about one third of the test. Asterisk has stopped serving the calls. Repeated tests confirmed this behavior. The final situation was that Asterisk system process still ran on the server and administrator could log into the system console. However no commands on Asterisk command line interface could be executed and system did not respond. It was necessary to restart the application. Total amount of requested calls in time (on the left) and the average number of concurrent calls actively served by Asterisk (on the right) is displayed on following graphs. The problems in the intial phase and later the processing outage is clearly visible on Figure 4. Fig. 4. Requested calls in time, average number of served calls 3.C.4 Non-existent CIC tests To proof unexpected situations handling we have ran non-existent circuit identification code (CIC) tests. We simulated signalling messages that had been assigned to non-existent voice channels (using non-

existent CIC) using the protocol tester. The messages were sent to Asterisk under test. In case of libss7 the Asterisk has reported incorrect message on the command line interface and received message was ignored. Figure 5 shows CDR for IAM message assigned to CIC 32 (out-of-range) and REL message sent after response timeout. Fig. 6. Unconfigured CIC test (libss7) Chan_ss7 has also detected incorrect message content in the test. However REL message was sent to a non-existent signalling point with point code 0 and the signalling link is subsequently tested by SLTM/SLTA messages. Chan_ss7 is not prepared to handle such situations. Finally the requested call is cancelled by REL message sent by protocol tester. The message exchange is displayed on figure 6. Fig. 6. Unconfigured CIC test (chan_ss7)

4. Conclusions Asterisk already supports several variants of Signalling System #7 implementations. We have decided to test two open source solutions SS7 channel driver (chan_ss7) and SS7 library (libss7). Initialy we have tested the functionality of both solutions by interconnecting Asterisk PBX servers with with public PSTN exchange. We have exchanged calls from PSTN (PLMN) to IVR and to VoIP terminals. In opposite direction calls from VoIP clients via Asterisk were routed to PLMN exchange and terminated on mobile phones. All test calls were successful. Both SS7 channel driver and SS7 library processed most of MTP and ISUP messages and they proved to be capable of interoperability with PLMN Ericsson AXE exchange. In the next step we have started ITU conformance tests to fully analyze SS7 solutions capabilities. We interconnected Tektronix K1297 protocol tester and Asterisk SS7. We found out that the protocol tester insists on voice channel initialization (group reset) to be done by the remote side. Unfortunatelly none of the SS7 implementations (chan_ss7, libss7) supported the feature. Therefore we couldn't complete the conformance tests. Finally we ran performance tests of Asterisk with SS7 support to test the ability of load processing and unexpected situations handling. STT-MSA protocol analyzer was used to monitor the signalling message exchange. All calls have been successfully established during chan_ss7 test. We encountered only one difference from standard procedure were Asterisk sent a REL message few miliseconds before tester REL. Although this call was successfully closed by RLC message. Asterisk with libss7 had problems with serving the offered load. Signalling message exchange differed from the standard, where Asterisk often sent REL message although it is the protocol tester would normally clear the call. And though the release cause in Asterisk messages stated normal call clearing more probable cause can be lack of resources for processing the call. In the second part we used SST-MSA as call generator and call data record (CDR) collector. The performance tests proved SS7 channel driver stability and ability to process offered load. Whereas SS7 library failed to pass the performance test. A serious problem occurred in about one third of the test. Asterisk has stopped serving the calls. It was necessary to restart the application. To proof unexpected situations handling we ran non-existent circuit identification code (CIC) tests. In case of libss7 Asterisk has reported incorrect message reception and the message was ignored. While tests for unconfigured circuit identification codes of SS7 channel driver proved its inability to handle these messages. From the previous can be seen, that SS7 channel driver can be used as a operational SS7 solution for Asterisk PBX with some minor drawbacks in message handling. However SS7 library cannot be recommended for interconnection with SS7 nodes because of its inability to process offered load after certain period of time.

Abbreviations PSTN Public Switched Telephone Network PLMN Public Land Mobile Network CDR Call Detail Record CIC Circuit Identification Code ISUP Integrated Services User-part Protocol MTP Message Transfer Part of SS7 protocol stack SS7 Signalling System #7 ITU International Telecommunications Union References and Links 1. Rudinský J., Vozňák M., Růžička J., "Asterisk and SS7", Cesnet Technical Report, 12/2006 http://www.cesnet.cz/doc/techzpravy/2006/asterisk-ss7/ 2. Tomáš Wija, David Zukal and Miroslav Vozňák, Asterisk a jeho použití, CESNET Technical reports, December 2005, http://www.cesnet.cz/doc/techzpravy/2005/voip/asterisk.pdf 3. T. Russell, Signalling System #7, McGraw-Hill (2002), ISBN 0-07-138772-2 4. The Official Asterisk Community Page http://asterisk.org/ 5. SIFIRA A/S home page http://www.sifira.dk/chan-ss7/ 6. Libss7 Release Report http://www.venturevoip.com/news.php?rssid=1404