From 530afe7d97832a611b3a767cae2d17015465c3c7 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Mon, 11 Apr 2011 22:28:43 +0000 Subject: Merged revisions 313366 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r313366 | rmudgett | 2011-04-11 17:27:25 -0500 (Mon, 11 Apr 2011) | 2 lines Added "Connected Line ID" and "Connected Line ID Name" to "core show channel" output. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@313367 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/cli.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main/cli.c') diff --git a/main/cli.c b/main/cli.c index 671a2bac7..55225ed43 100644 --- a/main/cli.c +++ b/main/cli.c @@ -1438,6 +1438,8 @@ static char *handle_showchan(struct ast_cli_entry *e, int cmd, struct ast_cli_ar " 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 @@ static char *handle_showchan(struct ast_cli_entry *e, int cmd, struct ast_cli_ar 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, -- cgit v1.2.3