From a0b6f590be497cecf8539517eb173a7adf6417e2 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 27 May 2009 14:28:46 +0000 Subject: [PATCH] do not scare beginners with wrong message about disabling inbound/outbound calls (thanks Juha) git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1421 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/dsm/DSM.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/dsm/DSM.cpp b/apps/dsm/DSM.cpp index 2f80824d..575d62af 100644 --- a/apps/dsm/DSM.cpp +++ b/apps/dsm/DSM.cpp @@ -227,12 +227,12 @@ int DSMFactory::onLoad() } InboundStartDiag = cfg.getParameter("inbound_start_diag"); - if (InboundStartDiag.empty()) { - INFO("no 'inbound_start_diag' set in config. inbound calls disabled.\n"); + if (InboundStartDiag.empty() && register_names.empty()) { + INFO("no 'inbound_start_diag' set in config. inbound calls with application 'dsm' disabled.\n"); } OutboundStartDiag = cfg.getParameter("outbound_start_diag"); - if (OutboundStartDiag.empty()) { - INFO("no 'outbound_start_diag' set in config. outbound calls disabled.\n"); + if (OutboundStartDiag.empty() && register_names.empty()) { + INFO("no 'outbound_start_diag' set in config. outbound calls with application 'dsm' disabled.\n"); } if (!InboundStartDiag.empty() || OutboundStartDiag.empty())