2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-09 20:57:11 +00:00

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
This commit is contained in:
markusbloch 2019-06-01 12:18:45 +00:00
parent fb808f841f
commit 9690a7946f
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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");