Skip to main content

dtmf_py

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

Installation:

poetry

poetry add dtmf-py

pip

pip install dtmf-py

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 RTP packets for the transmitted number.
What to do with them next is up to you.

Metadata

Release files for dtmf-py 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dtmf-py 0.1.3
File Size Uploaded
dtmf_py-0.1.3.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dtmf-py 0.1.3
File Interpreter ABI Platform
dtmf_py-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 kB

Release files / dtmf_py-0.1.3.tar.gz

Download URL dtmf_py-0.1.3.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5f61768c5dac720c359d3f5c9bd1aec65a09978f57d659185d7112a17e311f90
BLAKE2b-256 checksum
How to use checksums
5a8629371cd69ccab9abf02e3f0b34f76999d6e67cb1df5b407b2632f15df6fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-52-generic

Release files / dtmf_py-0.1.3-py3-none-any.whl

Download URL dtmf_py-0.1.3-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d9c40603e16ad413b53172a3f04b1ab6e296a76407cbd8e1f95194d139402ae
BLAKE2b-256 checksum
How to use checksums
8b99c83306a26dd08aa9c917e9c45a585969aac95224422688dfeb36f049fef0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-52-generic

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page