Project

General

Profile

IO-sipit25 » History » Version 6

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