uac-prack-sdp-offer.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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 'uac' scenario with pcap (rtp) play -->
  19. <!-- -->
  20. <scenario name="UAC sending PRACK with SDP offer (#2967)">
  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=[pid]SIPpTag09[call_number]
  26. To: [service] <sip:[service]@[remote_ip]:[remote_port]>
  27. Call-ID: [call_id]
  28. CSeq: [cseq] INVITE
  29. Contact: sip:sipp@[local_ip]:[local_port]
  30. Max-Forwards: 70
  31. Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGE
  32. Supported: 100rel, precondition
  33. Content-Type: application/sdp
  34. Content-Length: [len]
  35. v=0
  36. o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
  37. s=-
  38. c=IN IP[local_ip_type] [local_ip]
  39. t=0 0
  40. m=audio [media_port] RTP/AVP 8 101
  41. a=rtpmap:8 PCMA/8000
  42. a=rtpmap:101 telephone-event/8000
  43. a=inactive
  44. a=fmtp:101 0-11,16
  45. ]]>
  46. </send>
  47. <recv response="100" optional="true">
  48. </recv>
  49. <recv response="183">
  50. <action>
  51. <ereg regexp=".*"
  52. search_in="hdr"
  53. header="RSeq:"
  54. assign_to="1"/>
  55. <ereg regexp=".*"
  56. search_in="hdr"
  57. header="CSeq:"
  58. assign_to="2"/>
  59. </action>
  60. </recv>
  61. <send>
  62. <![CDATA[
  63. PRACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  64. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  65. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
  66. To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  67. Call-ID: [call_id]
  68. CSeq: [cseq] PRACK
  69. Contact: sip:sipp@[local_ip]:[local_port]
  70. Max-Forwards: 70
  71. Subject: Performance Test
  72. RAck:[$1][$2]
  73. Content-Type: application/sdp
  74. Content-Length: [len]
  75. v=0
  76. o=user1 53655765 2353687638 IN IP[local_ip_type] [local_ip]
  77. s=-
  78. c=IN IP[local_ip_type] [local_ip]
  79. t=0 0
  80. m=audio [media_port] RTP/AVP 8 101
  81. a=rtpmap:8 PCMA/8000
  82. a=rtpmap:101 telephone-event/8000
  83. a=sendrecv
  84. a=fmtp:101 0-11,16
  85. ]]>
  86. </send>
  87. <recv response="200" rtd="true" crlf="true">
  88. </recv>
  89. <recv response="200" rtd="true" crlf="true">
  90. </recv>
  91. <send>
  92. <![CDATA[
  93. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  94. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  95. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
  96. To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  97. Call-ID: [call_id]
  98. CSeq: 1 ACK
  99. Contact: sip:sipp@[local_ip]:[local_port]
  100. Max-Forwards: 70
  101. Subject: Performance Test
  102. Content-Length: 0
  103. ]]>
  104. </send>
  105. <!-- The 'crlf' option inserts a blank line in the statistics report. -->
  106. <send retrans="500">
  107. <![CDATA[
  108. BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  109. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  110. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
  111. To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  112. Call-ID: [call_id]
  113. CSeq: 2 BYE
  114. Contact: sip:sipp@[local_ip]:[local_port]
  115. Max-Forwards: 70
  116. Subject: Performance Test
  117. Content-Length: 0
  118. ]]>
  119. </send>
  120. <recv response="200" crlf="true">
  121. </recv>
  122. <!-- definition of the response time repartition table (unit is ms) -->
  123. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  124. <!-- definition of the call length repartition table (unit is ms) -->
  125. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  126. </scenario>