uac-upd-sdp-offer.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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 UPDATE negotiating new SDP (#3135)">
  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: 0
  75. ]]>
  76. </send>
  77. <recv response="200" rtd="true" crlf="true">
  78. </recv>
  79. <send>
  80. <![CDATA[
  81. UPDATE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  82. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  83. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
  84. To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  85. Call-ID: [call_id]
  86. CSeq: [cseq] UPDATE
  87. Contact: sip:sipp@[local_ip]:[local_port]
  88. Max-Forwards: 70
  89. Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGE
  90. Supported: 100rel, precondition
  91. Content-Type: application/sdp
  92. Content-Length: [len]
  93. v=0
  94. o=user1 53655765 2353687638 IN IP[local_ip_type] [local_ip]
  95. s=-
  96. c=IN IP[local_ip_type] [local_ip]
  97. t=0 0
  98. m=audio [media_port] RTP/AVP 8 101
  99. a=rtpmap:8 PCMA/8000
  100. a=rtpmap:101 telephone-event/8000
  101. a=sendrecv
  102. a=fmtp:101 0-11,16
  103. ]]>
  104. </send>
  105. <recv response="200" rtd="true" crlf="true">
  106. </recv>
  107. <recv response="200" rtd="true" crlf="true">
  108. </recv>
  109. <send>
  110. <![CDATA[
  111. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  112. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  113. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
  114. To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  115. Call-ID: [call_id]
  116. CSeq: 1 ACK
  117. Contact: sip:sipp@[local_ip]:[local_port]
  118. Max-Forwards: 70
  119. Subject: Performance Test
  120. Content-Length: 0
  121. ]]>
  122. </send>
  123. <!-- The 'crlf' option inserts a blank line in the statistics report. -->
  124. <send retrans="500">
  125. <![CDATA[
  126. BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  127. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  128. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
  129. To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  130. Call-ID: [call_id]
  131. CSeq: 2 BYE
  132. Contact: sip:sipp@[local_ip]:[local_port]
  133. Max-Forwards: 70
  134. Subject: Performance Test
  135. Content-Length: 0
  136. ]]>
  137. </send>
  138. <recv response="200" crlf="true">
  139. </recv>
  140. <!-- definition of the response time repartition table (unit is ms) -->
  141. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  142. <!-- definition of the call length repartition table (unit is ms) -->
  143. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  144. </scenario>