[Asterisk-cvs] asterisk cli.c,1.70,1.71

markster at lists.digium.com markster at lists.digium.com
Tue Feb 1 01:08:35 CST 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv22340

Modified Files:
	cli.c 
Log Message:
Fix agent moh issue (bug #3383)


Index: cli.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cli.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- cli.c	21 Jan 2005 07:06:24 -0000	1.70
+++ cli.c	1 Feb 2005 07:09:56 -0000	1.71
@@ -669,6 +669,8 @@
 	"     Frames out: %d%s\n"
 	" Time to Hangup: %ld\n"
 	"   Elapsed Time: %s\n"
+	"  Direct Bridge: %s\n"
+	"Indirect Bridge: %s\n"
 	" --   PBX   --\n"
 	"        Context: %s\n"
 	"      Extension: %s\n"
@@ -684,7 +686,7 @@
 	(c->cid.cid_dnid ? c->cid.cid_dnid : "(N/A)" ), ast_state2str(c->_state), c->_state, c->rings, c->nativeformats, c->writeformat, c->readformat,
 	c->fds[0], c->fin & 0x7fffffff, (c->fin & 0x80000000) ? " (DEBUGGED)" : "",
 	c->fout & 0x7fffffff, (c->fout & 0x80000000) ? " (DEBUGGED)" : "", (long)c->whentohangup,
-	cdrtime,
+	cdrtime, c->_bridge ? c->_bridge->name : "<none>", ast_bridged_channel(c) ? ast_bridged_channel(c)->name : "<none>", 
 	c->context, c->exten, c->priority, c->callgroup, c->pickupgroup, ( c->appl ? c->appl : "(N/A)" ),
 	( c-> data ? (!ast_strlen_zero(c->data) ? c->data : "(Empty)") : "(None)"),
 	(ast_test_flag(c, AST_FLAG_BLOCKING) ? c->blockproc : "(Not Blocking)"));




More information about the svn-commits mailing list