uas-register-ip-change.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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 100 Trying
  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. <pause milliseconds="2000"/>
  19. <send>
  20. <![CDATA[
  21. SIP/2.0 401 Unauthorized
  22. [last_Via:];received=2.2.2.2;rport=2222
  23. [last_From:]
  24. [last_To:];tag=[call_number]
  25. [last_Call-ID:]
  26. [last_CSeq:]
  27. WWW-Authenticate: digest realm="test"
  28. Content-Length: 0
  29. ]]>
  30. </send>
  31. <recv request="REGISTER" crlf="true">
  32. </recv>
  33. <send>
  34. <![CDATA[
  35. SIP/2.0 401 Unauthorized again
  36. [last_Via:];received=3.3.3.3;rport=3333
  37. [last_From:]
  38. [last_To:];tag=[call_number]
  39. [last_Call-ID:]
  40. [last_CSeq:]
  41. [last_Contact:]
  42. WWW-Authenticate: digest realm="test", stale=true
  43. Content-Length: 0
  44. ]]>
  45. </send>
  46. <recv request="REGISTER" crlf="true">
  47. </recv>
  48. <send>
  49. <![CDATA[
  50. SIP/2.0 200 OK
  51. [last_Via:];received=4.4.4.4;rport=4444
  52. [last_From:]
  53. [last_To:];tag=[call_number]
  54. [last_Call-ID:]
  55. [last_CSeq:]
  56. [last_Contact:]
  57. Content-Length: 0
  58. ]]>
  59. </send>
  60. <!-- IP CHANGE FOR 200/OK -->
  61. <recv request="REGISTER" crlf="true">
  62. </recv>
  63. <send>
  64. <![CDATA[
  65. SIP/2.0 401 Unauthorized
  66. [last_Via:];received=5.5.5.5;rport=5555
  67. [last_From:]
  68. [last_To:];tag=[call_number]
  69. [last_Call-ID:]
  70. [last_CSeq:]
  71. [last_Contact:]
  72. WWW-Authenticate: digest realm="test"
  73. Content-Length: 0
  74. ]]>
  75. </send>
  76. <recv request="REGISTER" crlf="true">
  77. </recv>
  78. <send>
  79. <![CDATA[
  80. SIP/2.0 401 Nasty Unauthorized
  81. [last_Via:];received=6.6.6.6;rport=6666
  82. [last_From:]
  83. [last_To:];tag=[call_number]
  84. [last_Call-ID:]
  85. [last_CSeq:]
  86. [last_Contact:]
  87. WWW-Authenticate: digest realm="test", stale=true
  88. Content-Length: 0
  89. ]]>
  90. </send>
  91. <recv request="REGISTER" crlf="true">
  92. </recv>
  93. <send>
  94. <![CDATA[
  95. SIP/2.0 200 OK
  96. [last_Via:];received=8.8.8.8;rport=8888
  97. [last_From:]
  98. [last_To:];tag=[call_number]
  99. [last_Call-ID:]
  100. [last_CSeq:]
  101. [last_Contact:]
  102. Content-Length: 0
  103. ]]>
  104. </send>
  105. <recv request="REGISTER" crlf="true">
  106. </recv>
  107. <send>
  108. <![CDATA[
  109. SIP/2.0 200 OK
  110. [last_Via:];received=8.8.8.8;rport=8888
  111. [last_From:]
  112. [last_To:];tag=[call_number]
  113. [last_Call-ID:]
  114. [last_CSeq:]
  115. [last_Contact:]
  116. Content-Length: 0
  117. ]]>
  118. </send>
  119. <!-- definition of the response time repartition table (unit is ms) -->
  120. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  121. <!-- definition of the call length repartition table (unit is ms) -->
  122. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  123. </scenario>