diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 2683bce2a3658d8a29e018b6e3682b876580a942..447dcd81019adb190a15b598207d7719780efd83 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 cc15c959b3b4e30fae88efcc4e849e79a217604e..dc249fad6fe17ec331efe5bb53c862c85b2cf417 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;