From 061f703a71dc7f61a74b5ec88375a6f1ad71af70 Mon Sep 17 00:00:00 2001 From: Minh Nguyen Date: Sun, 25 Nov 2018 17:33:05 -0500 Subject: [PATCH] T772:voip:also check for keyword tel in from To field in SIP message for the user/number --- orkaudio/audiocaptureplugins/voip/SipParsers.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/orkaudio/audiocaptureplugins/voip/SipParsers.cpp b/orkaudio/audiocaptureplugins/voip/SipParsers.cpp index 668e4fc..d04dcb2 100644 --- a/orkaudio/audiocaptureplugins/voip/SipParsers.cpp +++ b/orkaudio/audiocaptureplugins/voip/SipParsers.cpp @@ -1311,6 +1311,10 @@ bool TrySipInvite(EthernetHeaderStruct* ethernetHeader, IpHeaderStruct* ipHeader GrabSipName(toField, toFieldEnd, info->m_toName); char* sipUser = memFindAfter("sip:", toField, toFieldEnd); + if(!sipUser) + { + sipUser = memFindAfter("tel:", toField, toFieldEnd); + } if(sipUser) { if(DLLCONFIG.m_sipReportFullAddress)