FS-9595 [avmd] Extend avmd show api

Add number of sessions currently running to output of avmd show api.
This commit is contained in:
Piotr Gregor committed 2016-10-01 21:41:54 +01:00
1 parent de223ea2c6
commit b24c2ac945
4 files changed
+81 -2

No files matched your search

+1
View File
@@ -943,6 +943,7 @@ static void avmd_show(switch_stream_handle_t *stream, switch_mutex_t *mutex) {
stream->write_function(stream, "inbound channel \t%u\n", avmd_globals.settings.inbound_channnel);
stream->write_function(stream, "outbound channel \t%u\n", avmd_globals.settings.outbound_channnel);
stream->write_function(stream, "detection mode \t%u\n", avmd_globals.settings.mode);
stream->write_function(stream, "sessions \t%"PRId64"\n", avmd_globals.session_n);
stream->write_function(stream, "\n\n");
if (mutex != NULL) {