From 98a35010382cf5ad3c6c493b3dbc076a1dfbf51c Mon Sep 17 00:00:00 2001 From: marian Date: Fri, 13 Apr 2007 15:37:38 +0000 Subject: [PATCH] Fixed dtmf originator field in Info event handling for call monitor git-svn-id: http://voip.null.ro/svn/yate@1267 acf43c95-373e-0410-b603-e72c3f656dc1 --- modules/ysigchan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ysigchan.cpp b/modules/ysigchan.cpp index 44e63b77..052fc48a 100644 --- a/modules/ysigchan.cpp +++ b/modules/ysigchan.cpp @@ -2066,7 +2066,7 @@ void SigIsdnCallRecord::evInfo(SignallingEvent* event) if (!tmp.null()) { Message* m = message("chan.dtmf",false); m->addParam("text",tmp); - bool fromCaller = event->message()->params().getValue("fromcaller",false); + bool fromCaller = event->message()->params().getBoolValue("fromcaller",false); m->addParam("sender",fromCaller ? m_caller : m_called); Engine::enqueue(m); }