uas-inv-answered-with-srtp.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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="Basic UAS responder">
  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. <!-- The '[last_*]' keyword is replaced automatically by the -->
  27. <!-- specified header if it was present in the last message received -->
  28. <!-- (except if it was a retransmission). If the header was not -->
  29. <!-- present or if no message has been received, the '[last_*]' -->
  30. <!-- keyword is discarded, and all bytes until the end of the line -->
  31. <!-- are also discarded. -->
  32. <!-- -->
  33. <!-- If the specified header was present several times in the -->
  34. <!-- message, all occurences are concatenated (CRLF seperated) -->
  35. <!-- to be used in place of the '[last_*]' keyword. -->
  36. <send retrans="500">
  37. <![CDATA[
  38. SIP/2.0 200 OK
  39. [last_Via:]
  40. [last_From:]
  41. [last_To:];tag=[call_number]
  42. [last_Call-ID:]
  43. [last_CSeq:]
  44. Contact: <sip:sipp@[local_ip]:[local_port]>
  45. Content-Type: application/sdp
  46. v=0
  47. o=- 3441953879 3441953879 IN IP4 192.168.0.15
  48. s=pjmedia
  49. c=IN IP4 192.168.0.15
  50. t=0 0
  51. m=audio 4004 RTP/SAVP 0 101
  52. a=rtpmap:0 PCMU/8000
  53. a=rtpmap:101 telephone-event/8000
  54. a=fmtp:101 0-15
  55. a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:D4Mf5fIPqxwse/lLrVc2XhLk7NSL6JI0k0Jps4Br
  56. ]]>
  57. </send>
  58. <recv request="ACK" crlf="true">
  59. </recv>
  60. <!-- definition of the response time repartition table (unit is ms) -->
  61. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  62. <!-- definition of the call length repartition table (unit is ms) -->
  63. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  64. </scenario>