From bfdf006bd27b37fb970956e312882c8834ee98e7 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Thu, 5 Oct 2017 05:29:07 +0300 Subject: [PATCH] add SAM session in webconsole --- daemon/HTTPServer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index 99ed0441..d08b6d20 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -589,8 +589,9 @@ namespace http { s << "SAM Sessions:
\r\n
\r\n"; for (auto& it: sam->GetSessions ()) { + auto& name = it.second->localDestination->GetNickname (); s << ""; - s << it.first << "
\r\n" << std::endl; + s << name << " (" << it.first << ")
\r\n" << std::endl; } }