uas-reinv-after-failed-nego.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. <!-- Session timer where UAS doesn't indicate support for UPDATE. -->
  19. <!-- In this case, UAC MUST use re-INVITE with SDP. -->
  20. <scenario name="Basic UAS responder">
  21. <recv request="INVITE" crlf="true">
  22. </recv>
  23. <send retrans="500">
  24. <![CDATA[
  25. SIP/2.0 200 OK
  26. [last_Via:]
  27. [last_From:]
  28. [last_To:];tag=[call_number]
  29. [last_Call-ID:]
  30. [last_CSeq:]
  31. Contact: <sip:[local_ip]:[local_port];transport=[transport]>
  32. Content-Type: application/sdp
  33. Content-Length: [len]
  34. v=0
  35. o=Some-UserAgent 68 210 IN IP4 [local_ip]
  36. s=SIP Call
  37. c=IN IP4 [local_ip]
  38. t=0 0
  39. m=audio 17294 RTP/AVP 0
  40. c=IN IP4 [local_ip]
  41. ]]>
  42. </send>
  43. <recv request="ACK"
  44. optional="true"
  45. rtd="true"
  46. crlf="true">
  47. </recv>
  48. <recv request="INVITE" crlf="true">
  49. </recv>
  50. <send retrans="500">
  51. <![CDATA[
  52. SIP/2.0 500 SDP rejected for test
  53. [last_Via:]
  54. [last_From:]
  55. [last_To:];tag=[call_number]
  56. [last_Call-ID:]
  57. [last_CSeq:]
  58. Contact: <sip:[local_ip]:[local_port];transport=[transport]>
  59. ]]>
  60. </send>
  61. <recv request="ACK"
  62. rtd="true"
  63. crlf="true">
  64. </recv>
  65. <recv request="INVITE" crlf="true">
  66. </recv>
  67. <send retrans="500">
  68. <![CDATA[
  69. SIP/2.0 200 OK
  70. [last_Via:]
  71. [last_From:]
  72. [last_To:];tag=[call_number]
  73. [last_Call-ID:]
  74. [last_CSeq:]
  75. Contact: <sip:[local_ip]:[local_port];transport=[transport]>
  76. Content-Type: application/sdp
  77. Content-Length: [len]
  78. v=0
  79. o=Some-UserAgent 68 210 IN IP4 [local_ip]
  80. s=SIP Call
  81. c=IN IP4 [local_ip]
  82. t=0 0
  83. m=audio 17294 RTP/AVP 0
  84. c=IN IP4 [local_ip]
  85. ]]>
  86. </send>
  87. <recv request="ACK"
  88. rtd="true"
  89. crlf="true">
  90. </recv>
  91. <!-- definition of the response time repartition table (unit is ms) -->
  92. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  93. <!-- definition of the call length repartition table (unit is ms) -->
  94. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  95. </scenario>