浏览代码

cmd_dialog: added stats_active command

Daniel-Constantin Mierla 6 年之前
父节点
当前提交
fd71ea7d5a
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      kamcli/commands/cmd_dialog.py

+ 12 - 0
kamcli/commands/cmd_dialog.py

@@ -68,3 +68,15 @@ def dialog_list(ctx, callid, fromtag, totag):
     """
     command_ctl(ctx, 'dialog.terminate_dlg', [ callid, fromtag, totag ])
 
+
+##
+#
+#
[email protected]('stats_active', short_help='Show statistics for active dialogs')
+@pass_context
+def dialog_stats_active(ctx):
+    """Show statistics for active dialogs
+
+    \b
+    """
+    command_ctl(ctx, 'dialog.stats_active', [ ])