Asterisk und Mediagateways



Similar documents
How To Set Up A Cell Phone On A Sim Sim Sims (For A Sims) On A Network With A Simsim On A 2Gb Sims (For An Ipro) On

TEMPLATE CONFIGURAZIONE PATTON SDTA PER 2 NUMERI VOIP

TEMPLATE CONFIGURAZIONE PATTON 4634 PER 2 NUMERI VOIP

Mediatrix 4404 Step by Step Configuration Guide June 22, 2011

Microsoft Lync Server 2013 with Patton SmartNode PSTN Gateway

VoIP Gateway Routers. SmartNode 4634 and 4638 Series. Quick Start Guide

ThinkTel ITSP with Registration Setup Quick Start Guide

nexvortex Setup Guide

Upgrade-Preisliste. Upgrade Price List

Mediatrix 3000 with Asterisk June 22, 2011

SmartWare Encrypted File Download HowTo

Visocall IP PBX Connection

IAC-BOX Network Integration. IAC-BOX Network Integration IACBOX.COM. Version English

Device Interface IP Address Subnet Mask Default Gateway

Realisierung einer VoIP Lösung mit Mitel

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

Figure The scenario

THINKTEL COMMUNICATIONS DIGIUM G100/G200 PRI OVER IP SIP TRUNKING

SIP Server Installation (Mayah example)

BroadCloud Adtran Total Access Quick Start Guide

Quick Installation Guide

BroadSoft Partner Configuration Guide

VoIP Gateway Routers. SmartNode Model 1200, 1400 & Quick Start Guide

SIP Trunking Service Configuration Guide for Skype

How to Configure an Initial Installation of the VMware ESXi Hypervisor

SIP Trunking Service Configuration Guide for Time Warner Cable Business Class

Integrating a Hitachi IP5000 Wireless IP Phone

THINKTEL COMMUNICATIONS CUDATEL PHONE SYSTEM 270. High Availability and SIP-TRUNK Configuration

nexvortex Setup Template

SIP Trunking Service Configuration Guide for Broadvox Fusion

NetVanta 7100 Exercise Service Provider SIP Trunk

Allo PRI Gateway and Elastix Server

Installation and setup guide V 1.0

VoIP Network Configuration Guide

REMOTE ACCESS DDNS CONFIGURATION MANUAL

VoIP Gateway Routers. SmartNode 4520 and 4110 Series. Quick Start Guide

Application Note. LifeSize Video Communications System and ShoreTel IP Phone System

SIP Trunking Service Configuration Guide for MegaPath

Cisco Configuration Professional Workshop

ThinkTel SIP Trunks on UCP & emg80-p2

Configuring the Synapse SB67070 SIP Gateway from AT&T for Clearfly SIP Trunking. January 2013

ADTRAN SBC and Cisco Unified Call Manager SIP Trunk Interoperability

A: The default WAN IP address is with subnet mask

FortiVoice. Version 7.00 VoIP Configuration Guide

This techno knowledge paper can help you if: You need to setup a WAN connection between a Patton Router and a NetGuardian.

Citrix NetScaler Best Practices. Claudio Mascaro Senior Systems Engineer BCD-Sintrag AG

SIP Trunking Service Configuration Guide for PAETEC (Broadsoft Platform)

Quick DDNS Quick Start Guide

Quick DDNS Quick Start Guide

Digium Switchvox AA65 PBX Configuration

3CX PBX v12.5. SIP Trunking using the Optimum Business Sip Trunk Adaptor and the 3CX PBX v12.5

1Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Microsoft Lync Server 2010 with Patton SmartNode PSTN Gateway

Skills Assessment Student Training Exam

Lab Advanced Telnet Operations

Installation of the On Site Server (OSS)

Configuration Notes 283

Setup Reference guide

Optimum Business SIP Trunk Set-up Guide

TALKSWITCH VOIP NETWORK TROUBLESHOOTING GUIDE

GSatTrack. Fleet Broadband Tracker. User Manual April 2011 GSE. Global Satellite Engineering. : gsat.us

Understand SIP trunk and registration in DWG gateway Version: 1.0 Dinstar Technologies Co., Ltd. Date:

SIP Trunk Configuration Guide. using

How To Set Up Ops Cser.Com (Pros) For A Pc Or Mac) With A Microsoft Powerbook (Proos) (Prosecco) (Powerbook) (Pros) And Powerbook.Com/

