Developing Higher Density Solutions with Dialogic Host Media Processing Software



Similar documents
Application Note. Configuring Dialogic Host Media Processing Software Release 3.0 for Windows Software Licenses

Application Note. Configuring Dialogic Host Media Processing Software Release 3.1LIN Software Licenses

Application Note. Using a Dialogic Media Gateway Series as a PSTN Gateway with an Asterisk IP-PBX Server

Choosing a Dialogic Product Option for Creating a PSTN-HMP Interface

High Availability and Load Balancing for Basic Dialogic PowerMedia Extended Media Server (XMS) Configurations Using the Linux Virtual Server

Application Note. Using Ethereal to Debug SIP and RTP on Dialogic Voice over IP (VoIP) Products

Paving the Way to Next Generation Media and Signaling VoIP Gateways

Dialogic Vision VG Media Gateway

Application Note. Receiving Analog In-Band CPID with the Dialogic 1000 Media Gateway Series

Dialogic PowerMedia Web Media Server

Dialogic Diva SIPcontrol Software

Dialogic PowerMedia Media Resource Broker (MRB)

Using Dialogic Boards to Enhance Voice Mail/Messaging Applications. Application Note

Enhanced Diagnostics Improve Performance, Configurability, and Usability

Dialogic PowerApp LB. Datasheet. Load Balancer for Real-Time Communications

Using DNS SRV to Provide High Availability Scenarios

Application Note. Using Dialogic Boards to Enhance Interactive Voice Response Applications

Application Note Multiple SIParator Distribution

Estimating Trunk Channel Requirements for VoIP Gateways in Unified Communications Deployments

Video Conferencing Demo Application for Dialogic Multimedia Products

Dialogic 4000 Media Gateway Series

Dialogic 4000 Media Gateway Series

Application Note. Introduction to Monitoring Use Cases Using Dialogic DSI SS7HD Network Interface Boards

V.34 Fax - Making Improved Performance and Cost Savings Possible

DNS SRV Usage June 22, 2011

How Does Fax over IP Work?

Intel NetStructure Host Media Processing Software Release 1.0 for the Windows * Operating System

Safe and Secure Faxing with Dialogic Brooktrout Fax Boards

This document is intended to provide details on installation and configuration of the DNS.

Introduction to Cloud Computing

Identikey Server Performance and Deployment Guide 3.1

Network Management Systems Today

SIP Trunking: Enabling Wideband Audio for the Enterprise

Benchmarking the OpenCloud SIP Application Server on Intel -Based Modular Communications Platforms

SIP A Technology Deep Dive

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with T38Fax.com SIP Trunking Service. Installation and Configuration Integration Note

Session Initiation Protocol (SIP) The Emerging System in IP Telephony

Building Conferencing Applications Using Intel NetStructure Host Media Processing Software

Configuration Notes 0215

The Video-Enabled Contact Center

Dialogic 1000 Media Gateway Series

How To Make A Secure Ip Based Service Available To A Network (Ip) From A Cell Phone Or Ip) From An Ip Device (Ipv) Or Ipv (Ips) From The Cell Phone (Ipa) Or From A P

Media Gateway Controller RTP

Optional VBP-E at the Headquarters Location

A Comparative Study of Signalling Protocols Used In VoIP

Dialogic Global Call API

Bandwidth Optimization Solutions: Building Cost-Effective Backup Protection Networks. Application Note

How To Support An Ip Trunking Service

VoIP Media Gateway Reference Platform

Dialogic Brooktrout SR140 Fax Software with Broadvox GO! SIP Trunking Service

Integrating Voice over IP services in IPv4 and IPv6 networks

Dialogic PowerMedia Extended Media Server

Deploying SIP Phones into Unified Communications Solutions with the Dialogic Media Gateway Series

VoIP. Overview. Jakob Aleksander Libak Introduction Pros and cons Protocols Services Conclusion

An Introduction to VoIP Protocols

Dialogic BorderNet Virtualized Session Border Controller (SBC)

NTP VoIP Platform: A SIP VoIP Platform and Its Services

Contact Center Outsourcing: Lessons from the Enterprise. White Paper

DEPLOYMENT GUIDE Version 1.2. Deploying the BIG-IP LTM for SIP Traffic Management

