Skip to content

Added selective line parameter "incomingLines" #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

bgewehr
Copy link

@bgewehr bgewehr commented Mar 1, 2021

With the new config parameter on device level, the selection of single or multiple lines is possible for each device:

'incomingLines':['123456','234567'];

If a call comes in for one of these lines, the incoming sensor trigers, otherwise it doesn't. This allows you to create simple automations on specific phone calls.

@bgewehr
Copy link
Author

bgewehr commented Mar 2, 2021

Improved handling of DISCONNECT events

@bgewehr
Copy link
Author

bgewehr commented Mar 2, 2021

Small bug fixed

@bgewehr
Copy link
Author

bgewehr commented Mar 2, 2021

See here the output to the log (in case the active line matches the configured incomingLines):
[3/2/2021, 7:46:11 PM] [CallMonitor] RING on line 54XXXXX2 by caller 01XXXXXXX36 with incomingLines config: 54XXXXX2
[3/2/2021, 7:46:16 PM] [CallMonitor] DISCONNECT on line 54XXXXX2 by caller 01XXXXXX36 with incomingLines config: 54XXXXX2

@bgewehr
Copy link
Author

bgewehr commented Mar 2, 2021

Small addition to readme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant