Call Monitoring doesn't work after a time #8
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Reference: homer77/FritzAB2Matrix#8
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At least on one of the test machines
but after a call or even leaving a message nothing is happening. Neither in the log nor with the process.
There need to be more checks in the lib.monitoring to find out if Monitoring is at least running.
An alternativ would be to run the script with a cron job instead of CallMonitoring. But it feels less elegant.
Sidetrack: I need to find out, how I get every output into the logs ...
Update:
Interestingly after a received call some hours later I suddenly received the old message over matrix!
So it isn't like the programm/processes weren't working but obviously CallMonitoring is a little more complex as I thought and there might be some delay times that I yet don't understand.
Update Next Day:
Next day, another test. Left a message on both boxes.
This seemed likewise the evening before. So it seems that the CallMonitoring doesn't work on Box2 when I leave the message but if another call is disconnected.
The problem is that obviously the new message isn't yet in the list the fritzbox sends . So the script is fired after the disconnect of the call but it seems to be so fast that the message isn't yet appearing but one call later it is.
Why this isn't happening at the other test environment isn't clear.
Maybe a short delay by 'time.sleep(4)' will prevent this from happening?