Project

General

Profile

IO-sipit25 » History » Version 7

Adrian Georgescu, 09/16/2009 11:00 PM

1 1 Adrian Georgescu
2
= Issues =
3
4 4 Adrian Georgescu
 1. pjsip crashed when no SDP present, invite has content-length =0
5
6
{{{
7
adi@umts.ro> Assertion failed: (neg != ((void *)0)), function pjmedia_sdp_neg_get_state, file ../src/pjmedia/sdp_neg.c, line 179.
8
Abort trap
9
}}}
10
11 7 Adrian Georgescu
 1. Capture the success of ICE negotiation 
12
13
{{{
14
2009-09-16 16:42:46.646000 [Blink 20986] (4)	ice0xd38000: ICE negotiation success after 1s:127
15
2009-09-16 16:42:46.646000 [Blink 20986] (4)    ice0xd38000: Comp 1: sending from host candidate 192.168.66.100:56228 to prflx candidate 132.177.252.1:1166
16
2009-09-16 16:42:46.646000 [Blink 20986] (4)	ice0xd38000: Comp 2: sending from host candidate 192.168.66.100:56229 to prflx candidate 132.177.252.1:1167
17
}}}
18
19
 1. Registration Expire from server response is not honored
20 1 Adrian Georgescu
 1. 404 when supported eventlist header is present
21
 1. msrprelay connection reuse
22
 1. voicemail divert for audio calls only
23
 1. RTP mixing when multiple 183
24 5 Adrian Georgescu
 1. Close session when stream fail
25 1 Adrian Georgescu
 1. MSRP session request without TLS is not detected
26 7 Adrian Georgescu
 1. Sent re-Invite, got OK but sdp is broken
