Created
June 18, 2016 11:15
-
-
Save antonmry/cbb9383e4199fe294cbcb01d6ba1e573 to your computer and use it in GitHub Desktop.
SIP Diversion Header test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="ISO-8859-1" ?> | |
<!DOCTYPE scenario SYSTEM "sipp.dtd"> | |
<!-- Luis Barreiro - Mobicents QA team --> | |
<scenario name="UAS for SIP-Servlets Tests"> | |
<recv request="INVITE" rrs="true" timeout="5000" /> | |
<send> | |
<![CDATA[ | |
SIP/2.0 180 Ringing | |
[last_Via:] | |
[last_From:] | |
[last_To:];tag=[call_number] | |
[last_Call-ID:] | |
[last_CSeq:] | |
[last_Record-Route:] | |
Contact: sip:receiver-failover@[local_ip]:[local_port] | |
Content-Length: 0 | |
]]> | |
</send> | |
<pause milliseconds="500"/> | |
<send retrans="500"> | |
<![CDATA[ | |
SIP/2.0 200 OK | |
[last_Via:] | |
[last_From:] | |
[last_To:];tag=[call_number] | |
[last_Call-ID:] | |
[last_CSeq:] | |
[last_Record-Route:] | |
Contact: sip:receiver-failover@[local_ip]:[local_port] | |
Content-Type: application/sdp | |
Content-Length: [len] | |
v=0 | |
o=callee 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 request="ACK" > | |
</recv> | |
<recv request="BYE" timeout="180000" /> | |
<send> | |
<![CDATA[ | |
SIP/2.0 200 OK | |
[last_Via:] | |
[last_From:] | |
[last_To:] | |
[last_Call-ID:] | |
[last_CSeq:] | |
[last_Record-Route:] | |
Contact: sip:receiver-failover@[local_ip]:[local_port] | |
Content-Length: 0 | |
]]> | |
</send> | |
<pause milliseconds="30000" /> | |
</scenario> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="ISO-8859-1" ?> | |
<!DOCTYPE scenario SYSTEM "sipp.dtd"> | |
<!-- Luis Barreiro - Mobicents QA team --> | |
<scenario name="UAC for SIP-Servlets Tests"> | |
<send retrans="500"> | |
<![CDATA[ | |
INVITE sip:[service]@192.168.0.17 SIP/2.0 | |
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] | |
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] | |
To: sut <sip:[service]@sip-servlets.com> | |
Call-ID: [call_id] | |
CSeq: 1 INVITE | |
Contact: sip:sipp@[local_ip]:[local_port] | |
Max-Forwards: 70 | |
Subject: Performance Test | |
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 response="180" optional="true" /> | |
<recv response="200" rtd="true" rrs="true"> | |
</recv> | |
<send> | |
<![CDATA[ | |
ACK [next_url] SIP/2.0 | |
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] | |
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] | |
To: sut <sip:[service]@sip-servlets.com>[peer_tag_param] | |
Call-ID: [call_id] | |
CSeq: 1 ACK | |
Contact: sip:sipp@[local_ip]:[local_port] | |
Max-Forwards: 70 | |
[routes] | |
Subject: Performance Test | |
Content-Length: 0 | |
]]> | |
</send> | |
<pause milliseconds="178000"/> | |
<send retrans="500"> | |
<![CDATA[ | |
BYE [next_url] SIP/2.0 | |
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] | |
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] | |
To: sut <sip:[service]@sip-servlets.com>[peer_tag_param] | |
Call-ID: [call_id] | |
CSeq: 2 BYE | |
Contact: sip:sipp@[local_ip]:[local_port] | |
[routes] | |
Max-Forwards: 70 | |
Subject: Performance Test | |
Content-Length: 0 | |
]]> | |
</send> | |
<recv response="200" optional="false"/> | |
<pause milliseconds="10000" /> | |
</scenario> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment