SOLUTIONS
How to interconnect TOPEX VoiBridge with Asterisk

 

The present document presents the main configuration steps for interconnecting Topex Voibridge Voip-GSM Gateway and Asterisk IP PBX.

What is Topex Voibridge?
The Topex Voibridge Voip-GSM Gateway is an ideal complementary product to any IP PBX. It's suitable for small and medium companies with IP infrastructure and for companies with international affiliates. With Voibridge you gain significant savings on outgoing and incoming calls between IP and GSM networks. 

What is Asterisk?
Asterisk is an open source IP PBX software, that can be downloaded from http://www.asterisk.org/index.php?menu=download, installed and used without any limitations. 
For more information on configuring the Topex Voibridge VoIP-GSM gateway, please consult the configuration manual.

For more information on the Asterisk software solution see http://www.asterisk.org/

Main scenario

 

Voibridge-asterix-app.jpg

 

 

The above scenario consists of:

 

- Topex Voibridge - 192.168.52.62

- Asterisk IP PBX - 192.168.144.171

- IP phones registered to Asterisk IP PBX - 70x

 

Topex Voibridge Configuration

 

For ease of configuration, we presume we have 2 SIM cards from Operator1 on GSM-Ports 1 and 2, and 2 SIM cards  from Operator2 on GSM-Ports 3 and 4.

We assume Operator1 is identified by 072 prefix and Operator2 is identified by 074 prefix.

 

Step 1:

            Port Config - GSM Settings

Configure the GSM ports so all incoming calls will be automatically directed to a PBX user(most likely the secretary's extension)

 

voibridge-app1.jpg

 

Step 2:

            Routing - VoIP to GSM

 

Voibridge-settings-app.jpg

 

Accept incoming calls from Asterisk's IP, filter them based on Operator prefix(in order to accomplish LCR) and send them out on the corresponding GSM ports.

 

Asterisk PBX Configuration

The following lines need to be added to the Asterisk configuration, in order to acomplish proper routing of incoming and outgoing calls to and from Topex Voibridge.

 

Outgoing calls:

Edit /etc/asterisk/extensions.conf file

 

[voibridge]

exten => _70X,1,Dial(SIP/${EXTEN})

 

[users]

exten => _70X,1,Dial(SIP/${EXTEN})

exten => _072.,1,Dial(SIP/${EXTEN}@192.168.52.62)

exten => _074.,1,Dial(SIP/${EXTEN}@192.168.52.62)

 

Save the file and restart asterisk. All calls starting with 072 and 074 will be routed to the Topex Voibridge Gateway.

 

Incoming calls:

Edit /etc/asterisk/sip.conf file and add the following:

 

[voibridge]

type=peer

host=192.168.52.62

fromdomain=192.168.52.62

trustrpid=yes

port=5060

disallow=all

allow=ulaw

allow=alaw

canreinvite=no

context=voibridge

dtmfmode=auto

 

Save the file, restart asterisk. Now you will receive calls from Topex Voibridge Gateway.

 


© 2007 Topex. All Rights Reserved. Topex Help Desk Support: +40 317302222.
Created By KANVAS STUDIO