Asterisk Call Status

I’ve created a service for which connects to the Asterisk AMI interface and sends all call statuses to an MQTT server. You can find the project here with the installation instructions.

On home assistant I subscribed to the mqtt topic that my project is publishing the events:

  - platform: mqtt
    state_topic: "asterisk/callstatus"
    name: "Asterisk Call Status"

And finaly with the help of the new home assistant logbook integration on version 0.118 I can show the call history: