uas-auth.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE scenario SYSTEM "sipp.dtd">
  3. <!-- This program is free software; you can redistribute it and/or -->
  4. <!-- modify it under the terms of the GNU General Public License as -->
  5. <!-- published by the Free Software Foundation; either version 2 of the -->
  6. <!-- License, or (at your option) any later version. -->
  7. <!-- -->
  8. <!-- This program is distributed in the hope that it will be useful, -->
  9. <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
  10. <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
  11. <!-- GNU General Public License for more details. -->
  12. <!-- -->
  13. <!-- You should have received a copy of the GNU General Public License -->
  14. <!-- along with this program; if not, write to the -->
  15. <!-- Free Software Foundation, Inc., -->
  16. <!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
  17. <!-- -->
  18. <!-- Sipp default 'uas' scenario. -->
  19. <!-- -->
  20. <scenario name="UAS authorization server">
  21. <recv request="REGISTER" crlf="true">
  22. </recv>
  23. <send>
  24. <![CDATA[
  25. SIP/2.0 401 Unauthorized
  26. [last_Via:]
  27. [last_From:]
  28. [last_To:];tag=[call_number]
  29. [last_Call-ID:]
  30. [last_CSeq:]
  31. WWW-Authenticate: digest realm="test",stale=true
  32. ]]>
  33. </send>
  34. <recv request="REGISTER" crlf="true">
  35. </recv>
  36. <send>
  37. <![CDATA[
  38. SIP/2.0 200 OK
  39. [last_Via:]
  40. [last_From:]
  41. [last_To:];tag=[call_number]
  42. [last_Call-ID:]
  43. [last_CSeq:]
  44. Expires: 30
  45. ]]>
  46. </send>
  47. <!-- definition of the response time repartition table (unit is ms) -->
  48. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  49. <!-- definition of the call length repartition table (unit is ms) -->
  50. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  51. </scenario>