Hello,
I have a asterisk-like PBX system (Askozia) at home. It generates syslog rules with the CDR (Call Detail Record) data in it.
Jan 11 10:47:53 192.168.1.7 asterisk[166]: CDR[166]: ""+31123456789" <0123456789>","0123456789","0123123123","SIP-PROVIDER-95830527648b45cb1af6e0-incoming","SIP/0123123123-0321321321","SIP/1234-0123000","VoiceMail","1234|u|0123123123","2019-01-11 10:47:17","2019-01-11 10:47:48","2019-01-11 10:47:53","36","5","ANSWERED","DOCUMENTATION","","1547200037.2",""
I would like to filter out these lines and send the relevant data (who has called me?) to Home-Assistant. On the GUI I want to show this as a sensor/missed call.
Any ideas on how to accomplish this?
Kind regards,
Remco Hannink.