homebridge-callmonitor icon indicating copy to clipboard operation
homebridge-callmonitor copied to clipboard

Added selective line parameter "incomingLines"

Open bgewehr opened this issue 3 years ago • 4 comments

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 avatar Mar 01 '21 19:03 bgewehr

Improved handling of DISCONNECT events

bgewehr avatar Mar 02 '21 18:03 bgewehr

Small bug fixed

bgewehr avatar Mar 02 '21 18:03 bgewehr

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 avatar Mar 02 '21 18:03 bgewehr

Small addition to readme

bgewehr avatar Mar 02 '21 19:03 bgewehr