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 - B side emulator --> 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: 40:<scenario name="3PCC B side"> 41: <recv request="INVITE" crlf="true"> </recv> 42: 43: <send> 44: <![CDATA[ 45: 46: SIP/2.0 200 OK 47: [last_Via:] 48: [last_From:] 49: [last_To:];tag=[call_number] 50: [last_Call-ID:] 51: [last_CSeq:] 52: Contact: <sip:[local_ip]:[local_port];transport=[transport]> 53: Content-Type: application/sdp 54: Content-Length: [len] 55: 56: v=0 57: o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] 58: s=- 59: c=IN IP[media_ip_type] [media_ip] 60: t=0 0 61: m=audio [media_port] RTP/AVP 0 62: a=rtpmap:0 PCMU/8000 63: 64: ]]> 65: </send> 66: 67: <recv request="ACK" rtd="true" crlf="true"> </recv> 68: 69: <!-- RTP flow starts from here! --> 70: 71: <recv request="BYE"> </recv> 72: 73: <send> 74: <![CDATA[ 75: 76: SIP/2.0 200 OK 77: [last_Via:] 78: [last_From:] 79: [last_To:] 80: [last_Call-ID:] 81: [last_CSeq:] 82: Contact: <sip:[local_ip]:[local_port];transport=[transport]> 83: Content-Length: 0 84: 85: ]]> 86: </send> 87: 88: <!-- Keep the call open for a while in case the 200 is lost to be --> 89: <!-- able to retransmit it if we receive the BYE again. --> 90: <pause milliseconds="2000"/> 91: 92:</scenario>