[asterisk-bugs] [Asterisk 0012205]: EXTEN gets printf-transformed when written to the logs
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Mar 18 10:21:05 CDT 2008
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=12205
======================================================================
Reported By: stevedavies
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 12205
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 74812
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 03-13-2008 09:57 CDT
Last Modified: 03-18-2008 10:21 CDT
======================================================================
Summary: EXTEN gets printf-transformed when written to the
logs
Description:
> [Mar 13 16:42:46] VERBOSE[14099] logger.c: [Mar 13 16:42:46] --
Executing
[cIAX20.000000ctelpbx-10.0000005160 at from-peer-voipconnect-internal:1]
Set("IAX2/voipconnect_j1-24", "ds=IAX2/ctelpbx-1/5160") in new
stack
What is that crazy extension number? It should say
cIAX2%2fctelpbx-1%2f5160 (which, I admit, is pretty odd too - its a
URIENCODE()d channel address).
Looks like the log messages gets used as the "format" side of another
printf, or something like that, and the %2f gets taken as a float format
specifier.
Steve
======================================================================
----------------------------------------------------------------------
file - 03-18-08 10:21
----------------------------------------------------------------------
Fixed in trunk as of revision 109396 and 1.6.0 as of revision 109398.
Issue History
Date Modified Username Field Change
======================================================================
03-18-08 10:21 file Status assigned => resolved
03-18-08 10:21 file Resolution open => fixed
03-18-08 10:21 file Note Added: 0084136
======================================================================
More information about the asterisk-bugs
mailing list