
SMG digital gateway
195
Entering SIPT-mode.
// Set transit mode for E1 channels
SMG4-[CONFIG]-SIP/SIPT/SIPI-INTERFACE[2]>
mode
E1-TRANSIT
SIPT-Interface[2]. Set SIP_mode '4'
// Set address of the remote side
SMG4-[CONFIG]-SIP/SIPT/SIPI-INTERFACE[2]>
hostname set
192.0.2.1
SIPT-Interface[2]. Set hostname '192.0.2.2'
// Set a port on the remote side
SMG4-[CONFIG]-SIP/SIPT/SIPI-INTERFACE[2]>
port destination
5060
SIPT-Interface[2]. Set dstport '5060'
// Set a local port
SMG4-[CONFIG]-SIP/SIPT/SIPI-INTERFACE[2]>
port source
5060
SIPT-Interface[2]. Set srcport '5060'
// Set an interface for signalling
SMG4-[CONFIG]-SIP/SIPT/SIPI-INTERFACE[2]>
net-interface
sig
eth0
SIPT-Interface[2]. Set netiface_sig 'eth0'
// Set an interface for media
SMG4-[CONFIG]-SIP/SIPT/SIPI-INTERFACE[2]>
net-interface
rtp
eth0
SIPT-Interface[2]. Set netiface_rtp 'eth0'
// Complete configuration of SIP interface
SMG4-[CONFIG]-SIP/SIPT/SIPI-INTERFACE[2]>
exit
Leaving SIPT mode.
// E1 stream and channel configuration for the transit
// Enter to an E1 stream configuration mode
SMG4-[CONFIG]>
e1
1
Entering E1-stream mode
// Set SS7
SMG4-[CONFIG]-E1[1]>
signaling
ss7
E1[1]. Set Signaling 3
// Enable the stream
SMG4-[CONFIG]-E1[1]>
enabled
E1[1]. Set line 'on'
// Enter to SS7 configuration mode
SMG4-[CONFIG]-E1[1]>
ss7
E1[1]. Signaling is SS7
// Enable transit mode
SMG4-[CONFIG]-E1[1]-[SS7]>
transit set usage
4 yes
Transit:
04: remote stream [ 0] remote channel [ 1] role 'passive' codec '.............
NONE' SIP Inteface [00] 'test'
// Set SIP interface for transit
SMG4-[CONFIG]-E1[1]-[SS7]>
transit set sip_interface
4
2
Transit:
04: remote stream [ 0] remote channel [ 1] role 'passive' codec '.............
NONE' SIP Inteface [02] 'SIP-interface2'
// Set a channel number on the remote side
SMG4-[CONFIG]-E1[1]-[SS7]>
transit set remote_channel
4 1
Transit:
04: remote stream [ 0] remote channel [ 1] role 'passive' codec '.............
NONE' SIP Inteface [02] 'SIP-interface2'
// Set a stream number on the remote side
SMG4-[CONFIG]-E1[1]-[SS7]>
transit set remote_stream
4 0
Transit:
04: remote stream [ 0] remote channel [ 1] role 'passive' codec '.............
NONE' SIP Inteface [02] 'SIP-interface2'
// Set active mode for transit
SMG4-[CONFIG]-E1[1]-[SS7]>
transit set
active
1 yes
Transit:
04: remote stream [ 0] remote channel [ 1] role 'active ' codec '.............
NONE' SIP Inteface [02] 'SIP-interface2'
//Quit SS7 configuration mode