Skip to content

Commit

Permalink
T772:voip:also check for keyword tel in from To field in SIP message …
Browse files Browse the repository at this point in the history
…for the user/number
  • Loading branch information
sunmagic committed Nov 25, 2018
1 parent eafd377 commit 061f703
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions orkaudio/audiocaptureplugins/voip/SipParsers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 061f703

Please sign in to comment.