[asterisk-commits] russell: trunk r55004 - /trunk/apps/app_dumpchan.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Feb 16 15:21:16 MST 2007


Author: russell
Date: Fri Feb 16 16:21:16 2007
New Revision: 55004

URL: http://svn.digium.com/view/asterisk?view=rev&rev=55004
Log:
Print the raw read/write formats in the DumpChan application.
(issue #9083, junky)

Modified:
    trunk/apps/app_dumpchan.c

Modified: trunk/apps/app_dumpchan.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_dumpchan.c?view=diff&rev=55004&r1=55003&r2=55004
==============================================================================
--- trunk/apps/app_dumpchan.c (original)
+++ trunk/apps/app_dumpchan.c Fri Feb 16 16:21:16 2007
@@ -91,6 +91,8 @@
 			 "NativeFormat=       %s\n"
 			 "WriteFormat=        %s\n"
 			 "ReadFormat=         %s\n"
+			 "RawWriteFormat=     %s\n"
+			 "RawReadFormat=      %s\n"
 			 "1stFileDescriptor=  %d\n"
 			 "Framesin=           %d %s\n"
 			 "Framesout=          %d %s\n"
@@ -117,6 +119,8 @@
 			 ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->nativeformats),
 			 ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->writeformat),
 			 ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->readformat),
+			 ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->rawwriteformat),
+			 ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->rawreadformat),
 			 c->fds[0], c->fin & ~DEBUGCHAN_FLAG, (c->fin & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "",
 			 c->fout & ~DEBUGCHAN_FLAG, (c->fout & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "", (long)c->whentohangup,
 			 hour,



More information about the asterisk-commits mailing list