uac-prack-sdp-decline.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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 109 105
  81. a=rtpmap:109 EVS/16000
  82. a=fmtp:109 br=5.9-24.4; bw=nb-wb; max-red=220
  83. a=rtpmap:105 telephone-event/16000
  84. a=fmtp:105 0-15
  85. a=sendrecv
  86. ]]>
  87. </send>
  88. <recv response="200" rtd="true" crlf="true">
  89. </recv>
  90. <recv response="488" rtd="true" crlf="true">
  91. </recv>
  92. <send>
  93. <![CDATA[
  94. ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  95. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  96. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
  97. To: [service] <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  98. Call-ID: [call_id]
  99. CSeq: 1 ACK
  100. Contact: sip:sipp@[local_ip]:[local_port]
  101. Max-Forwards: 70
  102. Subject: Performance Test
  103. Content-Length: 0
  104. ]]>
  105. </send>
  106. <!-- definition of the response time repartition table (unit is ms) -->
  107. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  108. <!-- definition of the call length repartition table (unit is ms) -->
  109. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  110. </scenario>