Introduction to Asterisk

Similar documents
Introduction to Asterisk

Mediatrix 3000 with Asterisk June 22, 2011

Providing VoIP Services with Asterisk (The Open Source PBX)

Peer-to-Peer SIP Mode with FXS and FXO Gateways

Micronet VoIP Solution with Asterisk

Ryan Brown October 9, 2004 The Burgh Live, LLC. Voice over IP using Asterisk (*)

Overview of Asterisk (*) Jeff Gunther

AT&T SIP Trunk Compatibility Testing for Asterisk

Unicorn60x0 IP ANALOG GATEWAY ASTERISK CONFIGURATION

Asterisk. Michael Kershaw

Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment

Asterisk & ENUM. Extending the Open Source PBX. Michael Haberler, IPA Otmar Lendl, nic.at

Setup the Asterisk server with the Internet Gate

Setup Guide: on the MyNetFone Service. Revision History

Asterisk: The Open Source PBX Solution Adam Olson Systems and network administrators typically deal with

Basic configuration of the GXW410x with Asterisk

Applications between Asotel VoIP and Asterisk

Internet Telephony PBX System

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

VoIP for Business. A discussion of issues relating to deploying Asterisk based VoIP systems in a business setting

Connecting Your Enterprise With Asterisk: IAX to Carriers. Dayton Turner Voxter Communications

Design of PSTN - VoIP Gateway for rural environments

IP Telephony with Asterisk. Sunday A. Folayan

IP Telephony Deployment Models

You da M.A.N. Voice, over IP, over stuff

Device SIP Trunking Administrator Manual

VoIP and POTS Integration with Asterisk

VOIP, Linux, and Asterisk Making Beautiful Voice Together

Configuration Notes 290

Asterisk: A Non-Technical Overview

CVOICE Exam Topics Cisco Voice over IP Exam # /14/2005

VoIP-PSTN Interoperability by Asterisk and SS7 Signalling

Open Source Telephony Projects as an Application Development Platform. Frederic Dickey Director Product Management

AudioCodes Mediant 1000 Configuration Guide

SIP Internet Telephony Gateway

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

Grandstream Networks, Inc. Asterisk PBX Configuration Guide GXP21xx IP Phone/GXP1450 IP Phone

NEWT Managed PBX A Secure VoIP Architecture Providing Carrier Grade Service

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

NodePhone Business Trunks User Manual

How-To Feature Guide. SIP Peering

LocaPhone VoIP PBX System

Allow Auto Answer by Call-Info: No Yes. Turn off speaker on remote disconnect: No Yes

Design of PSTN-VoIP Gateway with inbuilt PBX & SIP extensions for wireless medium

PBX Setup Basic setup procedures

City of Sacramento VoIP Deployment Project. Presentation to State of California IP Telephony Working Group

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

IIUC Implementing Cisco IOS Unified Communications (IIUC) Version: Demo. Page <<1/9>>

Quick Installation Guide

SARK500 Embedded VoIP/TDM PBX. Quick-start Installation Guide V3.1. SARK Version 3 Release 1 November 2010

NOC Workshop VoIP in the NOC labs SANOG10

Curso de Telefonía IP para el MTC. Sesión 1 Introducción. Mg. Antonio Ocampo Zúñiga

EarthLink Business SIP Trunking. Asterisk 11.2 IP PBX Customer Configuration Guide

Analog Telephone Adapter Network settings via Keypad commands:

The 21 st Century Business Telephone System. VOIP PBX Telephone System

Asterisk Business Edition TM Digium Partner Certification

Dramatically simplifying voice and data networking HOW-TO GUIDE. Setup VoIP & IP-PBX. edgebox version Document revision 1.1

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

VoIP Workshop PacNOG3

vs. A Cost Comparison Guide

Voice Rate Plans. A Call Path + Inbound Phone Number combination is commonly referred to as a Phone Line.

Xorcom IP-PBX Software Features

Crash Course in Asterisk

Internet Telephony Terminology

VoIP Survivor s s Guide

AT&T IP Flex Reach/ IP Toll Free Configuration Guide IC 3.0 with Interaction SIP Proxy

