Elastix PBX - How to interconnect with Elastix PBX?
2N®VoiceBlue Next has these parameters:
IP address 192.168.50.45
Incoming port: 5060
Firmware: 01.00.04
Elastix PBX:
IP address 192.168.50.115
Incoming port: 5060
Firmware Elastix: 2.0.0
Firmware Asterisk: 1.6.2.13
Scenario
If we have an IP network in which an Elastix PBX, several SIP phones and2N®VoiceBlue Nextare 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.
2N®VoiceBlue Next settings
SIP trunk interconnection For the setting of the trunk between the2N®VoiceBlue Nextand your Elastix PBX, you need to configure "SIP proxy (GSM→IP)" for GSM incoming calls. "SIP proxy (IP→GSM)" is designed only for secure communication with the traffic from your Elastix PBX. You can specify the IP address and port where the IP packets will be accepted.
Configuration of the LCR (Least Cost Routing)
You have to specify prefixes for the operators in the country you are currently located. An example of this would be that in Czech Republic prefixes 6 and 7 have 9-digit numbers. The setting is displayed below.
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.
Configuration of GSM outgoing groups
You are able to have different setting for each GSM group (CLIR, free minutes, virtual ring tone, roaming and others).
Incoming calls For incoming calls you can define 2 groups with the different behaviour 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 dialled after the DTMF dialling has timed out. This happens when the customer does not press button within the specific time. At this point the number will be routed to the extension 100 to your Elastix PBX (if you set up SIP proxy (GSM->IP) in VoIP parameters).
Elastix PBX settings
Create an extension
In the "PBX Configuration" and "Extensions" you create an extension as in the print screens below.
You have to define type as "friend" and listening port, e.g. 5060 as in the example.
Set up the route Add a new route in the section "Outbound Routes". In the example the route is called VoiceBlue. If you set up Dial Patterns "0|." it means that you have to make an outbound call via prefix 0.
Set up the trunk
Fill up the „Trunk description", „Outbound Caller ID" for the outbound identification.
You can limit maximum VoIP channels via dedicated trunk in the menu. Also if you want to send SIP OPTION packets command regularly to check whether the device is still online, turn on the parameter „qualify" as yes.
Incoming calls
You can route Incoming calls to the IVR. You find the setting in the section „IVR".
In the „General Settings", you can allow an anonymous incoming calls as in the picture below.