Testing Scheme 2

From RtpBridge
Jump to: navigation, search

Note: For testing by this scheme, you should have RtpStreamer software with valid license.

To test RtpBridge in conjunction with RtpStreamer please use the following connection scheme:


Rtp bridge testing scheme 2.jpg


Notes to the scheme:

a. The T1/E1Analyzer is run on an OTX board (e.g., on [Thor-2-Pci-Plus]) connected to Li0 of the Alvis unit #1.

b. Alvis unit #1 and Alvis unit #2 are connected via LAN.

c. Alvis unit #1 should be one of the following OTX boards:

 Alvis-2-CSI, Alvis-4-CSI, Alvis-ASM

d. Alvis unit #2 should be one of the following OTX boards:

Alvis-2-CSI, Alvis-4-CSI, Alvis-4M-CSI
Alvis-ASM, Alvis-PCIe

9. Update the rpm repository packets list at Alvis unit #2:

apt-get update

10. Install RtpBridge package at Alvis unit #2 with a command:

apt-get install rtpbridge

11. Reset Linux file buffers at Alvis unit #2 with a command:

sync

12. Run RtpBridge at Alvis unit #2 with the command:

/opt/rtpbridge/rtpbridge

If you will get a "No license found" message please follow the instructions in How to get a License?

13. In CLI of RtpBridge at Alvis unit #2 issue the command:

connect rtp:10.0.1.2:5002:6002 rtp:10.0.1.2:5004:6004:g711u

where 10.0.1.2 is the IP-address of the Alvis unit #1.

14. Update the rpm repository packets list at Alvis unit #1:

apt-get update

15. Install RtpStreamer package at Alvis unit #1 with a command:

apt-get install rtpstreamer

16. Edit config file /opt/rtpstreamer/OtxRtpStreamer.conf. E.g.:

-------------------- OtxRtpStreamer.conf --------------------

connect tdm:li0:ts1:alaw rtp:10.0.1.100:6002:5002
connect rtp:10.0.1.100:6004:5004 tdm:li0:ts1:ulaw

---------------------------- EOF ----------------------------

where 10.0.1.100 is the IP-address of the Alvis unit #2.

17. Run the RtpStreamer with the command:

/opt/rtpstreamer/OtxRtpStreamer /TD /ME /P128

The arguments can be one of the following:

/T[D|K|X|Q|A] - Unit Type used for the demo, where
D – use Alvis-4-CSI unit,
K – use Alvis-4M-CSI unit,
X – use Alvis-8-CSI unit,
Q – use Alvis-8M-CSI unit,
A – use Alvis-DMP (hosted on ASM or PCIe).
/ME – use E1 Li mode,
/MT – use T1 Li mode.
/P<bytes> – set RTP packets payload size (in bytes).

18. Run the T1/E1 Analyzer. Play the file alaw.bin with T1/E1 Analyzer on TS1.

So:

a. The RtpStreamer should get TDM data from Li0:TS1 and send RTP packets with G.711 (a-law) payload to the RtpBridge.

b. The RtpBridge should decode this G.711 (a-law) encoded data and return it in RTP packets with G.711 (u-law) payload to the RtpStreamer.

c. The RtpStreamer should put u-law data to Li0:TS1 that you can listen with the T1/E1 Analyzer.