Asterisk. http://www.asterisk.org. http://www.kismetwireless.net/presentations.shtml. Michael Kershaw <dragorn@kismetwireless.net>



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

Micronet VoIP Solution with Asterisk

Overview of Asterisk (*) Jeff Gunther

VOIP, Linux, and Asterisk Making Beautiful Voice Together

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

Mediatrix 3000 with Asterisk June 22, 2011

VOIP with Asterisk & Perl

Applications between Asotel VoIP and Asterisk

Guideline for SIP Trunk Setup

Basic configuration of the GXW410x with Asterisk

IP- PBX. Functionality Options

VoIP Workshop PacNOG3

Telephony with an Asterisk phone system

So, you need to deploy a Private Branch exchange

Using the GS8 Modular Gateway with Asterisk

Introduction p. 7 About This Book p. 1 Conventions Used in This Book p. 2 What You Don't Have to Read p. 2 Foolish Assumptions p. 2 How This Book Is

IP PBX SH-500N

VoIP and FreeBSD. The daemon meets the phone. May 15th, 2008 University of Ottawa,, Ottawa, Canada Massimiliano Stucchi

IP Telephony with Asterisk. Sunday A. Folayan

VoIP and POTS Integration with Asterisk

F REQUENTLY A SKED Q UESTION

Unicorn60x0 IP ANALOG GATEWAY ASTERISK CONFIGURATION

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

ICE 008 IP PBX. 1. Product Information New Mini PBX Features System Features

Xorcom CompletePBX Overview

X X X X X. Platinum Edition. Unlimited Extensions. Unlimited Auto Attendants. Unlimited Voic Boxes. ACD Features

IPPBX FAQ. For Firmware Version: V2.0/V

IP PBX. SD Card Slot. FXO Ports. PBX WAN port. FXO Ports LED, RED means online

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

Figure The scenario

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

Xorcom IP-PBX Software Features

Quick Provisioning Guide for Third-Party PBX

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

Setup Guide: on the MyNetFone Service. Revision History

Configuration Notes 290

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

Asterisk: A Non-Technical Overview

NodePhone Business Trunks User Manual

FOR COMPANIES THAT WANT TO EXPAND AND IMPROVE THEIR TELEPHONE SYSTEM

IPChitChat VoIP Service User Manual

Introduction to Asterisk

Internet Telephony Terminology

Crash Course in Asterisk

General Guidelines for SIP Trunking Installations

General Guidelines for SIP Trunking Installations

Quick Start Guide v1.0

Manual. ABTO Software

1) How do I setup my SIP trunk for inbound/outbound calling? We authenticate IP-PBX SIP Trunking traffic by:

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

spiderstar VoIP Interface Version 4.0 User manual

VOIP NETWORK CONFIGURATION GUIDE RELEASE 6.10

RT Series IP PBX Products Introduction. All in one telephone system

A guide to VoIP and Asterisk

FortiVoice. Version 7.00 VoIP Configuration Guide

With 360 Cloud VoIP, your company will benefit from more advanced features:

Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment

How to Configure the Cisco UC500 for use with Integra Telecom SIP Solutions

Small & Medium Office Business IP PBX UTT-500 series Quick Details

FortiVoice. Version 7.00 User Guide

Network Connection Considerations for Microsoft Response Point 1.0 Service Pack 2

Telco Depot IP-PBX Software Features

8335 Guilford Road Suite H Columbia MD

Chapter 1 - Introduction

Hosted Business Class VoIP Features

Avaya IP Office 8.1 Configuration Guide

The Telecom Terminal Solution

Exchanging Phonecalls Asterisk offers a low-budget

IP PBX using SIP. Voice over Internet Protocol

H.KHouyuan Technology Co.,Limited

Quick Installation Guide

Asterisk Voice Exchange: An Alternative to Conventional EPBX

Fig. Setting up of a VoIP call. Fig. Experimental setup

Internet Telephony PBX System

Introduction. What is DUNDi? Configuring Asterisk for use with DUNDi

Skype connect and Asterisk

Quick Installation Guide

Voice Call Addon for Ozeki NG SMS Gateway

MAXCS Release 7.0. Application Note: Remote MultiVoIP Gateway Configuration. Intended audience: AltiGen Authorized Partners

TELEPHONE MAN OF AMERICA. Earning Your Business Every Step of the Way!

Asterisk. the general purpose Open Source Telephony platform. a Advanced Scenarios. Klaus Peter Junghanns (kapejod) 2004 Junghanns.

Connecting with Vonage

Frequently Asked Questions about Integrated Access

Atcom MP01 and Elastix Server

Introduction to VOIP. Stephen Okay Abdus Salam Int l Center for Theoretical Physics Trieste, Italy, February 21, 2007

Configuration BCP Skype for Business

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

IP-PBX Quick Start Guide

Wildix Management System (WMS) White Paper

Configuring a Mediatrix 500 / 600 Enterprise SIP Trunk SBC June 28, 2011

Using Asterisk with Odin s OTX Boards

VoIP Buying Guide for Small Business

Cisco Small Business Unified Communications 300 Series

Device SIP Trunking Administrator Manual

VoIP from A to Z. NAEO 2009 Conference Cancun, Mexico

Internet Telephony PBX System

SIP Configuration Guide

ATA: An Analogue Telephone Adapter is used to connect a standard telephone to a high-speed modem to facilitate VoIP and/or calls over the Internet.

SIPSTATION User Guide. Schmooze Com Inc.

Secure, Multi-lateral Peering with Asterisk TM V November 2005

Transcription:

Asterisk * http://www.asterisk.org

What Asterisk Can Do Voice Over IP (VOIP) Physical phone switch (PBX) Software phone switch Answering machine Call trees (Press 1 to...)

VOIP Voice Over IP: Make telephone calls using the Internet. Cheap (real phone calls) or free (VOIP to VOIP) Commercial/Semi-Commercial services like Skype, Vonage. Like compressing a CD to MP3 files, the goal is to make the voice data as small as possible without losing quality. Software, hardware, and standard phone converters.

VOIP and Asterisk Asterisk supports several VOIP speech compression codecs. Will not work with commercial VOIP solutions like Vonage or Skype (different networks) Asterisk can route VOIP calls: Over the Internet to other Asterisk users Over the Internet to VOIP gateway providers Into the real phone network, if you have the right hardware

POTS And Asterisk POTS Plain Old Telephone System. Requires special hardware: FXS and FXO. FXS emulates the phone system. You can plug a normal phone into a FXS adapter. FXO emulates a phone device. You can plug a PC into the POTS network with a FXO adapter. High-end 'T' line interface hardware. Similar to FXO but can trunk dozens of lines over a T1 carrier.

Talking To Asterisk VOIP or real phone, you need a way to talk to Asterisk. Analog phone to VOIP adapters: Ethernet on one side, telephone jack on the other, lets you use any existing phone. Usually talk SIP protocol. FXS: Acts like a sound card in your Asterisk server, lets you use any existing phone. Hardware VOIP phone: Looks like a real phone, but talks SIP to Ethernet. Software VOIP phone: Run it on your computer.

Installing Asterisk Download Asterisk from http://www.asterisk.org/ or look in your distribution for a package. Extract the source, compile, and install the compiled code. Asterisk doesn't use the standard autoconfig tools, so a./configure is not needed. tar xvf asterisk 1.0.9.tar.gz make make install

Asterisk Configuration Files System configurations live in /etc/asterisk. There are a lot of them. The most important ones are: sip.conf: controls SIP VOIP users. iax.conf: controls IAX VOIP connections. extensions.conf: controls phone numbers and call trees, both incoming and outgoing calls. voicemail.conf: controls voice mail boxes, passwords, etc.

Configuring Asterisk For SIP Most VOIP stuff uses SIP (software phones, hardware adapters, etc) Needs a SIP configuration entry in sip.conf for each SIP device. SIP entry defines type, extension context, name, password, voicemail mailbox, and audio codecs allowed.

Example SIP User [dragorn grandstream] type=friend context=nycccp username=dragorn grandstream fromuser=dragorn grandstream secret=monkey callerid=dragorn <1020> host=dynamic nat=no canreinvite=yes dtmfmode=info mailbox=1020@default disallow=all allow=ulaw

Things To Know About SIP Extremely basic protocol. Stream of UDP packets containing voice data. CAN pass through NAT, but doesn't do so very well in all situations. Container around multiple audio codecs: ulaw, alaw, gsm, and more. Different codecs have different speech quality. Not all codecs can handle DTMF (touchtone).

SIP Devices Assorted software phones: kphone, linphone, mythphone, gnophone to name a few. Look on http://www.freshmeat.net Hardware phones: Budgetone is cheap & decent Standalone FXS to SIP adapters

Asterisk Extensions Configuration Very complex file, but important for operation. Boring part of the presentation, but controls all the neat things Asterisk can do. Config is divided into segments, aka calling domains. Each extension can perform multiple actions: Dialing another extension Playing background audio Dial single or multiple local phones Execute a call tree or macro

* Extensions: Outbound Dialing Wildcard extension matches outbound numbers (1-XXX-XXX-XXXX) Set our caller ID to 1-800-555-1212 (hah!) Direct it to the external provider via the IAX2 protocol (Asterisk to Asterisk protocol, supported by our example outbound dialing provider, and configured in iax.conf) exten => _1NXXNXXXXXX,1,SetCallerID(8005551212) exten => _1NXXNXXXXXX,2,Dial,IAX2/foo/${EXTEN}

* Extensions: Local Phones Define a macro which calls the SIP address of the specified phone, waits a maximum of 20 seconds, and then directs the call based on the status. Set an extension in our local phone domain and link it to the SIP phone. [macro sipexten] exten => s,1,dial(sip/${arg1},20) exten => s,2,goto(s ${DIALSTATUS},1) [nycccp phones] exten => 1020,1,Macro(sipexten,dragorn grandstream)

* Extensions: Calling Trees Include local phone domains. Set up background speech. Script the call tree and fall through to calling local users if nothing else is entered. [nycccp incoming] include => nycccp_phones include => nycccp vmdefaults exten => s,1,background(nycccp intro) exten => 2,1,Goto(nycccp departments,s,1) exten => 3,1,Goto(nycccp orginizations,s,1) exten => 4,1,Goto(nycccp people,s,1) exten => 11,1,Goto(nycccp toolkit,s,1) exten => 2,1,Dial(SIP/dragorn grandstream&sip/porkchop,10t)

* Extensions: CID Spoofing CID spoofing is trivial, depending on your VOIP outbound provider. Match #*# and set the CID to the first number. Your provider may get unhappy with you doing this a lot! exten => _1NXXNXXXXXX*NXXNXXXXXX,1, SetCallerID(${EXTEN: 10}) exten => _1NXXNXXXXXX*NXXNXXXXXX,2, Dial,IAX2/foo/${EXTEN:0:11}

Voicemail Builtin voicemail system. Per-extension mailbox and passwords. Incoming messages recorded as wav, mp3. Remotely checkable if you add the voicemail system to your dialable extensions. Email notification of new messages.

Voice Synthesis Asterisk can use realtime voice synthesis via Festival. Unfortunately, Festival sucks to compile and install the extra voices. Voice quality is passable but not great. Often better to record your own messages. Requires Festival daemon to be running.

IAX, Asterisk Protocol Two Asterisk installations can communicate directly with each other. Multiple phone switches in one location can share the load. Direct connections between your house and others via the Internet: Free calls to your friends! Some clients talk IAX directly (gnophone). More robust than SIP but less widespread.

Going From VOIP To World Free World Dialup provides Free (imagine that) numbers to reach other FWD members. http://www.freeworldialup.com VoipJet provides outbound connections to the real phone network at very cheap rates ($0.001/min inside the US and $0.03/min average international). http://voipjet.com Stanaphone provides NY inbound phone numbers. You don't have to use the same inbound and outbound providers. http://www.stanaphone.com

VoipJet Is Weird The first rule about VoipJet is you do not talk about VoipJet. In many ways they seem very sketchy. EULA prohibits talking about using them or disclosing that you use them. Service is still good and you can pay via PayPal. Weirdness is probably to avoid being taxed as a telecom provider.

Business-Level Asterisk T1 interface card. Use Asterisk as a real phone PBX to trunk multiple extensions to the T1 line. VOIP to the desk, or FXS to standard phones. Much cheaper to run than a commercial PBX system. Uses the ZapTel kernel modules to drive analog and digital phone interface cards. Never done it personally.

Tricks With Asterisk + POTS Using a FXO card, connects to your home telephone jack. Route incoming calls to a call tree. Amaze your friends, annoy the telemarketers. Route outgoing calls over phone or VOIP depending on area code to save money. Digital answering machine. MP3s of your incoming messages.

VOIP Legalisms Commercial VOIP providers are likely to be treated as telecom providers (= taxes!) FCC/Feds are planning to require VOIP providers make it wiretappable. (= spying!) 911 support becoming a major issue. How does the 911 system know where you are? None of this applies to you at home building your own, but they may apply to the providers you get inbound/outbound service from. Primarily targets Vonage, etc.

Stuff To Worry About If your only phone is VOIP (Asterisk or commercial), what happens if your power goes out or your Internet link goes down? VOIP is really too high bandwidth for dialup. Broadband of some sort is necessary. VOIP is sniffable. It's not legal, but that won't stop it. Your phone is also tappable. Take your pick.

VOIP Quality VOIP speech quality is directly affected by the available bandwidth. Stuttering and dropouts will happen if your line isn't fast enough. Packet shaping can help if your line is congested by uploads and downloads. If you use Linux for packet shaping, a PFIFO Queue is most appropriate: The short packet queue prevents VOIP data from backing up causing stuttering. Shaping scripts like WonderShaper can help automate this.

Asterisk Config Helpers http://www.freshmeat.net has links to many Asterisk frontends and utilities LiveCD distros and specific modified distro installs such as Xorcom Several PHP configuration and billing frontends http://www.asternic.com has live diagnostics and monitoring

Asterisk Flash Operator Panel

Outro Asterisk: http://www.asterisk.org Incoming: http://www.stanaphone.com Outgoing: http://www.voipjet.com Info & Wiki: http://www.voip-info.org More Software: http://www.freshmeat.net Us: http://www.mhvlug.org