Skype connect and Asterisk



Similar documents
Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment

Mediatrix 3000 with Asterisk June 22, 2011

Guideline for SIP Trunk Setup

TekSIP Proxy frontend for Asterisk PBX

Basic configuration of the GXW410x with Asterisk

Configuration Notes 290

Micronet VoIP Solution with Asterisk

Telephony with an Asterisk phone system

LABORATORIUM 1 Setup and basic configuration of Asterisk BPX on Linux

Atcom MP01 and Elastix Server

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

SIP Session-Timers Support in Asterisk

SIP Trunk Configuration for nexvortex

How to Configure MTG200 with FreePBX

Internet telephony Asterisk system.

SIP Trunk Configuration for Broadvox

Setup Guide: on the MyNetFone Service. Revision History

SFLphone Documentation

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

Setup the Asterisk server with the Internet Gate

VoIP Workshop PacNOG3

Applications between Asotel VoIP and Asterisk

Unicorn60x0 IP ANALOG GATEWAY ASTERISK CONFIGURATION

Using Polycom KIRK Wireless Server 300 or 6000 with Asterisk

VOIP with Asterisk & Perl

Test on IX130 Performance

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

Overview of Asterisk (*) Jeff Gunther

Configuring Elastix for Spitfire SIP Trunks

Figure The scenario

Asterisk. Technical Application Notes

Practical Guide. How to setup VoIP Infrastructure using AsteriskNOW

NodePhone Business Trunks User Manual

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

Integrating Asterisk FreePBX with Lync Server 2010

VoIP Channels IAX APPENDIX A. General IAX Settings. Appendix A

Performance Benchmark Test for Asterisk B2BUA. 13 November

F REQUENTLY A SKED Q UESTION

NOC Workshop VoIP in the NOC labs SANOG10

General Guidelines for SIP Trunking Installations

Quick Provisioning Guide for Third-Party PBX

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

SIP Configuration Guide

Transbox. User Manual

VOIP, Linux, and Asterisk Making Beautiful Voice Together

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

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

VoIP Laboratory C VoIP Billling in a Village Telco

spiderstar VoIP Interface Version 4.0 User manual

Skype for Asterisk. Administrator Manual Rev. B2

SIP Trunking with Elastix. Configuration Guide for Matrix SETU VTEP

Software: Sjphone and X-Lite softphones, Redhat Linux 9, Asterisk (downloaded current version mid June 03)

Abstract. Avaya Solution & Interoperability Test Lab

Asterisk. Michael Kershaw

SIPSTATION User Guide. Schmooze Com Inc.

AGILE SIP TRUNK IP-PBX Connection Manual (Asterisk)

Asterisk By Example...doing useful VoIP things. Jonny Martin

A Guide to Connecting to FreePBX

FreePBX R14. SIP Trunk Provisioning Guide

DUNDi, So Easy A Caveman Could Do It!

VoIPon Tel: +44 (0) Fax: +44 (0)

General Guidelines for SIP Trunking Installations

AGILE SIP TRUNK IP- PBX Connection Manual (Asterisk, Trixbox)

Using the GS8 Modular Gateway with Asterisk

How-To Feature Guide. SIP Peering

Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment

Configuration BCP Skype for Business

Configuration guide for Switchvox and Cbeyond.

