ELTEX SMG-4, SMG-2 Operation Manual

Digital gateway
SMG-4, SMG-2
Operation manual, version 2.4 (15/06/2017)
Firmware version: 3.1.6.1189
Firmware version V.3.1.6.1189 SIP adapter version V.3.1.6.67
Document version
Issue date
Revisions
Version 2.4
15/06/2017
Updated:
encoding settings and configuration of methods of subscriber name
transmission in Q.931
Added:
insert remote name in Contact header SS7 channels transit via semi-permanent connection name transmission using AVAYA, Siemens, Windows-1251 encodings,
Translit and Unicode (UTF-8).
name transmission methods: QSIG, Q.931 Display, CorNet and AVAYA
Display
Version 2.3
15/08/2016
Time zones updated. New features added:
- STUN server parameters,
- public IP settings,
- Clear Channel (CLEARMODE) settings,
- English language.
Version 2.2
05/04/2016
Support added for routing modes configuration during trunk registration for SIP interfaces.
Version 2.1
26/11/2015
SIP interfaces registration added.
Version 2.0
22/06/2015
Second issue.
Version 1.0
12/08/2014
First issue.
SMG digital gateway 3
EXPLANATION OF THE SYMBOLS USED
Symbol
Description
Calibri
Notes, warnings, chapter headings, titles, and table titles are written in bold.
Calibri
Italic denotes important information that requires special attention.
Courier New
Courier New is used for command entry examples, command execution results, and program output data.
<KEY>
Keyboard keys are written in upper-case and enclosed in angle brackets.
Analogue phone unit.
SMG digital gateway.
Softswitch ECSS-10 software switch. Digital subscriber PBX.
Network connection.
Optical transmission medium.
Notes and Warnings
Notes contain important information, tips, or recommendations on device operation and setup.
Warnings inform users about hazardous conditions, which may cause injuries or device damage and may lead to the device malfunctioning or data loss.
TARGET AUDIENCE
This operation manual is intended for technical personnel in charge of gateway configuration and
monitoring using the web configurator, as well as of installation and maintenance. Qualified technical personnel
should be familiar with the operation basics of the ТСР/IP & UDP/IP protocol stacks and Ethernet networks
design concepts.
SMG digital gateway 5
TABLE OF CONTENTS
EXPLANATION OF THE SYMBOLS USED ........................................................................................................... 3
TARGET AUDIENCE .......................................................................................................................................... 4
TABLE OF CONTENTS ....................................................................................................................................... 5
INTRODUCTION ............................................................................................................................................... 7
1 DEVICE DESCRIPTION ................................................................................................................................. 8
1.1 Purpose ............................................................................................................................................... 8
1.2 Typical Applications ............................................................................................................................ 9
1.2.1 Interface for TDM and VoIP Network Signalling and Media Streams ....................................... 9
1.3 Device Design and Operating Principle ............................................................................................ 10
1.4 Main Specifications ........................................................................................................................... 12
1.5 Design ............................................................................................................................................... 14
1.6 LED Indication ................................................................................................................................... 15
1.7 The F Function Button ...................................................................................................................... 18
1.8 Delivery Package ............................................................................................................................... 19
1.9 Safety Instructions ............................................................................................................................ 20
1.9.1 General Guidelines .................................................................................................................. 20
1.9.2 Electrical Safety Requirements ............................................................................................... 20
2 SMG INSTALLATION .................................................................................................................................. 21
2.1 Startup Procedure............................................................................................................................. 21
2.2 Opening the Casing ........................................................................................................................... 21
2.3 RTC Battery Replacement ................................................................................................................. 22
3 GENERAL GUIDELINES FOR GATEWAY OPERATION ................................................................................. 23
4 DEVICE CONFIGURATION ......................................................................................................................... 24
4.1 SMG Configuration via web Interface .............................................................................................. 24
4.1.1 System Parameters ................................................................................................................. 26
4.1.2 Monitoring .............................................................................................................................. 30
4.1.3 Synchronisation Sources ......................................................................................................... 39
4.1.4 CDR .......................................................................................................................................... 40
4.1.5 E1 Streams .............................................................................................................................. 45
4.1.6 Dial plan .................................................................................................................................. 52
4.1.7 Routing .................................................................................................................................... 58
4.1.8 Internal Resources .................................................................................................................. 79
4.1.9 Network Services .................................................................................................................... 92
4.1.10 User Configuration ............................................................................................................... 95
4.1.11 Security ................................................................................................................................ 95
4.1.12 Network Utilities .................................................................................................................. 99
4.1.13 RADIUS Configuration ........................................................................................................ 100
4.1.14 Tracing ............................................................................................................................... 107
4.1.15 Working with Objects and the Objects menu .................................................................... 111
4.1.16 Saving Configuration and the Service menu ...................................................................... 111
4.1.17 Time and Date Settings ...................................................................................................... 111
4.1.18 Firmware Upgrade via Web Interface ............................................................................... 111
4.1.19 Licence Renewal ................................................................................................................ 112
4.1.20 Help Menu ......................................................................................................................... 112
4.1.21 Password Configuration for Web Configurator Access ..................................................... 113
4.1.22 View Factory Settings and System Information ................................................................. 113
4.1.23 Configurator Exit ................................................................................................................ 114
4.2 Command Line, List of Supported Commands and Keys ................................................................ 114
4.2.1 System of Commands for SMG Gateway Operation in the Debug Mode ............................ 114
4.2.2 Tracing Commands Available Through the Debug Port ........................................................ 116
4.3 SMG Configuration via Telnet, SSH, or RS-232 ............................................................................... 116
4.3.1 List of CLI Commands ............................................................................................................ 117
4.3.2 Changing Device Access Password via CLI ............................................................................. 119
4.3.3 Statistics Mode ...................................................................................................................... 120
4.3.4 Management Mode .............................................................................................................. 123
4.3.5 General Device Configuration Mode..................................................................................... 125
4.3.6 СDR Configuration Mode ...................................................................................................... 128
4.3.7 Access Categories Configuration Mode ................................................................................ 130
4.3.8 E1 Stream Configuration Mode ............................................................................................. 130
4.3.9 Fail2ban Configuration Mode ............................................................................................... 134
4.3.10 Firewall Configuration Mode ............................................................................................. 135
4.3.11 SS7 Line Group Configuration Mode .................................................................................. 139
4.3.12 Modifier Table Configuration Mode .................................................................................. 141
4.3.13 Network Parameter Configuration Mode .......................................................................... 144
4.3.14 Numbering Schedule Configuration Mode ........................................................................ 149
4.3.15 Q.931 Timer Configuration Mode ...................................................................................... 153
4.3.16 RADIUS Configuration Mode .............................................................................................. 154
4.3.17 Static Route Configuration Mode ...................................................................................... 159
4.3.18 SIP/SIP-T General Configuration Mode .............................................................................. 159
4.3.19 SIP/SIP-T Interface Configuration Mode ............................................................................ 160
4.3.20 SS-7 Category Modification Configuration Mode .............................................................. 166
4.3.21 SS-7 Timer Configuration Mode ......................................................................................... 166
4.3.22 Sync Configuration Mode ................................................................................................... 168
4.3.23 Syslog Configuration Mode ................................................................................................ 168
4.3.24 Trunk Group and Trunk Direction Configuration Mode ..................................................... 170
5 APPENDIX A. CABLE CONTACT PIN ASSIGNMENT .................................................................................. 173
6 APPENDIX B. ALTERNATIVE METHOD OF DEVICE FIRMWARE UPDATE ................................................. 174
7 APPENDIX C. EXAMPLES OF MODIFIER OPERATION AND DEVICE CONFIGURATION VIA CLI ................. 177
8 APPENDIX D. CORRELATION BETWEEN ROUTING, SUBSCRIBERS, AND SIGNAL LINK PARAMETERS ..... 187
9 APPENDIX E. GUIDELINES FOR SMG OPERATION IN A PUBLIC NETWORK ............................................. 188
10 APPENDIX F. DEVICE INTERACTION WITH MONITORING SYSTEMS ....................................................... 189
11 APPENDIX G: CONFIGURATION OF E1 CHANNELS TRANSIT THROUGH A SEMIPERMANENT
CONNECTION ............................................................................................................................................... 192
12 TECHNICAL SUPPORT .............................................................................................................................. 197
13 ACCEPTANCE CERTIFICATE AND WARRANTY ......................................................................................... 198
SMG digital gateway 7
INTRODUCTION
Today, means of communication employing state-of-the-art hardware and software solutions evolve rapidly. New communication devices, which utilise alternative data transmission principles, pose a problem of their integration into existing communication networks. The solution is to use special equipment, which interconnects diverse segments of networks. Currently, such equipment is represented by digital gateways. They allow gradual transition from existing communication networks to more efficient ones with alternative operation principles.
At present, IP networks are considered to be the most efficient when they are weakly dependent from data type and transmission medium and at the same time are flexible and manageable. Designed and manufactured by Eltex, SMG digital gateway is intended for interfacing of traditional communication networks based on the link switching principle with communication networks used for IP network data transmission.
This operation manual details main features of SMG-2 and SMG-4 digital gateways. The document contains technical specifications of the gateway and its components. Also, it provides an overview of operation and maintenance software-based procedures.
1 DEVICE DESCRIPTION
1.1 Purpose
The SMG trunk gateway is designed to interface signalling, PSTN (E1) media streams, and VoIP networks.
SMG is an optimal and robust solution that can be used to upgrade, develop, and migrate
telecommunication infrastructures from PSTN to NGN.
SMG Main Specifications
Number of E1 interfaces:
for SMG-2: 1 or 2
1
;
for SMG-4: 4.
Number of VoIP channels:
for SMG-2: 104; for SMG-4: 128.
Maximum load intensity40 cps. Number of Ethernet ports:
1 port 10/100/1000BASE-T.
Static address and DHCP support. IP telephony protocols: SIP, SIP-T, SIP-I. TDM protocols: ISDN PRI(Q.931), QSIG, and CORNET for subscriber name transmission, SS-7
(quasi-associated mode operation).
DTMF transmission (SIP INFO, RFC2833, in-band). Echo cancellation (G.168 recommendation). Voice activity detector (VAD). Comfortable noise generator (CNG). Adaptive or fixed jitter buffer. V.152 data transmission. Fax transmission:
G.711 pass through; T.38 UDP Real-Time Fax.
NTP support. DNS support. SNMP support. ToS for RTP and signalling. Firmware update: via web interface, CLI (Telnet, SSH, console (RS-232)); automatic update of firmware and device configuration. Configuration and setup (also remotely):
web interface; CLI (Telnet, SSH, console (RS-232)).
1
Only one E1 stream is available in an SMG-2 device by default. To activate another one, a special licence is required. For
more information about licences, see section 4.1.19. Licence Renewal
SMG digital gateway 9
Remote monitoring:
web interface; SNMP.
SIP/SIP-T/SIP-I Functions
RFC 2976 SIP INFO (for DTMF transmission); RFC 3204 MIME Media Types for ISUP and QSIG (ISUP support); RFC 3261 SIP; RFC 3262 Reliability of Provisional Responses in SIP (PRACK); RFC 3263 Locating SIP servers for DNS; RFC 3264 SDP Offer/Answer Model; RFC 3265 SIP Notify; RFC 3311 SIP Update; RFC 3323 Privacy Header; RFC 3325 P-Asserted-Identity; RFC 3372 SIP for Telephones (SIP-T); RFC 3398 ISUP/SIP Mapping; RFC 3515 SIP REFER; RFC 3581 Symmetric Response Routing; RFC 3665 Basic Call Flow Examples; RFC 3666 SIP to PSTN Call Flows; RFC 3891 SIP Replaces Header; RFC 3892 SIP Referred-By Mechanism; RFC 4028 SIP Session Timer;
RFC 4566 Session Description Protocol (SDP);
RFC 5806 SIP Diversion Header; SIP Enable/Disable 302 Responses; Q1912.5 SIP-I; SIP/SIP-T/SIP-I interaction; Delay offer; SIP OPTIONS Keep-Alive (SIP Busy Out).
1.2 Typical Applications
This manual describes several methods of SMG connection.
1.2.1 Interface for TDM and VoIP Network Signalling and Media Streams
In this configuration, the device allows connection of up to 4 E1 streams with various signalling (SS-7, ISDN PRI/QSIG/CORNET) and service protocols for up to 128 uncompressed channels (G.711 codec), for up to 72 compressed channels (G.729 A / 20-80), or for 54 T.38 fax channels; maximum load intensity40 cps.
The device connects to an IP network via 10/100/1000 BASE-T network interface using SIP/SIP-T/ SIP-I protocols.
10 SMG digital gateway
Fig. 1.1Interfacing of TDM and VoIP Network Signalling and Media Streams Using SMG-4
Fig. 1.2Interfacing of TDM and VoIP Network Signalling and Media Streams Using SMG-2
Fig. 3 shows TDM and VoIP network interfacing and uses interaction between МС240 digital PBX and
ECSS-10 software switch as an example.
Fig. 1.3Interfacing of TDM and VoIP Network Signalling and Media Streams
Fig. 4 shows scheme of semi-permanent connection over E1 channels through an Ethernet network.
Fig. 1.4 - Semi-permanent connection over E1 channels trough an Ethernet network
1.3 Device Design and Operating Principle
SMG has a submodule architecture and contains the following elements:
SMG digital gateway 11
A controller featuring: a controlling CPU, flash memory of 64 MB, 512 MB RAM; М4Е1 submodule of E1 streams; SM-VP-M200 IP submodule for SMG-2; SM-VP-M300 IP submodule for SMG-4; a phase-lock-loop (PLL) frequency control system.
See the SMG functional chart in Fig. 4.
Fig. 1.5SMG Functional Chart
In the TDM-IP direction, a signal coming to E1 streams is transferred to VoIP submodule audio codecs (a line of 128 TDM channels) via the intrasystem backbone to be encoded using one of the selected standards and further transferred as digital packets to the central processing unit. In the IP-TDM direction, digital packets are transferred to the VoIP submodule to be decoded and further transferred to E1 streams via the intrasystem backbone.
External 2 Mbps E1 streams are transmitted to framers through matching transformers. At that, synchronisation signal is extracted from the stream and fed to the common synchronisation line of the device. Synchronisation line priority is managed at the software level according to the defined algorithm.
See Fig. 5 for device firmware architecture.
12 SMG digital gateway
Fig. 1.6SMG firmware architecture
1.4 Main Specifications
The main specifications of the terminal are provided in the following tables:
Table 1.1 Main Specifications
VoIP Protocols
Supported protocols
SIP-Т/SIP-I SIP T.38
Audio Codecs
Codecs
G.711 (A/U) G.729 AB G.723.1 (6.3 Kbps, 5.3 Kbps) G.726 (32 Kbps) CLEARMODE (RFC 4040)
Number of VoIP Channels Supported by a Submodule Depending on the Codec Type
Codec/packetisation time, ms
Number of channels
SMG-2/SMG-4 with SM-VP-M300 submodule
SMG-2 with SM-VP-M200 submodule
G.711 (A/U) / 20-60 G.711 (A/U) / 10 G.729 A / 20-80 G.729 A / 10 G.723.1 (6.3 Kbps, 5.3 Kbps) G.726 / 20 G.726 / 10 Т.38
128 112 72 62 58 98 88 54
104 74 48 41 39 65 59 36
Electrical Ethernet Interface Specifications
No. of interfaces
1
Electric port
RJ-45
Data transfer rate, Mbps
Auto detection, 10/100/1000 Mbps, duplex
SMG digital gateway 13
Supported standards
10/100/1000BaseT
Console Parameters
RS-232 serial port
Data transfer rate, bps
115200
Electric signal parameters
Acc. to ITU-T V.28 guidelines
E1 Interface Parameters
No. of interfaces SMG-4
SMG-2
4
1 or 2
2
Electric port
RJ-48
No. of channels
Acc. to ITU-T G.703 and G.704 guidelines
Line data transfer rate
2,048 Mbps
Line code
HDB3, AMI
Output signal to the line
3.0 V peak for 120 Ω load
2.37 V peak for 75 Ω load (acc. to CCITT G.703 guidelines)
Input signal from the line
from 0 to -6 dB in relation to the standard output impulse
Elastic buffer
2 frame capacity
Signalling protocol
ISDN PRI (Q.931), QSIG and CorNet to transmit user name, SS-7
General Parameters
Operating temperature range
from +5°C to 40°C
Relative humidity
up to 80%
Power voltage
12 V DC, 2 А power adapter
Power consumption
not more than 10 W
Dimensions (W x H x D)
187x124x32
Net weight
0.3 kg
Gross weight
0.5 kg
2
Only one E1 stream is available in an SMG-2 device by default. To activate another one, a special licence is required. For
more information about licences, see section 4.1.19. Licence Renewal
14 SMG digital gateway
1.5 Design
SMG trunk gateway is enclosed in 187x124x32 mm plastic casing.
For external view of the device panels, see Fig. 6, 7a, and 7b.
Fig. 1.7SMG External View. Top and Side Panels
Fig. 1.8SMG-4 External View. Rear Panel
Fig. 1.9SMG-2 External View. Rear Panel
For ports, LEDs, and controls located on the device, see Table 2.1.
SMG digital gateway 15
Table 2.1Description of Ports, LEDs, and Controls Located on the Front Panel
Panel Element
Description
Top panel. Operation indicators
1
Power
Power indicator
2
LAN
Network activity indicator
3
USB
USB operation indicator
4
Alarm
Device critical failure indicator
5
Status
Device operation indicator
6
Sync
Synchronisation indicator
7
E1 0..3
E1 stream operation indicator; E1 2 and E1 3 LEDs are inactive for SMG-2
Side panel. Function button
8 F Function button
Rear panel. Ports and controls
9
ON/OFF
On/off button
10
12V
Power socket (for connection to power line via the supplied adapter)
11
LAN 10/100/1000
1 RJ-45 port for Ethernet 10/100/1000 Base-T interface
12
USB
USB port for external storage device
13
Console
RJ-45 console port for local device administration (for connector wiring, see Appendix A)
14
E1 0..3 (for SMG-4)
4 x RJ-48 ports for Е1 streams (for connector wiring, see Appendix A)
E1 0..1 (for SMG-2)
2 x RJ-48 ports for Е1 streams3 (for connector wiring, see Appendix A)
1.6 LED Indication
The current status of the device is shown by the Power, LAN, USB, Alarm, Status, Sync, and E1 indicators located on the top panel.
Indicator statuses are listed in Tables 3.1 and 3.2.
Table 3.1LED Indication of the Device Status in Operation
LED
LED Status
Device Status
Power
Off
No power supply from 12 V adapter
Solid green
12 V power supplied to the device
LAN
Off
Link lost
Solid green / blinking green
Port is in the 10/100Base-TX mode
Solid yellow / blinking yellow
Port is in the 1000Base-T mode
USB
Off
USB device is not connected
Solid green
A high-speed USB device is connected
Solid red
A low-speed USB device is connected
Alarm
Blinking red
Critical device failure
3
Only one E1 stream is available in an SMG-2 device by default. To activate another one, a special licence is required. For
more information about licences, see section 4.1.19. Licence Renewal
16 SMG digital gateway
Solid red
Non-critical device failure
Solid yellow
Non-critical warnings, no failures
Solid green
Normal operation
Status
Solid green
Normal operation
Off
Device power lost
Sync
Off
Synchronisation sources not defined
Solid green
Synchronisation from source available
Solid red
Synchronisation from source unavailable
Table 3.2LED Indication During Device Startup and Reset to Factory Defaults
No.
LED
Reset to Factory Defaults
(Device Is On)
Sync
Alarm
Status
1
Yellow
Yellow
Yellow
Press the F button and hold for 1 second until the following pattern appears, then release the button. The device reboot will start in 3 seconds.
2
Off
Off
Yellow
The device is powered on, the operating system is not loaded.
3
Off
Green
Green
The gateway operating system is being loaded. When the pattern appears, press the F button and hold it for 40– 45 seconds to change network parameters and restore the device configuration to factory defaults.
4
Off
Yellow
Yellow
When the pattern appears, release the F button. After a while, the following message will be displayed in the console. <<<BOOTING IN SAFE-MODE.RESTORING DEFAULT PARAMETERS>>> Reset to factory defaults is complete.
The device can also be reset to factory defaults during startup. Skip step 1 in this case.
Ethernet interface status is also shown by LED indicators built in the 1000/100 connector.
Table 3.3LED Indication for Ethernet 1000/100 Interfaces
Device Status
LED/Status
Yellow LED 1000/100
Green LED 1000/100
The port is in the 1000Base-T mode, no data transfer
Solid on
Solid on The port is in the 1000Base-T mode, data transfer
Solid on
Blinking
The port is in the 10/100Base-TX mode, no data transfer
Off
Solid on The port is in the 10/100Base-TX mode, data transfer
Off
Blinking
Table 3.4 shows E1 streams indication.
SMG digital gateway 17
Table 3.4—Е1 Indication
Stream Status
E1 Indicator
Red
Yellow
Green
Е1 is disabled in the gateway configuration
Off
Off
Off
E1 stream failure
Blinking
(200 ms)
Off
Off
Loss of signal (LoS)
On
Off
Off
AIS failure
Blinking
(200 ms)
Blinking
(200 ms)
Off
LOF failure
Blinking
(200 ms)
Off
Off
LOMF failure
Blinking
(200 ms)
Off
Off
E1 stream normal operation
Off
Off
On
Failure on a remote host (RAI)
Off
On
Off
E1 stream is in operation, the stream has slips
Off
Blinking
(500 ms)
Blinking
(500 ms)
E1 stream is being tested
Blinking
(200 ms)
Off
Blinking
(200 ms)
Table 3.5 provides a detailed description of the failures shown by the Alarm indicator.
Indication of CDR Files Saving When the FTP server is not available, CDRs will be saved to the device RAM. 30 MB are allocated for storing CDR files. If the memory is full up to a specified value, a fault will be indicated.
Table 3.5Alarm Indication
Alarm LED Status
Fault Level
Fault Description
Blinking red
Critical failure
Configuration error
Connection with SIP module lost
SS-7 line group fault (when the Fault indication checkbox is checked in the Routing/SS line groups menu)
E1 stream fault (when the Alarm indication checkbox is checked in the Е1 streams/Physical parameters menu)
FTP server is unavailable, RAM utilisation for storing CDR files exceeds 50% (15–30 MB)
CPU temperature exceeds 100 ºС
Less than 25 MB free RAM (5%)
Free storage on a connected USB drive is less than
- 5% of the total capacity (for drives with less than 5 GB storage),
- 256 MB (for drives with more than 5 GB storage)
Opposing SIP device does not respond to OPTIONS queries, when regular checks by OPTIONS messages are enabled
setting up of semi-permanent connection over E1 channel failed
Solid red
Non-critical failure (errors)
SS-7 link fault (when the Fault indication checkbox is checked in the Routing/SS line groups menu)
18 SMG digital gateway
Synchronisation fault (free-run mode operation)
FTP server is unavailable, RAM utilisation for storing CDR files is less than 50% (5–15 MB)
No connection to one of the SM-VP-300 modules
CPU temperature reached 90 ºС
Less than 50 MB free RAM (10%)
Free storage on a connected USB drive is less than
- 10% of the total capacity (for drives with less than 5 GB storage),
- 512 MB (for drives with more than 5 GB storage)
CPU load is about or above 95% during the last 9 seconds
Solid yellow
Warnings
E1 stream remote fault
E1 stream slipping
Synchronisation from a lower priority source (a higher priority one is not available)
FTP server is unavailable, RAM utilisation for storing CDR files is below 5 MB
CPU temperature reached 85 ºС
Less than 128 MB free RAM (25%)
CPU load is about or above 90% during the last 9 seconds
Free storage on a connected USB drive is less than
- 15% of the total capacity (for drives with less than 5 GB storage),
- 1,024 MB (for drives with more than 5 GB storage)
1.7 The F Function Button
The F button allows device reboot, restoration to factory configuration, and recovery of forgotten
password.
For instructions on reset of an operating device to factory defaults, see Table 3.2. When the factory configuration is restored, the device can be accessed by IP address 192.168.1.2 (mask
255.255.255.0):
via telnet or console: login: admin, password: rootpasswd; via web interface: login: admin, password: rootpasswd.
After that, saving the factory configuration, restoring a password, or rebooting the device can be
performed.
Saving Factory Configuration
To save the factory configuration: connect via telnet or console using admin for login and rootpasswd for password; enter the sh command (the device will switch from the CLI mode to the SHELL mode), enter the save command, and restart using the reboot command. The gateway will be restarted with the factory configuration.
********************************************
* Welcome to SMG-4 *
********************************************
smg login: admin
Password: rootpasswd
********************************************
* Welcome to SMG-4 *
********************************************
Welcome! It is Thu Aug 21 11:40:40 GMT+6 2014
SMG4> sh
SMG digital gateway 19
/home/admin # save tar: removing leading '/' from member names *Saved successful New image 1 Restored successful /home/admin # reboot
Password Recovery
To recover a password: connect via telnet, SSH, or console, enter the sh command (the device will switch from the CLI mode to the SHELL mode), enter the restore command (the current configuration will be restored), enter the passwd command (the device will request to enter and confirm a new password), enter the save command, and restart using the reboot command. The gateway will be restarted with the current configuration and the new password.
If the device is rebooted without any additional operations, the current configuration will be restored on the device without password recovery. The gateway will be restarted with the current configuration and the old password.
********************************************
* Welcome to SMG-4 *
********************************************
smg login: admin
Password: rootpasswd
********************************************
* Welcome to SMG-4 *
********************************************
Welcome! It is Thu Aug 21 11:40:40 GMT+6 2014
SMG4> sh
/home/admin # restore
Welcome! It is Fri Jul 2 12:57:56 UTC 2010
SMG4> sh
/home/admin # restore
New image 1
Restored successful
/home/admin # passwd admin
Changing password for admin
New password: 1q2w3e4r5t6y
Retype password: 1q2w3e4r5t6y
passwd: password for admin is changed
/home/admin # save
tar: removing leading '/' from member names
*Saved successful
New image 1
Restored successful
/home/admin # reboot
1.8 Delivery Package
SMG standard delivery package includes:
SMG-2 or SMG-4 trunk gateway, power adapter, operation manual and documentation package.
20 SMG digital gateway
1.9 Safety Instructions
1.9.1 General Guidelines
Any operations with the equipment should comply to the Safety Rules for Operation of Customers'
Electrical Installations.
Operations with the equipment should be carried out only by personnel authorised in accordance with the safety requirements.
Before operating the device, all engineers should undergo special training. The device should only be connected to properly functioning supplementary equipment. The SMG trunk gateway can be used 24/7 provided the following requirements are met:
Ambient temperature from 0 to +40°C. Relative humidity up to 80% at +25°C. Atmosphere pressure from 6.0 х 10
4
to 10.7х104 Pa (from 450 to 800 mm Hg).
The device should not be exposed to mechanical shock, vibration, smoke, dust, water, and
chemicals.
To avoid components overheating, which may result in device malfunction, do not block air vents
or place objects on the equipment.
1.9.2 Electrical Safety Requirements
Prior to turning the device on, check that all cables are undamaged and securely connected. Before dismantling and assembling the device, make sure the power supply is disabled.
SMG digital gateway 21
2 SMG INSTALLATION
Check the device for visible mechanical damage before installing and turning it on. In case of any damage, stop the installation, fill in the corresponding document, and contact your supplier.
If the device has been exposed to low temperatures for a long time before installation, leave it for 2 hours at ambient temperature prior to operation. If the device has been exposed to high humidity for a long time, leave it for at least 12 hours in normal conditions prior to turning it on.
2.1 Startup Procedure
1. Connect stream (E1) and Ethernet cables to corresponding gateway connectors.
2. Connect the power adaptor to the device.
3. Turn the device on and check the front panel LEDs to make sure the terminal is in normal
operating conditions.
2.2 Opening the Casing
Prior to proceed, disable SMG power supply and disconnect all cables.
Fig. 2.1Opening the Casing
1. Use a screwdriver to remove 4 screws holding the bottom panel of the device as shown in the
figure.
2. Pull the top panel (cover) of the device to remove it.
To assemble the device, repeat all the steps above in the reverse order.
22 SMG digital gateway
2.3 RTC Battery Replacement
RTC (an electric circuit designed for independent chronometric data meteringcurrent time, date, day of
the week, etc.) installed on the device plate has a battery with the following specifications:
Battery type
Lithium
Form-factor
CR2032 (CR2024 option is possible)
Voltage
3 V
Capacity
225 mA
Diameter
20 mm
Thickness
3.2 mm
Battery life / expiration date
5 years
Storage conditions
-20 to +35 °С
Fig. 2.2Battery Location in RTC
If battery life is expired, replace the battery with a new one to ensure correct and continuous operation of
the equipment. The replacement procedure is as follows:
1. Check if the device is energised.
2. If the voltage is present, disconnect the power supply.
3. Open the device casing (see section 2.2 Opening the Casing).
4. Remove the exhausted battery from the reverse side of the plate (Fig. 17) and install a new one in
the same position.
To assemble the device, repeat all the steps above in the reverse order.
If NTP synchronisation is disabled, the system date and time will require adjustment after RTC battery replacement.
Used batteries should be recycled according to requirements.
SMG digital gateway 23
3 GENERAL GUIDELINES FOR GATEWAY OPERATION
The easiest way to configure and monitor the device is to use the web interface, so it is highly recommended.
To prevent unauthorised access to the device, it is recommended to change the password for telnet and console access (default username: admin, password: rootpasswd) and the administrator password for the web interface. For information on password configuration for telnet and console access, see section 4.3.2 Changing Device Access Password via CLI. For information on password configuration for web interface access, see section 4.1.21. It is recommended to write down and store the configured passwords in a safe place, inaccessible for intruders.
In order to prevent the loss of device configuration data, e. g. after reset to factory defaults, it is recommended to make configuration backups and save them on a PC each time significant changes are made.
24 SMG digital gateway
4 DEVICE CONFIGURATION
The device provides 4 connection options: web interface, the Telnet protocol, SSH, or RS-232 cable
connection (for access via RS-232, SSH, or Telnet, use CLI).
All settings will take effect without gateway restart. To save configuration changes into the non­volatile memory, use the Service/Save Configuration into Flash menu in the web configurator or the COPY RUNNING_TO_STARTUP command in CLI.
4.1 SMG Configuration via web Interface
To configure the device, establish a connection to the device in a web browser (hypertext document
viewer), e. g. Firefox, Google Chrome. Enter the device IP address in the address bar of the web browser.
SMG factory default IP address: 192.168.1.2, network mask: 255.255.255.0.
As soon as the IP address is entered, the device will request username and password.
Initial startup username: admin, password: rootpasswd.
Upon access to the web configurator, the System Information menu opens.
SMG digital gateway 25
The figure below illustrates navigation in the web configurator.
A window in user interface is divided into several areas.
Navigation tree
– enables management of the settings field. The navigation tree represents a hierarchy of management sections and nested menus.
Settings field
– is defined by user selections. Allows user to view device settings and enter configuration data.
Control panel
a panel to control the settings field and firmware status.
Control menu
drop-down menus in the control panel for the settings field and firmware status.
Alarms
– displays the current highest-priority fault and serves as a link to work with the fault events log.
Authorisation
a link to work with passwords, which are used to access the device via web
interface.
Control icons
controls to work with objects in the settings field; duplicate the Objects menu of the
control panel:
– Add Object;
Edit Object;
Remove Object;
View Object.
Control buttons
controls to work with the settings field.
To prevent unauthorised access to the device during further work, it's recommended to change the password (see section 4.1.21).
26 SMG digital gateway
The button (Hint) located next to the editing element provides an explanation for a
particular parameter.
4.1.1 System Parameters
System Settings
Device name (for web pages only)the device name used in the heading of the web configurator. Active dial plan count the quantity of simultaneously active numbering schedules; up to
16 independent numbering schedules can be configured with a possibility to add subscribers and create a customised call routing table.
Alarm Indication
CPU load when checked, the control system will be alerted about high CPU utilisation. RAM usagewhen checked, the control system will be alerted when running out of free RAM. Local disk drive free spacewhen checked, the control system will be alerted when running out of
free memory on an external drive.
Auto configuration (Automatic Configuration)
Active auto-updateenables automatic updates of firmware and configuration. Sourcea method to receive parameters for automatic updates:
Staticuse automatic update parameters set in the configuration; DHCPselect a network interface with the configured DHCP protocol, which will be used
to retrieve Options 66 and 67 for automatic updates.
SMG digital gateway 27
Protocola protocol, which will be used for automatic updates (TFTP/FTP/HTTP/HTTPS). Authenticationsetting the flag enables authentication during automatic updates via the selected
protocol (FTP/HTTP/HTTPS).
Namea login to access the automatic update server. Passworda password to access the automatic update server. ServerIP address or network name of the automatic update server when the static source is
selected; update.local name is used by default.
Update configurationspecifies to use automatic configuration updates. Configuration file namename and path to the configuration file located on the automatic update
server; MAC.cfg by default, where MAC is the MAC address of the device in the xx.xx.xx.xx.xx.xx format.
Configuration upgrade period, min—time interval in minutes between requests for a configuration
file sent to the automatic update server.
Software updateenables automatic firmware updates. Software version file namename of the manifest file on the automatic update server that
contains a description of the firmware version, a path to the firmware file, and time of firmware update.
Software upgrade period, min—time interval in minutes between requests for a manifest file on
the automatic update server.
4.1.1.1 Format of Options 66 and 67
Option 66 is required to retrieve the IP address or domain name of the automatic update server.
Syntax:
<IP address or domain name of the update server>
Example:
“update.local“
or
“192.168.1.3“
Option 67 is required to retrieve the path to the file with firmware version description (the manifest file) and the path to the configuration file.
Syntax:
<Path to smg4.manifest (or smg2.manifest) file>;<Path and name of the configuration file>
Example:
“/smg4/firmware/smg4.manifest;/smg4/conf/<MAC>.cfg“
“/smg2/firmware/smg2.manifest;/smg2/conf/<MAC>.cfg”
If a device receives a configuration file name in the format "<MAC>.cfg" from the server, it automatically replaces <MAC> with its own MAC address in the format 11.22.33.44.55.66 when addressing the server. This means that the server should contain a configuration file named 11.22.33.44.55.66.cfg.
28 SMG digital gateway
Instead of using the expression "<MAC>.cfg", the server may send the configuration file name in the
following format: 11.22.33.44.55.66.cfg, where 11:22:33:44:55:66 is the factory MAC address of the device.
If no Options 66 and 67 are received from the DHCP server, their default values will be used.
For Option 66: "update.local".
For Option 67: "smg4.manifest;<MAC>.cfg";
"smg2.manifest;<MAC>.cfg".
4.1.1.2 smg4.manifest (smg2.manifest) File Format
smg4.manifest (smg2.manifest) is a text file containing information about the version and the path to the firmware file located on the automatic update server, as well as the time to restart the device after firmware update to a new version.
General format of the file content:
<firmware version>;<path to firmware file>; <time (in hours)>
The <firmware version> and <path to firmware file> parameters are mandatory. The <Time> parameter is optional. If it is not specified, the device will restart as soon as there are no conversation sessions.
Example of a file with time set:
3.1.1.1076;smg4/smg4_firmware_3.1.1.1076.bin;18-21
Example of a file without time set:
3.1.1.1076;smg4/smg4_firmware_3.1.1.1076.bin
4.1.1.3 Algorithm of Automatic Configuration Loading and Checking for a New Configuration File
This procedure is used for automatic download of a new device configuration file from the server. The configuration file contains the date and time of its creation:
SMG-config: Version: 13 LastUpdate: ID: 1 Date: 2015-03-30 Time: 05:59:28
While loading, SMG checks for a configuration file in the specified location on the FTP/TFTP/HTTP/HTTPS sever (and authorises on the server if necessary). If it finds the configuration file, the gateway downloads it and compares the creation date and time of the current file and the downloaded one's. If the downloaded file is created later, the device saves and applies the new configuration. Otherwise, the current configuration remains valid.
Thus, to change the gateway configuration, operator simply needs to upload a new configuration file to the server with necessary adjustments and new date and time of creation. The configuration will be updated automatically after the time set in the Configuration update period parameter.
SMG digital gateway 29
4.1.1.4 Algorithm of Automatic Software Updating and Checking for New Firmware Versions
During SMG loading or after the time set in Firmware update period elapses, the gateway checks for a version description file (smg4.manifest/smg2.manifest) in the specified location on the server. If the file is found, SMG downloads it. The file contains information on firmware file versions available on the server, their locations and names, as well as (optional) the time period before device restart after update. If firmware versions on the server differ from the current ones on the gateway, the device checks for active conversation sessions. If there are none, the gateway downloads the firmware image specified in the smg4.manifest/smg2.manifest file and updates the firmware. After the firmware update, the gateway checks for active voice sessions and restarts if finds none. Otherwise, a 30 seconds timer starts. When the time runs out, the gateway checks for active conversation sessions again. If the manifest file specifies a time period for restart, a timer starts for this period. For example, if the file specifies 18–21, the device waits till 18:00 to check for active voice sessions. If it finds none, the gateway restarts; otherwise, the 30 seconds timer starts. When the time runs out, the gateway checks for active conversation sessions again.
30 SMG digital gateway
4.1.2 Monitoring
4.1.2.1 Telemetrics
This section contains information on the temperature sensors and CPU utilisation.
Temperature sensors
TempSensor #0CPU temperature. TempSensor #1switch temperature.
Current CPU Utilisation
USRpercentage of CPU time utilisation by user applications. SYSpercentage of CPU time utilisation by core processes. NICpercentage of CPU time utilisation by applications with a modified priority. IDLEpercentage of unused CPU resources. IOpercentage of CPU time spent on I/O operations. IRQpercentage of CPU time spent on processing of hardware interruptions. SIRQpercentage of CPU time spent on processing of software interruptions.
Loading...
+ 168 hidden pages