-
Notifications
You must be signed in to change notification settings - Fork 1
/
register.xml
60 lines (45 loc) · 1.53 KB
/
register.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="ISO-8859-2" ?>
<!--
@jgilsonsi
Use gen_register_csv.sh to generate register.csv.
Line command: sipp -sf register.xml -inf register.csv -m 1000000 -l 100 -r 10 -nd -fd 1 -i 192.168.9.199 192.168.9.206:5060
-->
<scenario name="register_client">
<send retrans="500">
<![CDATA[
REGISTER sip:[remote_ip] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0]@[field1]>;tag=[call_number]
To: <sip:[field0]@[field1]>
Call-ID: [call_id]
CSeq: [cseq] REGISTER
Contact: sip:[field0]@[local_ip]:[local_port]
Max-Forwards: 10
Expires: 3600
User-Agent: SIPp/RegisterClient
Content-Length: 0
]]>
</send>
<recv response="100" optional="true"></recv>
<recv response="401" auth="true"></recv>
<send retrans="500">
<![CDATA[
REGISTER sip:[remote_ip] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0]@[field1]>;tag=[call_number]
To: <sip:[field0]@[field1]>
Call-ID: [call_id]
CSeq: [cseq] REGISTER
Contact: sip:[field0]@[local_ip]:[local_port]
[field2]
Max-Forwards: 10
Expires: 3600
User-Agent: SIPp/RegisterClient
Content-Length: 0
]]>
</send>
<recv response="100" optional="true"></recv>
<recv response="200"></recv>
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>