Skip to main content

The "anonpi" module is a Python package designed to streamline interactions with calling systems. It simplifies the development of applications that require features like machine detection, IVR, DTMF handling, call recording, playback, and more. This module provides a clean and intuitive API for seamless integration into Python applications.

Project description

anonpi: Python Module for Calling Systems

The anonpi module is a powerful Python package that provides a convenient interface for interacting with calling systems. It simplifies the development of applications that require functionalities such as machine detection, IVR (Interactive Voice Response), DTMF (Dual-Tone Multi-Frequency) handling, recording, playback, and more.

Key Features

  • Machine Detection: Easily detect whether a call is being answered by a human or an automated system, enabling intelligent call handling and routing.
  • IVR Support: Build interactive voice response systems by creating menus, prompts, and collecting user input through voice or DTMF tones.
  • DTMF Handling: Efficiently capture and process DTMF tones (telephone keypad input) during calls for user interaction, menu navigation, and decision-making.
  • Call Recording: Seamlessly record incoming or outgoing calls, enabling compliance with legal requirements, quality monitoring, and archiving for later analysis.
  • Playback Functionality: Retrieve and play back pre-recorded audio files during calls, enhancing the user experience and providing personalized content.
  • Call Control: Take control of call initiation, termination, and manipulation, allowing for call transfers, forwarding, muting, and more.

Usage

The anonpi module provides a clean and intuitive API, making it easy to integrate calling functionalities into your Python applications. Here's an example of how you can use the module to perform machine detection during a call:

import anonpi

anonpi.api_key = "<API KEY>"

call = anonpi.Call.create(
    from_number="18888888888",
    to_number="1234567890",
    callback_url="https://callback.url",
    amd=False
)

# operations using call
call.gather_using_audio(
    audio_url="https://audio.url",
    dtmf_digits="6"
    )

# last hangup the call
call.hangup()

Getting Started

To install the anonpi module, use the following command:

pip install anonpi

Add any additional installation instructions or requirements here.

Disclaimer: Ensure compliance with all legal and regulatory requirements when using the "anonpi" module for call recording or related functionalities.

Additional Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anonpi-2.0.1.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

anonpi-2.0.1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file anonpi-2.0.1.tar.gz.

File metadata

  • Download URL: anonpi-2.0.1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for anonpi-2.0.1.tar.gz
Algorithm Hash digest
SHA256 e44d106e6a1f7a37c281e23e4937849c2508bc119d4f914a26f9ad3f56e3656e
MD5 7a4b7f53f9009b3569786121e8803113
BLAKE2b-256 09091f7438b9645ed7e75398999cee22817f7b6f4eab4ad3ba6616b597c31c5f

See more details on using hashes here.

File details

Details for the file anonpi-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: anonpi-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for anonpi-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a9faedd5621f3c55e038dfae40c0c8c89b90af8af06b6ed962ed2503ecf3e21
MD5 8a9e8193aef1cb51e89779f8d028bbac
BLAKE2b-256 6da4703038b886347395c0fd8971497e6652a8cc825159d310fea40a6ed3e967

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page