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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user