This document presents the main configuration steps for interconnecting Asterisk IP PBX to the Topex VoiBridge VoIP/E1 GSM Gateway.
What is Topex Voibridge?

The Topex Voibridge VoIP/E1 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 the most used open source IP PBX software, can be downloaded from http://www.asterisk.org/index.php?menu=download, installed and used without any limitations. For more information on the Asterisk software solution see http://www.asterisk.org
Main Scenario

The above scenario consists of:
• Topex Voibridge VoIP/E1 GSM Gateway – IP Address : 192.168.52.62
• Asterisk IP PBX – IP Address : 192.168.144.171
• IP phones registered to Asterisk IP PBX – Extensions 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).

Step 2 : Routing – VoIP to GSM
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 and restart asterisk. Now you will receive calls from Topex Voibridge VoIP/E1 GSM Gateway.