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;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]
CSeq: 2 BYE
Contact: <sip: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;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]
CSeq: 2 BYE
Contact: <sip: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] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 70
To: [field1] <sip:[EMAIL PROTECTED]>
From: [field0] <sip:[EMAIL PROTECTED]>;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:[EMAIL PROTECTED]>;tag=[peer_tag_param]
From: [field0] <sip:[EMAIL PROTECTED]>;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]>;tag=[peer_tag_param]
From: [field0] <sip:[EMAIL PROTECTED]>;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]
@: [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