1 <sip:ixion@62.254.248.117;method=INVITE>;description="OPEN";expires=28800
2 <sip:ixion@62.254.248.117;method=INVITE>;description=OPEN;expires=28800
3 "Mr. Watson" <sip:watson@worcester.bell-telephone.com>;q=0.7; expires=3600
4 "Mr. Watson" <mailto:watson@bell-telephone.com> ;q=0.1
5 Carol Lee <sip:carol.lee@example.com>
6 Carol Lee <sip:carol.lee@example.com>
7 Lee M. Foote <sip:lee.foote@example.com>
8 sip:caller@callerspc.univ.edu
9 sip:j_user@host32.div11.example.com
10 sip:j_user@host32.div11.example.com
11 <sip:watson@saturn.bell-tel.com:3890;transport=udp>
14 # contact with tags and url without brackets
16 sip:j.doe@big.com;tag=34ytr34.2
17 sip:+1-212-555-1212:1234@gateway.com;tag=34ytr34.2
18 sip:1212@gateway.com;tag=34ytr34.2
19 sip:alice@10.1.2.3;tag=34ytr34.2
20 sip:alice@example.com;tag=34ytr34.2
21 sip:alice%40example.com@gateway.com;tag=34ytr34.2
23 # url without url-parameter (contact parameter can be present)
27 sip:j.doe:secret@big.com
29 sip:+1-212-555-1212:1234@gateway.com
33 sip:alice%40example.com@gateway.com
34 sip:alice@registrar.com
35 sip:alice@registrar.com:5080
37 sip:+1254353534@0.cn_2.rn_8.suisacro.fr
38 sip:MDU@1.kn_5.tn_1.suisacro.fr
40 # Valid contact fields without display names and brackets
43 <sip:j.doe@big.com;maddr=239.255.255.1;ttl=15>
44 <sip:j.doe:secret@big.com;transport=tcp>
45 <sip:j.doe@big.com?subject=project>
46 <sip:+1-212-555-1212:1234@gateway.com;user=phone>
47 <sip:1212@gateway.com>
49 <sip:alice@example.com>
50 <sip:alice%40example.com@gateway.com>
51 <sip:alice@registrar.com;method=REGISTER>
52 <sip:alice@registrar.com:5080;method=REGISTER?subject=project&retry-after=3600>
53 <sip:+1234@po4x80.com;user=phone>
54 <sip:+1234@po4x80.com;user=phone?require=com.po4x80.call-bonheur&Proxy-Require=com.po4x80.call-malheur>
55 <sip:+1254353534@0.cn_2.rn_8.suisacro.fr;user=phone?Require=com.po4x80.y-rgbell.po4x80.artolatic-haka-off>
56 <sip:MDU@1.kn_5.tn_1.suisacro.fr;user=ip>
58 # Valid contact fields without display names as token (not quoted strings)
60 alice<sip:alice@10.1.2.3>
61 jack<sip:1212@gateway.com>
62 j.doe <sip:j.doe@big.com;maddr=239.255.255.1;ttl=15>
63 user<sip:+1-212-555-1212:1234@gateway.com;user=phone>;tag=54
64 Alice <sip:alice@example.com>;tag=34ez2
65 Alice<sip:alice%40example.com@gateway.com>;tag=345erye66
66 A<sip:alice@registrar.com;method=REGISTER>
67 a <sip:alice@registrar.com:5080;method=REGISTER?subject=project&retry-after=3600>
69 # Valid contact fields with display names as quoted strings
71 "j.doe" <sip:j.doe@big.com>
72 "+1234"<sip:+1234@ipworld3700.com;user=phone>
73 "user"<sip:+1-212-555-1212:1234@gateway.com;user=phone>;tag=54
74 "Alice" <sip:alice@example.com>;tag=34ez2
75 "Alice"<sip:alice%40example.com@gateway.com>;tag=345erye66
76 "A"<sip:alice@registrar.com;method=REGISTER>
77 "a" <sip:alice@registrar.com:5080;method=REGISTER?subject=project&retry-after=3600>
79 # valid cases with escaped characters
81 "j.doe\\\\" <sip:j.doe:secret@big.com;transport=tcp>
82 "j.doe\\\"" <sip:j.doe:secret@big.com;transport=tcp>
83 "j.doe\\\" <sip:j.doe:secret@big.com;transport=tcp>
84 "j.doe\\"<sip:j.doe@big.com?subject=project>
85 "j.doe\""<sip:j.doe@big.com?subject=project>
86 "+1\"234"<sip:+1234@ipworld3700.com;user=phone>
88 # valid cases with utf8
90 "µi²éù^r@§è£¤" <sip:j.doe:secret@big.com;transport=tcp>
91 "æþøð¢ðß" <sip:j.doe:secret@big.com;transport=tcp>
92 "»¢ðnß·" <sip:j.doe:secret@big.com;transport=tcp>
93 "¶Ð߫صÞ"<sip:j.doe@big.com?subject=project>
94 "¶:?=@?Ð;߫صÞ"<sip:j.doe@big.com?subject=project>
95 "¶:;?=@?Ð;߫صÞ"<sip:j.doe@big.com?subject=project>
96 "<sip:j.doe@big.com?subject=project>"<sip:j.doe@big.com?subject=project>
97 "\" \\qsd"<sip:j.doe@big.com?subject=project>
99 # valid case with a nasty bracket...
101 "jack<4>\\" <sip:jack@2;method=NOTIFY?subject=spamming>
103 # Are those URLs correct??? but How can they be parsed???
105 <sip:j.doe@big.com;to[to?r+s=foo:&.bar;qs=dr$/def>
106 <sip:j.d;oe:secret?@big.com;to[to?r+s=foo:&.bar;qsd=r$/def>
107 <sip:j.+d$=o\?;e:secr&=+$,@big.com;to[to?r+s=foo:&.ba=r;qsdr$/def>
113 zer:alice@example.com
114 <zer:alice@example.com>
119 <sip:2?subject=spamming>