uac-ticket-1864-scenario2.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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="Ticket #1864 scenario 2">
  20. <!-- UAC -->
  21. <!-- offer with two media lines -->
  22. <send retrans="500">
  23. <![CDATA[
  24. INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  25. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  26. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  27. To: sut <sip:[service]@[remote_ip]:[remote_port]>
  28. Call-ID: [call_id]
  29. CSeq: 1 INVITE
  30. Contact: <sip:sipp@[local_ip]:[local_port]>
  31. Max-Forwards: 70
  32. Subject: Performance Test
  33. Content-Type: application/sdp
  34. Content-Length: [len]
  35. v=0
  36. o=3cxPS 518818627584 526334820353 IN IP4 172.20.73.100
  37. s=3cxPS Audio call
  38. c=IN IP4 172.20.73.100
  39. t=0 0
  40. m=audio 7016 RTP/SAVP 0
  41. c=IN IP4 172.20.73.100
  42. a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:MFtlKkxOZF16aGBwK0Veaks2JC5+cDBnLWlyeUhN
  43. m=audio 7016 RTP/AVP 0
  44. c=IN IP4 172.20.73.100
  45. ]]>
  46. </send>
  47. <recv response="100" optional="true">
  48. </recv>
  49. <recv response="180" optional="true">
  50. </recv>
  51. <recv response="200" rtd="true">
  52. </recv>
  53. <send>
  54. <![CDATA[
  55. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  56. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  57. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  58. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  59. Call-ID: [call_id]
  60. CSeq: 1 ACK
  61. Contact: <sip:sipp@[local_ip]:[local_port]>
  62. Max-Forwards: 70
  63. Subject: Performance Test
  64. Content-Type: application/sdp
  65. Content-Length: [len]
  66. ]]>
  67. </send>
  68. <pause milliseconds="1000"/>
  69. <!-- reoffer with one media line and remote unsupported codec -->
  70. <send retrans="500">
  71. <![CDATA[
  72. INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  73. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  74. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  75. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  76. Call-ID: [call_id]
  77. CSeq: 2 INVITE
  78. Contact: <sip:sipp@[local_ip]:[local_port]>
  79. Max-Forwards: 70
  80. Subject: Performance Test
  81. Content-Type: application/sdp
  82. Content-Length: [len]
  83. v=0
  84. o=3cxPS 518818627584 526334820353 IN IP4 172.20.73.100
  85. s=3cxPS Audio call
  86. c=IN IP4 172.20.73.100
  87. t=0 0
  88. m=audio 7016 RTP/AVP 8
  89. c=IN IP4 172.20.73.100
  90. ]]>
  91. </send>
  92. <recv response="100" optional="true">
  93. </recv>
  94. <!-- remote rejects the offer due to no matching codec -->
  95. <recv response="500" rtd="true">
  96. </recv>
  97. <send>
  98. <![CDATA[
  99. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  100. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  101. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  102. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  103. Call-ID: [call_id]
  104. CSeq: 2 ACK
  105. Contact: <sip:sipp@[local_ip]:[local_port]>
  106. Max-Forwards: 70
  107. Subject: Performance Test
  108. Content-Type: application/sdp
  109. Content-Length: [len]
  110. ]]>
  111. </send>
  112. <pause milliseconds="1000"/>
  113. <!-- reoffer with two media lines and supported codec -->
  114. <send retrans="500">
  115. <![CDATA[
  116. INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  117. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  118. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  119. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  120. Call-ID: [call_id]
  121. CSeq: 3 INVITE
  122. Contact: <sip:sipp@[local_ip]:[local_port]>
  123. Max-Forwards: 70
  124. Subject: Performance Test
  125. Content-Type: application/sdp
  126. Content-Length: [len]
  127. v=0
  128. o=3cxPS 518818627584 526334820353 IN IP4 172.20.73.100
  129. s=3cxPS Audio call
  130. c=IN IP4 172.20.73.100
  131. t=0 0
  132. m=audio 7016 RTP/SAVP 0
  133. c=IN IP4 172.20.73.100
  134. a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:MFtlKkxOZF16aGBwK0Veaks2JC5+cDBnLWlyeUhN
  135. m=audio 7016 RTP/AVP 0
  136. c=IN IP4 172.20.73.100
  137. ]]>
  138. </send>
  139. <recv response="100" optional="true">
  140. </recv>
  141. <recv response="200" rtd="true">
  142. </recv>
  143. <send>
  144. <![CDATA[
  145. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  146. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  147. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  148. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  149. Call-ID: [call_id]
  150. CSeq: 3 ACK
  151. Contact: <sip:sipp@[local_ip]:[local_port]>
  152. Max-Forwards: 70
  153. Subject: Performance Test
  154. Content-Type: application/sdp
  155. Content-Length: [len]
  156. ]]>
  157. </send>
  158. <pause milliseconds="1000"/>
  159. <send>
  160. <![CDATA[
  161. BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  162. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  163. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  164. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  165. Call-ID: [call_id]
  166. CSeq: 4 BYE
  167. Contact: <sip:sipp@[local_ip]:[local_port]>
  168. Max-Forwards: 70
  169. Subject: Performance Test
  170. Content-Type: application/sdp
  171. Content-Length: [len]
  172. ]]>
  173. </send>
  174. <recv response="200" rtd="true">
  175. </recv>
  176. <!-- definition of the response time repartition table (unit is ms) -->
  177. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  178. <!-- definition of the call length repartition table (unit is ms) -->
  179. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  180. </scenario>