194                             SMG digital gateway 
SIPT-Interface[11]. Set netiface_sig 'eth0' 
// Set an interface for media 
SMG4-[CONFIG]-SIP/SIPT/SIPI-INTERFACE[11]> net-interface rtp eth0 
SIPT-Interface[11]. Set netiface_rtp 'eth0' 
// Complete configuration of  SIP interface 
SMG4-[CONFIG]-SIP/SIPT/SIPI-INTERFACE[11]> exit 
Leaving SIPT mode. 
 
// Configuration of E1 stream and channel for transit 
// Enter to E1 stream configuration mode 
SMG4-[CONFIG]> e1 0 
Entering E1-stream mode 
// Set  SS7 
SMG4-[CONFIG]-E1[0]> signaling ss7 
E1[0]. Set Signaling 3 
// Enable stream 
SMG4-[CONFIG]-E1[0]> enabled 
E1[0]. Set line 'on' 
// Enter to SS7 configuration mode 
SMG4-[CONFIG]-E1[0]> ss7 
E1[0]. Signaling is SS7 
// Enable transit mode 
SMG4-[CONFIG]-E1[0]-[SS7]> transit set usage 1 yes 
Transit: 
01:  remote  stream  [    0]  remote  channel  [    1]  role  'passive'  codec  '............. 
NONE' SIP Inteface [00] 'incoming' 
// Set SIP interface for transit 
SMG4-[CONFIG]-E1[0]-[SS7]> transit set sip_interface 1 11 
Transit: 
01:  remote  stream  [    0]  remote  channel  [    1]  role  'passive'  codec  '............. 
NONE' SIP Inteface [11] 'SIP-interface11' 
// Set channel number on the remote side 
SMG4-[CONFIG]-E1[0]-[SS7]> transit set remote_channel 1 4 
Transit: 
01:  remote  stream  [    0]  remote  channel  [    4]  role  'passive'  codec  '............. 
NONE' SIP Inteface [11] 'SIP-interface11' 
// Set stream number on remote side 
SMG4-[CONFIG]-E1[0]-[SS7]> transit set remote_stream 1 1 
Transit: 
01:  remote  stream  [    1]  remote  channel  [    4]  role  'passive'  codec  '............. 
NONE' SIP Inteface [11] 'SIP-interface11' 
// Quit SS7 configuration mode 
SMG4-[CONFIG]-E1[0]-[SS7]> exit 
Leaving SS7-signaling mode. 
// Quit E1 stream configuration mode 
SMG4-[CONFIG]-E1[0]> exit 
Leaving E1-stream mode. 
// Quit configuration mode 
SMG4-[CONFIG]> exit 
Leaving configuration mode. 
 
On the second object 
 
// SIP interface configuration 
// Enter to configuration mode 
SMG4> config 
Entering configuration mode. 
// Create SIP interface for transit 
SMG4-[CONFIG]> new sipt-interface 
NEW 'SIP/SIPT INTERFACE' [2]: successfully created 
//Enter to SIP interface configuration mode 
SMG4-[CONFIG]> sip interface 2