Application Notes Rev. 1.0 Last Updated: February 3, 2015

IP-PBX Quick Start Guide

Fax Capabilities of the MX System

Compatible devices. Analog Telephone Adaptors. Linksys PAP2. Cisco ATA 186/188. Sipura SPA Sipura SPA Sipura SPA-3000

The 3CXIPPBX Tutorial

This manual contains product information for the GSM Series cards. The manual is organized in the following manner:

The 21 st Century Business Telephone System. VOIP PBX Telephone System

intelligence at the edge of the network EdgeBOX V 4.5 VoIP How To

Digium Switchvox AA65 PBX Configuration

Cisco Unified Communications 500 Series

RingCentral Office. Configure Grandstream phones with RingCentral. To contact RingCentral, please visit or call

Quick Installation Guide

Figure The scenario

UCM6100 series Video Features

Application Notes Rev. 1.0 Last Updated: January 9, 2015

VDial Hosted Predictive Dialer and Call Center Suite

Manual. 3CX Phone System for Windows Version 8.0

Asterisk Fast Start. The Asterisk Fast Start course is a three-day course. The class will consist of a combination of lectures and lab exercises.

Practical Guide. How to setup VoIP Infrastructure using AsteriskNOW

Gateways and Their Roles

Selecting the Right SIP Phone for Your IP PBX By Gary Audin May 5, 2014

Test on IX130 Performance

IP Office SIP Extension Support

Using DUNDi with a Cluster of Asterisk Servers! General Description and Scope

Lab Introduction software Voice over IP

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Allworx 6x IP PBX

Application Notes for Configuring Wesley Clover Solutions Trading Platform with Avaya IP Office using SIP Trunks Issue 1.0

Running Asterisk in a Corporate Environment: a Beginner s Tale

Transcription:

Introduction to Asterisk Or: How to spend 2 months on the phone John Todd (jtodd@loligo.com) CTO, VOIP Inc. http://www.voipincorporated.com/ 2004-09-22 AsterCON, Atlanta GA USA

Agenda What is Asterisk? What is Asterisk NOT? What do you want to do? (goals, budget, user requirements) PBX Replacement Super-Brief Examples

What is Asterisk? a conversion gateway for... physical media (C-T1, PRI, FXO, FSX, IP) protocol (TDM,SIP,H.323,IAX,MGCP,SCCP) codec (G.729,G.711,GSM,ILBC,G.726, etc.) an IVR/user interface application server a lot more (conferencing, recording, etc.)

What is Asterisk? (cont d) open-source (GPL + exceptions) blessed (cursed?) with an extremely active user community easily extended with Perl/C/Python/etc. or apps written (typically C) flexible enough to do almost any telecommunications task (blessing/curse again)

What is Asterisk not? not a SIP proxy (subtle, yet important) not a billing system not an OSS (Operational Support System) not a natively database-driven system not an email tool or USENET browser (yet) not easily configured without command-line interaction

PBX Replacement! Primary stated goal is to be a *NIX based PBX replacement Multiple desksets, multiple inbound line support (hundreds or thousands) Features are comparable to or better than most PBX systems (even VoIP-enabled ones); some assembly required

What do you need to run Asterisk? Ugly answer: That depends. Easy answer: Dedicated P4 2.0ghz with good IRQ support and 1 X100P card (from Digium at around $110) Linux (RH 9.0, Debian are good choices; *BSD support is there, but shaky) Low-jitter, low-loss bandwidth to SIP endpoints (desktops and/or upstreams)

How big? MORE ugly answers: That depends. If the server is just a SIP redirector, then you can scale quite large (tens of thousands?) Figure 8:1 to 10:1 ratio for offhook users Word of the day: Erlangs Rule of thumb for g.729 transcoding: 2x Xeon 3ghz = 100 users

Typical VoIP Installation Cost Points Server for Asterisk (plus backup, if you re sane) - $??? T1 PRI card for Asterisk (~$500) SIP devices for desktop users (ranges widely - figure $120 per user to be safe, for analog lines) Termination agreement with carrier(s) - ranges widely - figure $.025 for US traffic, worst-case (prices drop radically with volume)

