From d6fbc823c7016919e2b603de004875ddecb2347c Mon Sep 17 00:00:00 2001 From: markusbloch Date: Fri, 12 Dec 2014 17:11:44 +0000 Subject: [PATCH] FB_CALLMONITOR: fixing not working company numbers reverse search for search.ch git-svn-id: https://svn.fhem.de/fhem/trunk@7191 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 2 ++ fhem/FHEM/72_FB_CALLMONITOR.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 4bb3371cd..1be0e81e4 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: FB_CALLMONITOR: fixing not working company numbers + reverse search for search.ch - bugfix: 70_PushNotifier repair set function (xusader) - bugfix: PRESENCE: fixing not working timer, when using set [...] statusRequest - bugfix: FB_CALLMONITOR: fixing reverse search for klicktel.de diff --git a/fhem/FHEM/72_FB_CALLMONITOR.pm b/fhem/FHEM/72_FB_CALLMONITOR.pm index 28e3619a6..b34013a9a 100755 --- a/fhem/FHEM/72_FB_CALLMONITOR.pm +++ b/fhem/FHEM/72_FB_CALLMONITOR.pm @@ -486,7 +486,7 @@ FB_CALLMONITOR_reverseSearch($$) { Log3 $name, 4, "FB_CALLMONITOR ($name) - using search.ch for reverse search of $number"; - $result = GetFileFromURL("http://tel.search.ch/?tel=".$number, 5, undef, 1); + $result = GetFileFromURL("http://tel.search.ch/?was=".$number, 5, undef, 1); if(not defined($result)) { if(AttrVal($name, "reverse-search-cache", "0") eq "1") @@ -499,7 +499,7 @@ FB_CALLMONITOR_reverseSearch($$) else { #Log 2, $result; - if($result =~ /
(.+?)<\/a><\/h5>/) + if($result =~ /
(.+?)<\/a><\/h5>/) { $invert_match = $1; $invert_match = FB_CALLMONITOR_html2txt($invert_match);