Basic configuration of the GXW410x with Asterisk



Similar documents
Basic configuration of the GXW410x with Trixbox

Unicorn60x0 IP ANALOG GATEWAY ASTERISK CONFIGURATION

Analog IP Gateway GXW410x Quick Installation Guide SW version

Mediatrix 3000 with Asterisk June 22, 2011

Micronet VoIP Solution with Asterisk

Applications between Asotel VoIP and Asterisk

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

Analog IP Gateway GXW-400x Quick Installation Guide SW version

Figure The scenario

GXW410x Analog FXO Gateway Quick Installation Guide

Guideline for SIP Trunk Setup

Analog IP Gateway GXW-400x Quick Installation Guide SW version

Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment

Setup the Asterisk server with the Internet Gate

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

Avaya IP Office 8.1 Configuration Guide

AGILE SIP TRUNK IP-PBX Connection Manual (Asterisk)

Manual. ABTO Software

EZLoop IP-PBX Enterprise SIP Server

Configuration Notes 290

Integrating Citrix EasyCall Gateway with SwyxWare

Release Notes for NeoGate TA410/TA X

Quick Provisioning Guide for Third-Party PBX

Using Polycom KIRK Wireless Server 300 or 6000 with Asterisk

Application Notes for Avaya IP Office 7.0 Integration with Skype Connect R2.0 Issue 1.0

Skype connect and Asterisk

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

VOIP with Asterisk & Perl

SIP Trunk Configuration Guide. using

Direct IP Calls. Quick IP Call Mode

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

Dynamix IP PBX-100. User's Manual

BroadSoft Partner Configuration Guide

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

Using the GS8 Modular Gateway with Asterisk

nexvortex Setup Guide

Dinstar GSM VoIP Gateway Interoperability Guide. DWG and 3CX System

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

SIP Trunking with Elastix. Configuration Guide for Matrix SETU VTEP

Version: SIPPBXUM.101

Application Notes for Configuring Intelepeer SIP Trunking with Avaya IP Office Issue 1.0

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

How to Configure the Avaya IP Office 6.1 for use with Integra Telecom SIP Solutions

Grandstream Networks, Inc.

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

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

Asterisk Business Edition TM Digium Partner Certification

SIP Trunking. Service Guide. Learn More: Call us at

GSM VOIP GATEWAY LEVEL. User Guide. GB with GSM module Two-way converter between VoIP and GSM

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

Connecting with Vonage

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Panasonic KX-NCP500 IP PBX V2.0502

Configuration guide for Switchvox and Cbeyond.

Quick Start Guide CREATING A NEW SITE

Grandstream Networks, Inc. UCM6510 Basic Configuration Guide

Transbox. User Manual

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

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

SIP Trunking with Allworx. Configuration Guide for Matrix SETU VoIP Gateways

Configuration BCP Skype for Business

8 Port Modular IP PBX Solution 8 Port IP PBX + SIP Gateway System IPG-80XG

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

Overview of Asterisk (*) Jeff Gunther

The main purpose of this release is improving voice quality and addressing stability issues observed in previous releases.

Connecting with Free IP Call

General Guidelines for SIP Trunking Installations

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

SIP Trunking Quick Reference Document

SIP Trunking Application Notes V1.3

Business VoIP Solution Training 04/2009

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

Application Notes for Configuring Broadvox SIP Trunking with Avaya IP Office - Issue 1.0

Configuring Positron s V114 as a VoIP gateway for a 3cx system

IP-PBX Quick Start Guide

IPNext 50 NGN IP-PBX High-performance Next Generation IP-PBX Solution

Configuring SIP Trunking and Networking for the NetVanta 7000 Series

Connecting Sipura ATAs to a legacy PBX System.

nexvortex Setup Guide

Copyright ZYCOO All Rights Reserved 1 / 8

Application Notes for Configuring Avaya IP Office 9.0 with HIPCOM SIP Trunk Issue 1.0

Internet Telephony PBX System

Digium Switchvox AA65 PBX Configuration

Network Connection Considerations for Microsoft Response Point 1.0 Service Pack 2

1 SIP Carriers Warnings Vendor Contact Vendor Web Site : Versions Verified SIP Carrier status as of 9/11/2011

F REQUENTLY A SKED Q UESTION

SIPSTATION User Guide. Schmooze Com Inc.

Configuring Quadro IP PBXs with "SIP Connect"

General Guidelines for SIP Trunking Installations

VoIP Application Note:

nexvortex SIP Trunking Implementation & Planning Guide V1.5

nexvortex Setup Template

A Guide to Connecting to FreePBX

Connecting with sipgate

Rev

Grandstream Networks, Inc. How to Integrate UCM6100 with Microsoft Lync Server

