scudre / alarm-central-station-receiver

Python daemon for receiving events from a home alarm system via Contact ID protocol
Apache License 2.0
36 stars 10 forks source link

Fix bug only allowing 3 digit phone numbers #50

Open scudre opened 5 years ago

scudre commented 5 years ago

In callup.py, the initial loop that attempts to match the phone number that the alarm system is calling is implicitly expecting a phone number of 3 digits. Instead, it should support any length as this is what can be set in config.ini.