mrcp_uac_update 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE scenario SYSTEM "sipp.dtd">
  3. <scenario name="MRCP Synthesizer/Recognizer Resources UAC">
  4. <!-- In client mode (sipp placing calls), the Call-ID MUST be -->
  5. <!-- generated by sipp. To do so, use [call_id] token. -->
  6. <send retrans="500">
  7. <![CDATA[
  8. INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  9. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  10. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  11. To: sut <sip:[service]@[remote_ip]:[remote_port]>
  12. Call-ID: [call_id]
  13. CSeq: 1 INVITE
  14. Contact: sip:sipp@[local_ip]:[local_port]
  15. Max-Forwards: 70
  16. Subject: Performance Test
  17. Content-Type: application/sdp
  18. Content-Length: [len]
  19. v=0
  20. o=user1 53655765 2353687637 IN IP4 [local_ip]
  21. s=-
  22. c=IN IP4 [media_ip]
  23. t=0 0
  24. m=application 9 TCP/MRCPv2 1
  25. a=setup:active
  26. a=connection:new
  27. a=resource:speechsynth
  28. a=cmid:1
  29. m=audio [media_port] RTP/AVP 0 8
  30. a=recvonly
  31. a=mid:1
  32. ]]>
  33. </send>
  34. <recv response="100"
  35. optional="true">
  36. </recv>
  37. <recv response="180" optional="true">
  38. </recv>
  39. <!-- By adding rrs="true" (Record Route Sets), the route sets -->
  40. <!-- are saved and used for following messages sent. Useful to test -->
  41. <!-- against stateful SIP proxies/B2BUAs. -->
  42. <recv response="200" rtd="true">
  43. </recv>
  44. <!-- Packet lost can be simulated in any send/recv message by -->
  45. <!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
  46. <send>
  47. <![CDATA[
  48. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  49. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  50. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  51. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  52. Call-ID: [call_id]
  53. CSeq: 1 ACK
  54. Contact: sip:sipp@[local_ip]:[local_port]
  55. Max-Forwards: 70
  56. Subject: Performance Test
  57. Content-Length: 0
  58. ]]>
  59. </send>
  60. <!-- This delay can be customized by the -d command-line option -->
  61. <!-- or by adding a 'milliseconds = "value"' option here. -->
  62. <pause/>
  63. <!-- In client mode (sipp placing calls), the Call-ID MUST be -->
  64. <!-- generated by sipp. To do so, use [call_id] token. -->
  65. <send retrans="500">
  66. <![CDATA[
  67. INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  68. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  69. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  70. To: sut <sip:[service]@[remote_ip]:[remote_port]>
  71. Call-ID: [call_id]
  72. CSeq: 1 INVITE
  73. Contact: sip:sipp@[local_ip]:[local_port]
  74. Max-Forwards: 70
  75. Subject: Performance Test
  76. Content-Type: application/sdp
  77. Content-Length: [len]
  78. v=0
  79. o=user1 53655765 2353687637 IN IP4 [local_ip]
  80. s=-
  81. c=IN IP4 [media_ip]
  82. t=0 0
  83. m=application 9 TCP/MRCPv2 1
  84. a=setup:active
  85. a=connection:new
  86. a=resource:speechsynth
  87. a=cmid:1
  88. m=audio [media_port] RTP/AVP 0 8
  89. a=sendrecv
  90. a=mid:1
  91. m=application 9 TCP/MRCPv2 1
  92. a=setup:active
  93. a=connection:existing
  94. a=resource:speechrecog
  95. a=cmid:1
  96. ]]>
  97. </send>
  98. <recv response="100"
  99. optional="true">
  100. </recv>
  101. <recv response="180" optional="true">
  102. </recv>
  103. <!-- By adding rrs="true" (Record Route Sets), the route sets -->
  104. <!-- are saved and used for following messages sent. Useful to test -->
  105. <!-- against stateful SIP proxies/B2BUAs. -->
  106. <recv response="200" rtd="true">
  107. </recv>
  108. <!-- Packet lost can be simulated in any send/recv message by -->
  109. <!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
  110. <send>
  111. <![CDATA[
  112. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  113. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  114. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  115. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  116. Call-ID: [call_id]
  117. CSeq: 1 ACK
  118. Contact: sip:sipp@[local_ip]:[local_port]
  119. Max-Forwards: 70
  120. Subject: Performance Test
  121. Content-Length: 0
  122. ]]>
  123. </send>
  124. <!-- This delay can be customized by the -d command-line option -->
  125. <!-- or by adding a 'milliseconds = "value"' option here. -->
  126. <pause/>
  127. <!-- The 'crlf' option inserts a blank line in the statistics report. -->
  128. <send retrans="500">
  129. <![CDATA[
  130. BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  131. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  132. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  133. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  134. Call-ID: [call_id]
  135. CSeq: 2 BYE
  136. Contact: sip:sipp@[local_ip]:[local_port]
  137. Max-Forwards: 70
  138. Subject: Performance Test
  139. Content-Length: 0
  140. ]]>
  141. </send>
  142. <recv response="200" crlf="true">
  143. </recv>
  144. <!-- definition of the response time repartition table (unit is ms) -->
  145. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  146. <!-- definition of the call length repartition table (unit is ms) -->
  147. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  148. </scenario>