Application Notes for BT Wholesale/HIPCOM SIP Trunk Service and Avaya IP Office 8.0 Issue 1.0

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

ESI SIP Trunking Installation Guide

SIP Trunk Configuration for nexvortex

Application Note Configuring the Synapse SB67070 SIP Gateway for Broadvox GO! SIP Trunking

Transcription:

Basic configuration of the GXW410x with Asterisk Please note that due to the customizable nature of both the GXW410x and Asterisk and the vast deployment possibilities, these instructions should be taken as a basic tutorial sample of getting the GXW410x to work with Asterisk. Your implementation may be customized and differ from this basic configuration as according to your needs. There are two methods to configure the GXW410x to work with Asterisk: Method 1 Method 2 Configure the GXW410x with SIP accounts in Asterisk; this will enable you to put the GXW410x behind a NAT/firewall (used for one-stage and two-stage dialing). Configure the GXW410x to function as a PEER gateway (no SIP accounts are needed; only used for one-stage dialing). 1. Depending on your deployment scenario, please choose one method and follow the instructions for that method below: Configuring the GXW410x as a peer gateway In the sip.conf file, add the GXW410x: [gxw410x] type=peer context=incoming host=gxw410x_ip_address insecure=port On the GXW410x, enter the Asterisk server IP address or FQDN under the Profile 1 web configuration page. Set the SIP Registration setting to No. If you are not using an outbound proxy, then it is not necessary to enter this information

Configuring the GXW410x using SIP accounts In the sip.conf file, add SIP accounts for the GXW410x s channels. The SIP account user IDs may only be numeric; otherwise the GXW410x will not register the non-numeric SIP accounts. You may add up to four or eight depending on the number of channels you have: [101] type=friend secret=password host=dynamic context=internal insecure=port Repeat until all desired SIP accounts have been configured. Please note that when using two-stage dialing, the PSTN caller has as much access in the VoIP side of the system as the context the configured SIP account is in allows. This may present a security concern to some if unauthorized callers can commit toll fraud by calling in and using another trunk to make unauthorized outbound calls, or gain other unauthorized system access. On the GXW410x, enter the Asterisk server IP address or FQDN under the Profile 1 web configuration page. Set the SIP Registration setting to Yes. Under the Channels web configuration page, enter the SIP User IDs, Authentication IDs, and Authentication passwords as well as their corresponding profiles. Channels SIP User ID Authentication ID Authentication Password Profile ID 1 101 101 *** Profile1 2 102 102 *** Profile1 3 103 103 *** Profile1 4 104 104 *** Profile1 5 105 105 *** Profile1 6 106 106 *** Profile1 7 107 107 *** Profile1 8 108 108 *** Profile1 2. Next, the GXW410x will need to be configured to use one-stage dialing or two-stage dialing. Please see the Frequently Asked Questions section for the definitions of one-stage and two-stage dialing. Once you have chosen your stage method, please configure Asterisk and the GXW410x using the corresponding procedure below:

Using one-stage dialing In the extensions.conf file, you will need to specify what numbers dialed from the VoIP side will be sent through the GXW410x. To specify ten-digit numbers and eleven-digit long-distance numbers conforming to NANPA specifications as well as 911 emergency services to be sent through the GXW410x, use the following syntax in the same context as the VoIP caller, or in an included context: exten => _NXXNXXXXXX,1,Dial(SIP/${EXTEN}@gxw410x) exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@gxw410x) exten => 911,1,Dial(SIP/${EXTEN}@gxw410x) If configuring the GXW410x using SIP accounts, please replace gxw410x with a SIP account configured on the GXW410x channels, such as 101. With this dial-plan, numbers such as (626)956-0260, 1(617)566-9300, and 911 will be dialed through the GXW410x. Calls coming into the GXW410x from the PSTN side are directly auto dialed to a VoIP extension when using one-stage dialing. On the Asterisk side, set the auto dialed extension in the extensions.conf file, within the same context that the GXW410x is in or in an included context. In this example, we forward incoming PSTN calls to extension 200, which may call a SIP device or play a greeting file (such audio files are generally stored in directory /var/lib/asterisk/sounds). Asterisk can receive the calls auto dialed to extension 200 using the following rule: exten => 200,1,Dial(SIP/200) or exten => 200,1,Background(greeting_filename) On the GXW410x, under FXO Lines web configuration page set the following: 1. Wait for Dial-Tone(Y/N) to N. 2. Stage Method(1/2) to 1. 3. Unconditional Call Forward to VoIP: The user should construct a valid URI where to forward the call. The User ID can be the extension number like ch1-4:200; The SIP server will be using the IP address or FQDN indicated in the profile page, we use p1 for profile1, p2 or profile2 and p3 for profile3. The SIP destination port should be the one where the Asterisk is listening for incoming SIP communication.

