From 4aa3237997f7d5384ed9fe0a96a771682c45019c Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 15 Sep 2020 10:26:11 +0100 Subject: [PATCH] Handle DTMF disconnect properly. --- YSFGateway/YSFGateway.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YSFGateway/YSFGateway.cpp b/YSFGateway/YSFGateway.cpp index fb23724..671a334 100644 --- a/YSFGateway/YSFGateway.cpp +++ b/YSFGateway/YSFGateway.cpp @@ -724,7 +724,7 @@ void CYSFGateway::processDTMF(unsigned char* buffer, unsigned char dt) m_ysfNetwork->clearDestination(); m_current.clear(); - m_inactivityTimer.stop(); + m_inactivityTimer.start(); m_lostTimer.stop(); m_linkType = LINK_NONE; } @@ -735,7 +735,7 @@ void CYSFGateway::processDTMF(unsigned char* buffer, unsigned char dt) m_fcsNetwork->clearDestination(); m_current.clear(); - m_inactivityTimer.stop(); + m_inactivityTimer.start(); m_lostTimer.stop(); m_linkType = LINK_NONE; }