2
0
Эх сурвалжийг харах

cmd_dialog: added stats_active command

Daniel-Constantin Mierla 6 жил өмнө
parent
commit
fd71ea7d5a

+ 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', [ ])