[asterisk-commits] rmudgett: branch 1.8 r313366 - /branches/1.8/main/cli.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 11 17:27:31 CDT 2011


Author: rmudgett
Date: Mon Apr 11 17:27:25 2011
New Revision: 313366

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=313366
Log:
Added "Connected Line ID" and "Connected Line ID Name" to "core show channel" output.

Modified:
    branches/1.8/main/cli.c

Modified: branches/1.8/main/cli.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/cli.c?view=diff&rev=313366&r1=313365&r2=313366
==============================================================================
--- branches/1.8/main/cli.c (original)
+++ branches/1.8/main/cli.c Mon Apr 11 17:27:25 2011
@@ -1438,6 +1438,8 @@
 		"       LinkedID: %s\n"
 		"      Caller ID: %s\n"
 		" Caller ID Name: %s\n"
+		"Connected Line ID: %s\n"
+		"Connected Line ID Name: %s\n"
 		"    DNID Digits: %s\n"
 		"       Language: %s\n"
 		"          State: %s (%d)\n"
@@ -1466,6 +1468,8 @@
 		c->name, c->tech->type, c->uniqueid, c->linkedid,
 		S_COR(c->caller.id.number.valid, c->caller.id.number.str, "(N/A)"),
 		S_COR(c->caller.id.name.valid, c->caller.id.name.str, "(N/A)"),
+		S_COR(c->connected.id.number.valid, c->connected.id.number.str, "(N/A)"),
+		S_COR(c->connected.id.name.valid, c->connected.id.name.str, "(N/A)"),
 		S_OR(c->dialed.number.str, "(N/A)"),
 		c->language,	
 		ast_state2str(c->_state), c->_state, c->rings, 




More information about the asterisk-commits mailing list