Grandstream Networks UCM6 series User manual

Grandstream Networks, Inc.
UCM6xxx Series - Analog Trunks Guide

P a g e | 2
UCM6XXX Analog Trunks Guide
Table of Contents
INTRODUCTION.............................................................................................................4
UCM6XXX SETUP OVERVIEW......................................................................................5
CONFIGURING ANALOG TRUNKS ..............................................................................6
PBX Status...............................................................................................................................................6
Configure a New Analog Trunk ................................................................................................................6
Create a New Analog Trunk .............................................................................................................7
Create Outbound/Inbound Rules ...........................................................................................................11
Create Inbound Routes .................................................................................................................. 11
Create Outbound Routes ...............................................................................................................12
Using Analog Trunk as Failover .............................................................................................................14
ACIM AND PSTN DETECTION ....................................................................................15
ACIM Settings ........................................................................................................................................15
PSTN Detection .....................................................................................................................................17
Automatic Detection of PSTN Parameters.....................................................................................17
Manual Configuration of PSTN Parameters...................................................................................20
MONITORING ANALOG LINES ...................................................................................25
Enabling SLA Mode ...............................................................................................................................25
Create/Edit SLA Station .........................................................................................................................25
Sample Configuration ............................................................................................................................27

P a g e | 3
UCM6XXX Analog Trunks Guide
Table of Figures
Figure 1: UCM6202 Front and Back Panels .................................................................................................5
Figure 2: FXO Port Connected but not Configured.......................................................................................6
Figure 3: Create a New Analog Trunk...........................................................................................................7
Figure 4: Analog Trunk Configuration Page ..................................................................................................7
Figure 5: Analog Trunk Created ..................................................................................................................11
Figure 6: Create New Inbound Rules..........................................................................................................11
Figure 7: Inbound Rules with Time condition ..............................................................................................12
Figure 8: Inbound Rules Created ................................................................................................................12
Figure 9: Create a New Outbound Rule......................................................................................................13
Figure 10: Outbound Rule Created .............................................................................................................13
Figure 11: Add Analog Trunk as Failover ....................................................................................................14
Figure 12: Analog Trunk added as Failover ................................................................................................15
Figure 13: Ports Config Page......................................................................................................................16
Figure 14: ACIM Settings ............................................................................................................................16
Figure 15: UCM6XXX FXO Tone Settings ..................................................................................................17
Figure 16: UCM6XXX PSTN Detection: Auto Detect ..................................................................................18
Figure 17: UCM6XXX PSTN Detection: Semi-Auto Detect ........................................................................18
Figure 18: Answering Call Prompt ..............................................................................................................19
Figure 19: Hangup Call Prompt ..................................................................................................................19
Figure 20: PSTN Parameters Detected ......................................................................................................19
Figure 21: Custom Tone Parameters ..........................................................................................................20
Figure 22: Download Analog Trace.............................................................................................................21
Figure 23: A key dial-up FXO ......................................................................................................................21
Figure 24: Import Raw File to Audacity .......................................................................................................22
Figure 25: Import Raw Data Parameters ....................................................................................................23
Figure 26: Raw Data Imported ....................................................................................................................23
Figure 27: Measuring Cadence...................................................................................................................23
Figure 28: Busy Tone Frequencies .............................................................................................................24
Figure 29: Enable SLA Mode for the Analog Trunk.....................................................................................25
Figure 30: SLA Station Page.......................................................................................................................25
Figure 31: Create New SLA Station ............................................................................................................26
Figure 32: Enable SLA Mode for Analog Trunk...........................................................................................27
Figure 33: Analog Trunk with SLA Mode Enabled ......................................................................................27
Figure 34: SLA Example - SLA Station .......................................................................................................27
Figure 35: SLA Example - MPK Configuration............................................................................................28

