<CC instance> can have more than just 1 digit

This commit is contained in:
Adi Bier / DL1HRC 2022-03-24 14:35:12 +01:00
parent 2dc30b55f7
commit 738eba4175
1 changed files with 1 additions and 1 deletions

View File

@ -1038,7 +1038,7 @@ TETRA Incoming Call Notification +CTICN
void TetraLogic::handleCallBegin(std::string message)
{
// +CTICN: 1, 0, 0, 4, 1002, 1, 1, 0, 1, 1, 0, 1000, 1
std::string reg = "\\+CTICN: [0-9],[0-9],[0-9],[0-9],[0-9]{1,17},[0-9],[0-9],[0-9],[0-9],[0-9],[0-9],[0-9]{1,17},[0-9]";
std::string reg = "\\+CTICN: [0-9]{1,3},[0-9],[0-9],[0-9],[0-9]{1,17},[0-9],[0-9],[0-9],[0-9],[0-9],[0-9],[0-9]{1,17},[0-9]";
if (!rmatch(message, reg))
{