The checksum error is probably not a real error. On some platforms, wireshark sees outgoing messages before the checksum has been computed. If you run wireshark on the system receiving the messages, you'll probably not see checksum errors for those messages (but might see them instead for messages being sent out from that system).
--
Dan Poirier, IBM WebSphere Application Server Development: SIP & DRS
Function Test
Davide Fedele
Contalbo
<[EMAIL PROTECTED] To
mail.com> [email protected]
Sent by: cc
sipp-users-bounce
[EMAIL PROTECTED] Subject
ge.net [Sipp-users] Sipp: Error in INVITE
- Checksum: 0x9e45 [incorrect,
should be 0x749a (maybe caused by
03/07/2008 06:13 "UDP checksum offload"?)]
AM
Hi,
this is the my first topic.
Now i have a problem. I have created a scenario of Session SIP on IMS
network.
I have installed OpenIMS on four virtual machine:
* P-CSCF: 192.168.10.92
* I-CSCF:192.168.10.91
* S-CSCF: 192.168.10.93
* HSS:192.168.10.90
The realm is snodo.
The REGISTER scenario runs correctly. After bob and alice register on
IMS network, i launch the Session scenario (uac.xml):
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="Session Alice - Bob - Client Side">
<send retrans="500">
<![CDATA[
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]
Route: <sip:[EMAIL PROTECTED]:6060;lr>
From: "alice" <sip:[EMAIL PROTECTED]>;tag=[call_number]
To: <sip:[EMAIL PROTECTED]>
Call-ID: [call_id]
Cseq: [cseq] INVITE
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
P-Preferred-Identity: "alice" <sip:[EMAIL PROTECTED]>
User-Agent: UCT IMS Client
Max-Forwards: 20
Subject: IMS Call
Content-Type: application/sdp
Content-Length: [len]
v=0
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
t=0 0
c=IN IP[media_ip_type] [media_ip]
m=audio [media_port] RTP/AVP 0
a=rtpmap:0 PCMU/8000
]]>
</send>
<recv response="100" crlf="true"> optional="true"
</recv>
<recv response="180" crlf="true"> optional="true"
</recv>
<recv response="200" crlf="true">
</recv>
<send crlf="true" retrans="500">
<![CDATA[
ACK sip:[EMAIL PROTECTED]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.92:4060;
From: "Alice" <sip:[EMAIL PROTECTED]>;tag=[call_number]
To: "" <sip:[EMAIL PROTECTED]>;[peer_tag_param]
Route: <sip:[EMAIL PROTECTED]:4060;lr>
Route: <sip:[EMAIL PROTECTED]:6060;lr>
Route: <sip:[EMAIL PROTECTED]:6060;lr>
Route: <sip:[EMAIL PROTECTED]:4060;lr>
Call-ID: [call_id]
Cseq: [cseq] ACK
Contact: "alice" <sip:[EMAIL PROTECTED]:[local_port]>
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
</send>
<pause milliseconds="5000" crlf="true" />
<send retrans="500" crlf="true">
<![CDATA[
BYE sip:[EMAIL PROTECTED]:[local_port] SIP/2.0
Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]
From: "Alice" <sip:[EMAIL PROTECTED]>;tag=[call_number]
To: "" <sip:[EMAIL PROTECTED]>;[peer_tag_param]
Route:
<sip:[EMAIL PROTECTED]:4060;lr>,<sip:[EMAIL PROTECTED]:6060;lr>,<sip:[EMAIL
PROTECTED]:6060;lr>,<sip:[EMAIL PROTECTED]:4060;lr>
Call-ID: [call_id]
Cseq: 2 BYE
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
</send>
<recv response="200" crlf="true">
</recv>
</scenario>
with the command:
sipp -sf uac.xml 192.168.10.92:4060 -i 192.168.16.49 -p 5060 -m 100
The IP of Client is 192.168.16.49 and the IP of Server (uas) is
192.168.10.80. On 192.168.10.80 i have launched the uas scenario.
The sipp result is:
Resolving remote host '192.168.10.92'... Done.
------------------------------ Scenario Screen -------- [1-9]: Change
Screen --
Call-rate(length) Port Total-time Total-calls Remote-host
10.0(0 ms)/1.000s 5060 10.02 s 100
192.168.10.92:4060(UDP)
Call limit reached (-m 100), 0.009 s period 2 ms scheduler resolution
0 calls (limit 150) Peak was 1 calls, after 0 s
0 Running, 1 Paused, 0 Woken up
0 out-of-call msg (discarded)
1 open sockets
Messages Retrans Timeout
Unexpected-Msg
INVITE ----------> 100 0 0
100 <---------- 0 0 100
180 <---------- 0 0 0
200 <---------- 0 0 0
ACK ----------> 0 0 0
Pause [ 5000ms] 0 0
BYE ----------> 0 0 0
200 <---------- 0 0 0
------------------------------ Test Terminated
--------------------------------
----------------------------- Statistics Screen ------- [1-9]: Change
Screen --
Start Time | 2008-03-07 11:29:26
Last Reset Time | 2008-03-07 11:29:36
Current Time | 2008-03-07 11:29:36
-------------------------+---------------------------+--------------------------
Counter Name | Periodic value | Cumulative value
-------------------------+---------------------------+--------------------------
Elapsed Time | 00:00:00:009 | 00:00:10:025
Call Rate | 111.111 cps | 9.975 cps
-------------------------+---------------------------+--------------------------
Incoming call created | 0 | 0
OutGoing call created | 1 | 100
Total Call created | | 100
Current Call | 0 |
-------------------------+---------------------------+--------------------------
Successful call | 0 | 0
Failed call | 1 | 100
-------------------------+---------------------------+--------------------------
Call Length | 00:00:00:009 | 00:00:00:004
------------------------------ Test Terminated
--------------------------------
2008-03-07 11:29:36: Aborting call on unexpected message for Call-ID
'[EMAIL PROTECTED]': while expecting '100' response, received
'SIP/2.0 403 Forbidden - You must register first with a S-CSCF
Via: SIP/2.0/UDP 192.168.16.49:5060;branch=z9hG4bK-27532-100-0;rport=5060
From: "alice" <sip:[EMAIL PROTECTED]>;tag=100
To: <sip:[EMAIL PROTECTED]>;tag=f2976a7a54bbb7bdb2169461ed399020.8b3c
Call-ID: [EMAIL PROTECTED]
Cseq: 1 INVITE
Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))
Content-Length: 0
Warning: 392 192.168.10.92:4060 "Noisy feedback tells: pid=28151
req_src_ip=192.168.16.49 req_src_port=5060 in_uri=sip:[EMAIL PROTECTED]
out_uri=sip:[EMAIL PROTECTED] via_cnt==1"
' .
sipp: There were more errors, enable -trace_err to log them.
All INVITE messages result Unexpected Message.
So I have used Wireshark to sniff the session and the error of INVITE
messages are:
User Datagram Protocol, Src Port: sip (5060), Dst Port: 4060 (4060)
Checksum: 0x9e45 [incorrect, should be 0x749a (maybe caused by "UDP
checksum offload"?)]
Bad Checksum: True
I don't understand what is the problem. Have you a idea?
Thanks
Davide
P.S. Excuse me, my english is very poor.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
<<inline: graycol.gif>>
<<inline: pic07083.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
