| CONTACT | DEVELOPER CENTER | PARTNERS | SITEMAP
GO
Useful Links
  • Search Helpweb
    
    

Dialogic Support Helpweb

Dialogic® Host Media Processing (HMP) Software

How to Replay an RTP Stream to a Remote end-point

Summary::
This document provides information on how to use the VSendCap utility to replay a Real Time Transport Protocol (RTP) stream to a remote end-point.

Symptom:
Users in the IP-based community need the capability to replay a RTP stream from a network trace to a Dialogic® Host Media Processing (HMP) software-based system or Dialogic® System Release (SR) software 6.X system including Dialogic® IP boards (e.g., Dialogic® DM/IP boards). In such a scenario, the RTP stream is a collection of RTP packets filtered from a network trace, captured with Wireshark (formerly Ethereal) network protocol analyzer.

Reason for the problem:
Specifically, this refers to issues involving DTMF detection from digits sent and clarity of audio in the RTP stream.

Fix / Solution: 
This technical note describes how the VSendCap utility can be used to replay the RTP stream from a network trace to a remote end-point system running Dialogic based hardware/software. The following three steps are required to do this:

  1. Install the VSendCap utility on the sending system.
  2. 2. The attached utility, VSendCap, can be run on Windows® Operating Systems, including Windows® 2000, 2003, or XP.
  3. Please note the following pre-requisite: WinPCap Version 3.0 or later must be installed on the system.
  4. Configure the VSendCap utility to replay the captured file to the remote end-point. The following dialog box appears when you run the VSendCap utility:



    Override Source Information
    When configuring the Override Source Information fields, set the IP Address, MAC Address, and Port Number to that of the sending system where VSendCap is running. Note: Each of these parameters is optional, as the utility will not be reading anything sent back from the remote end-point; however, it is recommended to set them so as to ensure that packets sent are not denied, such as due to restrictions on potential mid-points while packets traverse the network to reach the remote end-point.

    Override Destination Information
    When configuring the Override Destination Information fields, set the IP Address, MAC Address, and Port Number to that of the remote end-point which receives the RTP stream. Note: To determine the RTP port of IP channels on Dialogic HMP software and Dialogic SR software 6.x based systems, see the following: For Dialogic HMP software, the default RTP port range starts at 49152 for channel 1, 49154 for channel 2, and so on, following that sequence for the amount of IP channels on the system. For Dialogic SR software 6.x the default RTP port range starts at 2326 for channel 1, 2328 for channel 2, and so on, following same sequence as above.

    If the sending system (i.e. the one running VSendCap) and the remote end-point (i.e. the one receiving RTP stream) are on different subnets, then set the MAC address to that of the default gateway on which the sending system resides. If the MAC address of the default gateway is unknown, then press the button marked as “…” and located next to the MAC address field. Doing this will cause the following dialog box with the correct MAC address of the available gateways to be displayed.



    Then select the network adapter which will be used to send the capture file. Its not recommended to use wireless or dial-up adapters if available.

    Press Browse and select the capture file to be sent. The capture file should be pure RTP, not RTP with other packets. If you need to filter the capture file, see the section below titled: Additional Information below.

  5. 5. Perform the replay and capture the data on the remote end-point. At this time, the VSendCap is ready to replay the capture file to the remote end-point; to do so, click the “Send” button. Be sure the remote end-point has a Dialogic-based application started to open an IP media session in order to receive the incoming packets that are sent. In this case, the application can perform a recording to capture the audio of the incoming RTP stream, which will be used for investigation of the potential issue raised.
Additional Information:
Here are the steps to filter RTP packets from looking at the network capture in Ethereal/Wireshark:
  1. Select the packet RTP stream you are interested in.
  2. If required, Right click and “decode as” RTP on selected UDP packet
  3. Note the SSRC value of the RTP stream
  4. Put in a display filter of “rtp.ssrc==<value>” (no quotes)
  5. Go to Menu – File / Save As – put in a file name and under Packet Range select “Displayed”.
  6. Click Save
Field descriptions of the VSendCap utility