Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2024
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.30 KB | None | 0 0
  1. <?xml version="1.0" encoding="iso-8859-2" ?>
  2. <!DOCTYPE scenario SYSTEM "sipp.dtd">
  3.  
  4. <scenario name="UAC REGISTER + INVITE + call">
  5.  
  6.   <send retrans="500">
  7.     <![CDATA[
  8.  
  9.      REGISTER sip:[remote_ip] SIP/2.0
  10.      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  11.      From: <sip:[field0]@[field1]>;tag=[call_number]
  12.      To: <sip:[field0]@[field1]>
  13.      Call-ID: [call_id]
  14.      CSeq: [cseq] REGISTER
  15.      Contact: sip:[field0]@[local_ip]:[local_port]
  16.      Max-Forwards: 100
  17.      Expires: 120
  18.      User-Agent: SIPp/Win32
  19.      Content-Length: 0
  20.  
  21.    ]]>
  22.   </send>
  23.  
  24.   <recv response="401" auth="true">
  25.   </recv>
  26.  
  27.   <send retrans="500">
  28.     <![CDATA[
  29.  
  30.      REGISTER sip:[remote_ip] SIP/2.0
  31.      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  32.      From: <sip:[field0]@[field1]>;tag=[call_number]
  33.      To: <sip:[field0]@[field1]>
  34.      Call-ID: [call_id]
  35.      CSeq: [cseq] REGISTER
  36.      Contact: sip:[field0]@[local_ip]:[local_port]
  37.      [field2]
  38.      Max-Forwards: 100
  39.      Expires: 120
  40.      User-Agent: SIPp/Win32
  41.      Content-Length: 0
  42.  
  43.    ]]>
  44.   </send>
  45.  
  46.   <recv response="200">
  47.   </recv>
  48.  
  49.   <send retrans="500">
  50.     <![CDATA[
  51.  
  52.      INVITE sip:[field3]@[remote_ip]:[remote_port] SIP/2.0
  53.      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  54.      From: sipp <sip:[field0]@[field1]>;tag=[call_number]
  55.      To: <sip:[field3]@[field1]:[remote_port]>
  56.      Call-ID: [call_id]
  57.      CSeq: [cseq] INVITE
  58.      Contact: sip:[field0]@[local_ip]:[local_port]
  59.      [field2]
  60.      Max-Forwards: 100
  61.      Content-Type: application/sdp
  62.      Content-Length: [len]
  63.  
  64.      v=0
  65.      o=16002 0 0 IN IP[local_ip_type] [local_ip]
  66.      s=-
  67.      c=IN IP[media_ip_type] [media_ip]
  68.      t=0 0
  69.      m=audio [rtpstream_audio_port] RTP/AVP 0 18 9 103 8 101
  70.      a=crypto:[cryptotag1audio] [cryptosuiteaescm128sha1801audio] inline:[cryptokeyparams1audio]
  71.      a=rtcp:[rtpstream_audio_port+1]
  72.      a=sendrecv
  73.      a=rtpmap:0 PCMU/8000
  74.      a=rtpmap:18 G729/8000
  75.      a=rtpmap:9 G722/16000
  76.      a=fmtp:9 bitrate=64000
  77.      a=rtpmap:103 G7221/16000
  78.      a=fmtp:103 bitrate=32000
  79.      a=rtpmap:8 PCMA/8000
  80.      a=rtpmap:101 telephone-event/8000
  81.      a=fmtp:101 0-11,16
  82.  
  83.    ]]>
  84.   </send>
  85.  
  86.   <recv response="100">
  87.   </recv>
  88.  
  89.   <recv response="180">
  90.   </recv>
  91.  
  92.   <recv response="180">
  93.   </recv>
  94.  
  95.   <recv response="200">
  96.   </recv>
  97.  
  98.   <recv response="200">
  99.   </recv>
  100.  
  101.   <nop>
  102.     <action>
  103.       <exec rtp_echo="startaudio,0,PCMU/8000" />
  104.     </action>
  105.   </nop>
  106.  
  107.   <nop>
  108.     <action>
  109.       <exec rtp_echo="updateaudio,0,PCMU/8000" />
  110.     </action>
  111.   </nop>
  112.  
  113.   <send>
  114.     <![CDATA[
  115.      SIP/2.0 200 OK
  116.      [last_Via:]
  117.      [last_From:]
  118.      [last_To:]
  119.      [last_Call-ID:]
  120.      [last_CSeq:]
  121.      Server: VIRTUAL Mitel-3300-ICP 12.0.1.99
  122.      Content-Length: 0
  123.    ]]>
  124.   </send>
  125.  
  126.   <nop>
  127.     <action>
  128.       <exec rtp_echo="stopaudio,0,PCMU/8000" />
  129.     </action>
  130.   </nop>
  131.  
  132.   <!-- definition of the response time repartition table (unit is ms)   -->
  133.   <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  134.  
  135.   <!-- definition of the call length repartition table (unit is ms)     -->
  136.   <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  137.  
  138. </scenario>
  139.  
  140.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement