1:<?xml version="1.0" encoding="ISO-8859-1" ?>
   2:<!DOCTYPE scenario SYSTEM "sipp.dtd">
   3:
   4:<!-- This program is free software; you can redistribute it and/or      -->
   5:<!-- modify it under the terms of the GNU General Public License as     -->
   6:<!-- published by the Free Software Foundation; either version 2 of the -->
   7:<!-- License, or (at your option) any later version.                    -->
   8:<!--                                                                    -->
   9:<!-- This program is distributed in the hope that it will be useful,    -->
  10:<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of     -->
  11:<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      -->
  12:<!-- GNU General Public License for more details.                       -->
  13:<!--                                                                    -->
  14:<!-- You should have received a copy of the GNU General Public License  -->
  15:<!-- along with this program; if not, write to the                      -->
  16:<!-- Free Software Foundation, Inc.,                                    -->
  17:<!-- 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA             -->
  18:<!--                                                                    -->
  19:<!--                 3PCC - Controller - A side                         -->
  20:<!--                                                                    -->
  21:<!--             A              Controller               B              -->
  22:<!--             |(1) INVITE no SDP  |                   |              -->
  23:<!--             |<==================|                   |              -->
  24:<!--             |(2) 200 offer1     |                   |              -->
  25:<!--             |==================>|                   |              -->
  26:<!--             |                   |(3) INVITE offer1  |              -->
  27:<!--             |                   |==================>|              -->
  28:<!--             |                   |(4) 200 OK answer1 |              -->
  29:<!--             |                   |<==================|              -->
  30:<!--             |                   |(5) ACK            |              -->
  31:<!--             |                   |==================>|              -->
  32:<!--             |(6) ACK answer1    |                   |              -->
  33:<!--             |<==================|                   |              -->
  34:<!--             |(7) RTP            |                   |              -->
  35:<!--             |.......................................|              -->
  36:<!--                                                                    -->
  37:
  38:<scenario name="3PCC Controller - A side">
  39:  <send retrans="500">
  40:    <![CDATA[
  41:
  42:      INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  43:      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  44:      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  45:      To: sut <sip:[service]@[remote_ip]:[remote_port]>
  46:      Call-ID: [call_id]
  47:      CSeq: 1 INVITE
  48:      Contact: sip:sipp@[local_ip]:[local_port]
  49:      Max-Forwards: 70
  50:      Subject: Performance Test
  51:      Content-Length: 0
  52:
  53:    ]]>
  54:  </send>
  55:
  56:  <recv response="100" optional="true"> </recv>
  57:  <recv response="180" optional="true"> </recv>
  58:  <recv response="200" crlf="true" start_rtd="true">
  59:    <action>
  60:       <ereg regexp="Content-Type:.*" 
  61:             search_in="msg"  
  62:             assign_to="1"/> 
  63:    </action>
  64:  </recv>
  65:
  66:  <sendCmd>
  67:    <![CDATA[
  68:      Call-ID: [call_id]
  69:      [$1]
  70:
  71:     ]]>
  72:  </sendCmd>
  73:  
  74:  <recvCmd>
  75:    <action>
  76:       <ereg regexp="Content-Type:.*"  
  77:             search_in="msg"  
  78:             assign_to="2"/>
  79:    </action>
  80:  
  81:  </recvCmd>
  82:  
  83:  <send rtd="true">
  84:    <![CDATA[
  85:
  86:      ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  87:      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  88:      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  89:      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  90:      Call-ID: [call_id]
  91:      CSeq: 1 ACK
  92:      Contact: sip:sipp@[local_ip]:[local_port]
  93:      Max-Forwards: 70
  94:      Subject: Performance Test
  95:      [$2]
  96:
  97:    ]]>
  98:  </send>
  99:
 100:  <pause milliseconds="1000"/>
 101:
 102:  <!-- The 'crlf' option inserts a blank line in the statistics report. -->
 103:  <send retrans="500">
 104:    <![CDATA[
 105:
 106:      BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
 107:      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
 108:      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
 109:      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
 110:      Call-ID: [call_id]
 111:      CSeq: 2 BYE
 112:      Contact: sip:sipp@[local_ip]:[local_port]
 113:      Max-Forwards: 70
 114:      Subject: Performance Test
 115:      Content-Length: 0
 116:
 117:    ]]>
 118:  </send>
 119:
 120:  <recv response="200" crlf="true"> </recv>
 121:
 122:</scenario>
 123: