|
From: Jeannot L. <je...@ma...> - 2007-01-17 21:10:08
|
Jeannot Langlois wrote:
>
>
> Juan Antonio Alvarez wrote:
>
>> As far as I know, you don't have to make all and then make pcapplay.
>> Now try running
>>
>> make clean
>> make pcapplay
>>
>> Then try run sipp again.
>>
>> Good luck!
>>
>> Juan
>>
>
> Thanks -- that worked.
>
> It seems I only needed "make pcapplay".
>
>
> One quick question: RTP streaming now works, but never stops (so as
> soon as the play_pcap_audio action is executed for my 62second-long
> pcap file in the middle of my scenario, audio playbacks in an infinite
> loop) so the scenario never completes entirely, even though I have put
> a "<pause milliseconds="500"/>" instruction right after the
> <nop>...</nop> for the RTP streaming.
>
> Any ideas?
>
Hmm - please ignore the last paragraph - while I can now successfully
run "sipp" with pcap support with the above commands, RTP streaming is
NOT working. I mistakenly connected to something else than SIPP,
leading me to think that RTP streaming was working :)
I've changed the "pause" instruction in my scenario to match the
approximate length of the pcap file. It seems that the incoming PRACK
message sent by the client I'm using is coming in at an unexpected
moment (during the pause), causing the problem I'm now getting.
Here's SIPp output:
In pcap pcap/bennybenassi4.pcap, npkts 6280
max pkt length 180
base port 21126
------------------------------ Scenario Screen -------- [1-9]: Change
Screen --
Port Total-time Total-calls Transport
5061 1.94 s 1 UDP
Call limit reached (-m 1), 0.938 s period 2 ms scheduler resolution
0 calls Peak was 1 calls, after 1 s
0 Running, 1 Paused, 0 Woken up
1 open sockets
6 Total RTP pckts sent 1.094 last period RTP rate (kB/s)
Messages Retrans Timeout
Unexpected-Msg
----------> INVITE 1 0 0
<---------- 183 1 0
[ NOP ]
[ 62.0s] Pause 1 1
----------> PRACK 0 0 0
<---------- 200 0 0
<---------- UPDATE 0 0
----------> 200 0 0 0
[ 500ms] Pause 0 0
<---------- 200 0 0
----------> ACK 0 0 0
------------------------------ Test Terminated
--------------------------------
----------------------------- Statistics Screen ------- [1-9]: Change
Screen --
Start Time | 2007-01-17 15:40:10
Last Reset Time | 2007-01-17 15:40:11
Current Time | 2007-01-17 15:40:12
-------------------------+---------------------------+--------------------------
Counter Name | Periodic value | Cumulative value
-------------------------+---------------------------+--------------------------
Elapsed Time | 00:00:00:937 | 00:00:01:942
Call Rate | 1.067 cps | 0.515 cps
-------------------------+---------------------------+--------------------------
Incoming call created | 1 | 1
OutGoing call created | 0 | 0
Total Call created | | 1
Current Call | 0 |
-------------------------+---------------------------+--------------------------
Successful call | 0 | 0
Failed call | 1 | 1
-------------------------+---------------------------+--------------------------
Call Length | 00:00:00:120 | 00:00:00:120
------------------------------ Test Terminated
--------------------------------
2007-01-17 15:40:12: Aborting call on unexpected message for Call-ID
'2c28-0bd8-15e4-31dfd060@172.25.100.49': while expecting '0' response,
received 'PRACK sip:jea...@te... SIP/2.0
v: SIP/2.0/UDP xxxxxxxx:5060;branch=z9hG4bK45ae8f50-0
i: 2c28-0bd8-15e4-31dfd060@xxxxxxxx
f: <sip:jea...@te...>;tag=1fc6-bd8-15e4-31dfd060
t: <sip:jea...@te...>;tag=1
CSeq: 2 PRACK
RAck: 6532 1 INVITE
User-Agent: xxxxxxxxxxxxx
Max-Forwards: 70
l: 0
' .
--
Jeannot Langlois
Software Developer / Programmeur-Analyste
aka "SIP Phone Doctor" and "SIP PUBLISH/PRACK/UPDATE Expert"
Macadamian Technologies
(613) 739-5976 #137
www.macadamian.com
CONFIDENTIALITY:
The information contained in this email is intended by Macadamian Technologies Inc. for the use by the named individual or entity to which it is addressed and may contain information that is privileged or confidential. It is not intended for transmission to, or receipt by, any individual or entity other than the named addressee expressly permitted in this email. If you have received this email in error, please delete it without copying or forwarding it, and notify the sender.
Subscribe to the Critical Path, our free monthly email on software management:
http://www.macadamian.com/subscribe
|