mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
FS-9595 [avmd] Extend avmd show api
Add number of sessions currently running to output of avmd show api.
This commit is contained in:
1 parent
de223ea2c6
commit
b24c2ac945
4 files changed
+81
-2
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user