-
Notifications
You must be signed in to change notification settings - Fork 8
/
register-reginfo-unregister.xml
219 lines (185 loc) · 7.1 KB
/
register-reginfo-unregister.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="register_client">
<!--
#############################################################
REGISTER the client (UA to Network)
#############################################################
-->
<send retrans="500" start_txn="register" start_rtd="register">
<![CDATA[
REGISTER sip:[field1] SIP/2.0
User-Agent: SLICK IMS 4.0.0
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK
Supported: path
Expires: 1800
Authorization: Digest username="[field3]",realm="[field1]",nonce="",algorithm=MD5,uri="sip:ims.voiceblue.com",response="",qop=auth,nc=00000001,cnonce=""
P-Access-Network-Info: IEEE-802.11;i-wlan-node-id=9cc7a608a31d
Contact: <sip:[field0]@[local_ip]:[local_port]>;q=1.00;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";+g.3gpp.smsip;video;+sip.instance="<urn:gsma:imei:35676506-815566-0>"
From: <sip:[field0]@[field1]>;tag=[call_number]
To: <sip:[field0]@[field1]>
Call-ID: reg///[call_id]
CSeq: 1 REGISTER
Max-Forwards: 70
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]-reg;transport=[transport];rport
Content-Length: 0
]]>
</send>
<recv response="100" optional="true" response_txn="register">
</recv>
<recv response="200" optional="true" next="regdone" response_txn="register" rtd="register">
<!-- Extract Service-Route -->
<action>
<ereg regexp=".*" search_in="hdr" header="Service-Route" check_it="false" assign_to="7"/>
</action>
</recv>
<recv response="401" auth="true" response_txn="register">
</recv>
<send retrans="500" start_txn="register" start_rtd="register">
<![CDATA[
REGISTER sip:[field1] SIP/2.0
User-Agent: SLICK IMS 4.0.0
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK
Supported: path
Expires: 1800
[field2]
P-Access-Network-Info: IEEE-802.11;i-wlan-node-id=9cc7a608a31d
Contact: <sip:[field0]@[local_ip]:[local_port]>;q=1.00;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";+g.3gpp.smsip;video;+sip.instance="<urn:gsma:imei:35676506-815566-0>"
From: <sip:[field0]@[field1]>;tag=[call_number]
To: <sip:[field0]@[field1]>
Call-ID: reg///[call_id]
CSeq: 2 REGISTER
Max-Forwards: 70
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]-reg;transport=[transport];rport
Content-Length: 0
]]>
</send>
<recv response="100" optional="true" response_txn="register">
</recv>
<recv response="200" response_txn="register" rtd="register">
<!-- Extract Service-Route -->
<action>
<ereg regexp=".*" search_in="hdr" header="Service-Route" check_it="false" assign_to="7"/>
</action>
</recv>
<label id="regdone"/>
<!--
#############################################################
SUBSCRIBE for Reginfo (UA to Network)
#############################################################
-->
<send retrans="500" start_txn="subscribe" start_rtd="subscribe">
<![CDATA[
SUBSCRIBE sip:[field0]@[field1] SIP/2.0
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK
P-Access-Network-Info: IEEE-802.11;i-wlan-node-id=9cc7a608a31d
User-Agent: SLICK IMS 4.0.0
Accept: application/reginfo+xml
Expires: 600000
Event: reg
P-Preferred-Identity: <sip:[field0]@[field1]>
Contact: <sip:[field0]@[local_ip]:[local_port]>
Route[$7]
From: <sip:[field0]@[field1]>;tag=[call_number]
To: <sip:[field0]@[field1]>
Call-ID: subscribe///[call_id]
CSeq: 1 SUBSCRIBE
Max-Forwards: 70
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]-subscribe;transport=[transport];rport
Content-Length: 0
]]>
</send>
<recv response="100" optional="true" response_txn="subscribe">
</recv>
<recv response="200" response_txn="subscribe" rtd="subscribe">
</recv>
<!--
#############################################################
NOTIFY for Reginfo (Network to UA)
#############################################################
-->
<recv request="NOTIFY">
</recv>
<send>
<![CDATA[
SIP/2.0 200 OK
P-Access-Network-Info: IEEE-802.11;i-wlan-node-id=9cc7a608a31d
[last_From:]
[last_To:];tag=[call_number]
[last_Via:]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[field0]@[local_ip]:[local_port]>;+sip.instance="<urn:gsma:imei:35676506-815566-0>"
Content-Length: 0
]]>
</send>
<!--
#############################################################
Un-REGISTER the client (UA to Network)
#############################################################
-->
<send retrans="500" start_txn="unregister" start_rtd="unregister">
<![CDATA[
REGISTER sip:[field1] SIP/2.0
User-Agent: SLICK IMS 4.0.0
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK
Supported: path
Expires: 0
Authorization: Digest username="[field3]",realm="[field1]",nonce="",algorithm=MD5,uri="sip:ims.voiceblue.com",response="",qop=auth,nc=00000001,cnonce=""
P-Access-Network-Info: IEEE-802.11;i-wlan-node-id=9cc7a608a31d
Contact: <sip:[field0]@[local_ip]:[local_port]>;q=1.00;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";+g.3gpp.smsip;video;+sip.instance="<urn:gsma:imei:35676506-815566-0>"
From: <sip:[field0]@[field1]>;tag=[call_number]
To: <sip:[field0]@[field1]>
Call-ID: reg///[call_id]
CSeq: 1 REGISTER
Max-Forwards: 70
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]-unreg;transport=[transport];rport
Content-Length: 0
]]>
</send>
<recv response="100" optional="true" response_txn="unregister">
</recv>
<recv response="200" optional="true" next="unregdone" response_txn="unregister" rtd="unregister">
<!-- Extract Service-Route -->
<action>
<ereg regexp=".*" search_in="hdr" header="Service-Route" check_it="false" assign_to="7"/>
</action>
</recv>
<recv response="401" auth="true" response_txn="unregister">
</recv>
<send retrans="500" start_txn="unregister" start_rtd="unregister">
<![CDATA[
REGISTER sip:[field1] SIP/2.0
User-Agent: SLICK IMS 4.0.0
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK
Supported: path
Expires: 0
[field2]
P-Access-Network-Info: IEEE-802.11;i-wlan-node-id=9cc7a608a31d
Contact: <sip:[field0]@[local_ip]:[local_port]>;q=1.00;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";+g.3gpp.smsip;video;+sip.instance="<urn:gsma:imei:35676506-815566-0>"
From: <sip:[field0]@[field1]>;tag=[call_number]
To: <sip:[field0]@[field1]>
Call-ID: reg///[call_id]
CSeq: 2 REGISTER
Max-Forwards: 70
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]-unreg;transport=[transport];rport
Content-Length: 0
]]>
</send>
<recv response="100" optional="true" response_txn="unregister">
</recv>
<recv response="200" response_txn="unregister" rtd="unregister">
<!-- Extract Service-Route -->
<action>
<ereg regexp=".*" search_in="hdr" header="Service-Route" check_it="false" assign_to="7"/>
</action>
</recv>
<label id="unregdone"/>
<!--
definition of the response time repartition table (unit is ms)
-->
<ResponseTimeRepartition value="100, 200, 300, 400, 500, 600, 700, 800, 900, 1000"/>
<!--
definition of the call length repartition table (unit is ms)
-->
<CallLengthRepartition value="5000, 10000, 11000, 12000, 13000"/>
</scenario>