Sunteți pe pagina 1din 9

How to Connect X-lite to GSM Gateway

How to Connect X-lite to GSM Gateway

Version: 1.0

Dinstar Technologies Co., Ltd.


Date: 2014. 06.16

http://www.dinstar.com

1/9

How to Connect X-lite to GSM Gateway

Contents
Introduction ............................................................................................................................. 3
Related Gateway Series............................................................................................................ 3
Related Firmware Versions ....................................................................................................... 3
2. Xlite Settings ........................................................................................................................... 4
2.1
Download and install xlite ............................................................................................. 4
2.2
Enable UDP ports in your firewall................................................................................ 4
2.3
Start to configure SIP account ..................................................................................... 4
2.4
Add a SIP account ......................................................................................................... 4
2.5 Configure SIP account information ................................................................................... 5
2.6 change default SIP port of xlite .......................................................................................... 6
3. Outbound call setting of GSM gateway .............................................................................. 7
3.1 Add an SIP trunk .................................................................................................................. 7
3.2 Enable Peer to Peer parameters ....................................................................................... 7
3.3 Configure outbound call routing......................................................................................... 7
4. Inbound call setting of GSM gateway ................................................................................. 8
4.1 Modify default inbound routing .......................................................................................... 8
4.2 configure Tel-> IP Operation rule....................................................................................... 8
4.3 Configure destination number............................................................................................ 8
5. Make outbound and inbound calls....................................................................................... 9
5.1
Make outbound call ....................................................................................................... 9
5.2
Make incoming call to xlite ........................................................................................... 9
1.

http://www.dinstar.com

2/9

How to Connect X-lite to GSM Gateway

1. Introduction
The DWG SIP/GSM Gateway from Dinstar is a cost-effective SIP/GSM gateway for SOHO,
SMEs and system integrators, and also opens up new revenue generating opportunities for
service providers. The GSM gateway allows a SIP based IP PBX telephone system or VoIP
line to be connected directly to the GSM cellular network, which can dramatically lower the
cost of mobile calls by taking advantage of lower mobile-to-mobile tariffs.
Related Gateway Series

DWG2000-1G
DWG2000B/C/D
DWG2000E/F/G
Related Firmware Versions

Product Name

Firmware Versions

DWG2000-1G

2.20.01.03 above

DWG2000B/C/D

2.22.07.03 or 2.23.07.03 above

DWG2000E/F/G

2.23.08.01 above

Target
1. Make outbound calls from xlite to GSM gateway via SIP trunk directly
2. Make incoming call from GSM gateway to xlite
Description
IP address of xlite: 172.16.221.221
IP address of gateway: 172.16.222.22

http://www.dinstar.com

3/9

How to Connect X-lite to GSM Gateway

2. Xlite Settings
2.1 Download and install xlite
Download X-LITE 3.0 and install it:
http://www.counterpath.com/
Edit.... new link is: http://www.counterpath.net/x-lite.html&active=4
2.2 Enable UDP ports in your firewall
You might have to open the following ports in your router/firewall:
UDP 3478
UDP 5060
UDP 8000
UDP 8001
2.3 Start to configure SIP account
Open X-LITE and click on the small down arrow and then on SIP Account Settings:

2.4 Add a SIP account


Click on Add

button:

http://www.dinstar.com

4/9

How to Connect X-lite to GSM Gateway

2.5 Configure SIP account information


In the Account tab, enter your account information:

a. Display name : Your user name, Tim as exmaple


b. User name : Your user name, 1000 as example
c. Password : Your password, can be null for peer to peer call
d. Authorization user name : your user name, 1000 as example

http://www.dinstar.com

5/9

How to Connect X-lite to GSM Gateway


e. Proxy : IP/Domain name of GSM gateway, 172.16.222.22
f. Domain Proxy:none
g. Register with domain and receive incoming call: disable
2.6 change default SIP port of xlite
Change the local SIP port to 5060 under Topology tab. Xlite will generate random SIP port by
default.

Click OK to save the setting.

http://www.dinstar.com

6/9

How to Connect X-lite to GSM Gateway

3. Outbound call setting of GSM gateway


3.1 Add an SIP trunk
IP Trunk Configuration-> IP Trunk, add a SIP to xlite, the IP is the PC that installed xlite

3.2 Enable Peer to Peer parameters


System configuration\service Parameter
Allow Call from GSM to IP without Registration: Yes
Allow Call from IP to GSM without Registration: Yes

3.3 Configure outbound call routing


Modify default routing rule under Routing configuration-> IP->Tel Routing page.

Source IP: IP 0 that added under IP Trunk page


Source and destination prefix: any, any is wildcard prefix to match all number
Destination to port 0
*Notes: DWG2000-1G without this option

http://www.dinstar.com

7/9

How to Connect X-lite to GSM Gateway


Till now, x-lite would make outbound calls through GSM gateway successful.

4. Inbound call setting of GSM gateway


4.1 Modify default inbound routing
Modify the default Tel->IP Routing under Routing Configuration-> Tel->IP Routing page.

Destination IP0 is the IP trunk to x-lite.


4.2 configure Tel-> IP Operation rule
Enable auto call to xlite under Operation\Tel->IP Operation page, click ADD button to create
new rule.

4.3 Configure destination number


Under System Configuration -> Port Parameter page,1000 is the extension number of
x-lite.

http://www.dinstar.com

8/9

How to Connect X-lite to GSM Gateway

5. Make outbound and inbound calls


Enable CDR before call testing under Statistics->CDR page, enable CDR and save the
setting.

5.1 Make outbound call


Dial the destination number 10086 as example with xlite, you could see the status
under system information page during call progress.

To check CDR after conversation

5.2 Make incoming call to xlite


Make a call to the SIM card, you will be heard ringback tone on your mobile meanwhile
xlite will ringing.

< The end>

http://www.dinstar.com

9/9

S-ar putea să vă placă și