uac-srtp-dtls-reinv-sdes.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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. <!-- -->
  19. <scenario name="UAC">
  20. <send>
  21. <![CDATA[
  22. INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  23. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-1
  24. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  25. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  26. Call-ID: [call_id]
  27. CSeq: [cseq] INVITE
  28. Contact: sip:sipp@[local_ip]:[local_port]
  29. Max-Forwards: 70
  30. Subject: Performance Test
  31. Content-Type: application/sdp
  32. Content-Length: [len]
  33. v=0
  34. o=Tester 234 123 IN IP4 127.0.0.1
  35. s=Tester
  36. c=IN IP4 127.0.0.1
  37. t=0 0
  38. m=audio 17424 UDP/TLS/RTP/SAVP 0 101
  39. a=rtpmap:101 telephone-event/8000
  40. a=sendrecv
  41. a=setup:actpass
  42. a=fingerprint:SHA-256 7A:89:37:BC:1E:DF:7A:81:86:71:E7:D9:10:6D:AD:2C:26:12:63:FF:00:31:81:52:82:E0:63:2A:23:47:A4:05
  43. ]]>
  44. </send>
  45. <recv response="100"
  46. optional="true">
  47. </recv>
  48. <recv response="180" optional="true">
  49. </recv>
  50. <recv response="200" rtd="true">
  51. </recv>
  52. <send>
  53. <![CDATA[
  54. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  55. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-2
  56. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  57. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  58. Call-ID: [call_id]
  59. CSeq: [cseq] ACK
  60. Contact: sip:sipp@[local_ip]:[local_port]
  61. Max-Forwards: 70
  62. Subject: Performance Test
  63. Content-Length: 0
  64. ]]>
  65. </send>
  66. <pause milliseconds="500"/>
  67. <send>
  68. <![CDATA[
  69. INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  70. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-1
  71. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  72. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  73. Call-ID: [call_id]
  74. CSeq: [cseq] INVITE
  75. Contact: sip:sipp@[local_ip]:[local_port]
  76. Max-Forwards: 70
  77. Subject: Performance Test
  78. Content-Type: application/sdp
  79. Content-Length: [len]
  80. v=0
  81. o=Tester 234 123 IN IP4 127.0.0.1
  82. s=Tester
  83. c=IN IP4 127.0.0.1
  84. t=0 0
  85. m=audio 17424 RTP/SAVP 0 101
  86. a=rtpmap:101 telephone-event/8000
  87. a=sendrecv
  88. a=crypto:1 AES_256_CM_HMAC_SHA1_80 inline:LBNmzgnWiJiRYuNsEzUJJDbPhCbv89EFyjJHf9wXIpAiweS3JjEBeDJCDqCbvw==
  89. a=crypto:2 AES_256_CM_HMAC_SHA1_32 inline:rs43/wcKQvpx/rW7BE+Z3Kw9ctXl8d+uLNv/yVPCwtqhoHS+7bbBiAkx6ZM0Sw==
  90. a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:URF7iv+U7XFsqiWMmPYMPOuIqz3qjQjmLW/qP5+x
  91. a=crypto:4 AES_CM_128_HMAC_SHA1_32 inline:08xQbX6lbROmI6H2wKmrLPi0oAURF0eRftsfzgEv
  92. ]]>
  93. </send>
  94. <recv response="100" optional="true">
  95. </recv>
  96. <recv response="200" rtd="true">
  97. </recv>
  98. <send>
  99. <![CDATA[
  100. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  101. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-2
  102. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  103. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  104. Call-ID: [call_id]
  105. CSeq: [cseq] ACK
  106. Contact: sip:sipp@[local_ip]:[local_port]
  107. Max-Forwards: 70
  108. Subject: Performance Test
  109. Content-Length: 0
  110. ]]>
  111. </send>
  112. <!-- definition of the response time repartition table (unit is ms) -->
  113. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  114. <!-- definition of the call length repartition table (unit is ms) -->
  115. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  116. </scenario>