Small verbosity fix in chan_iax2.c from bkw_

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich
2004-10-22 15:02:13 +00:00
parent 4eab504331
commit 487dc0897a

View File

@@ -2492,7 +2492,8 @@ static int iax2_bridge(struct ast_channel *c0, struct ast_channel *c1, int flags
return -2;
}
if (c0->nativeformats != c1->nativeformats) {
ast_verbose(VERBOSE_PREFIX_3 "Operating with different codecs, can't native bridge...\n");
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "Operating with different codecs, can't native bridge...\n");
/* Remove from native mode */
lock_both(callno0, callno1);
iaxs[callno0]->bridgecallno = 0;