;description="OPEN";expires=28800 ;description=OPEN;expires=28800 "Mr. Watson" ;q=0.7; expires=3600 "Mr. Watson" ;q=0.1 Carol Lee Carol Lee Lee M. Foote sip:caller@callerspc.univ.edu sip:j_user@host32.div11.example.com sip:j_user@host32.div11.example.com * # # contact with tags and url without brackets # sip:j.doe@big.com;tag=34ytr34.2 sip:+1-212-555-1212:1234@gateway.com;tag=34ytr34.2 sip:1212@gateway.com;tag=34ytr34.2 sip:alice@10.1.2.3;tag=34ytr34.2 sip:alice@example.com;tag=34ytr34.2 sip:alice%40example.com@gateway.com;tag=34ytr34.2 # # url without url-parameter (contact parameter can be present) # sip:j.doe@big.com sip:j.doe@big.com sip:j.doe:secret@big.com sip:j.doe@big.com sip:+1-212-555-1212:1234@gateway.com sip:1212@gateway.com sip:alice@10.1.2.3 sip:alice@example.com sip:alice%40example.com@gateway.com sip:alice@registrar.com sip:alice@registrar.com:5080 sip:+1234@po4x80.com sip:+1254353534@0.cn_2.rn_8.suisacro.fr sip:MDU@1.kn_5.tn_1.suisacro.fr # # Valid contact fields without display names and brackets # # # Valid contact fields without display names as token (not quoted strings) # alice jack j.doe user;tag=54 Alice ;tag=34ez2 Alice;tag=345erye66 A a # # Valid contact fields with display names as quoted strings # "j.doe" "+1234" "user";tag=54 "Alice" ;tag=34ez2 "Alice";tag=345erye66 "A" "a" # # valid cases with escaped characters # "j.doe\\\\" "j.doe\\\"" "j.doe\\\" "j.doe\\" "j.doe\"" "+1\"234" # # valid cases with utf8 # "µi²éù^r@§è£¤" "æþøð¢ðß" "»¢ðnß·" "¶Ð߫صÞ" "¶:?=@?Ð;߫صÞ" "¶:;?=@?Ð;߫صÞ" "" "\" \\qsd" # # valid case with a nasty bracket... # "jack<4>\\" # # Are those URLs correct??? but How can they be parsed??? # .... # #some bad cases # si zer:alice@example.com sip:@@qsd;sqde_' sip:;qsde #