diff options
-rwxr-xr-x | channels/chan_iax2.c | 3 | ||||
-rwxr-xr-x | channels/iax2-parser.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 2683bce2a..447dcd810 100755 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -508,7 +508,8 @@ static ast_mutex_t dpcache_lock; static void iax_debug_output(const char *data) { - ast_verbose(data); + if (iaxdebug) + ast_verbose(data); } static void iax_error_output(const char *data) diff --git a/channels/iax2-parser.c b/channels/iax2-parser.c index cc15c959b..dc249fad6 100755 --- a/channels/iax2-parser.c +++ b/channels/iax2-parser.c @@ -553,7 +553,7 @@ int iax_parse_ies(struct iax_ies *ies, unsigned char *data, int datalen) break; default: snprintf(tmp, sizeof(tmp), "Ignoring unknown information element '%s' (%d) of length %d\n", iax_ie2str(ie), ie, len); - errorf(tmp); + outputf(tmp); } /* Overwrite information element with 0, to null terminate previous portion */ data[0] = 0; |