Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new test scenario and simplify addition of new tests
This scenario tests for proper declination behavior for encrypted video streams when video support is disabled. This patch also removes the requirement for manual numbering of SIP ports for each scenario within the codec_negotiation test. git-svn-id: https://origsvn.digium.com/svn/testsuite/asterisk/trunk@2995 a5964663-950a-4945-9369-5dd0b5cb08c1
- Loading branch information
Kinsey Moore
committed
Jan 19, 2012
1 parent
f0531c6
commit 296ccdd
Showing
3 changed files
with
84 additions
and
52 deletions.
There are no files selected for viewing
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
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
54 changes: 54 additions & 0 deletions
54
tests/channels/SIP/codec_negotiation/sipp/decline_crypto.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1" ?> | ||
<!DOCTYPE scenario SYSTEM "sipp.dtd"> | ||
|
||
<scenario name="Channel Test"> | ||
<send retrans="500"> | ||
<![CDATA[ | ||
INVITE sip:guest2@[remote_ip]:[remote_port] SIP/2.0 | ||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] | ||
From: test1 <sip:guest2@[local_ip]:[local_port]>;tag=[call_number] | ||
To: test <sip:guest2@[remote_ip]:[remote_port]> | ||
Call-ID: [call_id] | ||
CSeq: 1 INVITE | ||
Contact: sip:guest2@[local_ip]:[local_port] | ||
Max-Forwards: 70 | ||
Subject: Performance Test | ||
User-Agent: Channel Param Test | ||
Content-Type: application/sdp | ||
Content-Length: [len] | ||
v=0 | ||
o=guest1 53655765 2353687637 IN IP[local_ip_type] [local_ip] | ||
s=- | ||
c=IN IP[media_ip_type] [media_ip] | ||
t=0 0 | ||
m=video 6002 RTP/SAVP 32 34 | ||
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:WbTBosdVUZqEb6Htqhn+m3z7wUh4RJVR8nE15GbN | ||
a=rtpmap:32 MPV/90000 | ||
a=rtpmap:34 H263/90000 | ||
]]> | ||
</send> | ||
|
||
<recv response="100" | ||
optional="true"> | ||
</recv> | ||
|
||
<recv response="180" optional="true"> | ||
</recv> | ||
|
||
<recv response="183" optional="true"> | ||
</recv> | ||
|
||
<recv response="488" rtd="true"> | ||
</recv> | ||
|
||
<!-- definition of the response time repartition table (unit is ms) --> | ||
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/> | ||
|
||
<!-- definition of the call length repartition table (unit is ms) --> | ||
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/> | ||
|
||
</scenario> | ||
|