From: Richard Mudgett Date: Mon, 11 Apr 2011 22:27:25 +0000 (+0000) Subject: Added "Connected Line ID" and "Connected Line ID Name" to "core show channel" output. X-Git-Tag: 1.8.5-rc1~11^2~231 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46cc4405f45aea459c0953b5b8b1696184a023c6;p=thirdparty%2Fasterisk.git Added "Connected Line ID" and "Connected Line ID Name" to "core show channel" output. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@313366 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/cli.c b/main/cli.c index 7f4c1791fd..8fc3033f30 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,