SIP Trunking using Optimum Business SIP Trunk Adaptor and ShoreTel IP PBX Phone System

Mediatrix Gateway 440x Series Quick Configuration Guide

To ensure you successfully install Timico VoIP for Business you must follow the steps in sequence:

Cisco Unified Communications 500 Series

optipoint 410/420 S General configuration instructions for VoIP suppliers

Using the NetVanta 7100 Series

NetVanta 7060/7100 Configuration Checklist

BRI to PRI Connection Using Data Over Voice

Web Authentication Application Note

Epygi Technologies How to Configure Alphatech Cityline IP DP device on the Quadro IP PBX

D-LINK DPH-140S SIP PHONE INSTALLATION GUIDE

CyberData VoIP V2 Speaker with VoIP Clock Kit Configuration Guide for OmniPCX Enterprise

Lab Review of Basic Router Configuration with RIP. Objective. Background / Preparation. General Configuration Tips

Savvius Insight Initial Configuration

Cisco 7940 How To. (c) Bicom Systems

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

Comtrend 1 Port Router Installation Guide CT-5072T

Dramatically simplifying voice and data networking HOW-TO GUIDE. Bundle Quick Start Guide

SIP Trunking using Optimum Business Sip Trunk Adaptor and the Zultys MX250 IP PBX

Motorola TEAM WS M Configuring Asterisk PBX Integration

How to add a SIP server How to register a handset

Opera Wireless Mobilty

UX5000 with CommPartners SIP Trunks

Background 1 Table 1 Software & Firmware Versions Tested 1 Figure 1 Integra s Universal Access (UA) IP PBX Test Configuration 1

UCM61xx Configuration

ADTRAN SBC and Avaya IP Office PBX SIP Trunk Interoperability

ASTi Voisus Server Quick Start Guide Document: DOC-05-VS-QSG-1

Opera 240 System DECT Integration. with Gigaset N720 IP PRO Base Station. and Gigaset N720 DM PRO Manager. Installation and User Guide

How To Configure A Vyatta As A Ds Internet Connection Router/Gateway With A Web Server On A Dspv.Net (Dspv) On A Network With A D

Connecting to the Firewall Services Module and Managing the Configuration

Lab Configuring DHCP with SDM and the Cisco IOS CLI

How to Build a Simple Virtual Office PBX System Using TekSIP and TekIVR

repositor.io Simple Repository Management Jürgen Brunk München, 03/2015

Talkswitch. SIP Trunking using the Optimum Business SIP Trunk Adaptor and the Talkswitch 848 VS IP PBX Version

Vdex-40: Zoiper Quick Setup

VOIP NETWORK CONFIGURATION GUIDE RELEASE 6.10

Transcription:

Asterisk und Mediagateways Amoocon 2009 Sven Neukirchner s.neukirchner@nicos-epler-keller.de

Was ist ein Mediagateway? Ein Mediagateway wandelt digitale Sprach-, Audio- oder Bildinformationen, von einem Netzwerktyp in einen anderen um. IP ISDN Signalisierung SIP D-Channel Mediendaten RTP B-Channel

Vorteile Keine ISDN Treiberinstallation am Asterisk in Update von Asterisk zwingt nicht mehr zum Neuinstallieren der ISDN Channeltreiber Entlastung für Asterisk Hardware, da keine Medianumwandlung Höhere Flexibilität durch gemeinsame Gateway Nutzung Redundanz / Clustering

Anwendungsbeispiel MSN 771100 771101 771102 PTMP N T N T PTP 6699 0-49 N T N T TeDeWe TA 33 USB ASTERISK Intern S0 a/b BRI 0/0 BRI 0/1 BRI 0/2 Eth 0/1 BRI 0/3 SmartNode SN4638 BRI 0/4 LAN 192.168.255.170 192.168.255.160 FAX 669940 SIP 10 (771100) SIP 20 (669920) SIP 30 (669930)

Blockbild

Smartnode 4638 im Auslieferungszustand IP Router CS Switch bri 0 0 bri 0 1 bri 0 2 bri 0 3 bri 0 4 eth 0 0 eth 0 1

