[SR-Users] [sr-dev] topoh, angle brackets and Contact URI params interpretation

Andrew Pogrebennyk andrew.pogrebennyk at portaone.com
Thu Feb 3 13:36:23 CET 2011


On 03.02.2011 10:26, Andrew Pogrebennyk wrote:
> I think the topoh module should force the angle brackets.
> BTW it seems that parameter needs to be urlencoded, see rule
> 'other-param' in RFC 3261 section 25.1:

 From what I understand the valid form is:
Contact:
<sip:192.168.0.107;line=sr-N6IAzB3AWxyfz.stM.quOBFZMJZfWxj7W.y-MljAWBy*>
or
Contact:
sip:192.168.0.107;line="sr-N6IAzB3AWxyfz.stM.quOBFZMJZfWxj7W.y-MljAWBy*"

so it should be enclosed by angle brackets or double quote, otherwise 
most implementations would treat ;line as header parameter and the 
parsing would fail since "@" is not allowed as header parameter value if 
it's not enclosed by double quotes.

-- 
Sincerely,
Andrew Pogrebennyk



More information about the sr-users mailing list