[Home]

Summary:ASTERISK-25198: chan_dahdi with SS7 is writing log messages to console despite verbose 0
Reporter:Christian Beyerlein (cbeyerlein)Labels:
Date Opened:2015-06-25 04:22:57Date Closed:
Priority:MinorRegression?
Status:Open/NewComponents:Channels/chan_dahdi/SS7
Versions:13.4.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:libss7-2.0.0Attachments:
Description:chan_dahdi with SS7 is logging binary lines to asterisk console, even when verbose is set off:

{noformat}
fravocmg30*CLI> core set verbose 0
Console verbose was 3 and is now OFF.
[1] Unhandled optional parameter 0x37 'Echo Control Information'
[1] [�[1] 0x4 [1] ]
[1] Unhandled optional parameter 0x39 'Parameter Compatibility Information'
[1] [�[1] 0x37 [1] 0xc0 [1] ]
[1] Unhandled optional parameter 0x37 'Echo Control Information'
[1] [[1] 0x4 �[1] ]
[1] Unhandled optional parameter 0x39 'Parameter Compatibility Information'
[1] [[1] 0x37 �[1] 0xc0 [1] ]
[1] Unhandled optional parameter 0x37 'Echo Control Information'
[1] [[1] 0x4 �[1] ]
{noformat}

Additionally in logfile these messages are not terminated properly with newlines, leading to multiple log entries on the same line:

{noformat}
[2015-06-25 10:45:37.216] VERBOSE[27090] chan_dahdi.c: [1] Unhandled optional parameter 0x37 'Echo Control Information'
[2015-06-25 10:45:37.216] VERBOSE[27090] chan_dahdi.c: [1] [[2015-06-25 10:45:37.216] VERBOSE[27090] chan_dahdi.c: [1] 0x4 [2015-06-25 10:45:37.216] VERBOSE[27090] chan_dahdi.c: [1] ]
[2015-06-25 10:45:37.216] VERBOSE[27090] chan_dahdi.c: [1] Unhandled optional parameter 0x39 'Parameter Compatibility Information'
[2015-06-25 10:45:37.216] VERBOSE[27090] chan_dahdi.c: [1] [[2015-06-25 10:45:37.216] VERBOSE[27090] chan_dahdi.c: [1] 0x37 [2015-06-25 10:45:37.216] VERBOSE[27090] chan_dahdi.c: [1] 0xc0 [2015-06-25 10:45:37.216] VERBOSE[27090] chan_dahdi.c: [1] ]
{noformat}
Comments: