It looks like those BYE sipp is sending are automatic BYE sent upon reception
of unexpected messages. Indeed, those messages are hardcoded (this is no longer
the case in the very latest trunk versions) and the Max-Forwards flag was
missing (this has been corrected in the 3.0 version, for which no Windows
package has been delivered yet).
You should first check on sipp side what's going on (trace_msg and trace_err
logs would help).
Olivier Boulkroune
________________________________
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Bartosz
Baranowski
Envoyé : jeudi 10 janvier 2008 22:46
À : [email protected]
Objet : [Sipp-users] Missign Max-Forwards , and strange ACKs, not related to
the scenario
I didnt find anythng on google so posting here:
sipp 2.01 - windows
Im running simple scenario
INVITE -->
100 <--- OPTIONALL
180 <--- OPTIONAL
OK <-----
ACK --->
pause 10s
BYE --->
OK <----
Before that UAS and UAC users are registered at the proxy
Two things happen now:
1. Proxy receives BYE without Max-Forwards - this can be easly hacked on proxy,
but its a hack
BYE sip:[EMAIL PROTECTED]:5060 SIP/2.0
Via: SIP/2.0/UDP
127.0.0.1:5560<http://127.0.0.1:5560>;branch=z9hG4bK-2284-6000--1
From: "sipp" <sip:[EMAIL PROTECTED]:5560>;tag=6000
To: "sut" < sip:[EMAIL PROTECTED]:5060>;tag=6000
Call-ID: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
CSeq: 2 BYE
Contact: <sip:127.0.0.1:5560<http://127.0.0.1:5560>;transport=UDP>
Content-Length: 0
(this is content of message read directly from socket)
2. Proxy receives strange requests, which can loop around proxy unless it drops
them.
2008-01-08 03:21:24,468 INFO [TMP_STACK_LOGGER] SOCK RECV[
BYE sip:[EMAIL PROTECTED]:5060 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5560<http://127.0.0.1:5560>;branch=z9hG4bK-3732-50--1
From: sipp <sip:[EMAIL PROTECTED]:5560>;tag=50
To: sut <sip:[EMAIL PROTECTED] :5060>;tag=50
Call-ID: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
CSeq: 2 BYE
Contact: <sip:127.0.0.1:5560<http://127.0.0.1:5560>;transport=UDP>
Content-Length: 0
What could be the problem?
Here is scenario:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="UAC">
<send retrans="1000">
<![CDATA[
INVITE sip:[EMAIL PROTECTED]<http://nist.gov> SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 70
To: [field1] <sip:[EMAIL PROTECTED]<http://nist.gov>>
From: [field0] <sip:[EMAIL PROTECTED]<http://nist.gov>>;tag=[call_number]
Call-ID: [call_id]
CSeq: 1 INVITE
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
Content-Type: application/sdp
Content-Length: [len]
v=0
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio [media_port] RTP/AVP 0
a=rtpmap:0 PCMU/8000
]]>
</send>
<recv response="100" optional="true">
</recv>
<recv response="180" optional="true">
</recv>
<recv response="200" rrs="true">
</recv>
<send>
<![CDATA[
ACK [next_url] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
[routes]
Max-Forwards: 70
To: [field1] <sip:[field1]@
nist.gov<http://nist.gov>>;tag=[peer_tag_param]
From: [field0] <sip:[EMAIL PROTECTED]<http://nist.gov>>;tag=[call_number]
Call-ID: [call_id]
CSeq: 1 ACK
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
Content-Length: 0
]]>
</send>
<pause milliseconds="10000"/>
<send retrans="1000">
<![CDATA[
BYE [next_url] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
[routes]
Max-Forwards: 70
To: [field1] <sip:[EMAIL PROTECTED]<http://nist.gov>>;tag=[peer_tag_param]
From: [field0] <sip:[EMAIL PROTECTED]<http://nist.gov>>;tag=[call_number]
Call-ID: [call_id]
CSeq: 2 BYE
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
Content-Length: 0
]]>
</send>
<recv response="200">
</recv>
</scenario>
--
Bartosz Baranowski
tel: 48 509 973 452
Country: Poland
@: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
@: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
http://www.opuce.tid.es/
http://mobicents.org/
==================================
Word of criticism meant to improve is always step forward.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users