uac-inv-and-ack-without-sdp.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. <!-- -->
  19. <scenario name="UAC sending initial INVITE and ACK without SDP (#1045)">
  20. <!-- UAC with bad ACK causes assertion with pjsip 1.4 -->
  21. <send retrans="500">
  22. <![CDATA[
  23. INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  24. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  25. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  26. To: sut <sip:[service]@[remote_ip]:[remote_port]>
  27. Call-ID: [call_id]
  28. CSeq: 1 INVITE
  29. Contact: sip:sipp@[local_ip]:[local_port]
  30. Max-Forwards: 70
  31. Subject: Performance Test
  32. Content-Type: application/sdp
  33. Content-Length: [len]
  34. ]]>
  35. </send>
  36. <recv response="100" optional="true">
  37. </recv>
  38. <recv response="180" optional="true">
  39. </recv>
  40. <recv response="200" rtd="true">
  41. </recv>
  42. <send>
  43. <![CDATA[
  44. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  45. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  46. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  47. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  48. Call-ID: [call_id]
  49. CSeq: 1 ACK
  50. Contact: sip:sipp@[local_ip]:[local_port]
  51. Max-Forwards: 70
  52. Subject: Performance Test
  53. Content-Length: 0
  54. ]]>
  55. </send>
  56. <recv request="BYE" crlf="true">
  57. </recv>
  58. <send>
  59. <![CDATA[
  60. SIP/2.0 200 OK
  61. [last_Via:]
  62. [last_From:]
  63. [last_To:]
  64. [last_Call-ID:]
  65. [last_CSeq:]
  66. [last_Contact:]
  67. Content-Length: 0
  68. ]]>
  69. </send>
  70. <!-- definition of the response time repartition table (unit is ms) -->
  71. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  72. <!-- definition of the call length repartition table (unit is ms) -->
  73. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  74. </scenario>