uas-register-ip-change-port-only.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE scenario SYSTEM "sipp.dtd">
  3. <scenario name="Basic UAS responder">
  4. <recv request="REGISTER" crlf="true">
  5. </recv>
  6. <send>
  7. <![CDATA[
  8. SIP/2.0 401 Unauthorized
  9. [last_Via:];received=1.1.1.1;rport=1111
  10. [last_From:]
  11. [last_To:];tag=[call_number]
  12. [last_Call-ID:]
  13. [last_CSeq:]
  14. WWW-Authenticate: digest realm="test"
  15. Content-Length: 0
  16. ]]>
  17. </send>
  18. <recv request="REGISTER" crlf="true">
  19. </recv>
  20. <send>
  21. <![CDATA[
  22. SIP/2.0 200 OK
  23. [last_Via:];received=1.1.1.1;rport=1111
  24. [last_From:]
  25. [last_To:];tag=[call_number]
  26. [last_Call-ID:]
  27. [last_CSeq:]
  28. [last_Contact:]
  29. Content-Length: 0
  30. ]]>
  31. </send>
  32. <!-- REREGISTER -->
  33. <recv request="REGISTER" crlf="true">
  34. </recv>
  35. <send>
  36. <![CDATA[
  37. SIP/2.0 200 OK
  38. [last_Via:];received=1.1.1.1;rport=1111
  39. [last_From:]
  40. [last_To:];tag=[call_number]
  41. [last_Call-ID:]
  42. [last_CSeq:]
  43. [last_Contact:]
  44. Subject: Reregister due to IP change, this has two Contacts
  45. Content-Length: 0
  46. ]]>
  47. </send>
  48. <!-- REFRESH, GOT IP CHANGE AGAIN -->
  49. <recv request="REGISTER" crlf="true">
  50. </recv>
  51. <send>
  52. <![CDATA[
  53. SIP/2.0 200 OK
  54. [last_Via:];received=1.1.1.1;rport=2222
  55. [last_From:]
  56. [last_To:];tag=[call_number]
  57. [last_Call-ID:]
  58. [last_CSeq:]
  59. [last_Contact:]
  60. Subject: Refresh, got IP change again
  61. Content-Length: 0
  62. ]]>
  63. </send>
  64. <!-- REREGISTER -->
  65. <recv request="REGISTER" crlf="true">
  66. </recv>
  67. <send>
  68. <![CDATA[
  69. SIP/2.0 200 OK
  70. [last_Via:];received=1.1.1.1;rport=2222
  71. [last_From:]
  72. [last_To:];tag=[call_number]
  73. [last_Call-ID:]
  74. [last_CSeq:]
  75. [last_Contact:]
  76. Subject: Reregister due to port change, this has two Contacts
  77. Content-Length: 0
  78. ]]>
  79. </send>
  80. <!-- WHATEVER -->
  81. <recv request="REGISTER" crlf="true">
  82. </recv>
  83. <send>
  84. <![CDATA[
  85. SIP/2.0 200 OK
  86. [last_Via:];received=1.1.1.1;rport=2222
  87. [last_From:]
  88. [last_To:];tag=[call_number]
  89. [last_Call-ID:]
  90. [last_CSeq:]
  91. [last_Contact:]
  92. Subject: Whatever 1
  93. Content-Length: 0
  94. ]]>
  95. </send>
  96. <!-- WHATEVER -->
  97. <recv request="REGISTER" crlf="true">
  98. </recv>
  99. <send>
  100. <![CDATA[
  101. SIP/2.0 200 OK
  102. [last_Via:];received=1.1.1.1;rport=2222
  103. [last_From:]
  104. [last_To:];tag=[call_number]
  105. [last_Call-ID:]
  106. [last_CSeq:]
  107. [last_Contact:]
  108. Subject: Whatever 2
  109. Content-Length: 0
  110. ]]>
  111. </send>
  112. <!-- definition of the response time repartition table (unit is ms) -->
  113. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  114. <!-- definition of the call length repartition table (unit is ms) -->
  115. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  116. </scenario>