Summary: | ASTERISK-00074: "database get" returns extra characters | ||
Reporter: | John Todd (jtodd) | Labels: | |
Date Opened: | 2003-08-08 20:07:13 | Date Closed: | 2004-09-25 02:21:16 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Extra characters are returned at the end of the line when a "database get" command is executed from the CLI. This leads to confusing output. ****** ADDITIONAL INFORMATION ****** localhost*CLI> database show /FEAT/2403244423/CAPAB/COSTLY : 1 /FEAT/2403244423/CAPAB/INT : 1 /FEAT/2403244423/CAPAB/LD : 1 /FEAT/2403244423/CAPAB/LOCAL : 1 /FEAT/2403244423/CC/CALLERS : 4 /FEAT/2403244423/CC/PASS : 9876 /FEAT/2403244423/GROUP/ID : NONE /FEAT/2403244423/MOH/ACTIVE : 1 /FEAT/2403244423/MOH/GROUP : Hawaii localhost*CLI> localhost*CLI> database get FEAT/2403244423/MOH GROUP Value: Hawaii> localhost*CLI> database get FEAT/2403244423/GROUP ID Value: NONELI> localhost*CLI> | ||
Comments: | By: x martinp (martinp) 2003-08-12 23:32:29 I found out that it's connected with some leaks of editline package or vnsprintf. Propably needs to be traced with valgrind. Furthermore if you change the hostname with 'hostname' command to lets say 'Blah' it's not there anymore. By: John Todd (jtodd) 2003-09-08 21:55:05 Well, even with a changed hostname it still shows up. (note: my database has changed slightly in format): md-asterisk*CLI> database get 2403244423/FEAT/MOH GROUP Value: 1-asterisk*CLI> md-asterisk*CLI> By: John Todd (jtodd) 2003-09-29 03:37:13 Seems to be fixed with recent CVS versions. Not sure when it happened, though. By: x martinp (martinp) 2003-11-03 15:42:07.000-0600 It's fixed in a recent CVS. |