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 | <!-- Sipp default 'uac' scenario. -->
|
---|
20 | <!-- -->
|
---|
21 |
|
---|
22 | <scenario name="Basic Sipstone UAC">
|
---|
23 | <!-- In client mode (sipp placing calls), the Call-ID MUST be -->
|
---|
24 | <!-- generated by sipp. To do so, use [call_id] keyword. -->
|
---|
25 | <!--
|
---|
26 | -->
|
---|
27 | <send retrans="500">
|
---|
28 | <![CDATA[
|
---|
29 |
|
---|
30 | INVITE sip:test66@192.168.1.67:5060;line=127;transport=tcp SIP/2.0
|
---|
31 | Via: SIP/2.0/TCP [local_ip];branch=[branch]
|
---|
32 | Route: <sip:[remote_ip]:5060>;transport=tcp;lr;drr
|
---|
33 | Route: <sip:192.168.1.67:5060>;transport=udp;lr;drr
|
---|
34 | Max-Forwards: 70
|
---|
35 | From: "" <sip:0000000000@[local_ip]>;tag=[pid]SIPpTag00[call_number]
|
---|
36 | To: <sip:test66@192.168.1.67:5060;line=127;transport=tcp>
|
---|
37 | Call-ID: [call_id]
|
---|
38 | CSeq: 92738401 INVITE
|
---|
39 | Contact: <sip:mod_sofia@[local_ip]:5060;transport=tcp>
|
---|
40 | User-Agent: FreeSWITCH-mod_sofia/1.6.7+git~20160401T013613Z~d38d065f51~64bit
|
---|
41 | Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
|
---|
42 | Supported: timer, path, replaces
|
---|
43 | Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description
|
---|
44 | Content-Type: application/sdp
|
---|
45 | Content-Disposition: session
|
---|
46 | Content-Length: [len]
|
---|
47 | X-FS-Support: update_display,send_info
|
---|
48 | Remote-Party-ID: <sip:0000000000@[local_ip]>;party=calling;screen=yes;privacy=off
|
---|
49 |
|
---|
50 | v=0
|
---|
51 | o=FreeSWITCH 1466121506 1466121507 IN IP6 local_ip
|
---|
52 | s=FreeSWITCH
|
---|
53 | c=IN IP[media_ip_type] [media_ip]
|
---|
54 | t=0 0
|
---|
55 | m=audio 27424 RTP/AVP 0 8 18 9 3
|
---|
56 | a=rtpmap:0 PCMU/8000
|
---|
57 | a=rtpmap:8 PCMA/8000
|
---|
58 | a=rtpmap:18 G729/8000
|
---|
59 | a=rtpmap:9 G722/8000
|
---|
60 | a=rtpmap:3 GSM/8000
|
---|
61 | a=ptime:20
|
---|
62 |
|
---|
63 | ]]>
|
---|
64 | </send>
|
---|
65 |
|
---|
66 | <recv response="100"
|
---|
67 | optional="true">
|
---|
68 | </recv>
|
---|
69 |
|
---|
70 | <recv response="404" auth="true">
|
---|
71 | </recv>
|
---|
72 |
|
---|
73 |
|
---|
74 | <!-- definition of the response time repartition table (unit is ms) -->
|
---|
75 | <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
|
---|
76 |
|
---|
77 | <!-- definition of the call length repartition table (unit is ms) -->
|
---|
78 | <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
|
---|
79 |
|
---|
80 | </scenario>
|
---|
81 |
|
---|