2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-18 05:56:03 +00:00

FB_CALLMONITOR: remove trailing hash codes only if external number does not start with * (Forum: #85761)

git-svn-id: https://svn.fhem.de/fhem/trunk@16482 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2018-03-25 09:28:08 +00:00
parent df51ca236f
commit 163abbf792

View File

@ -416,7 +416,7 @@ FB_CALLMONITOR_Read($)
}
# Remove trailing hash sign and everything afterwards
$external_number =~ s/#.*$//;
$external_number =~ s/#.*$// unless($external_number =~ /^\*/); # Forum #85761
$reverse_search = FB_CALLMONITOR_reverseSearch($hash, $external_number) if(AttrVal($name, "reverse-search", "none") ne "none");