Virtuelle LAN Schnittstelle erstellen und an eth 0/1 binden IP Router CS Switch IF_IP_LAN bri 0 0 bri 0 1 bri 0 2 bri 0 3 bri 0 4 eth 0 0 eth 0 1 telnet 192.168.1.1 login: administrator password: 192.168.1.1.>enable 192.168.1.1#configure 192.168.1.1(cfg)#administrator administrator password geheim 192.168.1.1.(cfg)#system hostname SN4638 SN4638(cfg)#context ip router SN4638(ctx-ip)[router]#interface IF_IP_LAN SN4638(if-ip)[IF_IP_L~]#ipadress 192.168.255.170. 255.255.255.0 SN4638(if-ip)[IF_IP_L~]#exit SN4638(ctx-ip)[router]#no dhcp-server SN4638(ctx-ip)[router]#exit SN4638(cfg)#dns-client server 192.168.255.160 SN4638(cfg)#port ethernet 0 1 SN4638(prt-eth)[0/1]#bind interface IF_IP_LAN

ISDN Schnittstellen erstellen und an BRI Ports binden IP Router CS Switch IF_IP_LAN IF_TE_00 IF_NT_01 IF_TE_02 IF_TE_03 IF_TE_04 bri 0 0 bri 0 1 bri 0 2 bri 0 3 bri 0 4 eth 0 0 eth 0 1 SN4638(cfg)#context cs SN4638(ctx-cs)[switch]#interface isdn IF_TE_00 SN4638(if-isdn)[IF_TE_00]#interface isdn IF_NT_01 SN4638(if-isdn)[IF_NT_01]#interface isdn_if_te_02 SN4638(if-isdn)[IF_NT_01]#interface isdn IF_TE_02 SN4638(if-isdn)[IF_TE_02]#interface isdn IF_TE_03 SN4638(if-isdn)[IF_TE_03]#interface isdn IF_TE_04

SN4638(if-isdn)[IF_TE_04]#port bri 0 0 SN4638(prt-bri)[0/0]#no shutdown SN4638(prt-bri)[0/0]#clock auto SN4638(prt-bri)[0/0]#q921 SN4638(q921)[0/0]#protocol pmp SN4638(q921)[0/0]#q931 SN4638(q931)[0/0]#uni-side user SN4638(q931)[0/0]#encapsulation cc-isdn SN4638(q931)[0/0]#bind interface IF_TE_00 SN4638(q931)[0/0]#port bri 0 1 SN4638(prt-bri)[0/1]#no shutdown SN4638(prt-bri)[0/1]#clock auto SN4638(prt-bri)[0/1]#power-feed SN4638(prt-bri)[0/1]#q921 SN4638(q921)[0/1]#protocol pmp SN4638(q921)[0/1]#q931 SN4638(q931)[0/1]#uni-side net SN4638(q931)[0/1]#encapsulation cc-isdn SN4638(q931)[0/1]#bind interface IF_NT_01 SN4638(q931)[0/1]#port bri 0 2 SN4638(prt-bri)[0/2]#no shutdown SN4638(prt-bri)[0/2]#clock auto SN4638(prt-bri)[0/2]#q921 SN4638(q921)[0/2]#protocol pp SN4638(q921)[0/2]#q931 SN4638(q931)[0/2]#uni-side user SN4638(q931)[0/2]#encapsulation cc-isdn SN4638(q931)[0/2]#bind interface IF_TE_02 SN4638(q931)[0/2]#port bri 0 3 SN4638(prt-bri)[0/3]#no shutdown SN4638(prt-bri)[0/3]#clock auto SN4638(prt-bri)[0/3]#q921 SN4638(q921)[0/3]#protocol pp SN4638(q921)[0/3]#q931 SN4638(q931)[0/3]#uni-side user SN4638(q931)[0/3]#encapsulation cc-isdn SN4638(q931)[0/3]#bind interface IF_TE_03 SN4638(q931)[0/3]#port bri 0 4 SN4638(prt-bri)[0/4]#no shutdown SN4638(prt-bri)[0/4]#clock auto SN4638(prt-bri)[0/4]#q921 SN4638(q921)[0/4]#protocol pp SN4638(q921)[0/4]#q931 SN4638(q931)[0/4]#uni-side user SN4638(q931)[0/4]#encapsulation cc-isdn SN4638(q931)[0/4]#bind interface IF_TE_04

