diff options
-rw-r--r-- | main/asterisk.c | 3 | ||||
-rw-r--r-- | pbx/pbx_gtkconsole.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index ef6c64de6..eb4d79d1a 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -906,6 +906,9 @@ void ast_console_puts(const char *string) static void network_verboser(const char *s) { + if (*s == 127) { + s++; + } ast_network_puts_mutable(s); } diff --git a/pbx/pbx_gtkconsole.c b/pbx/pbx_gtkconsole.c index 4a4c3ba45..75f1c8f10 100644 --- a/pbx/pbx_gtkconsole.c +++ b/pbx/pbx_gtkconsole.c @@ -139,6 +139,10 @@ static void __verboser(const char *_stuff) static void verboser(const char *stuff) { + if (*stuff == 127) { + stuff++; + } + ast_mutex_lock(&verb_lock); /* Lock appropriately if we're really being called in verbose mode */ __verboser(stuff); |