P a g e | 4
UCM6XXX Analog Trunks Guide
INTRODUCTION
UCM6XXX series have integrated FXO ports allowing connection of PSTN lines and/or lines from traditional
analog PBX. An analog trunk can be defined as a single line or multiple lines (PSTN lines or lines from traditional
analog PBX). Each UCM6XXX supports at least 2 FXO ports and reaching 16 FXO ports for UCM6116 model.
Using analog trunks allow customers to keep using their actual PSTN lines/PBX lines and integrating them to
VoIP systems such as UCM6xxx giving it hybrid capability from VoIP to PSTN and vice versa and taking VoIP
and other services offered by UCM6xxx including mobility and reducing calling costs, call recording, IVR,
privileges and rules for users, ability to use analog trunk from remote extensions…
In this guide, we will be using UCM6202 as example to provide steps on how to configure Analog Trunks as
well as basic Inbound/Outbound Rules, ACIM Settings and PSTN Detection configuration, and how to monitor
analog trunks using SLA Station.
Note that the same steps showed in this guide can be applied for all UCM6XXX models.
Notes:
•UCM6xxx Series include UCM6100 Series, UCM6200 Series and UCM6510.
•UCM6100 series supports 2/4/8/16 FXO Ports.
•UCM6200 series supports 2/4/8 Ports.
•UCM6510 supports 2 FXO Ports.

P a g e | 5
UCM6XXX Analog Trunks Guide
UCM6XXX SETUP OVERVIEW
To connect analog lines to UCM6xxx, please follow the below steps:
•Connect the UCM6XXX to the Network via WAN/LAN Port, and power it on.
•Once the UCM6XXX boots up and connects to the network, the corresponding LAN/WAN LED indicators
will be in solid green and the LCD shows the IP address
•Connect the Analog lines from the wall jack/CO switch to the FXO ports, the corresponding FXO LEDs will
be in solid green.
Figure 1: UCM6202 Front and Back Panels
Once the FXO ports are physically connected to analog lines, users may login to the UCM6XXX’s Web GUI to
configure the Analog Trunks settings and outbound/inbound rules.

P a g e | 6
UCM6XXX Analog Trunks Guide
CONFIGURING ANALOG TRUNKS
Use a computer connected to the same network as the UCM6XXX, then login to the web GUI of the UCM6XXX
by typing the IP address shown on its LCD on your browser, and type in the admin username and password.
PBX Status
After login, the first default page will show the UCM6XXX status, this will help users to check the FXO Ports
status and give the ability to quickly see the FXO overview, without physically monitoring the FXO LEDs.
When connecting a new analog line to an FXO port, its interface status on the web GUI will be in solid grey and
shows connected but not configured, as shown in the below figure.
Figure 2: FXO Port Connected but not Configured
FXO icon in green indicates analog trunk is ready, while in orange color, it indicates the trunk is used.
Configure a New Analog Trunk
This section will give an overview on how to create/edit analog trunks, and detect PSTN parameters.

P a g e | 7
UCM6XXX Analog Trunks Guide
Create a New Analog Trunk
To create a new analog trunk:
1. Go to Web GUIPBXExtension/TrunkAnalog Trunks.
2. Click on to add a new analog trunk.
Figure 3: Create a New Analog Trunk
3. The following figure will pop up, allowing users to configure the connected analog lines to the FXO port.
Figure 4: Analog Trunk Configuration Page
Please refer to the following table for Analog Trunk configuration parameters.

P a g e | 8
UCM6XXX Analog Trunks Guide
Table 1: Analog Trunk Configuration Parameters
Channels
Select the channel where analog trunk is connected (Channel 1, Channel2…)
•UCM6202/UCM6102/UCM6510: 2 channels
•UCM6204/UCM6104: 4 channels
•UCM6208/UCM6108: 8 channels
•UCM6116: 16 channels
Note: Users can select multiple channels if the trunk is using multiple lines. Please
refer to [DAHDI Out Line Selection] for more options.
Trunk Name
Specify a unique label to identify the trunk when listed in outbound/inbound rules.
SLA Mode
Enable this option to satisfy two primary use cases, which include emulating a simple
key system and creating shared extensions on a PBX. Enable SLA Mode will disable
polarity reversal. Please refer to Enabling SLA Mode section for more details.
Barge Allowed
Available only if “SLA Mode” is enabled, the barge option specifies whether or not
other SLA stations are allowed to join a call in progress on this trunk. If enabled, the
other stations can press the line button to join the call. The default setting is Yes.
Hold Access
Available only if “SLA Mode” is enabled, the hold option specifies hold permissions
for this trunk. If set to “Open”, any SLA station can place this trunk on hold and any
other SLA station is allowed to retrieve the call. If set to “Private”, only the station that
places the call on hold can retrieve the call. The default setting is Yes.
Advanced Options
Enable Polarity
Reversal
If enabled, a polarity reversal will be marked as received when an outgoing call is
answered by the remote party. For some countries, a polarity reversal is used for
signaling the disconnection of a phone line and the call will be considered as “hang
up” on a polarity reversal. The default setting is “No”.
Polarity on
Answer Delay
When FXO port answers the call, FXS may send a Polarity Reversal. If this interval is
shorter than the value of “Polarity on Answer Delay”, the Polarity Reversal will be
ignored. Otherwise, the FXO will on-hook to disconnect the call. The default setting is
600ms.
Current Disconnect
Threshold (ms)
This is the periodic time (in ms) that the UCM6200 will use to check on a voltage drop
in the line. The default setting is 200. The valid range is 50 to 3000.
Ring Timeout
Configure the ring timeout (in ms). Trunk (FXO) devices must have a timeout to
determine if there was a Hangup before the line is answered. This value can be used
to configure how long it takes before the UCM6200 considers a non-ringing line with
Hangup activity. The default setting is 8000.
RX Gain
Configure the RX gain for the receiving channel of analog FXO port. The valid range
is from -13.5 (dB) to + 12.0 (dB). The default setting is 0.

P a g e | 9
UCM6XXX Analog Trunks Guide
TX Gain
Configure the TX gain for the transmitting channel of analog FXO port. The valid
range is from -13.5 (dB) to + 12.0 (dB). The default setting is 0.
Use CallerID
Configure to enable CallerID detection. The default setting is “Yes”.
Caller ID Scheme
Select the Caller ID scheme for this trunk. The default setting is “Bellcore/Telcordia”.
FXO Dial
Delay(ms)
Configure the time interval between off-hook and first dialed digit for outbound calls.
Auto Record
Enable automatic recording for the calls using this trunk. The default setting is
disabled. Recording files can be accessed under web GUICDRRecording Files.
Disable This Trunk
If selected, the trunk will be disabled.
DAHDI Out Line
Selection
This is to implement analog trunk outbound line selection strategy. Three options are
available:
•Ascend
When the call goes out from this analog trunk, it will always try to use the first idle
FXO port. The port order that the call will use to go out would be port 1port
2port 10port 16. Every time it will start with port 1 (if it's idle).
•Poll
When the call goes out from this analog trunk, it will use the port that is not used
last time. And it will always use the port in the order of port
121016121016121016..., following the last port being
used.
•Descend
When the call goes out from this analog trunk, it will always try to use the last idle
FXO port. The port order that the call will use to go out would be port 16port
10port 2port 1. Every time it will start with port 16 (if it's idle).
The default setting is “Ascend” mode.
Tone Settings
Busy Detection
Busy Detection is used to detect far end hang-up or for detecting busy signal. The
default setting is "Yes".
Busy Tone Count
If "Busy Detection" is enabled, users can specify the number of busy tones to be
played before hanging up. The default setting is 2. Better results might be achieved if
set to 4, 6 or even 8. Please note that the higher the number is, the more time is
needed to hang-up the channel. However, this might lower the probability to get
random hang-up.
Congestion
Detection
Congestion detection is used to detect far end congestion signal. The default setting
is "Yes".

P a g e | 10
UCM6XXX Analog Trunks Guide
Congestion Count
If "Congestion Detection" is enabled, users can specify the number of congestion
tones to wait for. The default setting is 2.
Tone Country
Select the country for tone settings. If "Custom" is selected, users could manually
configure the values for Busy Tone and Congestion Tone. The default setting is
"United States of America (USA)".
Busy Tone
Syntax :
f1=val[@level][,f2=val[@level]],c=on1/off1[-on2/off2[-on3/off3]];
Frequencies are in Hz and cadence on and off are in ms.
Frequencies Range: [0, 4000)
Busy Level Range: (-300, 0)
Cadence Range: [0, 16383].
Select Tone Country "Custom" to manually configure Busy Tone value.
Default value:
f1=480@-50,f2=620@-50,c=500/500
Congestion Tone
Syntax :
f1=val[@level][,f2=val[@level]],c=on1/off1[-on2/off2[-on3/off3]];
Frequencies are in Hz and cadence on and off are in ms.
Frequencies Range: [0, 4000)
Busy Level Range: (-300, 0)
Cadence Range: [0, 16383].
Select Tone Country "Custom" to manually configure Busy Tone value.
Default value:
f1=480@-50,f2=620@-50,c=250/250
PSTN Detection
Click on "Detect" to detect the busy tone, Polarity Reversal and Current Disconnect
by PSTN. Before the detecting, please make sure there are more than one channel
configured and working properly. If the detection has busy tone, the "Tone Country"
option will be set as "Custom".
Once the analog trunk is created, it can be edited anytime by clicking on icon or deleted by clicking on
icon.

P a g e | 11
UCM6XXX Analog Trunks Guide
Figure 5: Analog Trunk Created
Create Outbound/Inbound Rules
In this section, we will give an example of creating Outbound and Inbound Rules for connected analog lines to
FXO ports, in order to allow making and receiving calls via Analog Trunks.
Create Inbound Routes
1. Go to Extension / TrunkInbound Routes.
2. Click on “Add”, the following figure will appear.
3. Select Analog Trunk created and Default destination (IVR, extension, ring group…).
Figure 6: Create New Inbound Rules

P a g e | 12
UCM6XXX Analog Trunks Guide
Once the inbound rule is created, it can be edited anytime by clicking on icon or deleted by clicking on
icon.
Figure 7: Inbound Rules with Time condition
In the above example, incoming calls during office hours will be routed to IVR, otherwise calls will be routed to
extension 100 (default destination).
Figure 8: Inbound Rules Created
Create Outbound Routes
1. Go to Extension / TrunkOutbound Routes.
2. Click on “Add”, the following figure will appear.
3. Enter the Calling Rule Name, Pattern and choose the Analog trunk in Use Trunk.

P a g e | 13
UCM6XXX Analog Trunks Guide
Figure 9: Create a New Outbound Rule
In this example, dialed numbers matching pattern _9X. will go through this analog trunk, if extension making
the call has “National” privilege or higher. UCM6xxx will strip the leading first digit from entered number before
dialing out.
For example, to dial number 06123456789, users need to have privilege “National” or higher on their
extension(s) and dial 906123456789, UCM6xxx will receive the calling request, and since it’s matching
configured pattern _9X. it will strip leading digit (in this case 9) and dials the rest of the number (in this case
06123456789).
Figure 10: Outbound Rule Created

P a g e | 14
UCM6XXX Analog Trunks Guide
Once the outbound rule is created, it can be edited anytime by clicking on icon or deleted by clicking on
icon.
Using Analog Trunk as Failover
Failover Trunks are used when the primary trunk fails in order to assure the continuity of external calling service
for extensions.
User can setup their Analog Trunk as failover for another trunk by following the below steps:
1. Go to Extension / TrunkOutbound Routes.
2. Click on next to your Primary Trunk.
3. Scroll down to Use Failover Trunk, and click on Add to add a failover trunk.
4. Users can select then the Trunk to be set as failover as shown in figure below.
Figure 11: Add Analog Trunk as Failover
5. Click on to add another failover trunk.
6. Click on to arrange the order. If there are multiple trunks set as failovers.
7. Click on to edit, or to delete the Trunk from Failover list.

P a g e | 15
UCM6XXX Analog Trunks Guide
Figure 12: Analog Trunk added as Failover
ACIM AND PSTN DETECTION
UCM6xxx series support ACIM and PSTN detections modules allowing auto-detection and configuration of
PSTN lines, this helps getting best parameters to use on PSTN lines avoiding common issues when it comes
to use PSTN lines such echo, noise, calls not ended when remote party ends the call.
ACIM Settings
Users may sometimes face audio quality issues like noise, echo, audio volume level and choppy voice issues,
this is mostly related to impedance parameters not configured correctly on the FXO ports.
Please follow the below steps to configure ACIM Settings:
1. Go to PBX SettingsInterface SettingsAnalog Hardware.

P a g e | 16
UCM6XXX Analog Trunks Guide
Figure 13: Ports Config Page
2. Users can select their country under FXO Opermode to set the On Hook Speed, Ringer Impedance,
Ringer Threshold, Current Limiting, TIP/RING voltage adjustment, Minimum Operational Loop Current,
and AC Impedance as predefined for your country's analog line characteristics.
Note that different countries often have different standards for impedance. Impedance can also depend
on PSTN provider/CO switches and used wires in the same country.
3. Click on under Options next to FXO Ports.
4. Users can manually enter the ACIM settings by selecting the value from dropdown list for each port. Or
users could choose the detect option (either ERL or Pr) then click on "Detect" to automatically detect
the ACIM value. The detecting value will be automatically filled into the settings.
Figure 14: ACIM Settings
5. Click “Update” to apply the detected ACIM value.
Note: After setting the AC impedance for the connected line to the FXO Port, and notice that audio gains are
still low. Users can increase manually Rx/Tx gains for the Receiving/Transmitting channel of the analog FXO
port. The Rx/Tx audio gains settings can be configured by editing the analog trunk from PBXBasic/Call
RoutesAnalog Trunks. The valid range is from -13.5 (dB) to +12.0 (dB). The default setting is 0

P a g e | 17
UCM6XXX Analog Trunks Guide
PSTN Detection
PSTN Detection module can be used to detect and configure following parameters:
•Busy Tone: Depending on PSTN providers/countries/analog PBX, a busy tone signal can be used to
indicate to other party (UCM6xxx) that the call is ended.
•Polarity Reversal: Depending on PSTN providers/countries/analog PBX, a polarity reversal signal can
be used to indicate to other party (UCM6xxx) that the call is ended.
•Current Disconnect which is an interruption of line power from the CO switch/PSTN Provider or analog
PBX to the FXO port, which last for a specific duration depending on your PSTN provider or Co
Switch/PBX
Automatic Detection of PSTN Parameters
The UCM6XXX provides PSTN detection function to help users detect the busy tone, Polarity Reversal and
Current Disconnect by making a call from the PSTN line to another destination. The detecting call will be
answered and up for about 1 minute. Once finished, results will show and can be used for UCM6xxx settings.
1. Edit the analog trunk previously created.
2. In “Edit analog trunk” window, go to "Tone Settings" section.
Note: Tone Country includes a list of countries and their busy and congestion tones. Users can set it to
“Custom” and enter their busy and congestion tones if known.
3. Click on "Detect" to start PSTN detection.
Figure 15: UCM6XXX FXO Tone Settings
•If there are two analog lines connected, Auto Detect mode can be used.
Detect Model: Auto Detect.
Source Channel: The source channel to be detected.
Destination Channel: The channel to call during auto detection. For example, the second FXO port.
Destination Number: The number to be dialed for detecting. This number must be the actual PSTN
number for the FXO port used as the destination channel.

P a g e | 18
UCM6XXX Analog Trunks Guide
Figure 16: UCM6XXX PSTN Detection: Auto Detect
•If there is one analog line connected, Semi-auto Detect needs to be used.
Figure 17: UCM6XXX PSTN Detection: Semi-Auto Detect
Detect Model: Semi-auto Detect.
Source Channel: The source channel to be detected.
Destination Number: The number to be dialed. This number could be a cell phone number or other
PSTN number that can be reached from the source channel PSTN number.

P a g e | 19
UCM6XXX Analog Trunks Guide
4. Click "Detect" to start detecting.
The source channel will initiate a call to the destination number. For "Auto Detect", the call will be
automatically answered. For "Semi-auto Detect", the UCM6XXX web GUI will display prompt to notify the
user to answer or hang up the call to finish the detecting process as shown in the below figures
Figure 18: Answering Call Prompt
Figure 19: Hangup Call Prompt
5. Once done, detected results will show in “Prompt Information” window. Click on OK to Apply changes.
Figure 20: PSTN Parameters Detected

P a g e | 20
UCM6XXX Analog Trunks Guide
Manual Configuration of PSTN Parameters
If analog line tone parameters are known, customers could configure them on the UCM6xxx manually by setting
Tone Country option to Custom and entering them manually. Same applies for Polarity reversal and Current
Disconnect parameters.
Figure 21: Custom Tone Parameters
Otherwise users can manually capture an analog record trace while using the Analog Trunk, to manually
measure the Busy Tone frequencies and Cadence.
Please refer to steps below for capturing an analog trace record, and manually measuring Busy Tone
frequencies and cadence:
Step 1: Capture an Analog Record Trace
1. Go to MaintenanceSignaling TroubleshootingAnalog Record Trace.
2. Choose the FXO port used, and click on Start to begin the capture.
3. Make a call to FXO port, answer the call and keep it for a few seconds, then Hang-up from analog side.
4. Click on Stop, then Download to download captured audio file.
Other manuals for UCM6 series
12
This manual suits for next models
10
Table of contents
Popular Office Equipment manuals by other brands

LDI Spaces
LDI Spaces SAFCO Onyx 2162 Assembly instructions

KI
KI 810 Installation instructions addendum

Steelcase
Steelcase Details Airtouch installation instructions

LDI
LDI Safco Scoot 5370 Assembly instructions

KI
KI Backbone Media Platform Assembly instructions

Askia
Askia Kameleon K6 Assembly instructions