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
This commit is contained in:
marian 2007-04-13 15:37:38 +00:00
parent 1bfbe7d34e
commit 98a3501038
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}