1
<?xml version="1.0" encoding="ISO-8859-1" ?>
2
<!DOCTYPE scenario SYSTEM "sipp.dtd">
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. -->
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. -->
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 -->
20
<scenario name="accountcall_client">
25
INVITE sip:[remote_ip] SIP/2.0
26
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]
27
From: <sip:[remote_ip]:[remote_port]>;tag=[call_number]
28
To: <sip:[remote_ip]:[remote_port]>
31
Contact: sip:[local_ip]:[local_port]
33
Subject: Functional Test
34
Content-Type: application/sdp
38
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
40
c=IN IP[media_ip_type] [media_ip]
42
m=audio [media_port] RTP/AVP 0
48
<recv response="100" optional="true">
57
<ereg regexp="tag=.*" search_in="hdr" header="To:" check_it="true" assign_to="1" />
64
ACK sip:[remote_ip] SIP/2.0
65
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
66
From: <sip:[local_ip]:[local_port]>;tag=[call_number]
67
To: <sip:[remote_ip]:[remote_port]>;tag=[$1]
70
Contact: sip:[local_ip]:[local_port]
72
Subject: Functional Test
81
BYE sip:[remote_ip] SIP/2.0
82
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
83
From: <sip:[local_ip]:[local_port]>;tag=[call_number]
84
To: <sip:[remote_ip]:[remote_port]>;tag=[$1]
87
Contact: sip:[local_ip]:[local_port]
89
Subject: Functional Test