Problem solved after also using the -mi parameter on the client side, i.e.:

    Client 1 (IP 192.168.0.1): sipp -sf g711a_pcap.xml -users 2 192.168.0.2 -mi 
192.168.0.1
    Client 2 (IP 192.168.0.2): sipp -sn uas -mi 192.168.0.2 -rtp_echo


The above simply creates 2 VoIP G711 bi-directional calls between 2 linux 
clients.


----- Forwarded Message ----
From: Antoine <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, 28 October, 2008 23:39:21
Subject: [Sipp-users] No RTP traffic echoed when using -RTP_ECHO


I compiled SIPp v3.1 with PCAP support on 2 Linux clients and run the following 
commands on each client:



    Client 1 (IP 192.168.0.1): sipp -sf g711a_pcap.xml -users 2 192.168.0.2
    Client 2 (IP 192.168.0.2): sipp -sn uas -mi 192.168.0.2 -rtp_echo


However from a network trace I do not see the RTP packets being echoed back 
from the server to the client, i.e. I only see the RTP packets going from 
client 1 (UAC) to client 2 (UAS).

SIPp shows the following on client 2:

0 Total echo RTP pckts 1st stream    0.000 last period RTP rate (kB/s)
0 Total echo RTP pckts 2nd stream    0.000 last period RTP rate (kB/s)

Any clue on how to troubleshoot the issue?

g711a_pcap.xml is pretty basic, it is the uac_pcap.xml file slighly modified, 
here is an extract of the modifications:

  <!-- Play a pre-recorded PCAP file (RTP stream)                       -->
  <nop>
    <action>
      <exec play_pcap_audio="pcap/g711a.pcap"/>
    </action>
  </nop>

  <!-- Pause 8 seconds, which is approximately the duration of the      -->
  <!-- PCAP file                                                        -->
  <pause milliseconds="8000"/>

  <!-- Play an out of band DTMF '1'                                     -->
  <nop>
    <action>
      <exec play_pcap_audio="pcap/dtmf_2833_1.pcap"/>
    </action>
  </nop>

  <pause milliseconds="1000"/>


Thanks,
Antoine


      
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to