Index: channel.c =================================================================== RCS file: /usr/cvsroot/asterisk/channel.c,v retrieving revision 1.175 diff -u -r1.175 channel.c --- channel.c 4 Mar 2005 06:47:23 -0000 1.175 +++ channel.c 18 Mar 2005 03:13:14 -0000 @@ -1743,6 +1743,7 @@ ast_translator_free_path(chan->writetrans); /* Build a translation path from the user write format to the raw writing format */ chan->writetrans = ast_translator_build_path(chan->rawwriteformat, chan->writeformat); + ast_verbose(VERBOSE_PREFIX_2 "Set channel %s to write format %s\n", chan->name, ast_getformatname(chan->writeformat)); if (option_debug) ast_log(LOG_DEBUG, "Set channel %s to write format %s\n", chan->name, ast_getformatname(chan->writeformat)); ast_mutex_unlock(&chan->lock); @@ -1776,6 +1777,7 @@ ast_translator_free_path(chan->readtrans); /* Build a translation path from the raw read format to the user reading format */ chan->readtrans = ast_translator_build_path(chan->readformat, chan->rawreadformat); + ast_verbose(VERBOSE_PREFIX_2 "Set channel %s to read format %s\n", chan->name, ast_getformatname(chan->readformat)); if (option_debug) ast_log(LOG_DEBUG, "Set channel %s to read format %s\n", chan->name, ast_getformatname(chan->readformat));