[asterisk-commits] file: branch group/stasis_cache_usage r392855 - /team/group/stasis_cache_usag...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jun 25 12:43:42 CDT 2013
Author: file
Date: Tue Jun 25 12:43:40 2013
New Revision: 392855
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392855
Log:
Add additional information to the "Status" action. It is now equivalent to "core show channel".
Modified:
team/group/stasis_cache_usage/main/manager.c
Modified: team/group/stasis_cache_usage/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/team/group/stasis_cache_usage/main/manager.c?view=diff&rev=392855&r1=392854&r2=392855
==============================================================================
--- team/group/stasis_cache_usage/main/manager.c (original)
+++ team/group/stasis_cache_usage/main/manager.c Tue Jun 25 12:43:40 2013
@@ -3787,10 +3787,14 @@
"Event: Status\r\n"
"Privilege: Call\r\n"
"Channel: %s\r\n"
+ "Type: %s\r\n"
+ "DNID: %s\r\n"
"CallerIDNum: %s\r\n"
"CallerIDName: %s\r\n"
"ConnectedLineNum: %s\r\n"
"ConnectedLineName: %s\r\n"
+ "EffectiveConnectedLineNum: %s\r\n"
+ "EffectiveConnectedLineName: %s\r\n"
"Accountcode: %s\r\n"
"ChannelState: %d\r\n"
"ChannelStateDesc: %s\r\n"
@@ -3798,23 +3802,51 @@
"Extension: %s\r\n"
"Priority: %d\r\n"
"Seconds: %ld\r\n"
+ "TimetoHangup: %ld\r\n"
"BridgeID: %s\r\n"
"Uniqueid: %s\r\n"
+ "Linkedid: %s\r\n"
+ "Callid: %s\r\n"
+ "Application: %s\r\n"
+ "Data: %s\r\n"
+ "Nativeformats: %s\r\n"
+ "Readformat: %s\r\n"
+ "Readtrans: %s\r\n"
+ "Writeformat: %s\r\n"
+ "Writetrans: %s\r\n"
+ "Callgroup: %llu\r\n"
+ "Pickupgroup: %llu\r\n"
"%s"
"%s"
"\r\n",
snapshot->name,
+ snapshot->type,
+ snapshot->caller_dnid,
S_OR(snapshot->caller_number, "<unknown>"),
S_OR(snapshot->caller_name, "<unknown>"),
S_OR(snapshot->connected_number, "<unknown>"),
S_OR(snapshot->connected_name, "<unknown>"),
+ S_OR(snapshot->effective_number, "<unknown>"),
+ S_OR(snapshot->effective_name, "<unknown>"),
snapshot->accountcode,
snapshot->state,
ast_state2str(snapshot->state),
snapshot->context, snapshot->exten, snapshot->priority,
(long) elapsed_seconds,
+ snapshot->hanguptime.tv_sec,
snapshot->bridgeid,
snapshot->uniqueid,
+ snapshot->linkedid,
+ snapshot->callid,
+ snapshot->appl,
+ snapshot->data,
+ snapshot->nativeformats,
+ snapshot->readformat,
+ snapshot->readtrans,
+ snapshot->writeformat,
+ snapshot->writetrans,
+ snapshot->callgroup,
+ snapshot->pickupgroup,
ast_str_buffer(str),
idText);
More information about the asterisk-commits
mailing list