Wireless Gateway FAQ connect with Elastix4.0
This document mainly describes the detailed steps of connecting the wireless gateway with Elastix.
Follow the steps below to configure two-way calls between the phone and the gateway:
Outgoing call: from Elastix SIP extension 3001 to the gateway through relay 1007;
Incoming call: call from an outside line to the gateway, through SIP trunk 1007 to Elastix, and then send the call to the 3001 SIP extension through Elastix;
In the following steps, the parameters below are mandatory configurations, and other parameters can be configured according to your needs.
Step1. Create a SIP Trunk in Elastix® Server
Please login your Elastix server to create a SIP trunk(1001) .In Elastix server web, please choose “PBX—>PBX Configuration—>Trunks—>Add SIP Trunk” to set like that:
parameter name | value |
---|---|
trunk name | 1007 |
host | dynamic |
username | 1007 |
secret | 123456 |
type | friend |
port | 5060 |
fromuser | 1007 |
context | from-trunk |
Step2. Create a SIP Extension(3001) in Elastix Server
Please login your Elastix server to create a extension(3001) .In Elastix server web, please choose “PBX—>PBX Configuration—>Extensions” to set like below picture. Choose Generic SIP Device and then press Submit button. you can only set extension name and password.
parameter name | value |
---|---|
display name | 3001 |
secret | 1234567 |
Step 3. Configure Routings rules in Elastix
Outbound Rules
parameter name | value |
---|---|
route name | out |
Trunk sequence for matched routes | 1007 |
Inbound Rules
parameter name | value |
---|---|
description | in |
DID number | 1007 |
extensions | 3001 |
Step 4. Set Network Parameters in Web
Log in to the network in the browser, and click "Network -> LAN Settings" to set your network parameters. The figure below is an example for reference only.
Save your changes. Please type in your DNS server in “DNS Server Address”.
Step 5. Create a SIP Endpoint in Web
Please select “SIP—>SIP Endpoints—>Add New SIP Endpoint” to set SIP trunk. The following figure shows detail information about how to set it.
About other parameters in SIP, please set by your requirements for there is no need to set them in simple calls.
Step 6. Set Routing Rules in Web
Click “ROUTING—> Call Routing Rules—> New Call Routing Rule” to set outbound and inbound routing rules like the following:
inbound routing rules:
outbound routing rules:
Please save all your changes to make effect.
Step 7. Register a SIP extension by software
Taking advantage of SIP software such as Xlite, eyeBeam to register a SIP extension(3001).
Test call:
Incoming call test: Dial the number of port 1 on the gateway via your mobile to see if 3001 will ring. If 3001 rings, it means your configuration is successful; unless, it means there is something wrong with your configuration, please check it.
Outgoing call test: Dial your mobile number on 3001 extension registered in a software phone. If your mobile rings, it means your configuration is ok; unless, please check your configuration.