27 2 Adrian Georgescu
28
29
{{{
30
INVITE sip:h1.rvtk.sipit.net SIP/2.0
31
Via: SIP/2.0/UDP 132.177.254.214:64941;rport;branch=z9hG4bKPjpMYPMyuOwoCntJiNSjLlME5E8BHTZao1
32
Max-Forwards: 70
33
From: "Adrian G." <sip:adi@umts.ro>;tag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID
34
To: <sip:2233376787@sip2sip.info>;tag=297f640-7cfdb184-13c4-55014-7a21-5a7d6482-7a21
35
Contact: <sip:cutnhwgl@132.177.254.214:64941>
36
Call-ID: w9Z19pwFsp1tTfTWFE6b.yaNK3r.TXvh
37
CSeq: 27600 INVITE
38
Route: <sip:81.23.228.129;lr;ftag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID;did=773.ab101a94>
39
Route: <sip:81.23.228.150;lr;ftag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID;did=773.3e73bda3>
40
Route: <sip:81.23.228.129;lr;ftag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID;did=773.bb101a94>
41
Route: <sip:85.17.186.7;lr;ftag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID;did=773.bc219d6>
42
Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE
43
Supported: 100rel
44
User-Agent: blink-0.9.0
45
Content-Type: application/sdp
46
Content-Length:  1094
47
48
v=0
49
o=- 3462028381 3462028382 IN IP4 132.177.254.214
50
s=blink-0.9.0
51
c=IN IP4 132.177.254.214
52
t=0 0
53
m=message 2855 TCP/TLS/MSRP *
54
a=path:msrps://132.177.254.214:2855/5ea28151a2715590e2d6;tcp
55
a=accept-types:message/cpim text/*
56
a=accept-wrapped-types:*
57
m=audio 64970 RTP/AVP 104 103 102 3 9 0 8 101
58
a=rtcp:64971 IN IP4 132.177.254.214
59
a=rtpmap:104 speex/32000
60
a=rtpmap:103 speex/16000
61
a=rtpmap:102 speex/8000
62
a=rtpmap:3 GSM/8000
63
a=rtpmap:9 G722/8000
64
a=rtpmap:0 PCMU/8000
65
a=rtpmap:8 PCMA/8000
66
a=rtpmap:101 telephone-event/8000
67
a=fmtp:101 0-15
68
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:NuN1r6fPItiXpOMh5GHWf6FsrvrEo6AQca3/N/dE
69
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:y7YegS/4Enrsr/PTKa+RHBk0U7cRBM5SvDBA0gqq
70
a=ice-ufrag:7b50c942
71
a=ice-pwd:74cd4b4d
72
a=candidate:H 1 UDP 39 132.177.254.214 64970 typ host
73
a=candidate:H 1 UDP 39 10.211.55.2 64970 typ host
74
a=candidate:H 1 UDP 39 10.37.129.2 64970 typ host
75
a=candidate:H 2 UDP 38 132.177.254.214 64971 typ host
76
a=candidate:H 2 UDP 38 10.211.55.2 64971 typ host
77
a=candidate:H 2 UDP 38 10.37.129.2 64971 typ host
78
a=sendrecv
79
80
RECEIVED: Packet 16, +0:02:18.956294
81
2009-09-15 14:35:09.869635: 81.23.228.129:5060 -(SIP over UDP)-> 132.177.254.214:64941
82
SIP/2.0 100 Giving a try
83
Via: SIP/2.0/UDP 132.177.254.214:64941;rport=64941;branch=z9hG4bKPjpMYPMyuOwoCntJiNSjLlME5E8BHTZao1
84
From: "Adrian G." <sip:adi@umts.ro>;tag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID
85
To: <sip:2233376787@sip2sip.info>;tag=297f640-7cfdb184-13c4-55014-7a21-5a7d6482-7a21
86
Call-ID: w9Z19pwFsp1tTfTWFE6b.yaNK3r.TXvh
87
CSeq: 27600 INVITE
88
Server: SIP Thor on OpenSIPS XS 1.4.5
89
Content-Length: 0
90
91
RECEIVED: Packet 17, +0:02:18.956524
92
2009-09-15 14:35:09.869865: 81.23.228.129:5060 -(SIP over UDP)-> 132.177.254.214:64941
93
SIP/2.0 180 Ringing
94
From: "Adrian G."<sip:adi@umts.ro>;tag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID
95
To: <sip:2233376787@sip2sip.info>;tag=297f640-7cfdb184-13c4-55014-7a21-5a7d6482-7a21
96
Call-ID: w9Z19pwFsp1tTfTWFE6b.yaNK3r.TXvh
97
CSeq: 27600 INVITE
98
Via: SIP/2.0/UDP 132.177.254.214:64941;received=132.177.254.214;rport=64941;branch=z9hG4bKPjpMYPMyuOwoCntJiNSjLlME5E8BHTZao1
99
Supported: timer,replaces,100rel,sec-agree
100
Contact: <sip:h1.rvtk.sipit.net>
101
Content-Length: 0
102
103
RECEIVED: Packet 18, +0:02:19.071745
104
2009-09-15 14:35:09.985086: 81.23.228.129:5060 -(SIP over UDP)-> 132.177.254.214:64941
105
SIP/2.0 180 Ringing
106
From: "Adrian G."<sip:adi@umts.ro>;tag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID
107
To: <sip:2233376787@sip2sip.info>;tag=297f640-7cfdb184-13c4-55014-7a21-5a7d6482-7a21
108
Call-ID: w9Z19pwFsp1tTfTWFE6b.yaNK3r.TXvh
109
CSeq: 27600 INVITE
110
Via: SIP/2.0/UDP 132.177.254.214:64941;received=132.177.254.214;rport=64941;branch=z9hG4bKPjpMYPMyuOwoCntJiNSjLlME5E8BHTZao1
111
Supported: timer,replaces,100rel,sec-agree
112
Contact: <sip:h1.rvtk.sipit.net>
113
Content-Length: 0
114
115
RECEIVED: Packet 19, +0:02:32.064486
116
2009-09-15 14:35:22.977827: 81.23.228.129:5060 -(SIP over UDP)-> 132.177.254.214:64941
117
SIP/2.0 200 OK
118
From: "Adrian G."<sip:adi@umts.ro>;tag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID
119
To: <sip:2233376787@sip2sip.info>;tag=297f640-7cfdb184-13c4-55014-7a21-5a7d6482-7a21
120
Call-ID: w9Z19pwFsp1tTfTWFE6b.yaNK3r.TXvh
121
CSeq: 27600 INVITE
122
Via: SIP/2.0/UDP 132.177.254.214:64941;received=132.177.254.214;rport=64941;branch=z9hG4bKPjpMYPMyuOwoCntJiNSjLlME5E8BHTZao1
123
Supported: timer,replaces,100rel,sec-agree
124
Contact: <sip:h1.rvtk.sipit.net>
125
Content-Type: application/sdp
126
Content-Length: 141
127
128
v=0
129
o=rv-msrp-test 42089864 42091200 IN IP4 132.177.253.124
130
s=SDP MSRP SESSIONS
131
c=IN IP4 132.177.253.124
132
t=0 0
133
m=message 2857 TCP/TLS/MSRP *
134
}}}
135 3 Adrian Georgescu
136
137
Cannot reserve session in the relay over an already established TCP connection
138
139
{{{
140
Socket details:
141
Local Addrs (132.177.253.124:1801,TLS), Remote Addrs (81.23.228.146:2855,TLS),
142
 
143
 
144
-->MESSAGE TO SEND 
145
MSRP d4204d8-1007-f997416 AUTH  
146
To-Path: msrps://2233372675@sip2sip.info;tcp  
147
From-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp  
148
Expires: 60  
149
 
150
<--MESSAGE RECEIVED 
151
MSRP d4204d8-1007-f997416 481 Indicated session does not exist, please terminate: Wrong session id on relay MSRP URI  
152
To-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp  
153
From-Path: msrps://2233372675@sip2sip.info;tcp  
154
 
155
-->MESSAGE TO SEND 
156
MSRP d420608-1007-659c60b0 AUTH  
157
To-Path: msrps://2233372675@sip2sip.info;tcp  
158
From-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp  
159
Expires: 60  
160
 
161
<--MESSAGE RECEIVED 
162
MSRP d420608-1007-659c60b0 481 Indicated session does not exist, please terminate: Wrong session id on relay MSRP URI  
163
To-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp  
164
From-Path: msrps://2233372675@sip2sip.info;tcp  
165
 
166
-->MESSAGE TO SEND 
167
MSRP d420738-1007-22f13179 AUTH  
168
To-Path: msrps://2233372675@sip2sip.info;tcp  
169
From-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp  
170
Expires: 60  
171
 
172
<--MESSAGE RECEIVED 
173
MSRP d420738-1007-22f13179 481 Indicated session does not exist, please terminate: Wrong session id on relay MSRP URI  
174
To-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp  
175
From-Path: msrps://2233372675@sip2sip.info;tcp  
176
 
177 6 Adrian Georgescu
}}}
178
179
Invite chat got message media line with port zero. Do we have or do we have not a msrp stream?
180
181
{{{
182
adigeo@132-177-254-214:~/work/blink$sip_audio_session -a bonjour
183
No enabled account which matches bonjour was found. Available and enabled accounts: 31208005169@ag-projects.com, 69@pbx.ag-projects.com, adi@umts.ro
184
adigeo@132-177-254-214:~/work/blink$sip_audio_session -a bonjour
185
Using account bonjour@local
186
Logging SIP trace to file "/Users/adigeo/Desktop/FileTransfers/sip_trace.txt"
187
Logging notifications trace to file "/Users/adigeo/Desktop/FileTransfers/notifications_trace.txt"
188
Available audio input devices: None, system_default, Built-in Input, Built-in Microphone, Logitech Wireless Headset
189
Available audio output devices: None, system_default, Built-in Output, Logitech Wireless Headset
190
Using audio input device: Logitech Wireless Headset
191
Using audio output device: Logitech Wireless Headset
192
Using audio alert device: Built-in Output
193
Listening on: sip:vnxirwtg@132.177.254.214:53861;transport=tcp
194
Listening on: sip:vnxirwtg@132.177.254.214:49159;transport=udp
195
Listening on: sip:vnxirwtg@132.177.254.214:53862;transport=tls
196
197
Available control keys:
198
  s: toggle SIP trace on the console
199
  j: toggle PJSIP trace on the console
200
  n: toggle notifications trace on the console
201
  p: toggle printing RTP statistics on the console
202
  h: hang-up the active session
203
  r: toggle audio recording
204
  m: mute the microphone
205
  i: change audio input device
206
  o: change audio output device
207
  a: change audio alert device
208
  <>: adjust echo cancellation
209
  SPACE: hold/unhold
210
Proposing chat to 'sip:2233376905@sip2sip.info'...
211
2009-09-15 16:25:09.046420: SENDING: Packet 14, +0:01:02.467654
212
132.177.254.214:49368 -(SIP over UDP)-> 85.17.186.7:5060
213
INVITE sip:2233376905@132.177.254.160:65014;rinstance=0abb36cdfde14d1e SIP/2.0
214
Via: SIP/2.0/UDP 132.177.254.214:49368;rport;branch=z9hG4bKPjU9763d4lYU7W3rVf-Vc221cx6EmcUd72
215
Max-Forwards: 70
216
From: "Adrian G." <sip:adi@umts.ro>;tag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx
217
To: <sip:2233376905@sip2sip.info>;tag=12fed6a8
218
Contact: <sip:sunvxlhz@132.177.254.214:49368>
219
Call-ID: dEONyPIATvBASdMH6ieer3PfUKHrXPFw
220
CSeq: 9494 INVITE
221
Route: <sip:85.17.186.7;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.ce8f0a9>
222
Route: <sip:81.23.228.150;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.90fd2897>
223
Route: <sip:81.23.228.129;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.11acc262>
224
Route: <sip:85.17.186.7;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.de8f0a9>
225
Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE
226
Supported: 100rel
227
User-Agent: blink-0.9.0
228
Content-Type: application/sdp
229
Content-Length:   981
230
231
v=0
232
o=- 3462035048 3462035049 IN IP4 132.177.254.214
233
s=blink-0.9.0
234
c=IN IP4 132.177.254.214
235
t=0 0
236
m=audio 49385 RTP/AVP 3 0 8 101
237
a=rtcp:49386 IN IP4 132.177.254.214
238
a=rtpmap:3 GSM/8000
239
a=rtpmap:0 PCMU/8000
240
a=rtpmap:8 PCMA/8000
241
a=rtpmap:101 telephone-event/8000
242
a=fmtp:101 0-15
243
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:NT24NwNNrrna2KNSq9BciAHT7076TduvqlLejFfs
244
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:DeVWCV7smCDTeXQwBooFbChO5x/WgEAbSPiAk+O1
245
a=ice-ufrag:0944aec6
246
a=ice-pwd:7c2e4dea
247
a=candidate:H 1 UDP 39 132.177.254.214 49385 typ host
248
a=candidate:H 1 UDP 39 10.211.55.2 49385 typ host
249
a=candidate:H 1 UDP 39 10.37.129.2 49385 typ host
250
a=candidate:H 2 UDP 38 132.177.254.214 49386 typ host
251
a=candidate:H 2 UDP 38 10.211.55.2 49386 typ host
252
a=candidate:H 2 UDP 38 10.37.129.2 49386 typ host
253
a=sendrecv
254
m=message 2855 TCP/TLS/MSRP *
255
a=path:msrps://132.177.254.214:2855/db6912543e0f6287e13c;tcp
256
a=accept-types:message/cpim text/*
257
a=accept-wrapped-types:*
258
259
--
260
261
2009-09-15 16:25:09.140438: RECEIVED: Packet 15, +0:01:02.561672
262
85.17.186.7:5060 -(SIP over UDP)-> 132.177.254.214:49368
263
SIP/2.0 100 Giving a try
264
Via: SIP/2.0/UDP 132.177.254.214:49368;rport=49368;branch=z9hG4bKPjU9763d4lYU7W3rVf-Vc221cx6EmcUd72
265
From: "Adrian G." <sip:adi@umts.ro>;tag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx
266
To: <sip:2233376905@sip2sip.info>;tag=12fed6a8
267
Call-ID: dEONyPIATvBASdMH6ieer3PfUKHrXPFw
268
CSeq: 9494 INVITE
269
Server: SIP Thor on OpenSIPS XS 1.4.5
270
Content-Length: 0
271
272
273
--
274
275
2009-09-15 16:25:09.429513: RECEIVED: Packet 16, +0:01:02.850747
276
85.17.186.7:5060 -(SIP over UDP)-> 132.177.254.214:49368
277
SIP/2.0 200 OK
278
Via: SIP/2.0/UDP 132.177.254.214:49368;received=132.177.254.214;rport=49368;branch=z9hG4bKPjU9763d4lYU7W3rVf-Vc221cx6EmcUd72
279
Record-Route: <sip:85.17.186.7;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx>
280
Record-Route: <sip:81.23.228.129;lr=on;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx>
281
Record-Route: <sip:81.23.228.150;lr=on;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx>
282
Record-Route: <sip:85.17.186.7;lr=on;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx>
283
Contact: <sip:2233376905@132.177.254.160:65014;rinstance=0abb36cdfde14d1e>
284
To: <sip:2233376905@sip2sip.info>;tag=12fed6a8
285
From: "Adrian G."<sip:adi@umts.ro>;tag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx
286
Call-ID: dEONyPIATvBASdMH6ieer3PfUKHrXPFw
287
CSeq: 9494 INVITE
288
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
289
Content-Type: application/sdp
290
Supported: eventlist
291
User-Agent: Bria 3.0 release 3.0 stamp 99999
292
Content-Length: 320
293
294
v=0
295
o=- 12897519906829104 12897519906829104 IN IP4 132.177.254.160
296
s=-
297
t=0 0
298
m=audio 55388 RTP/AVP 3 0 8 101
299
c=IN IP4 81.23.228.150
300
a=rtpmap:3 GSM/8000
301
a=rtpmap:0 PCMU/8000
302
a=rtpmap:8 PCMA/8000
303
a=rtpmap:101 telephone-event/8000
304
a=fmtp:101 0-15
305
a=ptime
306
a=sendrecv
307
m=MESSAGE 0 NONE
308
c=IN IP4 132.177.254.160
309
310
--
311
312
2009-09-15 16:25:09.429677: SENDING: Packet 17, +0:01:02.850911
313
132.177.254.214:49368 -(SIP over UDP)-> 85.17.186.7:5060
314
ACK sip:2233376905@132.177.254.160:65014;rinstance=0abb36cdfde14d1e SIP/2.0
315
Via: SIP/2.0/UDP 132.177.254.214:49368;rport;branch=z9hG4bKPjqfb3VrLfsdaraszZ2TngLxGH.iomKkFi
316
Max-Forwards: 70
317
From: "Adrian G." <sip:adi@umts.ro>;tag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx
318
To: <sip:2233376905@sip2sip.info>;tag=12fed6a8
319
Call-ID: dEONyPIATvBASdMH6ieer3PfUKHrXPFw
320
CSeq: 9494 ACK
321
Route: <sip:85.17.186.7;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.ce8f0a9>
322
Route: <sip:81.23.228.150;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.90fd2897>
323
Route: <sip:81.23.228.129;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.11acc262>
324
Route: <sip:85.17.186.7;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.de8f0a9>
325
User-Agent: blink-0.9.0
326
Content-Length:  0
327
328
329
--
330
331
Audio to 2233376905@sip2sip.info> /remove chat
332
The current active session does not have any chat streams
333
}}}