SIP Gateway und Gateway Interface erstellen IF_GW_LAN GW_ASTERISK IP Router CS Switch IF_IP_LAN IF_TE_00 IF_NT_01 IF_TE_02 IF_TE_03 IF_TE_04 bri 0 0 bri 0 1 bri 0 2 bri 0 3 bri 0 4 eth 0 0 eth 0 1 SN4638(cfg)#context sip-gateway GW_ASTERISK SN4638(sip-gw)[GW_ASTE~]#no shutdown SN4638(sip-gw)[GW_ASTE~]#interface IF_GW_LAN SN4638(sip-if)[IF_GW_L~]#bind interface IF_IP_LAN port 5060

SIP Interface erstellen und an SIP Gateway binden IF_GW_LAN GW_ASTERISK IF_SIP_ASTERISK IP Router CS Switch IF_IP_LAN IF_TE_00 IF_NT_01 IF_TE_02 IF_TE_03 IF_TE_04 bri 0 0 bri 0 1 bri 0 2 bri 0 3 bri 0 4 eth 0 0 eth 0 1 SN4638(sip-if)[IF_GW_L~]#context cs SN4638(ctx-cs)[switch]#interface sip IF_SIP_ASTERISK SN4638(if-sip)[IF_SIP_~]#bind context sip-gateway GW_ASTERISK SN4638(if-sip)[IF_SIP_~]#remote 192.168.255.160 5060

Asterisk anbinden sip.conf [gw_patton] type = friend host = 192.168.255.170 port = 5060 context = from_gw_patton IP Router IF_GW_LAN GW_ASTERISK IF_SIP_ASTERISK CS Switch ASTERISK 192.168.255.160 IF_IP_LAN bri 0 0 bri 0 1 bri 0 2 bri 0 3 bri 0 4 eth 0 0 eth 0 1

Einfaches Routen zu einem Interface CS IF_TE_00 bri 0 0 IF_NT_01 bri 0 1 IF_SIP_ASTERISK IF_TE_02 IF_TE_03 bri 0 2 bri 0 4 IF_TE_04 bri 0 3 SN4638(if-sip)[IF_SIP_~]#context cs SN4638(ctx-cs)[switch]#interface isdn IF_TE_00 SN4638(if-isdn)[IF_TE]#route call dest-interface IF_SIP_ASTERISK

Routing über eine Routingtabelle CS FAX 669940 IF_TE_00 IF_NT_01 bri 0 0 bri 0 1 S o IF_SIP_ASTERISK 669940 6699.% IF_TE_02 IF_TE_03 bri 0 2 bri 0 4 Routing Table RT_FROM_PSTN IF_TE_04 bri 0 3 SN4638(if-isdn)[IF_TE]#context cs SN4638(ctx-cs)[switch]#routing-table called-e164 RT_FROM_PSTN SN4638(rt-tab)[RT_FROM~]#route 669940 dest-interface IF_NT_01 SN4638(rt-tab)[RT_FROM~]#route 6699.% dest-interface IF_SIP_ASTERISK SN4638(rt-tab)[RT_FROM~]#interface isdn IF_TE_02 SN4638(if-isdn)[IF_TE_02]#route call dest-table RT_FROM_PSTN SN4638(if-isdn)[IF_TE_02]#interface isdn IF_TE_03 SN4638(if-isdn)[IF_TE_03]#route call dest-table RT_FROM_PSTN SN4638(if-isdn)[IF_TE_03]#interface isdn IF_TE_04 SN4638(if-isdn)[IF_TE_04]#route call dest-table RT_FROM_PSTN

Routing über Hunting Gruppe CS IF_TE_00 bri 0 0 IF_NT_01 bri 0 1 IF_SIP_ASTERISK IF_TE_02 IF_TE_03 bri 0 2 bri 0 4 SER_HUNT_PSTN IF_TE_04 bri 0 3 SN4638(cfg)#context cs SN4638(ctx-cs)[switch]#service hunt-group SER_HUNT_PSTN SN4638(svc-hunt)[SER_HUN~]#cyclic SN4638(svc-hunt)[SER_HUN~]#timeout 6 SN4638(svc-hunt)[SER_HUN~]#route call dest-interface IF_TE_02 SN4638(svc-hunt)[SER_HUN~]#route call dest-interface IF_TE_03 SN4638(svc-hunt)[SER_HUN~]#route call dest-interface IF_TE_04 SN4638(svc-hunt)[SER_HUN~]#interface sip IF_SIP_ASTERISK SN4638(if-sip)[IF_SIP_~]#route call dest-service SER_HUNT_PSTN

Routing über Hunting Gruppe für FAX CS FAX 669940 IF_TE_00 bri 0 0 IF_NT_01 bri 0 1 IF_SIP_ASTERISK IF_TE_02 IF_TE_03 bri 0 2 bri 0 4 SER_HUNT_PSTN IF_TE_04 bri 0 3 SN4638(if-sip)[IF_SIP_~]#context cs SN4638(ctx-cs)[switch]#interface isdn IF_NT_01 SN4638(if-isdn)[IF_NT_01]#route call dest-service SER_HUNT_PSTN

Routing über Routing Tabelle und Hunting Gruppe Mr. Monk (10) CS IF_TE_00 bri 0 0 IF_NT_01 bri 0 1 IF_SIP_ASTERISK Routing Table RT_CALLING_NAME IF_TE_02 IF_TE_03 bri 0 2 bri 0 4 Service Gruppe SER_HUNT_PSTN IF_TE_04 bri 0 3 SN4638(if-isdn)[IF_NT_01]#context cs SN4638(ctx-cs)[switch]#routing-table calling-name RT_CALLING_NAME SN4638(rt-tab)[RT_CALL~]#route "Mr. Monk" dest-interface IF_TE_00 SN4638(rt-tab)[RT_CALL~]#route default dest-service SER_HUNT_PSTN SN4638(rt-tab)[RT_CALL~]#interface sip IF_SIP_ASTERISK SN4638(if-sip)[IF_SIP_~]#route call dest-table RT_CALLING_NAME Konfiguration speichern und neu starten SN4638(if-sip)[IF_SIP_~]#copy running-config startup-config SN4638(if-sip)[IF_SIP_~]#reload Press 'yes' to restart, 'no' to cancel : yes The system is going down

Anwendungsbeispiel MSN 771100 771101 771102 PTMP N T N T PTP 6699 0-49 N T N T TeDeWe TA 33 USB ASTERISK Intern S0 a/b BRI 0/0 BRI 0/1 BRI 0/2 Eth 0/1 BRI 0/3 SmartNode SN4638 BRI 0/4 LAN 192.168.255.170 192.168.255.160 FAX 669940 SIP 10 (771100) SIP 20 (669920) SIP 30 (669930)

Asterisk und Registrierung am Smartnode ohne Authentifizierung IF_GW_LAN GW_ASTERISK ASTERISK IP Router IF_IP_LAN Location Service SER_ASTERISK eth 0 1 register => asterisk@192.168.255.170 location-service SER_ASTERISK domain 192.168.255.170 identity asterisk registration inbound context sip-gateway GW_ASTERISK bind location-service SER_ASTERISK SN4638(cfg)#location-service SER_ASTERISK SN4638(ls)[SER_AST~]#domain 192.168.255.170 SN4638(ls)[SER_AST~]#identity asterisk SN4638(identity)[asterisk]#registration inbound SN4638(regin)#context sip-gateway GW_ASTERISK SN4638(sip-gw)[GW_ASTE~]#bind location-service SER_ASTERISK

Asterisk und Registrierung am Smartnode mit Authentifizierung IF_GW_LAN GW_ASTERISK Authentication Service AUTH_ASTERISK ASTERISK IP Router IF_IP_LAN Location Service SER_ASTERISK eth 0 1 authentication-service AUTH_ASTERISK realm 192.168.255.170 username asterisk password geheim register => asterisk:geheim@192.168.255.170 location-service SER_ASTERISK identity asterisk authentication inbound authenticate authentication-service AUTH_ASTERISK username asterisk SN4638(cfg)#authentication-service AUTH_ASTERISK SN4638(ls)[AUTH_AS~]#realm 192.168.255.170 SN4638(ls)[AUTH_AS~]#username asterisk password geheim SN4638(ls)[AUTH_AS~]#location-service SER_ASTERISK SN4638(ls)[SER_AST~]#identity asterisk SN4638(identity)[asterisk]#authentication inbound SN4638(authin)#authenticate authentication-service AUTH_ASTERISK username asterisk

Vielen Dank! Infos und Download: www.nicos-epler-keller.de www.asterisk-kompakt.de www.patton-inalp.com Kontakt: Sven Neukirchner NICOS Epler Keller GbR Wilhelm Franke Straße 9 06618 Naumburg Tel.: +49 3445 71320 s.neukirchner@nicos-epler-keller.de