uas-answer-200-inv-without-sdp.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 answer 200/INVITE without SDP (#1045)">
  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 retrans="500">
  27. <![CDATA[
  28. SIP/2.0 200 OK
  29. [last_Via:]
  30. [last_From:]
  31. [last_To:];tag=[call_number]
  32. [last_Call-ID:]
  33. [last_CSeq:]
  34. Contact: sip:sipp@[local_ip]:[local_port]
  35. Content-Type: application/sdp
  36. Content-Length: [len]
  37. ]]>
  38. </send>
  39. <recv request="ACK" crlf="true">
  40. </recv>
  41. <recv request="BYE" crlf="true">
  42. </recv>
  43. <send>
  44. <![CDATA[
  45. SIP/2.0 200 OK
  46. [last_Via:]
  47. [last_From:]
  48. [last_To:]
  49. [last_Call-ID:]
  50. [last_CSeq:]
  51. Contact: sip:sipp@[local_ip]:[local_port]
  52. Content-Length: [len]
  53. ]]>
  54. </send>
  55. <!-- Keep the call open for a while in case the 200 is lost to be -->
  56. <!-- able to retransmit it if we receive the BYE again. -->
  57. <pause milliseconds="4000"/>
  58. <!-- definition of the response time repartition table (unit is ms) -->
  59. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  60. <!-- definition of the call length repartition table (unit is ms) -->
  61. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  62. </scenario>