(Refer Slide Time: 6:17)

LifeSize Transit Deployment Guide June 2011

VoIP Conferencing. The latest in IP technologies deliver the next level of service innovation for better meetings. Global Collaboration Services

Quick Setup Guide. Integration of Aastra MX-ONE / Aastra 700 and Microsoft Lync Server 2010

SIP: Protocol Overview

Multi-Tech FaxFinder IP

SIP : Session Initiation Protocol

Oracle Communications WebRTC Session Controller: Basic Admin. Student Guide

Server Scalability and High Availability

Dialogic Conferencing API

High Availability Server Clustering Solutions

Telephony Fundamentals

NAT TCP SIP ALG Support

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with Alcatel OmniPCX Office. Installation and Configuration Integration Note

Cisco Application Networking Manager Version 2.0

Contents. Specialty Answering Service. All rights reserved.

Overcoming Security Challenges to Virtualize Internet-facing Applications

HUAWEI OceanStor Load Balancing Technical White Paper. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

Dialogic PowerMedia Extended Media Server

Intel Ethernet Switch Load Balancing System Design Using Advanced Features in Intel Ethernet Switch Family

The Intel NetStructure SIU520 Signaling Interface

Unified Communications in RealPresence Access Director System Environments

StarLeaf Connectivity Services. Deployment Guide

1.1.3 Versions Verified SIP Carrier status as of 18 Sep 2014 : validated on CIC 4.0 SU6.

z/os V1R11 Communications Server system management and monitoring

Main characteristics. System

Application Note. IP Call Logging Using Dialogic HMP Software and a Passive IP Tap

SIP Trunking with Microsoft Office Communication Server 2007 R2

Chapter 10 Session Initiation Protocol. Prof. Yuh-Shyan Chen Department of Computer Science and Information Engineering National Taipei University

Intel Cloud Builder Guide: Cloud Design and Deployment on Intel Platforms

The Benefits of Migrating Fax Communications to Converged IP Networks

Technical Bulletin 5844

Load Balancing for Microsoft Office Communication Server 2007 Release 2

Dialogic System Release 6.0 PCI for Windows

The Cross-Media Contact Center

IP Office Avaya Radvision Interoperation Notes

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

LifeSize UVC Multipoint Deployment Guide

Basic Vulnerability Issues for SIP Security

Two-Stage Forking for SIP-based VoIP Services

Transcription:

Telecom Dialogic HMP Media Server Developing Higher Density Solutions with Dialogic Host Media Processing Software A Strategy for Load Balancing and Fault Handling

Developing Higher Density Solutions with Dialogic Host Media Processing Software Executive Summary Combining the SIP proxy and DNS-SRV load balancing and fault handling techniques provides a cost-effective way to develop higher density solutions using Dialogic Host Media Processing (HMP) software. This application note describes the two techniques, explains how to combine them, and provides a test configuration for a solution using the combined techniques and Dialogic HMP software.

Developing Higher Density Solutions with Dialogic Host Media Processing Software Application Note Table of Contents Introduction... 2 Load Balancing and Fault Handling Techniques... 2 Session Protocol... 2 DNS-SRV-Based... 2 Combining Techniques... 3 SIP and DNS-SRV-Based Solution... 3 Call Flow... 3 Test Configuration... 4 Routing Logic... 5 DNS Configuration... 7 Summary... 7 Acronyms... 7 For More Information... 7 1

