mrcp_uas_synth 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE scenario SYSTEM "sipp.dtd">
  3. <scenario name="MRCP Synthesizer Resource UAS">
  4. <!-- By adding rrs="true" (Record Route Sets), the route sets -->
  5. <!-- are saved and used for following messages sent. Useful to test -->
  6. <!-- against stateful SIP proxies/B2BUAs. -->
  7. <recv request="INVITE" crlf="true">
  8. </recv>
  9. <!-- The '[last_*]' keyword is replaced automatically by the -->
  10. <!-- specified header if it was present in the last message received -->
  11. <!-- (except if it was a retransmission). If the header was not -->
  12. <!-- present or if no message has been received, the '[last_*]' -->
  13. <!-- keyword is discarded, and all bytes until the end of the line -->
  14. <!-- are also discarded. -->
  15. <!-- -->
  16. <!-- If the specified header was present several times in the -->
  17. <!-- message, all occurences are concatenated (CRLF seperated) -->
  18. <!-- to be used in place of the '[last_*]' keyword. -->
  19. <send retrans="500">
  20. <![CDATA[
  21. SIP/2.0 200 OK
  22. [last_Via:]
  23. [last_From:]
  24. [last_To:];tag=[call_number]
  25. [last_Call-ID:]
  26. [last_CSeq:]
  27. Contact: <sip:[local_ip]:[local_port];transport=[transport]>
  28. Content-Type: application/sdp
  29. Content-Length: [len]
  30. v=0
  31. o=user1 53655765 2353687637 IN IP4 [local_ip]
  32. s=-
  33. c=IN IP4 [media_ip]
  34. t=0 0
  35. m=application 1050 TCP/MRCPv2 1
  36. a=setup:passive
  37. a=connection:new
  38. a=channel:dca48cf082dd584b@speechsynth
  39. a=cmid:1
  40. m=audio [media_port] RTP/AVP 0 8
  41. a=sendonly
  42. a=mid:1
  43. ]]>
  44. </send>
  45. <recv request="ACK"
  46. optional="true"
  47. rtd="true"
  48. crlf="true">
  49. </recv>
  50. <recv request="INVITE" crlf="true">
  51. </recv>
  52. <send retrans="500">
  53. <![CDATA[
  54. SIP/2.0 200 OK
  55. [last_Via:]
  56. [last_From:]
  57. [last_To:];tag=[call_number]
  58. [last_Call-ID:]
  59. [last_CSeq:]
  60. Contact: <sip:[local_ip]:[local_port];transport=[transport]>
  61. Content-Type: application/sdp
  62. Content-Length: [len]
  63. v=0
  64. o=user1 53655765 2353687637 IN IP4 [local_ip]
  65. s=-
  66. c=IN IP4 [media_ip]
  67. t=0 0
  68. m=application 0 TCP/MRCPv2 1
  69. a=setup:passive
  70. a=connection:existing
  71. a=channel:dca48cf082dd584b@speechsynth
  72. a=cmid:1
  73. m=audio 0 RTP/AVP 0 8
  74. a=sendonly
  75. a=mid:1
  76. ]]>
  77. </send>
  78. <recv request="ACK"
  79. optional="true"
  80. rtd="true"
  81. crlf="true">
  82. </recv>
  83. <recv request="BYE">
  84. </recv>
  85. <send>
  86. <![CDATA[
  87. SIP/2.0 200 OK
  88. [last_Via:]
  89. [last_From:]
  90. [last_To:]
  91. [last_Call-ID:]
  92. [last_CSeq:]
  93. Contact: <sip:[local_ip]:[local_port];transport=[transport]>
  94. Content-Length: 0
  95. ]]>
  96. </send>
  97. <!-- Keep the call open for a while in case the 200 is lost to be -->
  98. <!-- able to retransmit it if we receive the BYE again. -->
  99. <pause milliseconds="4000"/>
  100. <!-- definition of the response time repartition table (unit is ms) -->
  101. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  102. <!-- definition of the call length repartition table (unit is ms) -->
  103. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  104. </scenario>