mrcp_uac_multi 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE scenario SYSTEM "sipp.dtd">
  3. <scenario name="MRCP Multiple 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=application 9 TCP/MRCPv2 1
  30. a=setup:active
  31. a=connection:new
  32. a=resource:speechrecog
  33. a=cmid:1
  34. m=audio [media_port] RTP/AVP 0 8
  35. a=sendrecv
  36. a=mid:1
  37. ]]>
  38. </send>
  39. <recv response="100"
  40. optional="true">
  41. </recv>
  42. <recv response="180" optional="true">
  43. </recv>
  44. <!-- By adding rrs="true" (Record Route Sets), the route sets -->
  45. <!-- are saved and used for following messages sent. Useful to test -->
  46. <!-- against stateful SIP proxies/B2BUAs. -->
  47. <recv response="200" rtd="true">
  48. </recv>
  49. <!-- Packet lost can be simulated in any send/recv message by -->
  50. <!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
  51. <send>
  52. <![CDATA[
  53. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  54. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  55. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  56. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  57. Call-ID: [call_id]
  58. CSeq: 1 ACK
  59. Contact: sip:sipp@[local_ip]:[local_port]
  60. Max-Forwards: 70
  61. Subject: Performance Test
  62. Content-Length: 0
  63. ]]>
  64. </send>
  65. <!-- This delay can be customized by the -d command-line option -->
  66. <!-- or by adding a 'milliseconds = "value"' option here. -->
  67. <pause/>
  68. <!-- The 'crlf' option inserts a blank line in the statistics report. -->
  69. <send retrans="500">
  70. <![CDATA[
  71. BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  72. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  73. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  74. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  75. Call-ID: [call_id]
  76. CSeq: 2 BYE
  77. Contact: sip:sipp@[local_ip]:[local_port]
  78. Max-Forwards: 70
  79. Subject: Performance Test
  80. Content-Length: 0
  81. ]]>
  82. </send>
  83. <recv response="200" crlf="true">
  84. </recv>
  85. <!-- definition of the response time repartition table (unit is ms) -->
  86. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  87. <!-- definition of the call length repartition table (unit is ms) -->
  88. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  89. </scenario>