From fb051e38661b8ba975a215ee2f47d25b73221735 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 18 Oct 2016 10:35:28 +0100 Subject: [PATCH] Allow the unlink voice to be heard. --- P25Gateway/P25Gateway.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/P25Gateway/P25Gateway.cpp b/P25Gateway/P25Gateway.cpp index 109749e..46b4002 100644 --- a/P25Gateway/P25Gateway.cpp +++ b/P25Gateway/P25Gateway.cpp @@ -283,6 +283,9 @@ void CP25Gateway::run() lostTimer.stop(); } + if (speech != NULL) + speech->announce(dstId); + currentId = dstId; } @@ -299,9 +302,6 @@ void CP25Gateway::run() remoteNetwork.writePoll(currentAddr, currentPort); remoteNetwork.writePoll(currentAddr, currentPort); - if (speech != NULL) - speech->announce(dstId); - pollTimer.start(); lostTimer.start(); }