2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-10 20:19:50 +00:00

FB_CALLLIST: start call processing only when "event:" is triggered by corresponding FB_CALLMONITOR device.

git-svn-id: https://svn.fhem.de/fhem/trunk@10290 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2015-12-28 21:23:59 +00:00
parent ead22b7cba
commit fdd70b3def
2 changed files with 4 additions and 0 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.
- change: FB_CALLLIST: start call processing only when "event:" is triggered
by corresponding FB_CALLMONITOR device.
- change: FB_CALLMONITOR: default value for attr fritzbox-remote-phonebook-via
has been changed to "tr064" (previous: "web") to ensure
no problems with new Fritz!OS web layout.

View File

@ -291,6 +291,8 @@ sub FB_CALLLIST_Notify($$)
return undef;
}
return if(!grep(m/^event:/, @{$d->{CHANGED}}));
my $event = ReadingsVal($fb, "event", undef);
my $call_id = ReadingsVal($fb, "call_id", undef);