Summary: | ASTERISK-04819: ENUM Lookup REGEXP limited to 80 Characters | ||
Reporter: | Andy Paumann - internic Datenkommunikations GmbH. (internic) | Labels: | |
Date Opened: | 2005-08-11 12:15:14 | Date Closed: | 2011-06-07 14:10:27 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) enum-asterisk-cvs-20050811.patch ( 1) enum-patches.tar ( 2) enum-stable-1.0.9.patch | |
Description: | This problem occurs, using the function "ENUMLookup". If the REGEXP-Part of the NAPTR Record for the given telephone-number exceeds 80 characters it is cut off at the 80th position. ****** STEPS TO REPRODUCE ****** Setup a REGEXP in the NAPTR record for an ENUM-number, which is bigger than 80 characters...it will be cut off at the 80th position, resulting in an ENUM Lookup-Error :-) ****** ADDITIONAL INFORMATION ****** I have created 2 patches for this problem and they are attached (in a tar-archive). I have tested them on the stable (1.0.9) and on the CVS-release (2005-08-11). | ||
Comments: | By: Olle Johansson (oej) 2005-08-11 12:16:52 Please attach patches as text files. Thank you. By: Andy Paumann - internic Datenkommunikations GmbH. (internic) 2005-08-11 12:25:51 Hi Oje, I now have attached the patches as normal text-files...hope thats ok. Best regards Andy By: Mark Spencer (markster) 2005-08-11 14:02:06 Fixed in CVS head. By: Russell Bryant (russell) 2005-08-26 12:25:07 fixed in 1.0 By: Digium Subversion (svnbot) 2008-01-15 15:44:17.000-0600 Repository: asterisk Revision: 6322 U trunk/enum.c ------------------------------------------------------------------------ r6322 | markster | 2008-01-15 15:44:17 -0600 (Tue, 15 Jan 2008) | 2 lines Extend enum buffer sizes (bug ASTERISK-4819) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6322 By: Digium Subversion (svnbot) 2008-01-15 15:45:39.000-0600 Repository: asterisk Revision: 6417 U branches/v1-0/enum.c ------------------------------------------------------------------------ r6417 | russell | 2008-01-15 15:45:39 -0600 (Tue, 15 Jan 2008) | 2 lines ensure buffers are large enough for ENUMLookup (issue ASTERISK-4819) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6417 |