Skip to main content

DTMF (rfc2833) generator

Project description

dtmf_py

This module allows you to get a list of tone dialing packages.

Usage:

from dtmf_py import DTMF
from rtp import PayloadType


payload: list[bytes] = DTMF.make_numbers_packets(
    numbers='123*',
    payload_type=PayloadType.DYNAMIC_101,
    tone_packets_count=10
)

This code returns a list of tone dialing packets for the transmitted number.
What to do with them next is up to you.

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

dtmf_py-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dtmf_py-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file dtmf_py-0.1.0.tar.gz.

File metadata

  • Download URL: dtmf_py-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-52-generic

File hashes

Hashes for dtmf_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 668bd52333e183fc128661de127454949cee6fe1a4a934c256ee8c3044ebc269
MD5 0a95d68c7459a9f3efa36128ad0a1c63
BLAKE2b-256 752ad3f83c9ae364e061d7f87c8578c466128a3b702357d4c02a40b3b0dea373

See more details on using hashes here.

File details

Details for the file dtmf_py-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dtmf_py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-52-generic

File hashes

Hashes for dtmf_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15bff886f42433fec09e6e0c8a0f73efccdb8240b5871b838428bb58c43770f8
MD5 c8109f91f13806ac86f4f7e9f76b7a23
BLAKE2b-256 660a90724efea42f6bf5f787b22625c776c53c349ed0e2c21e4e637072b11fc3

See more details on using hashes here.

Supported by

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