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

Daniel-Constantin Mierla miconda at gmail.com
Thu Feb 3 17:12:42 CET 2011


Hello,

On 2/3/11 1:36 PM, Andrew Pogrebennyk wrote:
> 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.
I will check the sources and fix if the contact address is not between <>.

However, I do not undeerstand where you got the "@", is none there or am 
I missing something?

Thanks,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the sr-users mailing list