I created a list which I filled only with zeros, sometimes I am writting ones in some cases of the list but my goal is to put the list to zero every 30 seconds and I don't know how to do it (I am a newbie in Python).
I found some parts of code on Internet and I assembled them. I am reading SIP prints, when I received "SIP/2.0 200 OK", it means terminal is active and I put 'one' in the case 25 if it's IP adress is 192.168.1.25. But the mobile can not be registered after being registered few times ago, so I would like to put the list to 0 every 30 seconds.