Skip to content
Snippets Groups Projects
Commit a717eef7 authored by Russell Bryant's avatar Russell Bryant
Browse files

add RDNIS to the DumpChan application (issue #7432, junky)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 4075e572
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,7 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size)
"CallerID= %s\n"
"CallerIDName= %s\n"
"DNIDDigits= %s\n"
"RDNIS= %s\n"
"State= %s (%d)\n"
"Rings= %d\n"
"NativeFormat= %s\n"
......@@ -107,9 +108,10 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size)
c->name,
c->tech->type,
c->uniqueid,
(c->cid.cid_num ? c->cid.cid_num : "(N/A)"),
(c->cid.cid_name ? c->cid.cid_name : "(N/A)"),
(c->cid.cid_dnid ? c->cid.cid_dnid : "(N/A)" ),
S_OR(c->cid.cid_num, "(N/A)"),
S_OR(c->cid.cid_name, "(N/A)"),
S_OR(c->cid.cid_dnid, "(N/A)"),
S_OR(c->cid.cid_rdnis, "(N/A)"),
ast_state2str(c->_state),
c->_state,
c->rings,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment