uas-answer-183-wrong-media.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. <!-- Correct call cancellation on wrong SDP answer PR #3137 -->
  19. <scenario name="UAS sending 183 with wrong media in SDP">
  20. <!-- By adding rrs="true" (Record Route Sets), the route sets -->
  21. <!-- are saved and used for following messages sent. Useful to test -->
  22. <!-- against stateful SIP proxies/B2BUAs. -->
  23. <recv request="INVITE" crlf="true">
  24. </recv>
  25. <send>
  26. <![CDATA[
  27. SIP/2.0 100 Trying
  28. [last_Via:]
  29. [last_From:]
  30. [last_To:]
  31. [last_Call-ID:]
  32. [last_CSeq:]
  33. Content-Length: 0
  34. ]]>
  35. </send>
  36. <send>
  37. <![CDATA[
  38. SIP/2.0 180 Ringing
  39. [last_Via:]
  40. [last_From:]
  41. [last_To:];tag=[call_number]
  42. [last_Call-ID:]
  43. [last_CSeq:]
  44. Contact: sip:sipp@[local_ip]:[local_port]
  45. Content-Length: 0
  46. ]]>
  47. </send>
  48. <send retrans="500">
  49. <![CDATA[
  50. SIP/2.0 183 Session Progress
  51. [last_Via:]
  52. [last_From:]
  53. [last_To:];tag=[call_number]
  54. [last_Call-ID:]
  55. [last_CSeq:]
  56. Contact: sip:sipp@[local_ip]:[local_port]
  57. Content-Type: application/sdp
  58. Content-Length: [len]
  59. v=0
  60. o=- 3441953879 3441953879 IN IP[local_ip_type] [local_ip]
  61. s=-
  62. c=IN IP[media_ip_type] [media_ip]
  63. t=0 0
  64. m=video 11128 RTP/AVP 34 103 104
  65. a=rtpmap:34 H263/90000
  66. a=rtpmap:103 H263-1998/90000
  67. a=rtpmap:104 H264/90000
  68. a=sendrecv
  69. ]]>
  70. </send>
  71. <!-- Wait for CANCEL -->
  72. <recv request="CANCEL" crlf="true">
  73. </recv>
  74. <send>
  75. <![CDATA[
  76. SIP/2.0 200 OK
  77. [last_Via:]
  78. [last_From:]
  79. [last_To:]
  80. [last_Call-ID:]
  81. [last_CSeq:]
  82. Content-Length: 0
  83. ]]>
  84. </send>
  85. <send>
  86. <![CDATA[
  87. SIP/2.0 487 Request Terminated
  88. [last_Via:]
  89. [last_From:]
  90. [last_To:];tag=[call_number]
  91. [last_Call-ID:]
  92. CSeq: [cseq] INVITE
  93. Contact: <sip:sipp@[local_ip]:[local_port]>
  94. Content-Length: 0
  95. ]]>
  96. </send>
  97. <!-- Wait for CANCEL -->
  98. <recv request="ACK" crlf="true">
  99. </recv>
  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>