I can send a pcap file from the UAS by simply adding the "exec
play_pcap_audio" command and removing the optional="true" statement from
the default UAS xml file (http://sipp.sourceforge.net/doc/uas.xml.html),
ie:
<recv request="ACK"
rtd="true"
crlf="true">
</recv>
<nop>
<action>
<exec play_pcap_audio="pcap/g711a.pcap"/>
</action>
</nop>
<pause milliseconds="8000"/>
For the UAC, I am using the one from
http://sipp.sourceforge.net/doc/uac_pcap.xml.html.
The commands I am using are:
- From UAC: sipp -sf uac_with_G711a_media.xml 192.168.0.2 -users 1 -mi
192.168.0.3 -i 192.168.0.3
- From UAS: sipp -sf uas_with_G711a_media.xml -mi 192.168.0.3 -i
192.168.0.3
-> However from the network trace I noticed that the UAS duplicates each
packet it sends. It results in the weird call flow (see below) and a RTP
stream with twice as many packets as it should have (pcap file from UAS to
UAC contains 724 packets instead of 362).
I would be grateful if someone could send me a copy of their UAS and UAC
xml file if they have managed to send media from the UAS successfully.
Shridhar, I also used the xml files you sent me but I have the same
problem (as the scenarios I am using are pretty much the same). Have you
noticed the issue I described above? If I play back the G711 stream coming
from UAS in Wireshark, it is like playing the stream in slow motion as it
is actuall 14 seconds long instead of 7 seconds as shown in the call flow.
CALL FLOW BETWEEN UAC AND UAS:
===================================
UAC <---------> UAS
INVITE SDP ( g711A)
------------------>
180 Ringing
<------------------
180 Ringing
<------------------
200 OK SDP ( g711U)
<------------------
200 OK SDP ( g711U)
<------------------
ACK
------------------>
RTP (g711A) RTP Num packets:362 Duration:7.219s
SSRC:0x708EBBB9
------------------>
RTP (g711A) RTP Num packets:724 Duration:7.219s
SSRC:0x708EBBB9
<------------------
BYE
------------------>
200 OK
<------------------
200 OK
<------------------
[Sipp-users] UAS able to send media?
From: Stephen Cattaneo <[EMAIL PROTECTED]> - 2008-08-22 00:26
Attachments: lan2pri_pri.xml
Hi all,
Is it possible to have the UAS send media? If so, I am unable to do
this with my attached scenario. I am able send media from the UAC.
Cheers,
Steve
---
Stephen Cattaneo
Systems Test Engineer
U4EA Technologies, Inc.
510.270.2271
Thread View
Thread
Author
Date
[Sipp-users] UAS able to send media?
Stephen Cattaneo <[EMAIL PROTECTED]>
Re: [Sipp-users] UAS able to send media?
From: Stephen Cattaneo <[EMAIL PROTECTED]> - 2008-08-22 15:25
Looks like UAS is able to send media. My problem was the statement just
previous to the <nop> was marked as optional.
Shouldn't SIPp generate a warning when something like what I did is
done?
SIPp should ensure that the statement following an optional statement is
not a <send> or <nop> etc. If the statement following the optional
statement is a send or nop, a warning should be generated. Is this too
simple minded? What do you guys think?
Cheers,
S
- -----Original Message-----
- From: [EMAIL PROTECTED] [mailto:sipp-users-
- [EMAIL PROTECTED] On Behalf Of Stephen Cattaneo
- Sent: Thursday, August 21, 2008 5:26 PM
- To: [EMAIL PROTECTED]
- Subject: [Sipp-users] UAS able to send media?
-
- Hi all,
-
- Is it possible to have the UAS send media? If so, I am unable to do
- this with my attached scenario. I am able send media from the UAC.
-
- Cheers,
-
- Steve
-
-
- ---
- Stephen Cattaneo
- Systems Test Engineer
- U4EA Technologies, Inc.
-
Re: [Sipp-users] UAS able to send media?
From: Charles P Wright <[EMAIL PROTECTED]> - 2008-08-22 19:09
Steve,
There should be a check like the one you described.
There was code for checkng sends and pauses but not nops. I factored out
the code (and made it a bit simpler). It is revision 527. It seems to
work, but we'll see if there is any fall out from previously good
scenarios flagging an error (I don't think there should be, but we'll
see).
Charles
[EMAIL PROTECTED] wrote on 08/22/2008 11:25:12 AM:
> Looks like UAS is able to send media. My problem was the statement just
> previous to the <nop> was marked as optional.
>
> Shouldn't SIPp generate a warning when something like what I did is
> done?
> SIPp should ensure that the statement following an optional statement is
> not a <send> or <nop> etc. If the statement following the optional
> statement is a send or nop, a warning should be generated. Is this too
> simple minded? What do you guys think?
>
> Cheers,
>
> S
>
> - -----Original Message-----
> - From: [EMAIL PROTECTED] [mailto:sipp-users-
> - [EMAIL PROTECTED] On Behalf Of Stephen Cattaneo
> - Sent: Thursday, August 21, 2008 5:26 PM
> - To: [EMAIL PROTECTED]
> - Subject: [Sipp-users] UAS able to send media?
> -
> - Hi all,
> -
> - Is it possible to have the UAS send media? If so, I am unable to do
> - this with my attached scenario. I am able send media from the UAC.
> -
> - Cheers,
> -
> - Steve
> -
> -
> - ---
> - Stephen Cattaneo
> - Systems Test Engineer
> - U4EA Technologies, Inc.
> -
>
>
>
-------------------------------------------------------------------------
> 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
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users