CPE Analog adapters (VOIP Inc., Sipura, Cisco, Grandstream, etc.) Typically between $80 and $120 (2 port) Digital Handsets (Cisco, Polycom, Snom, Pingtel, Grandstream) Typically around $300 (YGWYPF)

Why are you changing, anyway? Implement based on price, expand based on features. Long Distance will soon become a commodity (i.e.: invisible) but features of the system will always be visible to users Integration of telephony into other business systems is gradual and subtle; start with something that is open so you can expand as you need.

What new stuff are you providing? FEATURES! Don t get hung up on building just a replacement service. Implement phone++ services which are easily implemented with Asterisk (given time, patience, and Perl) Sample of services: phone spam blocking, inbound call redirection based on CLID, time-of-day routing, IM integration of VM notices, VM-to-email, busy line redirection, multi-number custom ringers

What do they see? Remember: the visibility of the customer is very limited. They see: Deskset (equipment) and features Call Quality/Call completion Price (if they re the CFO)

Non-PBX * Use Extremely low bandwidth call relay (PRI-to-PRI via VoIP) via 802.11b or long-haul WAN Dating services/voicemail services Text-to-speech service (Nagios, weather, etc.) Call centers (inbound or outbound) Calling cards

Startup Notes or: how to really annoy your [spouse/co-workers] Recommended setup for beginners: PIII 700mhz or faster machine X100P card (Digium ~$110) 2 SIP devices (Sipura, Cisco ATA-186, Cisco 79[60, 40, 05, 12]) - $100-$300 Test on your own line or home first, then expose to the office

How it goes together: Channels SIP Zap (etc.) Context: from-sip Extension: 1234 Priority: 1 Context: from-zap Extension: (none) Priority: 1 Context: from-blah Extension: 8989 Priority: 1 (to extensions.conf)

sip.conf [2000] type=friend host=dynamic context=from-sip secret=mysecret [2001] type=friend host=dynamic context=from-sip secret=moresecret

extensions.conf (calls from SIP channel configs end up here) ; This is where we handle our SIP calls [from-sip] exten => 1234,1,Answer exten => 1234,2,Playback(tt-monkeys) exten => 1234,3,Hangup ; exten => _20XX,1,Dial(SIP/${EXTEN},30,r) exten => _20XX,2,Goto(from-sip,${EXTEN},102) exten => _20XX,102,Voicemail(b${EXTEN}) exten => _20XX,103,Hangup ; exten => t,1,hangup exten => h,1,hangup

Most-Used Applications Dial - tries to make a new call, and then connects current channel with new call if successful Goto - allows arbitrary leaps between contexts and priorities; allows modification of current extension Background - plays a file to current channel; interprets DTMF input

Magic with Include Contexts are NOT parsed in the order they appear Break up large contexts into smaller contexts and then use include => <context> in the main context This helps your sanity, as well.

Wrong [main] exten => _X11,1,Dial(Zap/1/${EXTEN},500,r) exten => _9.,1,Dial(SIP/${EXTEN}@mysipprovider,60,r) exten => _011.,1,Dial(SIP/${EXTEN:3}@int-sip,60,r) exten => h,1,hangup

Right [main] include => emergency include => outside-line include => international exten => h,1,hangup [emergency] exten => _X11,1,Dial(Zap/1/${EXTEN},500,r) [outside-line] exten => _9.,1,Dial(SIP/${EXTEN}@mysipprovider,60,r) [international] exten => _011.,1,Dial(SIP/${EXTEN:3}@int-sip,60,r)

Links http://www.asterisk.org/ http://www.voip-info/wiki-asterisk http://www.loligo.com/asterisk/ http://www.onlamp.com/pub/a/onlamp/2003/ 07/03/asterisk.html http://www.digium.com/ http://www.asteriskdocs.org/

Unabashed Plug Slide VOIP, Inc. Builds/Sells: MTA SIP hardware (2 port FXS) and various other devices Sells/Integrates: SIP proxy, billing/invoicing system, LCR system, customer care system, etc. (yes, asterisk is a part) http://www.voipincorporated.com/