py-zammad-cti

Free

A lightweight Python client for Zammad’s Generic CTI API to notify the system about call lifecycle events.

py-zammad-cti is a lightweight Python client specifically designed to interact with Zammad's Generic CTI (Computer Telephony Integration) interface. The library allows developers to connect external telephony systems (such as Asterisk, FreePBX, or proprietary solutions) to Zammad without having to manually construct complex HTTP requests. By utilizing Python type hints and a clear structure, it simplifies the transmission of call events like 'newCall', 'answer', and 'hangup'. This enables features such as caller popups and automatic ticket-to-caller mapping in real-time.

Features

  • Notify New Call

    Notifies Zammad about new incoming calls to trigger notifications or user lookups.

  • Notify Answered Call

    Reports when a call has been picked up by an agent.

  • Notify Hangup

    Informs the system that a call has ended to log duration or close popups.

  • Typed API

    Provides a clean Python interface with type hints for easy integration into existing telephony scripts.

Related packages