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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10290 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2015-12-28 21:23:59 +00:00
parent 21715de826
commit 68b5b71e83
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);