How To Connect A Gsm To An Ip Phone With A Pbx On A 2N 2N Phone On A Ppl (For A Pbo) On A Gm (For An Ip) On An Ip (For Pbq

THINKTEL COMMUNICATIONS 3CX PHONE SYSTEM V.11. 3CX Phone System THINKTEL SIP TRUNK from scratch

THINKTEL COMMUNICATIONS DIGIUM G100/G200 PRI OVER IP SIP TRUNKING

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

How to Connect MyPBX to Skype

ASTERISK. Goal. Prerequisites. Asterisk IP PBX Configuration

SIP Trunk 2 IP-PBX User Guide Asterisk. Ver /08/01 Ver /09/17 Ver /10/07 Ver /10/15 Ver1.0.

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

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

How to use IP-0x to connect to Skype

Following the general section, clients are defined, one per section. Sections are delineated by their name in brackets.

Integrating Citrix EasyCall Gateway with SwyxWare

Allo PRI Gateway and Elastix Server

Integrating Skype for SIP with UC500

Configuring Avaya IP Office 500 for Spitfire SIP Trunks

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

Motorola TEAM WS M Configuring Asterisk PBX Integration

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

CompletePBX v3 Reference Guide (rev. 3.07)

Running Asterisk in a Corporate Environment: a Beginner s Tale

Quick Installation Guide

Digium Switchvox AA65 PBX Configuration

SIP Trunking using the Optimum Business SIP Trunk Adaptor and the FortiVoice IP-PBX

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

VoIP Laboratory A Creating a local private telephony network in a rural community

Trunks User Guide. Schmooze Com Inc.

IPChitChat VoIP Service User Manual

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

Using the NetVanta 7100 Series

Copyright ZYCOO All Rights Reserved 1 / 8

OfficeServ 7100 IP-PBX. SIP Trunking using the Optimum Business Sip Trunk Adaptor and the Samsung

Building Robust IPTSP Based on Open Source Technology. Anowar Hasan Sabir, BDCOM Online Ltd. Bangladesh

Transcription:

Skype connect and Asterisk General Configuration Guide Skype for SIP and Asterisk you are new to SIP, Asterisk is a useful, open-source (GPL) platform with which to test and experiment with the Skype for SIP. is a guide on how to install Skype for SIP on a system agnostic or vanilla Asterisk server. To install Asterisk on your server, please see the Digium documentation here http://www.asterisk.org. configuration guide is based on Debian Linux (Lenny 64bit). With a basic installation of Debian you can install Asterisk by issuing the following APT command at the command line:- apt-get install asterisk Configuration Files for Vanilla Asterisk configuring Skype for SIP on a vanilla Asterisk system we are primarily concerned with two configuration files:- - sip.conf (located in the /etc/asterisk/ directory)the sip.conf file holds the registration details for the Skype for SIP channel - sions.conf (located in the /etc/asterisk/ directory)the sions.conf holds the dial plan telling Asterisk what to do with incoming and outgoing calls.- Let s do a walkthrough of the configuration steps. Configuring the sip.conf File 1

The sip.conf file has two sections that need to be completed. The General section (denoted in the file with the [general] heading) and peer section denoted in the file with the [peers] heading. the General section we need to add a register line. tells Asterisk to register with Skype at the Skype local point of presence. Add the following, under the [general] section in the file, substituting your 9905xxxx number and password with your actual credentials for the Skype for SIP profile you wish to use. Your SIP Profile details can be found in the Skype Business Control Panel (BCP):- register => 99051000xxxxxx:PaSsW0rD@sip.skype.com/99051000xxxxxx 2 To ensure that we also receive the callerid from Skype clients we also should add:- trustrpid sendrpid = yes 3 Next, we add a section for the peer, in the [peers] section of the sip.conf file. Again we substitute the 9905xxxxx number and password with the SIP Profile credentials from the Skype Business Control Panel (BCP):- [99051000xxxxxx] type = peer username = 99051000xxxxxx fromdomain fromuser = 99051000xxxxxx realm host dtmfmode = rfc2833 secret = PaSsW0rD nat ; should be set to reflect your network NAT configuration canreinvite insecure = invite qualify

= yes disallow = all allow = alaw allow = ulaw ;allow = g729 ; Uncomment this if you have G729 licences amaflags = default trustrpid sendrpid = yes context = skype_in Please Note: your Asterisk PBX is behind a NAT device, you should set nat = yes in this section. your Asterisk PBX has a dedicated internet IP address, set this to nat. 4 After setting these changes, reload the Asterisk s SIP module by typing:- asterisk -rx "reload chan_sip.so".at the command line. 5 After the SIP Module has reloaded enter asterisk -rx "sip show peers" at the command line, which should return: pbx*cli> sip show peers Name/username Host Dyn Nat ACL Port Status 99051000xxxxxx/99051000xx 193.120.218.68 5060 OK (52 ms) Then enter asterisk -rx sip show registry which should return: pbx*cli> sip show registry Host Username Refresh State Reg.Time

sip.skype.com:5060 99051000xxxx 105 Registered day, dd mmm yyyy hh:mm:ss you see output similar to the above, then you are registered to the Skype SIP gateway and ready to make and receive calls. We now need to setup the sions.conf so that we have a dialplan setup and Asterisk knows how to deal with incoming and outgoing calls. Configuring the sions.conf File The sions.conf file requires a context and an sion to be added for incoming Skype calls, plus an sion to be added to the context that users use for outgoing calls. coming context Add the following lines to the [context] section of sions.conf, substituting 9905xxxxxxx with the 9905 number for the SIP Profile. Again you can find the details of your Skype SIP Profiles in the Skype BCP:- [skype_in] => 99051xxxxxxxx,Noop(${CALLERID(name)}, ${CALLERID(num)}) => 99051xxxxxxxx,n,Dial(SIP/100,30,t,r) => 99051xxxxxxxx,n,voicemail(100 u) is a simple vanilla context that shows us the callerid name and number, dials sion 100 for 30 seconds and finally, if unanswered, goes to voicemail. sequence will need to be amended to suit your requirements. you are planning on having many SIP Profiles or Online Numbers that all need to end up at the same destination, or the destination is decided by the Skype Business Account that the online number is registered against, a more complicated Dialplan can be used. For example:- [skype_in] => 99051xxxxxxxx,1,Noop(${CALLERID(name)}, ${CALLERID(num)}) => 99051xxxxxxxx,n,Queue(sfs r 40) => 99051xxxxxxxx,n,voicemail(100 u) Outgoing Context The outgoing context must be included in the context for your user s phones. Usual security measures apply. Do not include this in a context for incoming calls.

[skype_out] => _90Z.,1,Set(CALLERID(num)= 99051xxxxxxxx) => _90Z.,n,Dial(SIP/0044${EXTEN:2}@99051xxxxxxxx) => _900.,1,Set(CALLERID(num)= 99051xxxxxxxx) => _900.,n,Dial(SIP/${EXTEN:1}@99051xxxxxxxx) the sip.conf add the following to create user 100 [100] secret=secret mailbox=100 callerid="myskypetrunk" <100> type=friend host=dynamic context=international ;nat=no nat=yes canreinvite=no dtmfmode=rfc2833 pickupgroup=1 callgroup=1 subscribecontext=default notifyringing=yes disallow=all ;allow=alaw allow=ulaw allow=gsm in the siosn.conf add the following to the default context => _XXX,1,Dial(SIP/${EXTEN},20) Also create a context called international [international] include => default include => skype_out will allow phones with the international context to make outgoing calls and call other users.