LABORATORIUM 1 Setup and basic configuration of Asterisk BPX on Linux



Similar documents
TEL 500 WRITE UP WEEK 8 FREE PBX SIP LAB SUBMITTED TO: PROF. RONNY BULL BY: ANUSHA ALIGAPALLY

Skype connect and Asterisk

SFLphone Documentation

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

TEL 500. Voice Communications. Week 1 Write Up. Session Initiation Protocol Lab. Submitted To: Prof Ronny Bull. By: Sai Sharan Korvi

Mediatrix 3000 with Asterisk June 22, 2011

Telephony with an Asterisk phone system

NOC Workshop VoIP in the NOC labs SANOG10

Figure The scenario

Setup Guide: on the MyNetFone Service. Revision History

VoIP Workshop PacNOG3

ASTERISK. Goal. Prerequisites. Asterisk IP PBX Configuration

Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment

Software Based VoIP Lab A step by step guide to setting up and configuring an IP-PBX. Donal O Connor DNET 4 donaloconnor@gmail.com

DUNDi, So Easy A Caveman Could Do It!

Micronet VoIP Solution with Asterisk

Practical Guide. How to setup VoIP Infrastructure using AsteriskNOW

Table of Contents. Overview Features Applications Hardware requirement Card dimensions Software Installation...

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

Installing FreePBX 12 on Ubuntu Server LTS

Using Polycom KIRK Wireless Server 300 or 6000 with Asterisk

Asterisk Cluster with MySQL Replication. JR Richardson Engineering for the Masses

Integrating Asterisk FreePBX with Lync Server 2010

Atcom MP01 and Elastix Server

Abstract. Avaya Solution & Interoperability Test Lab

VoIP Laboratory C VoIP Billling in a Village Telco

Creating a DUO MFA Service in AWS

Installing and Configuring MySQL as StoreGrid Backend Database on Linux

Configuration Notes 290

Cisco Unified Communications Manager SIP Trunk Configuration Guide

Trixbox. by MATT FLORELL and JAMES PEARSON

A Guide to Connecting to FreePBX

Applications between Asotel VoIP and Asterisk

Asterisk - The Basics

Setup the Asterisk server with the Internet Gate

Basic configuration of the GXW410x with Asterisk

How to Use? SKALICLOUD DEMO

ARMSDK-VM Virtual Appliance A preconfigured Linux system

Cisco Unified Communications Manager SIP Trunk Configuration Guide for the VIP-821, VIP-822 and VIP-824

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Moxa Device Manager 2.3 User s Manual

Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012

Asterisk. Technical Application Notes

Local Caching Servers (LCS): User Manual

Technical Bulletin Using Polycom SoundPoint IP and Polycom SoundStation IP Phones with Asterisk

Transferring AIS to a different computer

Cassandra Installation over Ubuntu 1. Installing VMware player:

SoliCall PBXMate. User Manual

IBM WebSphere Application Server Communications Enabled Applications Setup guide

How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

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

spiderstar VoIP Interface Version 4.0 User manual

beronet Technical Training

Getting an ipath server running on Linux

Khomp KGSM-USB SPX and Elastix Server

Motorola TEAM WS M Configuring Asterisk PBX Integration

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

Using the GS8 Modular Gateway with Asterisk

SIP Configuration Guide

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

Netop Remote Control for Linux Installation Guide Version 12.22

Apache and Virtual Hosts Exercises

Linux Development Environment Description Based on VirtualBox Structure

VOIP (Voice Over Internet Protocol) Hacking-Fake Calling

Department of Communications and Networking. S /3133 Networking Technology, laboratory course A/B

Guideline for SIP Trunk Setup

VOIP with Asterisk & Perl

Procedure to Create and Duplicate Master LiveUSB Stick

Asterisk. Michael Kershaw

Medooze MCU Video Multiconference Server Installation and configuration guide Ubuntu LTS

General Guidelines for SIP Trunking Installations

Buildroot for Vortex86EX (2016/04/20)

Desktop VirtualPBX Softphone Setup Instructions for Windows

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

Ruby on Rails (Ruby 1.9.2, Rails 3.1.1) Installation

Step By Step Guide for Starting "Hello, World!" on OpenWRT

ACD Automatic Call Distribution

How to Configure MTG200 with FreePBX

FTP Server Configuration

General Guidelines for SIP Trunking Installations

Desktop VirtualPBX Softphone Setup Instructions for Windows

The Rockefeller University I NFORMATION T ECHNOLOGY E DUCATION & T RAINING. VPN Configuration Guide for PC/Mac/Linux

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

The Build Process. of (GNU Tools for ARM Embedded Processors)

BF2CC Daemon Linux Installation Guide

AXIGEN Mail Server. Quick Installation and Configuration Guide. Product version: 6.1 Document version: 1.0

EINTE LAB EXERCISES LAB EXERCISE #5 - SIP PROTOCOL

QueueMetrics Icon WebRTC Agent Page Integration with Elastix guide

TEL 500 VOICE COMMUNICATIONS PROJECT REPORT IMPLEMENTATION OF SMALL CALL CENTER WITH AUTO ATTENDENT AND QUEUES SUBMITTED TO: RONNY L.

Embedded Asterisk. A Crazy Man s Approach to VoIP. Terry Dunlap. 5/12/2007 terrydunlap.com

DocAve Upgrade Guide. From Version 4.1 to 4.5

Using CounterPath X-Lite with Virtual PBX - PC

FreePBX R14. SIP Trunk Provisioning Guide

Ulteo Open Virtual Desktop Installation

3CX IP PBX with Twilio Elastic SIP Trunking Interconnection Guide

Installation documentation for Ulteo Open Virtual Desktop

Net/FSE Installation Guide v1.0.1, 1/21/2008

First Steps after Installation Guide

Transcription:

LABORATORIUM 1 Setup and basic configuration of Asterisk BPX on Linux 1. VM setup Please download Asterisk Virtual Machine from http://kt.agh.edu.pl/~rzym/lectures/ti- SSiZ/VMAsterisk.zip and extract archive. Then, please start VM with default properties (after the question about VM relocation please select I ve copied it and skip installation of VMWare-Tools). 2. Setup the Asterisk BPX on Debian 7 To install Asterisk on Debian 7 please follow the sequence of commands as root user: $su #apt-get update #apt-get install linux-headers-`uname -r` libxml2-dev ncurses-dev libsqlite3-dev sqlite3 build-essential automake autoconf bison flex libtool libncurses5-dev libssl-dev subversion svn-buildpackage uuiddev Next, please unpack archives containing DAHDI and Asterisk sources (placed in /home/student directory) using following commands: #tar xf dahdi* #tar xf asterisk* After that please compile and install DAHDI and Asterisk software following the sequence: #cd dahdi* #make #make install #make config #/etc/init.d/dahdi start #cd../aster* #./configure #make menuconfig Please select app_meetme from applications menu! To exit press the q and save file. #make #make install #make samples #make config Now, you should have properly installed Asterisk software. Please start Asterisk daemon by using the command: #/etc/init.d/asterisk start 1

a) What is DAHDI? b) What does the command make menuconfig during Asterisk installation? What changes are possible? c) What is app_meetme application? 3. Asterisk CLI Please type the following to connect to the asterisk server: #asterisk vvvvvvr After running the above command you ll see (or something similar): Connected to Asterisk 11.5.1 currently running on pbx (pid = 1799) CLI> Congratulations! You have a running PBX. Please list available commands. a) What does the vvvvvvr parameter of Asterisk command? b) What happens when you change the number of repetitions of the letter v in the Asterisk command? What is the minimum and maximum number of repetitions of letter v? c) What commands list the number of peers and users configured in the PBX? Please place the results of proper commands. d) What is a different between peer and user? e) How the BPX can be restarted from CLI? 4. Basic configuration All Asterisk s configuration files are located in /etc/asterisk directory. Each change of configuration requires Asterisk s daemon restart, e.g. with command: #/etc/init.d/asterisk restart Please refer to the stucture of sip.conf and extensions.conf file. To make calls the numbers of users, their passwords and dialplan have to be configured. Please try to find relevant lines of configuration files. 2

5. Example configuration Please create backup of sip.conf and extensions.conf file e.g., running: #mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.bak #mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.bak Then, please create new sip.conf file with the following content: [general] context = default bindport = 5060 bindaddr = 0.0.0.0 tcpbindaddr = 0.0.0.0 tcpenable = yes [group1] type = peer context = group1 secret = 1234 insecure = invite host = dynamic canreinvite = no dtmfmode = rfc2833 disallow = all allow = ulaw transport = udp [1001](group1) callerid = OneOne <1001> [1002](group1) callerid = OneTwo <1002> [1003](group1) callerid = OneThree <1003> This configuration contains three users with numbers: 1001, 1002, 1003. Each of them belongs to the group1 group. Please pay attention to the group settings important to configure your softphone (especially the password = secret). 3

Next, you should create new extensions.conf file in order to allow to make calls, e.g.: [general] static=yes writeprotect=no [default] [group1] exten => 1001,1,Answer() same=> n,dial(sip/1001,20,tr) same=> n,hangup After that please restart asterisk service: #/etc/init.d/asterisk restart 6. Installation and configuration of Windows softphone (X-Lite) To make call you have to install software that supports SIP protocol. The recommended program will be installed on Windows. Please download http://www.kt.agh.edu.pl/~rzym/lectures/ssam/x-lite_win32_4.7.1_74247.exe and install it (don create desktop shortcut and uncheck the automatic start of application with the operating system). Sample configuration for X-lite softphone is shown in the picture below: 4

Important note: Domain IP is IP address of VM with Asterisk preinstalled. User name and password are placed in Asterisk s configuration file (sip.conf). More info in next point. 7. Traffic and signaling observation Traffic should be observed by using Wireshark on Windows or tcpdump on Linux. Please try to make call with asterisk CLI enabled: #asterisk vvvvvvr and follow the steps indicated by the Asterisk CLI. Please briefly describe each step of call establishment process using proper lines from Asterisk CLI and Wireshark. 5