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 - B 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: 39:<scenario name="3PCC Controller - B side"> 40: 41:<recvCmd> 42: <action> 43: <ereg regexp="Content-Type:.*" 44: search_in="msg" 45: assign_to="1"/> 46: </action> 47:</recvCmd> 48: 49: <send retrans="500"> 50: <![CDATA[ 51: 52: INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0 53: Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] 54: From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] 55: To: sut <sip:[service]@[remote_ip]:[remote_port]> 56: Call-ID: [call_id] 57: CSeq: 1 INVITE 58: Contact: sip:sipp@[local_ip]:[local_port] 59: Max-Forwards: 70 60: Subject: Performance Test 61: [$1] 62: 63: ]]> 64: </send> 65: 66: <recv response="100" optional="true"> </recv> 67: <recv response="180" optional="true"> </recv> 68: <recv response="200" crlf="true"> 69: <action> 70: <ereg regexp="Content-Type:.*" 71: search_in="msg" 72: assign_to="2"/> 73: </action> 74: </recv> 75: 76: 77: <send start_rtd="true"> 78: <![CDATA[ 79: 80: ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0 81: Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] 82: From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] 83: To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] 84: Call-ID: [call_id] 85: CSeq: 1 ACK 86: Contact: sip:sipp@[local_ip]:[local_port] 87: Max-Forwards: 70 88: Subject: Performance Test 89: Content-Length: 0 90: 91: ]]> 92: </send> 93: 94: <sendCmd> 95: <![CDATA[ 96: Call-ID: [call_id] 97: [$2] 98: 99: ]]> 100: </sendCmd> 101: 102: <pause milliseconds="1000"/> 103: 104: 105: <!-- The 'crlf' option inserts a blank line in the statistics report. --> 106: <send retrans="500" rtd="true"> 107: <![CDATA[ 108: 109: BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0 110: Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] 111: From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] 112: To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] 113: Call-ID: [call_id] 114: CSeq: 2 BYE 115: Contact: sip:sipp@[local_ip]:[local_port] 116: Max-Forwards: 70 117: Subject: Performance Test 118: Content-Length: 0 119: 120: ]]> 121: </send> 122: 123: <recv response="200" crlf="true"> 124: </recv> 125: 126: 127:</scenario> 128: