
There are two Fritzbox devices which can be used together with a lua script: a text "device", which delivers the calling phone number and a switch device, which changes from "Off" to "On" when a call is picked up.
When the phone rings, I see in lua a device change of the text device, which triggers my script (and which I use to display the calling number). There is also an entry in the protocol of the device. When the call is picked up, the change from "Off" to "On" gives me another trigger - fine. When the call is finished, the switch related to Fritzbox changes from "On" to "Off" and triggers my script (where I turn off the display of the calling number). The protocol of the text "device" also shows an entry (Disconnect), but this does *not* trigger my lua script (no device_changed). It would - in my view - be an improvement, if a disconnect signal from Fritzbox would not only produce an entry in the device's protocol, but also would trigger a device_changed.
The reason for this suggestion is, that if it rings and the call is not picked up, I never get a trigger when the caller disconnects, because the switch mentioned above does not change (it changes only if the call is picked up) and the text "device" only fires on RING, but not on DISCONNECT.
So, may I suggest that the text "device" of Fritzbox also signals a change to the event system, when there is a DISCONNECT from the Fritzbox.
Thank you for considering my suggestion.
Josh