uas-answer-183-wrong-attr.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. <!-- Sipp default 'uas' scenario. -->
  19. <!-- -->
  20. <scenario name="UAS sending 183 with wrong SDP version">
  21. <!-- By adding rrs="true" (Record Route Sets), the route sets -->
  22. <!-- are saved and used for following messages sent. Useful to test -->
  23. <!-- against stateful SIP proxies/B2BUAs. -->
  24. <recv request="INVITE" crlf="true">
  25. </recv>
  26. <send>
  27. <![CDATA[
  28. SIP/2.0 100 Trying
  29. [last_Via:]
  30. [last_From:]
  31. [last_To:]
  32. [last_Call-ID:]
  33. [last_CSeq:]
  34. Content-Length: 0
  35. ]]>
  36. </send>
  37. <send>
  38. <![CDATA[
  39. SIP/2.0 180 Ringing
  40. [last_Via:]
  41. [last_From:]
  42. [last_To:];tag=[call_number]
  43. [last_Call-ID:]
  44. [last_CSeq:]
  45. Contact: sip:sipp@[local_ip]:[local_port]
  46. Content-Length: 0
  47. ]]>
  48. </send>
  49. <send retrans="500">
  50. <![CDATA[
  51. SIP/2.0 183 Session Progress
  52. [last_Via:]
  53. [last_From:]
  54. [last_To:];tag=[call_number]
  55. [last_Call-ID:]
  56. [last_CSeq:]
  57. Contact: sip:sipp@[local_ip]:[local_port]
  58. Content-Type: application/sdp
  59. Content-Length: [len]
  60. v=0
  61. 1=1
  62. o=- 3441953879 3441953879 IN IP[local_ip_type] [local_ip]
  63. s=-
  64. c=IN IP[media_ip_type] [media_ip]
  65. t=0 0
  66. m=audio 4000 RTP/AVP 8 101
  67. a=rtpmap:8 PCMA/8000
  68. a=rtpmap:101 telephone-event/8000
  69. a=fmtp:101 0-11,16
  70. a=sendrecv
  71. ]]>
  72. </send>
  73. <!-- Wait for CANCEL -->
  74. <recv request="CANCEL" crlf="true">
  75. </recv>
  76. <send>
  77. <![CDATA[
  78. SIP/2.0 200 OK
  79. [last_Via:]
  80. [last_From:]
  81. [last_To:]
  82. [last_Call-ID:]
  83. [last_CSeq:]
  84. Content-Length: 0
  85. ]]>
  86. </send>
  87. <send>
  88. <![CDATA[
  89. SIP/2.0 487 Request Terminated
  90. [last_Via:]
  91. [last_From:]
  92. [last_To:];tag=[call_number]
  93. [last_Call-ID:]
  94. CSeq: [cseq] INVITE
  95. Contact: <sip:sipp@[local_ip]:[local_port]>
  96. Content-Length: 0
  97. ]]>
  98. </send>
  99. <!-- Wait for CANCEL -->
  100. <recv request="ACK" crlf="true">
  101. </recv>
  102. <!-- definition of the response time repartition table (unit is ms) -->
  103. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  104. <!-- definition of the call length repartition table (unit is ms) -->
  105. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  106. </scenario>