mrcp_uas_unknown 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE scenario SYSTEM "sipp.dtd">
  3. <scenario name="MRCP Unknown 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 0 TCP/MRCPv2 1
  36. a=setup:passive
  37. a=connection:new
  38. a=channel:dca48cf082dd584b@unknown
  39. a=cmid:1
  40. m=audio 0 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="BYE">
  51. </recv>
  52. <send>
  53. <![CDATA[
  54. SIP/2.0 200 OK
  55. [last_Via:]
  56. [last_From:]
  57. [last_To:]
  58. [last_Call-ID:]
  59. [last_CSeq:]
  60. Contact: <sip:[local_ip]:[local_port];transport=[transport]>
  61. Content-Length: 0
  62. ]]>
  63. </send>
  64. <!-- Keep the call open for a while in case the 200 is lost to be -->
  65. <!-- able to retransmit it if we receive the BYE again. -->
  66. <pause milliseconds="4000"/>
  67. <!-- definition of the response time repartition table (unit is ms) -->
  68. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  69. <!-- definition of the call length repartition table (unit is ms) -->
  70. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  71. </scenario>