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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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 incompatible codec">
  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=audio [media_port] RTP/AVP 109 105
  65. a=rtpmap:109 EVS/16000
  66. a=fmtp:109 br=5.9-24.4; bw=nb-wb; max-red=220
  67. a=rtpmap:105 telephone-event/16000
  68. a=fmtp:105 0-15
  69. a=sendrecv
  70. ]]>
  71. </send>
  72. <!-- Wait for CANCEL -->
  73. <recv request="CANCEL" crlf="true">
  74. </recv>
  75. <send>
  76. <![CDATA[
  77. SIP/2.0 200 OK
  78. [last_Via:]
  79. [last_From:]
  80. [last_To:]
  81. [last_Call-ID:]
  82. [last_CSeq:]
  83. Content-Length: 0
  84. ]]>
  85. </send>
  86. <send>
  87. <![CDATA[
  88. SIP/2.0 487 Request Terminated
  89. [last_Via:]
  90. [last_From:]
  91. [last_To:];tag=[call_number]
  92. [last_Call-ID:]
  93. CSeq: [cseq] INVITE
  94. Contact: <sip:sipp@[local_ip]:[local_port]>
  95. Content-Length: 0
  96. ]]>
  97. </send>
  98. <!-- Wait for CANCEL -->
  99. <recv request="ACK" crlf="true">
  100. </recv>
  101. <!-- definition of the response time repartition table (unit is ms) -->
  102. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  103. <!-- definition of the call length repartition table (unit is ms) -->
  104. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  105. </scenario>