/[resiprocate]/main/resip/stack/test/raw-tests.txt
ViewVC logotype

Annotation of /main/resip/stack/test/raw-tests.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5295 - (hide annotations) (download)
Mon Aug 22 00:30:05 2005 UTC (14 years, 5 months ago) by jason
File MIME type: text/plain
File size: 23252 byte(s)
merged 5270:HEAD from b-directory-reorg
1 jason 1005 2.8 Unknown Method with CSeq Error
2    
3     "NEWMETHOD sip:user@comapny.com SIP/2.0\r\n"
4     "To: sip:j.user@company.com\r\n"
5     "From: sip:caller@university.edu;tag=23411413\r\n"
6     "Max-Forwards: 3\r\n"
7     "Call-ID: 0ha0isndaksdj@10.0.1.1\r\n"
8     "CSeq: 8 INVITE\r\n"
9     "Via: SIP/2.0/UDP 135.180.130.133;branch=z9hG4bKkdjuw\r\n"
10     "Content-Type: application/sdp\r\n"
11     "\r\n"
12     "v=0\r\n"
13     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
14     "s=-\r\n"
15     "c=IN IP4 135.180.130.88\r\n"
16     "t=0 0\r\n"
17     "m=audio 492170 RTP/AVP 0 12\r\n"
18     "m=video 3227 RTP/AVP 31\r\n"
19     "a=rtpmap:31 LPC\r\n"
20    
21     2.9 REGISTER with Unknown Authorization Scheme
22    
23     char* txt = ("REGISTER sip:company.com SIP/2.0\r\n"
24     "To: sip:j.user@company.com\r\n"
25     "From: sip:j.user@company.com;tag=87321hj23128\r\n"
26     "Max-Forwards: 8\r\n"
27     "Call-ID: 0ha0isndaksdj@10.0.1.1\r\n"
28     "CSeq: 8 REGISTER\r\n"
29     "Via: SIP/2.0/UDP 135.180.130.133;branch=z9hG4bKkdjuw\r\n"
30     "Authorization: Super-PGP ajsohdaosdh0asyhdaind08yasdknasd09asidhas0d8\r\n\r\n");
31     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
32    
33    
34     2.10 Multiple SIP Request in a Single Message
35    
36     char* txt = ("REGISTER sip:company.com SIP/2.0\r\n"
37     "To: sip:j.user@company.com\r\n"
38     "From: sip:j.user@company.com;tag=43251j3j324\r\n"
39     "Max-Forwards: 8\r\n"
40     "Call-ID: 0ha0isndaksdj@10.0.2.2\r\n"
41     "Contact: sip:j.user@host.company.com\r\n"
42     "CSeq: 8 REGISTER\r\n"
43     "Via: SIP/2.0/UDP 135.180.130.133;branch=z9hG4bKkdjuw\r\n"
44     "Content-Length: 0\r\n\r\n"
45     "INVITE sip:joe@company.com SIP/2.0\r\n"
46     "To: sip:joe@company.com\r\n"
47     "From: sip:caller@university.edu;tag=141334\r\n"
48     "Max-Forwards: 8\r\n"
49     "Call-ID: 0ha0isnda977644900765@10.0.0.1\r\n"
50     "CSeq: 8 INVITE\r\n"
51     "Via: SIP/2.0/UDP 135.180.130.133;branch=z9hG4bKkdjuw\r\n"
52     "Content-Type: application/sdp\r\n"
53     "\r\n"
54     "v=0\r\n"
55     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
56     "s=-\r\n"
57     "c=IN IP4 135.180.130.88\r\n"
58     "t=0 0\r\n"
59     "m=audio 492170 RTP/AVP 0 12\r\n"
60     "m =video 3227 RTP/AVP 31\r\n"
61     "a=rtpmap:31 LPC\r\n"
62     "\r\n");
63     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
64    
65    
66     2.11 INVITE missing Required Headers
67    
68     char* txt = ("INVITE sip:user@company.com SIP/2.0\r\n"
69     "CSeq: 0 INVITE\r\n"
70     "Via: SIP/2.0/UDP 135.180.130.133;branch=z9hG4bKkdjuw\r\n"
71     "Content-Type: application/sdp\r\n"
72     "\r\n"
73     "v=0\r\n"
74     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
75     "s=-\r\n"
76     "c=IN IP4 135.180.130.88\r\n"
77     "t=0 0\r\n"
78     "m=audio 492170 RTP/AVP 0 12\r\n"
79     "m=video 3227 RTP/AVP 31\r\n"
80     "a=rtpmap:31 LPC\r\n"
81     "\r\n";
82     );
83     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
84    
85    
86     2.12 INVITE with Duplicate Required Headers
87    
88     char* txt = ("INVITE sip:user@company.com SIP/2.0\r\n"
89     "Via: SIP/2.0/UDP 135.180.130.133;branch=z9hG4bKkdjuw\r\n"
90     "Max-Forwards: 70\r\n"
91     "CSeq: 0 INVITE\r\n"
92     "Call-ID: 98asdh@10.1.1.1\r\n"
93     "Call-ID: 98asdh@10.1.1.2\r\n"
94     "From: sip:caller@university.edu;tag=3413415\r\n"
95     "From: sip:caller@organization.org\r\n"
96     "To: sip:user@company.com\r\n"
97     "Content-Type: application/sdp\r\n"
98     "\r\n"
99     "v=0\r\n"
100     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
101     "s=-\r\n"
102     "c=IN IP4 135.180.130.88\r\n"
103     "t=0 0\r\n"
104     "m=audio 492170 RTP/AVP 0 12\r\n"
105     "m=video 3227 RTP/AVP 31\r\n"
106     "a=rtpmap:31 LPC\r\n"
107     "\r\n";
108     );
109     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
110    
111    
112     2.13 INVITE with Illegal Expires Header
113    
114     char* txt = ("INVITE sip:user@company.com SIP/2.0\r\n"
115     "Via: SIP/2.0/UDP 135.180.130.133;branch=z9hG4bKkdjuw\r\n"
116     "Max-Forwards: 88\r\n"
117     "CSeq: 0 INVITE\r\n"
118     "Call-ID: 98asdh@10.1.1.2\r\n"
119     "Expires: Thu, 44 Dec 19999 16:00:00 EDT\r\n"
120     "From: sip:caller@university.edu;tag=3651\r\n"
121     "To: sip:user@company.com\r\n"
122     "Content-Type: application/sdp\r\n"
123     "\r\n"
124     "v=0\r\n"
125     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
126     "s=-\r\n"
127     "c=IN IP4 135.180.130.88\r\n"
128     "t=0 0\r\n"
129     "m=audio 492170 RTP/AVP 0 12\r\n"
130     "m=video 3227 RTP/AVP 31\r\n"
131     "a=rtpmap:31 LPC\r\n"
132     "\r\n";);
133     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
134    
135    
136     2.14 200 OK Response with Broadcast Via Header
137    
138     char* txt = ("SIP/2.0 200 OK\r\n"
139     "Via: SIP/2.0/UDP 135.180.130.57;branch=0\r\n"
140     "Via: SIP/2.0/UDP 255.255.255.255;branch=0\r\n"
141     "Max-Forwards: 70\r\n"
142     "Call-ID: 0384840201@10.1.1.1\r\n"
143     "CSeq: 0 INVITE\r\n"
144     "From: sip:user@company.com;tag=11141343\r\n"
145     "To: sip:user@university.edu;tag=2229\r\n"
146     "Content-Type: application/sdp\r\n"
147     "\r\n"
148     "v=0\r\n"
149     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n");
150     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
151    
152     "s=-\r\n"
153     "c=IN IP4 224.2.17.12/127\r\n"
154     char* txt = ("t=0 0\r\n"
155     "m=audio 492170 RTP/AVP 0 12\r\n"
156     "m=video 3227 RTP/AVP 31\r\n"
157     "a=rtpmap:31 LPC\r\n"
158     );
159     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
160    
161    
162     2.15 INVITE with Invalid Via and Contact Headers
163    
164     char* txt = ("INVITE sip:user@company.com SIP/2.0\r\n"
165     "To: sip:j.user@company.com\r\n"
166     "From: sip:caller@university.edu;tag=134161461246\r\n"
167     "Max-Forwards: 7\r\n"
168     "Call-ID: 0ha0isndaksdj@10.0.0.1\r\n"
169     "CSeq: 8 INVITE\r\n"
170     "Via: SIP/2.0/UDP 135.180.130.133;;,;\r\n"
171     "Contact: "" <> ;,"Joe" <sip:joe@org.org>;;,,;;\r\n"
172     "Content-Type: application/sdp\r\n"
173     "\r\n"
174     "v=0\r\n"
175     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
176     "s=-\r\n"
177     "c=IN IP4 135.180.130.88\r\n"
178     "t=0 0\r\n"
179     "m=audio 492170 RTP/AVP 0 12\r\n"
180     "m=video 3227 RTP/AVP 31\r\n"
181     "a=rtpmap:31 LPC\r\n");
182     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
183    
184    
185     2.16 INVITE with Incorrect Content-Length Header
186     char* txt = ("INVITE sip:user@company.com SIP/2.0\r\n"
187     "Max-Forwards: 80\r\n"
188     "To: sip:j.user@company.com\r\n"
189     "From: sip:caller@university.edu;tag=93942939o2\r\n"
190     "Call-ID: 0ha0isndaksdj@10.0.0.1\r\n"
191     "CSeq: 8 INVITE\r\n"
192     "Via: SIP/2.0/UDP 135.180.130.133\r\n"
193     "Content-Type: application/sdp\r\n"
194     "Content-Length: 9999\r\n"
195     "\r\n"
196     "v=0\r\n"
197     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
198     "s=-\r\n"
199     "c=IN IP4 135.180.130.88\r\n"
200     "t=0 0\r\n"
201     "m=audio 492170 RTP/AVP 0 12\r\n"
202     "m=video 3227 RTP/AVP 31\r\n"
203     "a=rtpmap:31 LPC\r\n"
204     );
205     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
206    
207    
208     2.17 INVITE with Invalid Value for Content-Length
209     char* txt = ("INVITE sip:user@company.com SIP/2.0\r\n"
210     "Max-Forwards: 254\r\n"
211     "To: sip:j.user@company.com\r\n"
212     "From: sip:caller@university.edu;tag=3\r\n"
213     "Call-ID: 0ha0isndaksdj@10.0.0.1\r\n"
214     "CSeq: 8 INVITE\r\n"
215     "Via: SIP/2.0/UDP 135.180.130.133;branch=z9hG4bKkdjuw\r\n"
216     "Content-Type: application/sdp\r\n"
217     "Content-Length: -999\r\n"
218     "\r\n"
219     "v=0\r\n"
220     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
221     "s=-\r\n"
222     "c=IN IP4 135.180.130.88\r\n"
223     "t=0 0\r\n"
224     "m=audio 492170 RTP/AVP 0 12\r\n"
225     "m=video 3227 RTP/AVP 31\r\n"
226     "a=rtpmap:31 LPC\r\n"
227     );
228     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
229    
230    
231     2.18 INVITE with Garbage after Message Body
232    
233     char* txt = ("INVITE sip:user@company.com SIP/2.0\r\n"
234     "To: sip:j.user@company.com\r\n"
235     "From: sip:caller@university.edu;tag=3223\r\n"
236     "Max-Forwards: 7\r\n"
237     "Call-ID: 0ha0isndaksdj@10.0.0.1\r\n"
238     "CSeq: 8 INVITE\r\n"
239     "Via: SIP/2.0/UDP 135.180.130.133\r\n"
240     "Content-Type: application/sdp\r\n"
241     "Content-Length: 138\r\n"
242     "\r\n"
243     "v=0\r\n"
244     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
245     "s=-\r\n"
246     "c=IN IP4 135.180.130.88\r\n"
247     "t=0 0\r\n"
248     "m=audio 492170 RTP/AVP 0 12\r\n"
249     "m=video 3227 RTP/AVP 31\r\n"
250     "a=rtpmap:31 LPC\r\n"
251     "asdpasd08asdsdk:;;asd\r\n"
252     "a0sdjhg8a0''...'';;;;\r\n"
253     );
254     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
255    
256    
257     2.19 INVITE with Error in Display Name in To Header
258     char* txt = ("INVITE sip:user@company.com SIP/2.0\r\n"
259     "To: \"Mr. J. User <sip:j.user@company.com> From: sip:caller@university.edu;tag=93334\r\n"
260     "Max-Forwards: 10\r\n"
261     "Call-ID: 0ha0isndaksdj@10.0.0.1\r\n"
262     "CSeq: 8 INVITE\r\n"
263     "Via: SIP/2.0/UDP 135.180.130.133:5050;branch=z9hG4bKkdjuw\r\n"
264     "Content-Type: application/sdp\r\n"
265     "Content-Length: 138\r\n"
266     "\r\n"
267     "v=0\r\n"
268     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
269     "s=-\r\n"
270     "c=IN IP4 135.180.130.88\r\n"
271     "t=0 0\r\n"
272     "m=audio 492170 RTP/AVP 0 12\r\n"
273     "m=video 3227 RTP/AVP 31\r\n"
274     "a=rtpmap:31 LPC\r\n");
275     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
276    
277    
278     2.20 INVITE with a Semicolon-Separated Parameter in the "user" Part
279     char* txt = ("INVITE sip:user;par=u%40h.com@company.com SIP/2.0\r\n"
280     "To: sip:j_user@company.com\r\n"
281     "From: sip:caller@university.edu;tag=33242\r\n"
282     "Max-Forwards: 3\r\n"
283     "Call-ID: 0ha0isndaksdj@10.1.1.1\r\n"
284     "CSeq: 8 INVITE\r\n"
285     "Via: SIP/2.0/UDP 135.180.130.133;branch=z9hG4bKkdjuw\r\n");
286     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
287    
288     2.21 INVITE with Illegal Enclosing of Request-URI in "<>"
289    
290     char* txt = ("INVITE <sip:user@company.com> SIP/2.0\r\n"
291     "To: sip:user@company.com\r\n"
292     "From: sip:caller@university.edu;tag=39291\r\n"
293     "Max-Forwards: 23\r\n"
294     "Call-ID: 1@10.0.0.1\r\n"
295     "CSeq: 1 INVITE\r\n"
296     "Via: SIP/2.0/UDP 135.180.130.133\r\n"
297     "Content-Type: application/sdp\r\n"
298     "Content-Length: 174\r\n"
299     "\r\n"
300     "v=0\r\n"
301     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
302     "s=-\r\n"
303     "c=IN IP4 135.180.130.88\r\n"
304     "t=3149328700 0\r\n"
305     "m=audio 492170 RTP/AVP 0 12\r\n"
306     "m=video 3227 RTP/AVP 31\r\n"
307     "a=rtpmap:31 LPC\r\n");
308     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
309    
310    
311     2.22 INVITE with Illegal LWS within Elements of Request-URI
312    
313     char* txt = ("INVITE sip:user@company.com; transport=udp SIP/2.0\r\n"
314     "To: sip:user@company.com\r\n"
315     "From: sip:caller@university.edu;tag=231413434\r\n"
316     "Max-Forwards: 5\r\n"
317     "Call-ID: 2@10.0.0.1\r\n"
318     "CSeq: 1 INVITE\r\n"
319     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
320     "Content-Type: application/sdp\r\n"
321     "Content-Length: 174\r\n"
322     "\r\n"
323     "v=0\r\n"
324     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
325     "s=-\r\n"
326     "c=IN IP4 135.180.130.88\r\n"
327     "t=3149328700 0\r\n"
328     "m=audio 492170 RTP/AVP 0 12\r\n"
329     "m=video 3227 RTP/AVP 31\r\n"
330     "a=rtpmap:31 LPC\r\n");
331     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
332    
333    
334     2.23 INVITE with illegal >1 SP between elements of Request URI17
335    
336     char* txt = ("INVITE sip:user@company.com SIP/2.0\r\n"
337     "Max-Forwards: 8\r\n"
338     "To: sip:user@company.com\r\n"
339     "From: sip:caller@university.edu;tag=8814\r\n"
340     "Call-ID: 3@10.0.0.1\r\n"
341     "CSeq: 1 INVITE\r\n"
342     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
343     "Content-Type: application/sdp\r\n"
344     "Content-Length: 174\r\n"
345     "\r\n"
346     "v=0\r\n"
347     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
348     "s=-\r\n"
349     "c=IN IP4 135.180.130.88\r\n"
350     "t=0 0\r\n"
351     "m=audio 492170 RTP/AVP 0 12\r\n"
352     "m=video 3227 RTP/AVP 31"
353     "a=rtpmap:31 LPC\r\n");
354     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
355    
356    
357     2.24 INVITE with a legal SIP URI containing escaped characters17
358    
359     char* txt = ("INVITE sip:sip%3Auser%40example.com@company.com;other-param=summit\r\n"
360     "SIP/2.0\r\n"
361     "To: sip:user@company.com\r\n"
362     "From: sip:caller@university.edu;tag=938\r\n"
363     "Max-Forwards: 87\r\n"
364     "Call-ID: 4@10.0.0.1\r\n"
365     "CSeq: 1 INVITE\r\n"
366     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
367     "Content-Type: application/sdp\r\n"
368     "Content-Length: 174\r\n"
369     "\r\n"
370     "v=0\r\n"
371     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
372     "s=-\r\n"
373     "c=IN IP4 135.180.130.88\r\n"
374     "t=0 0\r\n"
375     "m=audio 492170 RTP/AVP 0 12\r\n"
376     "m=video 3227 RTP/AVP 31\r\n"
377     "a=rtpmap:31 LPC\r\n");
378     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
379    
380    
381     2.25 INVITE with the illegal use of escaped headers in Request-URI
382    
383     char* txt = ("INVITE sip:user@company.com?Route=%3Csip:sip.example.com%3E SIP/2.0\r\n"
384     "To: sip:user@company.com\r\n"
385     "From: sip:caller@university.edu;tag=341518\r\n"
386     "Max-Forwards: 7\r\n"
387     "Call-ID: 5@10.0.0.1\r\n"
388     "CSeq: 1 INVITE\r\n"
389     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
390     "Content-Type: application/sdp\r\n"
391     "Content-Length: 174\r\n"
392     "\r\n"
393     "v=0\r\n"
394     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
395     "s=-\r\n"
396     "c=IN IP4 135.180.130.88\r\n"
397     "t=0 0\r\n"
398     "m=audio 492170 RTP/AVP 0 12\r\n"
399     "m=video 3227 RTP/AVP 31\r\n"
400     "a=rtpmap:31 LPC\r\n");
401     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
402    
403    
404     2.26 INVITE containing an unknown scheme in the Request URI
405    
406     char* txt = ("INVITE name:user SIP/2.0\r\n"
407     "To: sip:user@company.com\r\n"
408     "From: sip:caller@university.edu;tag=384\r\n"
409     "Max-Forwards: 3\r\n"
410     "Call-ID: 6@10.0.0.1\r\n"
411     "CSeq: 1 INVITE\r\n"
412     "Via: SIP/2.0/UDP 135.180.130.133;branch=z9hG4bKkdjuw\r\n"
413     "Content-Type: application/sdp\r\n"
414     "Content-Length: 174\r\n"
415     "\r\n"
416     "v=0\r\n"
417     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
418     "s=-\r\n"
419     "c=IN IP4 135.180.130.88\r\n"
420     "t=0 0\r\n"
421     "m=audio 492170 RTP/AVP 0 12\r\n"
422     "m=video 3227 RTP/AVP 31\r\n"
423     "a=rtpmap:31 LPC\r\n");
424     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
425    
426    
427     2.27 OPTIONS with no LWS between display name and "<"
428    
429    
430     char* txt = ("OPTIONS sip:user@company.com SIP/2.0\r\n"
431     "To: sip:user@company.com\r\n"
432     "From: "caller"<sip:caller@example.com>;tag=323\r\n"
433     "Max-Forwards: 70\r\n"
434     "Call-ID: 1234abcd@10.0.0.1\r\n"
435     "CSeq: 1 OPTIONS\r\n"
436     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
437     "\r\n");
438     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
439    
440     2.28 OPTIONS with extran LWS between display name and "<"
441    
442    
443     char* txt = ("OPTIONS sip:user@company.com SIP/2.0\r\n"
444     "To: sip:user@company.com\r\n"
445     "From: "caller" <sip:caller@example.com>;tag=32\r\n"
446     "Max-Forwards: 70\r\n"
447     "Call-ID: 1234abcd@10.0.0.1\r\n"
448     "CSeq: 2 OPTIONS\r\n"
449     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
450     "\r\n");
451     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
452    
453     2.29 INVITE with an illegal SIP Date format
454    
455     char* txt = "INVITE sip:user@company.com SIP/2.0\r\n"
456     "To: sip:user@company.com\r\n"
457     "From: sip:caller@university.edu;tag=2\r\n"
458     "Max-Forwards: 70\r\n"
459     "Call-ID: 7@10.0.0.1\r\n"
460     "CSeq: 1 INVITE\r\n"
461     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
462     "Date: Fri, 01 Jan 2010 16:00:00 EST\r\n"
463     "Content-Type: application/sdp\r\n"
464     "Content-Length: 174\r\n"
465     "\r\n"
466     "v=0\r\n"
467     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
468     "s=-\r\n"
469     "c=IN IP4 135.180.130.88\r\n"
470     "t=0 0\r\n"
471     "m=audio 492170 RTP/AVP 0 12\r\n"
472     "m=video 3227 RTP/AVP 31\r\n"
473     "a=rtpmap:31 LPC\r\n");
474     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
475    
476     2.30 INVITE with Passed Expries Time
477    
478     char* txt = "INVITE sip:user@company.com SIP/2.0\r\n"
479     "To: sip:user@company.com\r\n"
480     "From: sip:caller@university.edu;tag=3843\r\n"
481     "Max-Forwards: 70\r\n"
482     "Call-ID: 8@10.0.0.1\r\n"
483     "CSeq: 1 INVITE\r\n"
484     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
485     "Expires: Thu, 01 Dec 1994 16:00:00 GMT\r\n"
486     "Content-Type: application/sdp\r\n"
487     "Content-Length: 174\r\n"
488     "\r\n"
489     "v=0\r\n"
490     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
491     "s=-\r\n"
492     "c=IN IP4 135.180.130.88\r\n"
493     "t=0 0\r\n"
494     "m=audio 492170 RTP/AVP 0 12\r\n"
495     "m=video 3227 RTP/AVP 31\r\n"
496     "a=rtpmap:31 LPC\r\n");
497     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
498    
499     2.31 INVITE with Max-Forwards Set to Zero
500    
501     char* txt = "INVITE sip:user@company.com SIP/2.0\r\n"
502     "To: sip:user@company.com\r\n"
503     "From: sip:caller@university.edu;tag=3ghsd41\r\n"
504     "Call-ID: 9@10.0.0.1\r\n"
505     "CSeq: 1 INVITE\r\n"
506     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
507     "Max-Forwards: 0\r\n"
508     "Content-Type: application/sdp\r\n"
509     "Content-Length: 174\r\n"
510     "\r\n"
511     "v=0\r\n"
512     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
513     "s=-\r\n"
514     "c=IN IP4 135.180.130.88\r\n"
515     "t=0 0\r\n"
516     "m=audio 492170 RTP/AVP 0 12\r\n"
517     "m=video 3227 RTP/AVP 31\r\n"
518     "a=rtpmap:31 LPC\r\n");
519     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
520    
521    
522     2.32 REGISTER with a Escaped Header in a Legal SIP URI of a Contact
523    
524     "REGISTER sip:company.com SIP/2.0\r\n"
525     "To: sip:user@company.com\r\n"
526     "From: sip:user@company.com;tag=8\r\n"
527     "Max-Forwards: 70\r\n"
528     "Contact: sip:user@host.company.com\r\n"
529     "Call-ID: k345asrl3fdbv@10.0.0.1\r\n"
530     "CSeq: 1 REGISTER\r\n"
531     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
532     "Contact: <sip:user@example.com?Route=%3Csip:sip.example.com%3E> 2.33 REGISTER with a Escaped Header in a Illegal SIP URI of a Contact\r\n"
533     "\r\n"
534     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
535    
536     2.33 REGISTER with a Escaped Header in a Illegal SIP URI of a Contact
537    
538     char* txt = "REGISTER sip:company.com SIP/2.0\r\n"
539     "To: sip:user@company.com\r\n"
540     "From: sip:user@company.com;tag=998332\r\n"
541     "Max-Forwards: 70\r\n"
542     "Contact: sip:user@host.company.com\r\n"
543     "Call-ID: k345asrl3fdbv@10.0.0.1\r\n"
544     "CSeq: 1 REGISTER\r\n"
545     "Via: SIP/2.0/UDP 135.180.130.133:5060;branch=z9hG4bKkdjuw\r\n"
546     "Contact: sip:user@example.com?Route=%3Csip:sip.example.com%3E\r\n"
547     "\r\n");
548     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
549    
550    
551     2.34 INVITE with Long Values in Headers
552    
553     char* txt = "INVITE sip:user@company.com SIP/2.0\r\n"
554     "To: "I have a user name of extreme proportion"\r\n"
555     "<sip:user@company.com:6000;other\r\n"
556     "param=1234567890somethingelselong1234567890> From: sip:caller@university.edu;tag=12481841982424\r\n"
557     "Call-ID:\r\n"
558     "kl24ahsd546folnyt2vbak9sad98u23naodiunzds09a3bqw0sdfbsk34poouymnae00\r\n"
559     "3nsed09mfkvc74bd0cuwnms05dknw87hjpobd76f\r\n"
560     "CSeq: 1 INVITE\r\n"
561     "P-My-State: sldkjflzdsfaret0803adgaasd0afds0asdaasd\r\n"
562     "Via: SIP/2.0/TCP sip33.example.com\r\n"
563     "Via: SIP/2.0/TCP sip32.example.com\r\n"
564     "Via: SIP/2.0/TCP sip31.example.com\r\n"
565     "Via: SIP/2.0/TCP sip30.example.com\r\n"
566     "Via: SIP/2.0/TCP sip29.example.com\r\n"
567     "Via: SIP/2.0/TCP sip28.example.com\r\n"
568     "Via: SIP/2.0/TCP sip27.example.com\r\n"
569     "Via: SIP/2.0/TCP sip26.example.com\r\n"
570     "Via: SIP/2.0/TCP sip25.example.com\r\n"
571     "Via: SIP/2.0/TCP sip24.example.com\r\n"
572     "Via: SIP/2.0/TCP sip23.example.com\r\n"
573     "Via: SIP/2.0/TCP sip22.example.com\r\n"
574     "Via: SIP/2.0/TCP sip21.example.com\r\n"
575     "Via: SIP/2.0/TCP sip20.example.com\r\n"
576     "Via: SIP/2.0/TCP sip19.example.com\r\n"
577     "Via: SIP/2.0/TCP sip18.example.com\r\n"
578     "Via: SIP/2.0/TCP sip17.example.com\r\n"
579     "Via: SIP/2.0/TCP sip16.example.com\r\n"
580     "Via: SIP/2.0/TCP sip15.example.com\r\n"
581     "Via: SIP/2.0/TCP sip14.example.com\r\n"
582     "Via: SIP/2.0/TCP sip13.example.com\r\n"
583     "Via: SIP/2.0/TCP sip12.example.com\r\n"
584     "Via: SIP/2.0/TCP sip11.example.com\r\n"
585     "Via: SIP/2.0/TCP sip10.example.com\r\n"
586     "Via: SIP/2.0/TCP sip9.example.com\r\n"
587     "Via: SIP/2.0/TCP sip8.example.com\r\n"
588     "Via: SIP/2.0/TCP sip7.example.com\r\n"
589     "Via: SIP/2.0/TCP sip6.example.com\r\n"
590     "Via: SIP/2.0/TCP sip5.example.com\r\n"
591     "Via: SIP/2.0/TCP sip4.example.com\r\n"
592     "Via: SIP/2.0/TCP sip3.example.com\r\n"
593     "Via: SIP/2.0/TCP sip2.example.com\r\n"
594     "Via: SIP/2.0/TCP sip1.example.com\r\n"
595     "Via: SIP/2.0/TCP\r\n"
596     "host.example.com;received=135.180.130.133;branch=C1C3344E2710000000E\r\n"
597     "99E568E7potato10potato0potato0\r\n"
598     "Content-Type: application/sdp\r\n"
599     "\r\n"
600     "v=0\r\n"
601     "o=mhandley 29739 7272939 IN IP4 126.5.4.3\r\n"
602     "s=-\r\n"
603     "c=IN IP4 135.180.130.88\r\n"
604     "t=0 0\r\n"
605     "m=audio 492170 RTP/AVP 0 12\r\n"
606     "m=video 3227 RTP/AVP 31\r\n"
607     "a=rtpmap:31 LPC\r\n");
608     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
609    
610    
611    
612     2.35 OPTIONS with multiple headers
613    
614     char* txt = "OPTIONS sip:135.180.130.133 SIP/2.0\r\n"
615     "Via: SIP/2.0/UDP company.com:5604\r\n"
616     "Max-Forwards: 70\r\n"
617     "From: sip:iuser@company.com;tag=74345345\r\n"
618     "To: sip:user@135.180.130.133\r\n"
619     "Call-ID: 1804928587@company.com\r\n"
620     "CSeq: 1 OPTIONS\r\n"
621     "Expires: 0 0l@company.com\r\n"
622     "To: sip:user@135.180.130.133\r\n"
623     "Call-ID: 1804928587@company.com\r\n"
624     "CSeq: 1 OPTIONS\r\n"
625     "Contact: sip:host.company.com\r\n"
626     "Expires: 0xpires: 0sip:host.company.com\r\n"
627     "Expires: 0\r\n"
628     "Contact: sip:host.company.com\r\n"
629     "\r\n");
630     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
631    
632     2.36 INVITE with large number of SDP attributes and telephone subscriber Request-URI
633    
634     char* txt = "INVITE sip:+19725552222;phone\r\n"
635     "context=name%40domain;new=user?%22Route%3a%20X%40Y%3bZ=W%22@gw1.atla\r\n"
636     "ta.com;user=phone SIP/2.0\r\n"
637     "Via: SIP/2.0/UDP iftgw.biloxi.com:5060;branch=z9hG4bKjeefr3\r\n"
638     "Max-Forwards: 70\r\n"
639     "From:\r\n"
640     "<sip:+13035551111@ift.client.atlanta.com;user=phone>;tag=332lflke\r\n"
641     "To: sip:+16555552222@ss1.atlanta.com;user=phone\r\n"
642     "Call-ID: 1717@ift.client.atlanta.com\r\n"
643     "CSeq: 56 INVITE\r\n"
644     "Content-Type: application/sdp\r\n"
645     "Content-Length: 320\r\n"
646     "\r\n"
647     "v=0\r\n"
648     "o=faxgw1 2890844527 2890844527 IN IP4 iftgw.biloxi.com\r\n"
649     "s=-\r\n"
650     "c=IN IP4 iftmg.biloxi.com\r\n"
651     "t=0 0\r\n"
652     "m=image 49172 udptl t38\r\n"
653     "a=T38FaxVersion:0\r\n"
654     "a=T38maxBitRate:14400\r\n"
655     "a=T38FaxFillBitRemoval:0\r\n"
656     "a=T38FaxTranscodingMMR:0\r\n"
657     "a=T38FaxTranscodingJBIG:0\r\n"
658     "a=T38FaxRateManagement:transferredTCF\r\n"
659     "a=T38FaxMaxBuffer:260\r\n"
660     "a=T38FaxUdpEC:t38UDPR\r\n");
661     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
662    
663     2.37 REGISTER with a contact parameter
664    
665     char* txt = "REGISTER sip:bell-tel.com SIP/2.0\r\n"
666     "Via: SIP/2.0/UDP saturn.bell-tel.com:5060;branch=z9hG4bKkdjuw\r\n"
667     "Max-Forwards: 70\r\n"
668     "From: sip:watson@bell-tel.com;tag=DkfVgjkrtMwaerKKpe\r\n"
669     "To: sip:watson@bell-tel.com\r\n"
670     "Call-ID: 70710@saturn.bell-tel.com\r\n"
671     "CSeq: 2 REGISTER\r\n"
672     "Contact: sip:+19725552222@gw1.atlanta.com;user=phone\r\n"
673     "\r\n");
674     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
675    
676     2.38 REGISTER with a url parameter
677    
678     char* txt = "REGISTER sip:bell-tel.com SIP/2.0\r\n"
679     "Via: SIP/2.0/UDP saturn.bell-tel.com:5060;branch=z9hG4bKkdjuw\r\n"
680     "Max-Forwards: 70\r\n"
681     "From: sip:watson@bell-tel.com;tag=838293\r\n"
682     "To: sip:watson@bell-tel.com\r\n"
683     "Call-ID: 70710@saturn.bell-tel.com\r\n"
684     "CSeq: 3 REGISTER\r\n"
685     "Contact: <sip:+19725552222@gw1.atlanta.com;user=phone>\r\n"
686     "\r\n");
687     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
688    
689     2.39 INVITE with an Unquoted Display Name Containing Multiple Tokens
690    
691     char* txt = ("INVITE sip:t.watson@ieee.org SIP/2.0\r\n"
692     "Via: SIP/2.0/UDP c.bell-tel.com:5060;branch=z9hG4bKkdjuw\r\n"
693     "Max-Forwards: 70\r\n"
694     "From: A. Bell <sip:a.g.bell@bell-tel.com>;tag=459843\r\n"
695     "To: T. Watson <sip:t.watson@ieee.org> Call-ID: 31414@c.bell-tel.com\r\n"
696     "CSeq: 1 INVITE\r\n"
697     "\r\n");
698    
699     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
700    
701     2.40 INVITE with an Unquoted Display Name Containg Non-Token Characters
702    
703     char* txt = ("INVITE sip:t.watson@ieee.org SIP/2.0\r\n"
704     "Via: SIP/2.0/UDP c.bell-tel.com:5060;branch=z9hG4bKkdjuw\r\n"
705     "Max-Forwards: 70\r\n"
706     "From: Bell, Alexander <sip:a.g.bell@bell-tel.com>;tag=43\r\n"
707     "To: Watson, Thomas <sip:t.watson@ieee.org> Call-ID: 31415@c.bell-tel.com\r\n"
708     "CSeq: 1 INVITE\r\n"
709     "\r\n")
710     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
711    
712     2.41 INVITE with Unknown (Higher) Protocol Version in Start Line27
713    
714     char* txt = ("INVITE sip:t.watson@ieee.org SIP/7.0\r\n"
715     "Via: SIP/2.0/UDP c.bell-tel.com;branch=z9hG4bKkdjuw\r\n"
716     "Max-Forwards: 70\r\n"
717     "From: A. Bell <sip:a.g.bell@bell-tel.com>;tag=qweoiqpe\r\n"
718     "To: T. Watson <sip:t.watson@ieee.org> Call-ID: 31417@c.bell-tel.com\r\n"
719     "CSeq: 1 INVITE\r\n"
720     "\r\n");
721     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));
722    
723     2.42 INVITE with RFC2543 syntax
724    
725     char* txt = ("INVITE sip:UserB@biloxi.com SIP/2.0\r\n"
726     "Via: SIP/2.0/UDP iftgw.biloxi.com\r\n"
727     "From: <sip:+13035551111@ift.client.atlanta.com;user=phone>;tag=93752\r\n"
728     "Record-Route: <sip:UserB@biloxi.com;maddr=ss1.wcom.com> To: sip:+16505552222@ss1.atlanta.com;user=phone\r\n"
729     "Call-ID: 1717@ift.client.atlanta.com\r\n"
730     "CSeq: 56 INVITE\r\n"
731     "\r\n");
732     auto_ptr<SipMessage> message(TestSupport::makeMessage(txt));

Properties

Name Value
svn:eol-style native
svn:mime-type text/plain

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27