Allow controlling the "printslt" parameter at runtime.

git-svn-id: http://voip.null.ro/svn/yate@3290 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2010-05-05 15:41:05 +00:00
parent c389491462
commit 3d091d6ab4
1 changed files with 2 additions and 0 deletions

View File

@ -1620,6 +1620,8 @@ void SLT::notify(bool up)
bool SLT::control(Operation oper, NamedList* params)
{
if (params)
m_printMsg = params->getBoolValue("printslt",m_printMsg);
switch (oper) {
case Pause:
setReqStatus(OutOfService);