Z u l t y s , I n c . 7 7 1 V a q u e r o s S u n n y v a l e , C a l i f o r n i a , U S A 9 4 0 8 5 w w w . z u l t y s . c o m
Author: Zultys Technical Support Department
This document covers basic set up of the following Media Gateway models MG4/S, MG8/S, MG4/O,
MG8/O, MG8/SO (MG will designate any model in this series) in conjunction with the MX250 and MX30.
This document is based on MG gateways with software revision 1.9.82.306.X and MX system with
software revision 6.0.
It is assumed the reader is familiar with creating Users, Devices, Assignments, SIP Servers on the MX
system and is a current ZCSE Technician. Basic Telephony and Basic Networking is assumed as well.
Consult “Media Gateway installation Guide” for installation procedures. Consult “MG User Configuration
Guide” for description of features not present in this manual.
It is strongly recommended that the MX is configured PRIOR to integrating the Media Gateways to prevent
the IP address of the Media Gateway being blocked by the MX.
MG Gateways must be configured with Microsoft® Internet Explorer®. At this time, FireFox®, Safari® and
other internet browsers are not supported by the current revision of MG Gateway software.
July
11
MG4 & MG8 Series Gateway Setup
Manual
Technical Publications
Technical Publications
1 Contents
2 CONFIGURE ALL PORTS ON THE MG ........................................................................ 3
15.1 OUTGOING ON CALLS ON FXO FAIL TO CONNECT. ....................................................... 42
15.2 BLANK SIP MESSAGES ARE BEING SENT TO THE MX FROM THE MG ............................... 42
15.3 MWILIGHTS ARE NOT SET CORRECTLY ...................................................................... 42
15.4 DNS INFORMATION IS INCORRECT AFTER UPDATING A DNS SERVER .............................. 42
15.5 LOCAL 3 WAY CONFERENCING OF THE FXS PORT ON THE MG DOES NOT WORK BY DEFAULT42
2 Configure all ports on the MG
You MUST configure all ports on the MG, if you fail to configure all ports (even if
you are not using them) the MG will continue to attempt to register, this action
devices to block the IP of the MG itself.
3 MX250/30 Setup
It is recommended that the MX have a generic SIP device created for each FXS Port
that is on the MG to register against. The Device ID used in the MX will be the
phone number used on the MG for registration purposes; this configuration does
not count against any licensing, as the MX is not licensed by registration.
3.1 Create Users
Create a user for each FXS (SLT) port of the MG gateway by logging into the MX
Admin UI and navigating to Configure | Users.
MG Series Gateway Setup Manual ver 306.X (0000000272)
Create a device for each FXS/FXO port of the Gateway by navigating to Configure |
Devices in the Admin UI. Each step is outlined below. Since you are creating
Generic SIP devices no restart of the MX is needed. You will not be using the FXS
configuration portion of the MX Admin UI, as the devices connected to Media
Gateways are connected as SIP devices.
3.2.1 Create new Generic SIP Profile
Before creating devices for Gateway from the Manage Device screen click the
Profiles button, and create a new Generic SIP profile.
From the dropdown select Generic SIP device, and give the profile a unique name.
MG Series Gateway Setup Manual ver 306.X (0000000272)
Sends SIP Registration
G711 Codec (G729 is optional)
Send Syslog event when device is not registered with the MX
Send unsolicited NOTIFY for Message Waiting Indication if device does not
Subscribe to MWI service
Click OK.
MG Series Gateway Setup Manual ver 306.X (0000000272)
Create the same number of devices the gateway can support. By default the
gateway will register ALL ports, even if not being used. The device ID
here should be used in
Select Generic SIP device
Add all available ports that are supported by the device
Click Next
Select the Profile created
MG Series Gateway Setup Manual ver 306.X (0000000272)
We recommend assigning users to the devices associated with FXS ports of MG
only.
4 Connecting the Computer to MG Gateway
To configure the MG Gateway, use the web interface.
Use the Ethernet cable that comes with the system to connect MG to the network
By default the MG8 uses DHCP and can accept the IP address from DHCP
automatically. If there is no DHCP server on the network, you can use factory
default IP address of 192.168.2.218. After the MG8 is started (when leds stop
flashing), it will repeat the IP address to the first off-hook user; in addition, you can
dial ## from any analog phone connected to the FXS Ports to have the MG play its
IP. If there is only FXO ports use external call and dial ## after been connected.
From the PC that is on the same network as MG8, open Internet Explorer, no other
browsers are supported at this time. Enter the gateway IP address in the Address
field (for example, 192.168.2.218). On the login page enter the gateway password
(the default password is voip, which can be changed on the page Changing
Password), and you enter the web configuration interface.
MG Series Gateway Setup Manual ver 306.X (0000000272)
Power indicator (PWR), the light on indicates that it has
been powered.
②
Ethernet interface indicator (ETH), the light on indicates
successful connection, the light flashing indicates that data
packets are being received or sent.
③
Analog subscriber line (FXS) or analog trunk (FXO)
interface indicator, the light on indicates that it is in use.
5 Configuration of MG8
The MG8 has a small plastic structure for desktop placement; the MG8 can provide
up to 8 analog line interfaces. MG8 supports the following types of configuration:
5.1 MG8 Front Panel
5.1.1 Description of MG8 Front Panel
MG Series Gateway Setup Manual ver 306.X (0000000272)
Basic settings are where you set the IP addressing and SIP Registrations settings. SIP
registration settings for the FXS/FXO port MUST be set LAST, to prevent the MX
from blocking the IP address of the MG8. If the IP address is blocked by the MX (a
syslog event will be generated) you must restart them MX to remove this block.
MG Series Gateway Setup Manual ver 306.X (0000000272)
Click on the Basic button and then click on the Network link.
Recommended Settings
Host Name: Optional to change from the default
IP Address assignment: Fixed
DNS : Enabled
Primary Server: Populate with correct server
Secondary Server: Optional
SNTP: The IP of the MX
Time zone: Select appropriate Time Zone
Requires a system reboot, or you can make all the changes first and finish with a
system reboot at a later time.
MG Series Gateway Setup Manual ver 306.X (0000000272)
parameter after offhook, the gateways will consider that the subscriber
has given up the call and prompt to hang up in busy tone. Unit: second;
Default value: 12 seconds.
Inter-digit
timer
dialing the last number key to the set time by this parameter, the
gateways will consider that the subscriber has ended dial-up and call out
the dialed number. Unit: second; Default value: 12 seconds.
Critical digit
timer
This parameter is used with the "x.T" rule set in dialing rules. For
example, there is "021.T" in the dialing rules table. When a subscriber
this parameter (eg. 5 seconds), the gateways will consider that the
subscriber has ended dial-up and call out the dialed number 021.
Unit: second; Default value: 5 seconds.
Codec
Codecs methods supported by the gateways include G729A/20,
G723/30, PCMU/20, PCMA/20, iLBC/30 and GSM/20 (as shown in
table 2-5). This parameter must be set due to no default value.
Several encoding methods can configure in this item at the same time,
platform in the order from front to back when configuring the codec
methods
Hook-flash
handle
The gateways provide the following processing modes after detecting
hook flash from subscriber terminals: processing the hook flash
internally; transmitting the hook flash to platform with RFC 2833, and
transmitting the flash-off to platform with SIP INFO.
DTMF method
Transmission modes of DTMF signal supported by the gateways include
Audio, RFC 2833 and SIP INFO. The default value is Audio.
Audio: DTMF signal is transmitted to the platform with sessions;
SIP INFO: Separate DTMF signal from sessions and transmit it to the
platform in the form of SIP INFO messages;
RFC 2833: Separate DTMF signal from sessions and transmit it to the
platform through RTP data package in the format of RFC2833.
2833 payload
type
value of 2833 payload type is 100. The effective range available: 96 ~
127. This parameter should match the setting of far-end device (eg.
platform).
DTMF on-time
This parameter sets the on time (in ms) of DTMF signal sent from FXO
port. The default value is 100 ms. Generally, the duration time should be
set in the range of 80 ~ 150 ms.
MG Series Gateway Setup Manual ver 306.X (0000000272)
This parameter sets the off time (ms) of DTMF signal sent from FXO
port. The default value is 100 ms. Generally, the interval time should be
set in the range of 80 ~ 150 ms.
DTMF
detection
threshhold
Minimum duration time of effective DTMF signal. Its effective range is
32-96 ms and the default value is 48 ms. The greater the value is set, the
more stringent the detection is.
6.3 Advanced Settings Media Stream
Recommended settings:
Min.RTP port 20000
Max.RTP port 20999
TOS bits 0x2E
The rest can be left as default
MG Series Gateway Setup Manual ver 306.X (0000000272)
This number is used for the batch setup of consecutive number of
number of Line 1 adopts initial number; that of Line 2 increases 1
if you do not use batch configuration or the number is not
consecutive.
ID n
Fill in the generic SIP device ID associated with the subscriber line n
(FXS port). This should be manually performed if Batch mode is not
used.
7 FXS Settings
Use the generic SIP devices you created earlier.
7.1 Setup the Prefix
Enter in the starting number and click Batch, the system will automatically
increment for all available ports.
Those IDs correspond to Generic devices created in MX
You set up the prefix for all the FXS lines on the Phone Number page.
MG Series Gateway Setup Manual ver 306.X (0000000272)
The following is a sample setting for your reference. You need to click the Submit
button for these settings to go into effect.
8 Set up the FXS Line (Features)
From the Line tab, click the Feature link.
8.1 You set up the FXS line on the FXS Configuration page.
Recommended Settings
Phone Number: this is the registration name. It will be the Device ID.
Registration: Yes (checked)
Password: Blank (If filled should correspond to the password of the Generic
device created on MX)
Call waiting: Checked
CID on call waiting: Checked
Call Hold: Checked
Caller transfer: Checked
Caller ID Display: Checked
Subscribe MWI: Unchecked, allows the MG to subscribe to the MX for
Message notification.
The reaming options are left default unchecked
Click Submit to submit the changes
MG Series Gateway Setup Manual ver 306.X (0000000272)
Note: The following features are valid only in SIP protocol. When the gateways use MGCP
protocol, features are controled by the proxy server without the need of setting on
gateways.
Hot line
Select if the gateways are required to automatically dial out the hotline
number after off hook. By default, hot line is disabled.
Disable hot line: Close this feature.
Hot line: Automatically dial out the hotline number after off hook.
Delayed hot line: Automatically dial out the hotline number after off
hook is timeout with a time delay of 5 seconds.
Hot line
number
After the hotline function is activated on this line, the hotline number
must be entered here.
CRBT
CRBT stands for Color Ring Back Tone. Set if CRBT is activated, that is,
provide prepared audio package as ring back tone. Note: it is required to
set the CRBT file download platform. This is not selected by default.
MX8 and M100 support two CRBT storage modes: on-system (stored in a
flash memory) and run-time download (from FTP server). The capacity of
both modes are described as follows:
On-system:
MX8: No more than 20 seconds in G.729 format (fring1.dat)
MX100: Up to 20 tone files, a maximum of 400 seconds in G.729 format
or 50 seconds in G.711 format.
Run-time download:
MX8/MX100: Up to 20 tone files, a maximum of 10000 seconds in G.729
format or 1250 seconds in G.711 format.
Note: Tone files are stored in the flash memory and the gateways
automatically download the tone files from FTP server after power on.
CRBT ID
Set the CRBT number with a valid rang of 0~255, where 0 indicates
disabling CRBT. The default value is 0.
Speed dials
Select if the Speed dials is activated on this line. By default, this is not
selected.
Speed dial list
If the Speed dials is activated on this line, enter the speed dials list.
numbernumberabbreviated number is 20 ~ 49. For example: 20-61202700/2313052475522/30-96961. Users can set the list on a telephone set and
display it here.
Call
forwarding
Select if Call Transfer is activated on this line. By default, it is not
selected.
MG Series Gateway Setup Manual ver 306.X (0000000272)
If it is required to forward all incoming calls unconditionally, enter the
new destination number here.
CFNR
If it is required to forward an incoming call when there is no answer,
enter the new destination number here.
CFB
If it is required to forward an incoming call when it is busy, enter the new
destination number here.
Forking
Select if the Forking is activated. Forking allows the gateway to initiate a
call to another telephone terminal while ringing on this line terminal and
the answer by either terminal will end up with ringing of the other
terminal.
Forking
number
If forking of this line is activated, set a number for the second ringing
terminal here. The ringing terminal can be another port of gateways or
an external terminal such as mobile phone.
Release
control by
caller
Select if the call release is controlled by the caller. By default, this is not
selected.
Selected: The gateway will immediately release the call upon caller
hanging up; the gateway will not release the call as long as the caller is
still off until timeout (60 seconds by default);
Unselected: The gateway will immediately release the call upon either
party hanging up the call.
Call waiting
Select if Call waiting is activated on this line. By default this is not
selected.
CID on call
waiting
Select if Caller ID Display is activated on this line during call waiting. By
default, this is not selected.
Call hold
Select if Call Hold is activated on this line. By default this is not selected.
Note:
If this function is activated, the gateways will automatically activate Call
Transfer (Either party may transfer the current call to a third party).
Caller Transfer
Select if Caller Transfer is activated on this line. By default, this is not
selected. When A calls to B, B picks up the call and transfers the call to C,.
Note: The call hold must be activated before caller transfer.
Caller ID
display
Set if Caller ID display is activated on this line. By default, this is selected.
Note: In addition to number display, the Caller ID can display the names
of incoming calls as long as terminal equipment support.
Caller ID
restriction
Set if the number of this telephone is sent to the called party. By default
this is not selected.
Outgoing call
barring
Select if outgoing calls are barred on this line. By default, this is not
selected.
MG Series Gateway Setup Manual ver 306.X (0000000272)
Set if DDI (Direct Dialing In) is activated, By default this is not selected.
Different from FXS, DDI is only used for incoming calls, and the gateways
will not send dial tone after off-hook (calling in) on user side.
Note: Reverse polarity signal must be activated on the gateways when
DDI is used.
Maintenance
Select if the line is set to maintenance status, namely, stop to supply of
power for the line port. By default, this is not selected.
Polarity
reversed signal
Select if reverse polarity signal is activated on this line. By default, this is
not selected.
Note: The gateways will provide reverse polarity signal when the phone
is connected after this feature is activated.
Subscribe MWI
Select if voice mail service is activated, and by default this is not selected.
MWI subscription
Configuration)
8.2 Advanced features of the FXS port
The advanced features of the FXS port are configured under Advance Line
MG Series Gateway Setup Manual ver 306.X (0000000272)
Set the voice volume gain towards IP side, the default is 0. Taking
decibel as the unit, setting range is -3 ~ +3 decibels. -3 means
declining of 3 decibels; +3 denotes the amplification of 3 decibels.
Gain to terminal
Set the voice volume gain towards FXS port side, the default is -3.
Taking decibel as the unit, setting range is -6 ~ +3 decibels. -3
means declining of 3 decibels; +3 denotes the amplification of 3
decibels.
Impedance
Select the parameter of FXS port line impedance and the default
value is 600 ohm. The optional values as below:
Complex
600(ohm)
900(ohm)
Min.hookflash
Used by gateway to detect Hook Flash event, the default is 75
milliseconds. The gateway will ignore any flash that fall short of
the shortest flash time. Generally, this value should not be less than
75 milliseconds.
Max.hookflash
Used by gateway to detect hook flash, the default is 800
milliseconds.
The gateway will regard the flash duration between
Any flash
lasting over the longest time will be considered by gateway as
hang up. Generally, this value should not be less than 800
milliseconds.
Hook debouncing
Used by gateway to avoid the glitch of the phone status, with
default of 50 milliseconds.
When the duration from hang-up to off-hook falls short of this
value, the gateway will ignore the status variation, and consider
the phone remains hang-up status. In case of vice versa, the
gateway will ignore the status variation, and consider the phone
remains off hook status. Effective range of setting is 10~1000
milliseconds.
Ring frequency
Set the ringing frequency to be transmitted by gateway to the
phone, ranging from 15 to 50 Hz, with default of 20 Hz.
Caller release
Set the delay release time of line as caller control method, with
default of 60 seconds. Effective range of setting is 15~180 seconds.
Outpulsing delay
Used when gateways FXS port is connected with the trunk
interface of PBXs. For calls from gateway to PBX, gateways will
relay the extensions to PBX after the delay set here. Setting of 0
means no extension number relay. The default is 0 millisecond.
MG Series Gateway Setup Manual ver 306.X (0000000272)
Outgoing: Transmit reverse polarity signal only when the
outbound is connected;
Bi-direction: Transmit reverse polarity signal for the
connection of both inbound and out bound calls.
Polarity reversal
delay
The delay time from call being answered to the transmission of
reverse polarity signal. The default value is 3 in seconds. Effective
range of setting is 0 ~ 30 seconds.
Call ID transmit
Select transmission mode of Caller ID signal from the FXS port to
the phone.
FSK or DTMF;
SDMF or MDMF;
Sending Caller ID data before or after ringing;
Sending Caller ID data with or without parity.
Music on hold
Choose whether to play the background music while call waiting,
and the default is not to play.
Call waiting with
hunt group
Choose whether to activate hunt group feature for call waiting,
Default not selected.
Message waiting
light
Choose the lighting method of message waiting indicator of voice
mail here: None, Polarity reversed, FSK. Message waiting indicator
refers to the special LED on a phone, working with voice mail
function. When user gets the latest mail, the gateway will light this
lamp upon receiving the notice from platform; the light goes off
when the user well received all the
understand whether the phone supports the indicators and
lighting method when selecting the lighting method.
9 Create SIP Trunk from Zultys to MG
This SIP Trunk to the MG8 is used to allow calls from the MG8 to the MX and will
be used to place FXO calls out of the MG8.
9.1 Create SIP Trunk on MX
MG Series Gateway Setup Manual ver 306.X (0000000272)
Type: External
Address: IP Address or FQDN of the MG Gateway
The rest can remain the default settings
10 FXO Settings
Calls placed from the MX to the MG8 will arrive on the SIP trunk created earlier.
The MG8 routing table will control calls leaving the MG8 to the PSTN.
10.1 If the MG8 has FXO lines, you need to set them up on the FXO
Configuration page.
MG Series Gateway Setup Manual ver 306.X (0000000272)
Unique Identifiers for each trunk, correspond to Generic SIP devices created
on MX
10.2 FXO Line configuration
Recommended settings:
Phone Number: Unique Identifier per trunk
Registration: Unchecked
Inbound Handle: Binding
Binding Number: A DID of the user/call group/auto attendant on the MX
that all incoming calls will ring to
Call ID Detection: Checked
Echo cancellation: Checked
Click submit to save changes
Click Trunk Batch to copy to remaining FXO lines
MG Series Gateway Setup Manual ver 306.X (0000000272)
-indicates the current selected trunk number and m indicates the total
number of trunks.
Phone number
Display device ID
Registration
Select if this trunk registers with the SIP registration server. By default,
this is selected.
Password
The authentication password for register of this line must be entered
here corresponding to the password set for the same device ID on MX.
Note: The following features are valid only in SIP protocol. When the gateways use MGCP
protocol, the control of all call services is provided by the proxy server without the need of
setting.
Inbound handle
The gateways provide two scenarios for handling incoming calls of
FXO port:
port, the gateways will provide the second dial tone and route the
call according to the extension number pressed in. Note: dialing
tone or voice prompt file can be changed by user.
gateways will route the call to a FXS port according to the DID
number bound with the port. Note: Setting a number to be bound is
required or this setting is invalid.
Polarity reversed
signal detection
If a PSTN line supports reverse polarity, make a selection here. Or this
setting is invalid. By default, this is not selected.
Caller ID
detection
Select if the detection function of caller ID for this FXO port is
enabled. By default, this is selected.
Outgoing call
barring
Select if this FXO port bars outgoing call service to PSTN. By default,
this is not selected.
Echo cancellation
Select if echo cancellation is enabled for this FXO line. By default, this
is selected.
Connect signal
delay
After making an outgoing call from a FXO port, the gateway will send
a 200 OK message to the platform with delay if this parameter is
selected. If unselected, the system sends a 200 OK message to the
platform after off hook on the FXO port. Used with the configuration
10.3 Advanced FXO settings
Suggested settings are
Caller ID detection mode: After ringing A
MG Series Gateway Setup Manual ver 306.X (0000000272)
Set the voice volume gain towards IP side, the default is 0. Taking
decibel as the unit, setting range is -3 ~ +9 decibels. -3 means declining
of 3 decibels; +3 denote the amplification of 3 decibels.
Gain to PSTN
Set the voice volume gain towards PSTN side, the default is -3. Taking
decibel as the unit, setting range is -6 ~ +9 decibels.
Impedance
Set the parameter of FXO line impedance, with the default of 600
ohm. The optional settings as below:
Complex
600(ohm)
Outpulsing Delay: 600
Busy|Repeat: 30 (allow at least 30 cycles of busy tone for outgoing call
before disconnecting the line)*
The rest as defaults
MG Series Gateway Setup Manual ver 306.X (0000000272)
The time interval between FXO going off-hook and starting outpulsing
the first digit to PSTN. The default is 400 in milliseconds.
Ring relay
Whether to relay the ring of inbound call to the FXS port when
Busy line handle
Either a voice prompt or hanging up can be applied to FXO port when
an incoming call goes to the FXS port which is in busy. This applicable
only to DID feature.
PSTN failover
PSTN failover: if checked then when network connection from MG to
MX fails, MG tries to reroute the call. The recommended routing is
included in suggested routing table
Caller ID
detection modes.
Before ringing A
Before ringing B
After ringing A (set for US)
After ringing B
Inbound first
digit timeout
Set the timeout of calling DTMF on FXO port for inbound calls, ranging
from 10-60 seconds, with default of 24 seconds.
Answer delay
Set the delay time of outbound connection ranging from 10-60
Line >T
Connect signal delay
Off-hook for
rejection
Used for binding a FXO port with a FXS port. For inound calls to a FXO
port, if the FXS port which binging with the FXO port is in the state of
busy line, the gateway will hang up after hook off according to the
time set by the parameter, so as to refuse the upcoming call. The
duration of off hook is 500~5000 milliseconds, with default of 600
milliseconds.
On-hook
protection time
Protection period following hang up of FXO port. During this period,
gateway ignores any voltage variation of line. Value range is 100~5000
milliseconds, the default is 400 in milliseconds.
Polarity
detection.
Choose whether to activate the detection of reverse polarity signal of
FXO port inlet. Note the detection will work only when the trunk
supports polarity reversal.
Busy Detection
Repeat
Gateways will regard the busy tone signal with the repeat times
specified here as hang-up signal. Default is 2, values range from 2 to
40. *The web interface needs to be corrected to reflect this change
On-time
Set duration of busy tone signal, the default is 350 in milliseconds.
Off-time
Set the interval time of busy tone, the default is 350 in milliseconds.
MG Series Gateway Setup Manual ver 306.X (0000000272)
The routing table in the MG8 is used to route traffic between the MX
andMG8ports.
11.1 Digit Map
Recommended patterns, (where extensions on MX are 5000 to 5999)
This will allow calling Voice Mail, Park Server, Page Server, Blind Transfer Code, dial
Recommended settings: (where 192.168.1.1 is the IP Address of the MX)
FXS *38 ROUTE IP 127.0.0.1:5060
IP xxxx ROUTE FXS 1-4/g
IP 192.168.1.1:5060 ROUTE FXS
IP xxxxxx. ROUTE FXO 1-4/R
IP 911 ROUTE FXO 4-1/R
FXO x. ROUTE IP 192.168.1.1:5060
The above settings will allow
1. Blind transfer by doing a hook flash on the FXS and dialing *38 , wait for the
tone and then dial the transfer number
2. In a fail over situation (no IP connection to the MX) calls from the FXO lines
will ring all 4 FXS ports simultaneously
3. Calls from the MX to the FXS ports on the MG8
4. Calls from the MX to the MG8 that are 6 digits and longer are to be routed
to the PSTN (FXO) starting from port 1 to port 4 in a Round Robin manner.
5. Calls from the MX to the MG8 that are the exact match to 911 are to be
routed to the PSTN (FXO) starting from port 4 to port 1 in a Round Robin
manner.
6. Calls from the FXO ports to be sent to the MX
Calls from the FXS to the MX are handled by the registration/proxy process.
MG Series Gateway Setup Manual ver 306.X (0000000272)
Among them, IP source can be any IP address and is denoted by
“IP”; “IP [xxx.xxx.xxx.xxx]” is used to denote specific IP address; “IP
[xxx.xxx.xxx.xxx: port]” is used to denote specific IP address with
port number.
FXS and FXO ports can be any port, represented with “FXS” or “FXO”;
special lines can be represented with FXS or FXO + port number, eg.
FXS1, FXO2 or FXS [1-2], etc.
Number
It should be a calling number with the form of CPN + number or a
called number with the form of number. The number may be denoted
with digit 0-9,"*",".","#"," x ", etc., and uses the same regular
expression as that of dialing rules. Examples:
Designate a specific number: eg.114,61202700;
Designate a number matching a prefix: such as 61xxxxxx. Note: the
matching effect of 61xxxxxx is different from that of 61x or 61.
Specify a number scope. For example, 268[0-1,3-9] specifies any
4-digit number starting with 268 and followed by a digit between 01or 3-9;
Note: Number matching follows the principle of “minimum matching”.
For example: x matches any number with at least one digit; xx
matches any number with with at least two-digit; 12x matches any
number with at least 3-digit starting with 12.
Processing Mode
Description and Example
KEEP
Keep number. The positive number behind KEEP means to keep
several digits in front of the number; the negative number means to
keep several digits at the end of the number.
Example: FXS 02161202700 KEEP -8
Keep the last 8 digits of the called number 02161202700 for calls from
FXS. The transformed called number is 61202700.
REMOVE
Remove number. The positive number behind REMOVE means to
remove several digits in the front of the number; the negative number
means to remove several digits at the end of the number.
For example: FXS 021 REMOVE 3
Remove 021 of the called number beginning with 021 for calls from
FXS.
Number Transformations
MG Series Gateway Setup Manual ver 306.X (0000000272)
Add prefix or suffix to number. The positive number behind ADD is
the prefix; the negative number is suffix.
Example 1:
FXS1 CPNX ADD 021
FXS2 CPNX ADD 010
Add 021 in front of calling numbers for calls from FXS port 1; add 010
in front of calling numbers for calls from FXS port 2.
Example 2:
FXS CPN6120 ADD -8888
Add 8888 at the end of the calling number starting with 6120 for calls
from FXS port.
REPLACE
Number replacement. The replaced number is behind REPLACE.
Example: FXS CPN88 REPLACE 2682000
Replace the calling number beginning with 88 for calls from FXS port
to 2682000.
REPLACE
Other use of REPLACE is to replace the specific number based on
other number associated with the call. For example, replacing the
calling number according to the called number.
Examples:
FXS 12345 REPLACE CPN-1/8621
FXS CPN13 REPLACE CDPN0/0
For calls from FXS ports with called party number of 1234, removing
one digit at the rear of the calling number and add 8621; for call s
from FXS ports with calling party number starting with 13, add 0 in
front of the called number.
MG Series Gateway Setup Manual ver 306.X (0000000272)
End of number transformation. From top to bottom, number
transformation will be stopped when END or ROUTE is encountered;
the gateways will route the call to the default routing after meeting
EDN, or route the call to the designed routing after meeting ROUTE.
Example 1:
FXS 12345 ADD -8001
FXS 12345 REMOVE 4
FXS 12345 END
Add suffix 8001 to the called number starting with 12345 for calls
from FXS ports, then remove four digits in front of the number to end
number transformation.
Example 2:
IP[222.34.55.1] CPNX. REPLACE 2680000
IP[222.34.55.1] CPNX. ROUTE FXS 2
For calls from IP address 222.34.55.1, calling party number is
replaced by 2680000, and then the call is routed to FXS port 2 with
the new calling party number.
CODEC
Designate the use of codec, such as PCMU/20/16, where PCMU
denotes G.711, /20 denotes RTP package interval of 20 milliseconds,
and /16 denotes echo cancellation with 16 milliseconds window.
PCMU/20/0 should be used if echo cancellation is not required to
activate.
Example:
IP 6120 CODEC PCMU/20/16
PCMU/20/16 codec will be applied to calls from IP with called party
number starting with 6120.
RELAY
Insert prefix of called party number when calling out. The inserted
prefix number follows behind REPLAY.
Example:
IP 010 RELAY 17909
For calls from IP with called party number starting with 010, digit
stream 17909 will be pulsed out before the original called party
number being sending out.
Destination
Description and Example
ROUTE NONE
Calling barring.
Example:
IP CPN[1,3-5] ROUTE NONE
Bar all calls from IP, of which the calling numbers start with 1, 3, 4, 5.
Routing Destination
MG Series Gateway Setup Manual ver 306.X (0000000272)
Configure the UDP port for transmitting and receiving SIP messages,
with its default value 5060.
Note: The signaling port number can be set in the range of 1-9999,
but cannot conflict with the other port numbers used by the
equipment.
Register server
Configure the address and port number of SIP register server, and
value.
The register server address can be an IP address or a domain name.
When a domain name is used, it is required to activate DNS service
and configure DNS server parameters on the page of configuring
12 SIP protocol Settings
SIP protocol Settings are on the Basic tab and click on the SIP link.
12.1 You need to set up three parameters on the SIP Configuration
page.
Recommended Settings:
Signaling port: 5060
Registrar server: IP Address or FQDN of the MX:5060
Proxy Server: IP Address or FQDN of the MX:5060
Authentication mode: Register by line
Registration period: 3600
MG Series Gateway Setup Manual ver 306.X (0000000272)
Configure the IP address and port number of SIP proxy server, and
value.
The proxy server address can be set to an IP address or a domain
name. When a domain name is used, it is required to activate DNS
service and configure DNS server parameters on the page of
configuring network parameters. Examples of complete and
effective configuration: "201.30.170.38:5060", "softswitch.com:
5060".
Backup proxy
server
Configure the IP address and port number of backup proxy server. It
has no default value. Add the address of calling proxy server here,
and the gateways can support selection function of multiple
softswitch addresses through IP address. The format must be IP
address format and complete and effective configuration, eg.
identical.
Conditions for falling over to the backup proxy server (any):
1)Gateway register is timeout;
2)No response to master server calls is timeout;
User agent
domain name
This domain name will be used in INVITE messages. If it is not set
here, the gateways will use the IP address or domain name of proxy
server as user agent domain name. It has no default value.
It is recommended that subscribers not use LAN IP address to set
domain name parameter.
Authentication
mode
The gateway support three registration scheme: register per line,
register per gateway and Line Reg/GW Auth. The default value is
register by line.
Register by line: authentication and register per line;
Register by gateway: authentication and register per gateway;
Line Reg/GW Auth: register per line, but authentication per
gateway.
User name
Configure the user name as part of the account for registration, and
it has no default value.
MG Series Gateway Setup Manual ver 306.X (0000000272)
Password as part of account information is used for authentication
by platform. It has no default value. It is formed with either numbers
or characters, and case sensitive.
the password
Registration
period
Valid time of SIP re-registration in second.
13 Additional Options
To enable additional settings you will need to use Internet Explorer, and enter
custom http urls in the Address window.
This option allows switching silence on FXS Ports after
receiving disconnect from the other side. The silence is used with special paging
devices, which disconnect on silence.
URI: http://xx.xx.xx.xx/xml?method=gw.config.set&id603=0
To read back the current value:
http://xx.xx.xx.xx/xml?method=gw.config.get&pass=voip&id=603
The setting affects all FXS ports
14 Fail Over
14.1 SIP Failure between the MG and the MX
In the event SIP communications is lost between the MG and the MX, incoming
calls can be routed to the FXS Ports via the Routing Table. The recommended entry
is
IP xxxx ROUTE FXS 1-4/g
This will route all incoming calls that have that are exactly 4
digits in length to FXS Ports 1-4 simultaneously.
or shorter than
section.
14.2 Power Fail MG8SO (4FXO/4FXS)
In the event of a power failure for the MG8SO (which has 4 FXS Ports, and 4 FXS
Ports).
section.
FXO Port 1 will be relay switched to FXS Port 1
FXO Port 2 will be relay switched to FXS Port 2
FXO Port 3 will be relay switched to FXS Port 3
FXO Port 4 will be relay switched to FXS Port 4
MG Series Gateway Setup Manual ver 306.X (0000000272)
This section covers basic troubleshooting areas of the MG.
15.1 Outgoing on calls on FXO fail to connect.
Try to eOut Pulsing Defrom 400 ms to longer time (600-1000 ms.
This will extend the time from going off hook on the FXO before sending out the
first DTMF tone. This can be done on the Advanced Tab | Trunk page.
15.2 Blank SIP messages are being sent to the MX from the MG
To st
MX, disable NAT Transversal, on the Advanced Tab | System page.
15.3 MWI Lights are not set correctly
Change the MWI Subscription time from once every 24 hours (86400) to once an
hour (3600 seconds). This can be done under the Advanced Tab | SIP page.
15.4 DNS information is incorrect after updating a DNS server
DNS is cached on the MG and is only updated on a reboot. This can be modified by
Zultys Technical Support.
15.5 Local 3 way conferencing of the FXS port on the MG does not
work by default
Local conferencing is disabled by default and can be enabled by Zultys Technical
Support.
MG Series Gateway Setup Manual ver 306.X (0000000272)