Using two-stage dialing (can only be used when configuring GXW410x with SIP accounts) Using two-stage dialing, the VoIP users simply need to be able to dial the SIP accounts configured on the channels of the GXW410x. For example, if one of the SIP accounts is SIP/101, we add this line in the extensions.conf file, within the same context as the VoIP caller or in an included context: exten => 101,1,Dial(SIP/101) With this rule, VoIP users may dial extension 101 and the call will be connected with the corresponding GXW410x channel, where they will receive the PSTN dial tone to make PSTN calls. On the GXW410x, under FXO Lines web configuration page set the following: 1. Wait for Dial-Tone(Y/N) to N. 2. Stage Method(1/2) to 2. 3. Unconditional Call Forward to VoIP does not need to be set as it is not used. Incoming PSTN calls will simply receive VoIP dial tone, where the PSTN caller can then dial a VoIP number. 3. Most settings on the GXW410x web configuration pages are set to default values. However, some settings should be configured according to the local environment if necessary. Other general settings A. PSTN Settings The following fields need to be set according to the PSTN Service provider (or PSTN PBX): 1. Call Progress Tones; under the Channels web configuration page (Dial Tone, Ring-back Tone, Busy Tone, Reorder Tone) These should be set according to the PSTN service provider or analog PBX that you are using with the gateway. The format and syntax are shown on the web configuration page. By default, they are set according to North American PSTN settings. Please remember that the time in ms for the cadences is multiplied by a factor of 10ms. Remember that no carrier uses both current disconnect and tone disconnect at the same time to signals the disconnection of a call.

For a detailed list of the worldwide database of call progress tones in the world please check: http://www.itu.int/itu-t/inr/forms/files/tones-0203.pdf 2. Caller ID Scheme; under the FXO Lines web configuration page There are eleven different options to choose from: 1 - Bellcore/Telcordia, (USA) 2 - ETSI-FSK during ringing 3 - ETSI-FSK prior to ringing with DTAS (dual tone alert signal) 4 - ETSI-FSK prior to ringing with LR (line reversal) 5 - ETSI-FSK prior to ringing with RP (ring pulse) 6 - ETSI-DTMF during ringing 7 - ETSI-DTMF prior to ringing with DTAS 8 - ETSI-DTMF prior to ringing with LR 9 - ETSI-DTMF prior to ringing with RP 10 - SIN 227 - BT (UK) 11 - NTT, Japan type B. DTMF Methods (used only for PSTN to VOIP calls, not for VOIP to PSTN). The gateway allows several combinations of DTMF sending methods from PSTN to VoIP. Setting DTMF Method 1 In-audio 2 RTP (RFC2833) 3 In-audio + RTP (RFC2833) 4 SIP INFO 5 In-audio + SIP INFO 6 RTP (RFC2833) + SIP INFO 7 In-audio + RTP (RFC2833) + SIP INFO For example, to set all channels to use RFC2833, find the DTMF Method field under the Channels web configuration page and set it to the following: DTMF Method (1-7): ch1-8:2 Please make sure the DTMF methods you set match those enabled on Asterisk. RFC2833 is the recommended method; which can be set under the [general] area in the sip.conf file with this line:

dtmfmode=rfc2833 C. NAT Settings 1. If you are planning to place the gateway within a private network separated from the Asterisk server from behind a firewall, we recommend using a STUN Server. In the STUN Server field under the Advanced Settings web configuration page, enter a STUN server IP or FQDN. You can find free public STUN servers on the internet. Set NAT Traversal (STUN) under the Profile web configuration pages to Yes. 2. Depending on your network settings, you may set the Use Random Port setting under the Advanced Settings web configuration page to Yes or No. If using a public IP address, set this setting to No. D. Preferred Vocoder (Codec) Under the Profile web configuration pages, you can choose from five different codecs: 1. PCMU (or G.711 u-law) 2. PCMA (or G.711 a-law) 3. G.729A/B 4. G.723.1 5. GSM Please make sure that the codecs you set match those enabled on Asterisk. Codecs may be enabled system-wide in Asterisk or for specific users. For example, to enable PCMU and GSM system-wide, place the following lines under the [general] settings in the sip.conf file: allow=ulaw allow=gsm 4. You should now reload the chan_sip.so module and the extensions in Asterisk, or simply restart the service. The commands vary depending on the version of Asterisk. Update the changes made to the GXW410x and reboot the device. You may now place inbound and outbound test calls to test your configuration. Please send any comments or suggestions regarding this document to support@grandstream.com.