Howto Asterisk Voicebluenext3
Howto Asterisk Voicebluenext3
VoiceBlue Next
Version 3.00
IP address 10.0.0.20
Asterisk parameters:
IP address 10.0.0.10
Scenario
If we have an IP network in which an Asterisk PBX, several SIP phones and 2N VoiceBlue
Next are connected, the configuration would be as shown in the figure below. Furthermore,
suppose that the network is addressed as shown in the figure and GSM numbers are all
numbers starting with 6, 7 and containing 9 digits.
The IP address
where the traffic
is sent
3) You need to create specific guidelines connecting prefixes with the GSM group. In the
GSM group you will specify settings for SIM cards assigned to this specific group. In the
GSM group assignment you can assign the module for the appropriate GSM outgoing
group.
5) Incoming calls
For incoming calls you can define 2 groups with the different behaviors and assign them to
the GSM modules. The settings are similar with GSM groups assignment for outgoing calls.
In GSM incoming groups you can specify the traits for each GSM incoming group. Choose the
mode to Reject, Ignore, Accept incoming calls or Callback.
You can define the list of numbers called. The number will be automatically dialed after the DTMF
dialing has timed out. This happens when the customer doesnt press any button until the specific
time. At this point, the number will be routed to the extension 100 to your Asterisk (if you set up
SIP proxy (GSM->IP) in VoIP parameters).
ASTERISK SETTING
Now add a few lines into the Asterisk configuration for proper routing of outgoing calls to the
2N VoiceBlue Next gateway and receiving calls coming from the GSM gateway to Asterisk.
1) Outgoing calls
The core of Asterisk connection is saved in the /etc/asterisk/extensions.conf file.
Open this file in your favorite editor and add the following lines:
exten=>_6XXXXXXXX,1,Dial(SIP/${EXTEN:0}@10.0.0.20,,r)
exten=>_7XXXXXXXX,1,Dial(SIP/${EXTEN:0}@10.0.0.20,,r)
Once you have saved and closed the file, restart Asterisk. From this point forward, all calls
starting with 6 and 7 should be routed to the 2N VoiceBlue Next gateway.
2) Incoming calls
It is highly recommended to make a little restrictions for incoming calls to prevent
unauthorized people from calling over your system.
Since the 2N VoiceBlue Next system works with the SIP, modify the /etc/asterisk/sip.conf
file where the 2N VoiceBlue Next section could looks as follows:
[general]
port = 5060
bindaddr = 0.0.0.0
allowgues=no
context = sip
disallow=all
allow=ulaw
[VoiceBlueNext]
type=peer
host=10.0.0.20
username=voiceblue
secret=password
fromdomain=10.0.0.20
Again, restart the Asterisk after saving the file. Then the Asterisk will be ready to receive calls
coming from the 2N VoiceBlue Next gateway.
2N TELEKOMUNIKACE a.s.
Modansk 621, 143 01 Praha 4
tel.: 261 301 111, fax: 261 301 999,
e-mail: [email protected]
www.2n.cz