Developing Higher Density Solutions with Dialogic Host Media Processing Software Introduction High-density IP-based media servers are in demand to provide multimedia services for a growing user base in both the service provider and enterprise market segments. Dialogic HMP software is a key media server building block for enabling rich multimedia applications that can be easily deployed in IP networks. Dialogic HMP software runs on standard Dialogic Architecture-based platforms with either a rack mount or bladed form factor and supports a fixed density of multimedia resources per platform. To develop a higher density system, a cluster or server farm approach can be used in which multiple servers appear externally as a single server. Distributed architectures also enable an environment where multiple media servers each cater to a specific application such as conferencing, IVR, or speech. The SIP proxy server can engage with the appropriate media server when a specific function is desired. For example, an incoming call for a conference can first be serviced by an IVR, which plays an announcement and collects necessary information from the caller such as conference bridge number and passcode. Once this information is authenticated, the IVR server notifies the SIP server to redirect the call to a conferencing server, which can be a completely separate, dedicated media server. This technique allows a robust and flexible architecture that can achieve high densities and high availability. This document details a distributed architecture using AdvancedTCA single board computers running Dialogic HMP software to provide multimedia functions. Load Balancing and Fault Handling Techniques Several techniques can be employed for load balancing and fault handling. For media server scenarios that use IP signaling protocols such as SIP or H.323, the signaling traffic must be load balanced and distributed among multiple servers. These servers perform various media server tasks, such as playing an announcement, interacting with a caller using an IVR application, or processing speech. Some of these techniques are discussed briefly in this section. Session Protocol IP call control signaling using SIP or H.323 can establish media sessions between callers or endpoints and the media server. Other protocols such as MGCP, H.248, or Megaco may be used to control media streams between media servers and media gateways, but only SIP and H.323 will be discussed here. Load balancing can be achieved when an application implements the functionality of a Gatekeeper in H.323 and a Proxy in SIP. The application intercepts the incoming H.323 or SIP messages, diverts them to appropriate worker-servers that do the processing needed, and modifies the messages so that proper routing takes place. A proprietary interface may be used to communicate with individual worker-servers, keep track of resource usage, and maintain a live or heartbeat status to help the application perform efficient load balancing. Other mechanisms that can be used to communicate between these servers include: SNMP RFC 1157 SIP INFO requests RADIUS heartbeat The comparison between H.323 and SIP in Table 1 shows why SIP is the protocol of choice for developing a load balancer. H.323 SIP Complex protocol with Simple, easy-to-use protocol sub-protocols Uses binary messages Uses text messages Has elaborate message set Uses fewer messages Difficult to debug Simple to debug because it is text-based Table 1. Comparison of H.323 and SIP Protocols DNS-SRV-Based Domain Name Service (DNS) is an integral part of any network, and network administrators are familiar with DNS A records. These records associate the name of a particular device (usually a PC) with the IP address of the network adapter for that computer. For example, every computer in a domain is given a name that does not change; however, the IP address of that computer may change. To ensure that the computers in a domain can communicate with each other, they must use their individual computer names instead of specific IP addresses. In SIP communications using DNS-SRV records (RFC282), the name of a service is associated with the IP address of devices that provide those services. Typically, the records point to the IP addresses of SIP proxies that forward the SIP requests appropriately to various SIP endpoints. The syntax for DNS-SRV records is: Service.Proto.Name TTL Class SRV Priority Weight Port Target 2

Developing Higher Density Solutions with Dialogic Host Media Processing Software Table 2 provides an explanation of the various arguments in the syntax. Argument Service Proto Name TTL Class SRV Explanation Symbolic name of requested service (Example: SIP) Most useful values are TCP and UDP Domain to which the record refers Standard DNS term (optional) Standard DNS term (optional) Standard DNS syntax token Priority Priority of target host. A client must attempt to contact the target host with the lowest priority number it can reach; target hosts with the same priority should be tried in an order defined by the weight field (see below). Range is 0-65535. Weight Load-balancing mechanism. When several target hosts have the same priority, a weight value signals the precedence that the host described in the record should have. Range is 1-65535. Domain administrators should use Weight 0 when no load balancing is required. Port Port of the service on the target host. Range is 0-65535. Target Domain name of target host Table 2. DNS-SRV Record Syntax Here is a sample record in which TTL and Class have been omitted: _sip._tcp.dialogic.com SRV 10 1 5060 serv1.dialogic.com In this example, the service name is _sip._tcp.dialogic.com, the priority is 10, the weight is 1, the port is 5060, and the target is serv1.dialogic.com. Combining Techniques Session-protocol load balancing uses an algorithm such as round robin or weighted, depending on the particular implementation. When SIP is used, SIP requests are forwarded to the media servers based on one of these algorithms. Although no specific drawbacks have been associated with this technique, additional processing is required to implement the load balancing algorithm. If DNS-SRV-based load balancing is used, load balancing tasks move from the SIP server to the DNS, which is a standard part of any network. The SIP server is only required to support DNS SRV, and such support is already a requirement of the SIP standard RFC3261 for implementing redundancy and fault handling. Information about RFC3261 can be found at http://www.ietf.org/. By combining session-protocol and DNS-SRV load balancing, the DNS can provide load balancing and redundancy for the Proxy or Gatekeeper, which can then provide more configurable and flexible load balancing and fault handling options to the media servers. A combined SIP proxy and DNS-SRV technique is discussed in this paper. When these two protocols are combined, the result is a robust load-balancing and fault-handling solution that can be used for building high-density SIP-based media server applications. SIP and DNS-SRV-Based Solution When the SIP proxy and DNS-SRV techniques are combined for fault handling, multiple servers are assigned for a domain and the DNS refers to them. When the primary server is down or not reachable, the DNS-SRV records can be used to access information about backup servers, and requests for service can be sent to any of these backup servers. Backup servers may be located in different geographic locations to minimize downtime caused by operational problems or natural disasters. Use of the backup servers is transparent to the client. To achieve high availability, multiple DNS-balanced proxy servers can be used with multiple media servers having SIP proxy load balancing. However, to simplify the solution discussed in this section for demonstration purposes, only a single server with the SIP proxy and DNS SRV is used. The solution uses the open source SIP Express Router (SER) as the load balancing SIP proxy. (For more information about SER, visit http://www.iptel.org/ser/.) SER is a high-performance, configurable SIP server that conforms to RFC3261, and it can act as SIP registrar, proxy, or redirect server. Call Flow Figure 1 shows a typical call flow among a SIP user agent, the load balancer, and a media server running Dialogic HMP software. 3

