[Home]

Summary:ASTERISK-02194: [patch] From, To, etc. messages do not handle < in quoted-strings
Reporter:pfn (pfn)Labels:
Date Opened:2004-08-05 23:00:14Date Closed:2008-01-15 15:05:30.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sip-lt.txt
Description:Given the following From string, you'll get the notice below, and it causes authentication to fail:

"<fonality" <sip:fonality@66.234.135.70>;tag=as3a2d9067

Aug  5 13:53:13 NOTICE[7175]: chan_sip.c:5167 check_user_full: From address missing 'sip:', using it anyway

Included is a diff to ditch_braces in chan_sip to look for "" and skip them if necessary.
Comments:By: Olle Johansson (oej) 2004-08-15 15:56:04

Good patch, included in chan_sip2. Recommended for cvs.

By: Olle Johansson (oej) 2004-08-15 15:57:05

pfn - do we have a disclaimer for you on file?

By: pfn (pfn) 2004-08-15 20:56:26

yes, I faxed in my disclaimer to digium some weeks ago.

By: Mark Spencer (markster) 2004-08-23 10:14:34

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:05:30.000-0600

Repository: asterisk
Revision: 3634

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r3634 | markster | 2008-01-15 15:05:29 -0600 (Tue, 15 Jan 2008) | 2 lines

Handle quoted <'s (bug ASTERISK-2194)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3634