From 9690a7946ffd4622fa5ee943a058edab7dd00c67 Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Sat, 1 Jun 2019 12:18:45 +0000 Subject: [PATCH] FB_CALLMONITOR: fix wrong call-by-call number handling (Forum: #99839) git-svn-id: https://svn.fhem.de/fhem/trunk@19517 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 2 ++ fhem/FHEM/72_FB_CALLMONITOR.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index cafefed66..04af7420e 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 72_FB_CALLMONITOR: fix wrong call-by-call number removing for + german call-by-call numbers - change: 93_DbRep: commandRef revised - new Version: 98_Siro.pm: V1.0 (Forum: https://forum.fhem.de/index.php/topic,100605.0.html) diff --git a/fhem/FHEM/72_FB_CALLMONITOR.pm b/fhem/FHEM/72_FB_CALLMONITOR.pm index a90624301..7189afaa5 100755 --- a/fhem/FHEM/72_FB_CALLMONITOR.pm +++ b/fhem/FHEM/72_FB_CALLMONITOR.pm @@ -445,7 +445,7 @@ FB_CALLMONITOR_Read($) if($array[1] eq "CALL") { # Remove Call-By-Call number (Germany) - $external_number =~ s/^(010\d\d|0100\d\d)//g if($country_code eq "0049"); + $external_number =~ s/^(010[1-9]\d|0100[1-9]\d)//g if($country_code eq "0049"); # Remove Call-By-Call number (Austria) $external_number =~ s/^10\d\d//g if($country_code eq "0043");