diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-02 16:59:22 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-02 16:59:22 +0000 |
commit | b58b2092937babf1e70e0482624aca62b5c4b3d6 (patch) | |
tree | 302d83525330f7e86e8dc2558fd2fab75411a398 /apps/app_dumpchan.c | |
parent | 40b2713d84d4d3681fdbdd0e3f9a1cbd12749e6b (diff) |
Add the channel's Language to the "show channel" CLI command and the DumpChan
application. (issue #9187, Junky)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57474 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dumpchan.c')
-rw-r--r-- | apps/app_dumpchan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/app_dumpchan.c b/apps/app_dumpchan.c index 58dcfc8e8..8fca2b64a 100644 --- a/apps/app_dumpchan.c +++ b/apps/app_dumpchan.c @@ -85,7 +85,8 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size) "CallerIDNum= %s\n" "CallerIDName= %s\n" "DNIDDigits= %s\n" - "RDNIS= %s\n" + "RDNIS= %s\n" + "Language= %s\n" "State= %s (%d)\n" "Rings= %d\n" "NativeFormat= %s\n" @@ -113,6 +114,7 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size) S_OR(c->cid.cid_name, "(N/A)"), S_OR(c->cid.cid_dnid, "(N/A)"), S_OR(c->cid.cid_rdnis, "(N/A)"), + c->language, ast_state2str(c->_state), c->_state, c->rings, |