[asterisk-dev] [Code Review] RFC compliant uri and display-name encode/decode

Iñaki Baz Castillo ibaz at xtratelecom.es
Wed Jan 27 04:17:28 CST 2010


2010/1/27 Olle E. Johansson <oej at edvina.net>:
>> The following is a valid From header in name-addr format:
>>
>>  From: "Alice \"<sip:123 at domain.org>\" and
>> Bob"<sip:alice.bob at domain.net>;tag=1234
>>
>> where the display-name is:
>>
>>  "Alice \"<sip:123 at domain.org>\" and Bob"
>>
>>
>> Would Asterisk parse it correctly with this commit?
>>
> I guess this is a good test to put in the source :-)
>
> Thanks, Inaki. Any more evil examples?


Yes, a valid SIP URI (single line):

sip:1_unusual.URI~(to-be!sure)&isn't+it$/crazy?,/;;*:&it+has=1,weird!*pas$wo~d_too.(doesn't-it)@example.com



More information about the asterisk-dev mailing list