diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2012-06-26 02:28:59 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2012-06-26 02:28:59 +0000 |
commit | fe6325e5fb8839a3a8624941a3c898e2d13edd4a (patch) | |
tree | e5e2b5d8727841ebf0cc10f6cd2ae4393fe684aa /tests/pjsua/scripts-sipp/uas-inv_401_retry_after_100.xml | |
parent | 54b19e744f300b122ecaa80ec4a07f2cb9ef1b7f (diff) |
Close #1523:
- updated scenarios to work with mod_sipp.py (adding config .py file, etc)
- integrated mod_sipp.py to runall.py
- removed uas.xml, as it is similar to recvfrom\100_simple.py (REGISTER+resp 200)
- renamed scenarios (to allow running these SIPp scenarios without .py file):
- prack_fork.xml -> uas-prack_fork.xml
- inv_401_retry_after_100.xml -> uas-inv_401_retry_after_100.xml
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4177 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/scripts-sipp/uas-inv_401_retry_after_100.xml')
-rw-r--r-- | tests/pjsua/scripts-sipp/uas-inv_401_retry_after_100.xml | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/tests/pjsua/scripts-sipp/uas-inv_401_retry_after_100.xml b/tests/pjsua/scripts-sipp/uas-inv_401_retry_after_100.xml new file mode 100644 index 00000000..6debd134 --- /dev/null +++ b/tests/pjsua/scripts-sipp/uas-inv_401_retry_after_100.xml @@ -0,0 +1,106 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<!DOCTYPE scenario SYSTEM "sipp.dtd"> + +<!-- This program is free software; you can redistribute it and/or --> +<!-- modify it under the terms of the GNU General Public License as --> +<!-- published by the Free Software Foundation; either version 2 of the --> +<!-- License, or (at your option) any later version. --> +<!-- --> +<!-- This program is distributed in the hope that it will be useful, --> +<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of --> +<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --> +<!-- GNU General Public License for more details. --> +<!-- --> +<!-- You should have received a copy of the GNU General Public License --> +<!-- along with this program; if not, write to the --> +<!-- Free Software Foundation, Inc., --> +<!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --> +<!-- --> +<!-- --> + +<scenario name="Authorization retry after 1xx response test"> + <!-- Wait for INVITE request --> + <recv request="INVITE" crlf="true"> + </recv> + + <!-- Send 100 Trying --> + <send> + <![CDATA[ + + SIP/2.0 100 Trying + [last_Via:] + [last_From:] + [last_To:] + [last_Call-ID:] + [last_CSeq:] + ]]> + </send> + + <!-- Send 180 Ringing (with tag) --> + <send> + <![CDATA[ + + SIP/2.0 180 Ringing + [last_Via:] + [last_From:] + [last_To:];tag=[call_number] + [last_Call-ID:] + [last_CSeq:] + ]]> + </send> + + <!-- Send 401 Unauthorized --> + <send retrans="500"> + <![CDATA[ + + SIP/2.0 401 Unauthorized + [last_Via:] + [last_From:] + [last_To:];tag=[call_number] + [last_Call-ID:] + [last_CSeq:] + WWW-Authenticate: Digest realm="sipp", nonce="1234" + Content-Length: 0 + ]]> + </send> + + <!-- Wait for ACK --> + <recv request="ACK" + optional="false" + rtd="true" + crlf="true"> + </recv> + + <!-- Wait for INVITE retransmission --> + <recv request="INVITE" crlf="true"> + </recv> + + <!-- Send 500 Test Success to terminate the call --> + <send retrans="500"> + <![CDATA[ + + SIP/2.0 500 Test Success + [last_Via:] + [last_From:] + [last_To:];tag=[call_number] + [last_Call-ID:] + [last_CSeq:] + Content-Length: 0 + ]]> + </send> + + <!-- Wait for ACK --> + <recv request="ACK" + optional="false" + rtd="true" + crlf="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> + |