Developing Higher Density Solutions with Dialogic Host Media Processing Software SIP User Agent UA Figure 1. Call Flow 1 INVITE 4 100 Trying 6 100 Ringing 8 200 OK 9 ACK 11 BYE 14 200 OK Test Configuration SIP Load Balancer LB Media Session 2 INVITE Via LB, 3 100 Trying Via LB, 5 180 Ringing Via LB, 7 200 OK Via LB, 10 ACK Via LB, 12 BYE Via LB, 13 200 OK Via LB, HMP Media Server MS Figure 2 shows the test configuration for a load-balancing and fault-handling solution that can be used for building high-density SIP-based media server applications with Dialogic HMP software. The solution has been tested using AdvancedTCA single board computers in an AdvancedTCA chassis. Table 3 (on page 5) provides details about the test configuration in Figure 2. Routing Logic Routing logic has been modified from the default. Figure 3 shows the original routing logic and Figure 4 shows the modified routing logic. Route() { # forward to current uri now; use stateful forwarding; # that works reliably even if we forward from TCP to UDP if (!t_relay()) Figure 3. Default Routing Logic Route() { # forward to current uri now; use stateful forwarding; # setup a failure route t_on_failure("1"); t_relay(); } failure_route[1] { lookup("location"); Figure 4. Modified Routing Logic A failure route has been added. Location Database 2. Lookup(hmp-ms) 3. Rsp(s2@dialogiclab.net) HMP-MS1 (SIP App) 6a. INVITE sip:s2@hmp-ms1.dialogiclab.net (DNS SRV Load Distribution) (SIP Bulk Call Generator) SER (SIP Proxy) SER (SIP Proxy) HMP-MS2 (SIP App) 1. INVITE sip:hmp-ms@dialogiclab.net 6a. INVITE sip:s2@hmp-ms2.dialogiclab.net (DNS SRV Load Distribution) 4. SRV Lookup(dialogiclab.net) 5a. Rsp (hmp-ms1. dialogiclab.net) 5b. Rsp (hmp-ms2. dialogiclab.net) DNS (SRV Records Lookup) HMP-MS (SIP App) 6c. INVITE sip:s2@failure.dialogiclab.net (Failure Route) Figure 2. Test Configuration 4 Server 1 Server 2 Server 3, 4, 5

Developing Higher Density Solutions with Dialogic Host Media Processing Software Application Note Feature SBC OS Server 1 Server 2 Server 3, 4, 5 HMP SW Description Dialogic MPCBL0001N04 single board computer features a dual low voltage 2.2 GHz Intel Xeon processor and 1 GB RAM, 512 MB L2 cache, and 40GB HDD Red Hat Enterprise Linux (AS 3.0) Update 1 with 2.6.8.1 kernel Hosts the SIP bulk call generator SIPp, an open source test tool and traffic generator for the SIP protocol. For more information, visit http://sipp.sourceforge.net/. Hosts the SIP proxy SIP Express Router (SER). It also hosts the DNS server and the location database. Hosts the SIP Media server application running Dialogic HMP software. The application terminates an incoming SIP call and plays an announcement for five seconds. Dialogic HMP Software Release 1.2 for Linux supports up to 240 G.711 media streams Table 3. Test Configuration Details DNS Configuration The DNS entry must be modified if the calls for dialogiclab.net are to be distributed between hmpms1.dialogiclab.net and hmp-ms2.dialogiclab.net. The DNS entry for dialogiclab.net requires the following new A and SRV records: Hmp-ms1 3600 IN A 10.10.10.136 Hmp-ms2 3600 IN A 10.10.10.155 _sip._udp.dialogiclab.net. 3600 IN SRV 0 1 5060 Hmp-ms1. dialogiclab.net. _sip._udp.dialogiclab.net. 3600 IN SRV 0 1 5060 Hmp-ms2. dialogiclab.net. Figure 5. Modified DNS Entry Summary A load balancing and fault handling approach that includes both the session protocol and DNS-SRV techniques can enable a high availability architecture using redundant SIP proxies, which alleviates the need to have redundant media servers and reduces costs. Since calls are spread across multiple servers, they are less likely to be lost or dropped due to hardware failures in a single server. A call can easily be redirected from a failed server to an active server. Combining the SIP proxy with DNS-SRV techniques is an ideal way to develop higher density solutions using Dialogic HMP software. Acronyms AdvancedTCA DNS-SRV HMP IP IVR MGCP SBC SER SIP TCP TTL UDP Advanced Telecom Computing Architecture Domain Name Service-Service Record Host Media Processing Internet Protocol Interactive Voice Response Media Gateway Control Protocol Single Board Computer SIP Express Router For More Information Session initiation Protocol Transmission Control Protocol Transistor-Transistor Logic User Datagram Protocol For more information about Dialogic Host Media Processing software, visit http://www.dialogic.com/products/ip_enabled/hmp_ software.htm 5

To learn more, visit our site on the World Wide Web at http://www.dialogic.com Dialogic Corporation 9800 Cavendish Blvd., 5th floor Montreal, Quebec CANADA H4M 2V9 INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH PRODUCTS OF DIALOGIC CORPORATION OR ITS SUBSIDIARIES ( DIALOGIC ). NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN A SIGNED AGREEMENT BETWEEN YOU AND DIALOGIC, DIALOGIC ASSUMES NO LIABILITY WHATSOEVER, AND DIALOGIC DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF DIALOGIC PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHT OF A THIRD PARTY. Dialogic products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in nuclear facility applications. Dialogic may make changes to specifications, product descriptions, and plans at any time, without notice. Dialogic is a registered trademark of Dialogic. Dialogic's trademarks may be used publicly only with permission from Dialogic. Such permission may only be granted by Dialogic s legal department at 9800 Cavendish Blvd., 5th Floor, Montreal, Quebec, Canada H4M 2V9. Any authorized use of Dialogic's trademarks will be subject to full respect of the trademark guidelines published by Dialogic from time to time and any use of Dialogic s trademarks requires proper acknowledgement. The names of actual companies and products mentioned herein are the trademarks of their respective owners. Dialogic encourages all users of its products to procure all necessary intellectual property licenses required to implement their concepts or applications, which licenses may vary from country to country. This document discusses SIP Express Router, which is an open source product. Dialogic is neither responsible for your decision to use SIP Express Router (or any other open source product) in connection with Dialogic products including without limitation those referred to herein, nor is Dialogic responsible for any present or future effects such usage might have, including without limitation effects on your products, business, or intellectual property rights. Performance tests and ratings are measured using specific computer systems and/or components and reflect the approximate performance of Dialogic products as measured by those tests. Any difference in system hardware or software design or configuration may affect actual performance. Copyright 2007 Dialogic Corporation All rights reserved. 05/07 9849-02 www.dialogic.com