[Freeswitch-dev] Sip RFC2543 and FreeSwitch

Brian West brian at freeswitch.org
Mon Aug 16 13:06:26 PDT 2010


Russ,
	I love when someone steps up to help out like you have... Bravo.

Thanks,
Brian

On Aug 16, 2010, at 2:59 PM, R P Herrold wrote:

> I am no RFC lawyer, but inter alia, that out refers to RFC 
> 2616, and the relevant part is the description of 'tokens' in 
> a 'field', and when certain separaters are present, must be 
> protected in a QUOTE form
> 
> http://www.ietf.org/rfc/rfc2616.txt at section 2.2
> 
>   Many HTTP/1.1 header field values consist of words separated by LWS
>    or special characters. These special characters MUST be in a quoted
>    string to be used within a parameter value (as defined in section
>    3.6).
> 
>        token          = 1*<any CHAR except CTLs or separators>
>        separators     = "(" | ")" | "<" | ">" | "@"
>                       | "," | ";" | ":" | "\" | <">
>                       | "/" | "[" | "]" | "?" | "="
>                       | "{" | "}" | SP | HT
> 
> ---------------------------
> 
> Your target string as indicated by the error message in 
> the first post was:
> 
> 	To: sip:1000 at 66.220.15.234 <sip:1000 at 66.220.15.234>
> 
> and the relevant unprotected section:
> 	sip:1000 at 66.220.15.234
> contains: ":" and "@"
> without such quotation.  I see Brian mentioned one, but it 
> looks as though two are required to be protected
> 
> A proper line might look like:
> 
> 	To: "sip:1000 at 66.220.15.234" <sip:1000 at 66.220.15.234>
> 
> -- Russ herrold




More information about the FreeSWITCH-dev mailing list