DTMF (rfc2833) generator
Project description
dtmf_py
This module allows you to get a list of tone dialing packages.
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 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.1.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dtmf_py-0.1.1.tar.gz.
File metadata
- Download URL: dtmf_py-0.1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da1c9ecd05036b7d0e3a12d98e985e3a67dc89faef3100023e3e74114148546c
|
|
| MD5 |
981d79cac71a8c27d3bf7304f8294668
|
|
| BLAKE2b-256 |
2b5a6a13fca14cb191d05a7cee1c78355902c4955171f2ef1f0a990cdcb8427f
|
File details
Details for the file dtmf_py-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dtmf_py-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be9699736369140243392d71ace321550a7e801aa38553d98fd9f90906f2bc4c
|
|
| MD5 |
0d9ba69c44c6cbd574e374302508ed18
|
|
| BLAKE2b-256 |
e95b553e931cd0100ae2fcc41c352e7756cd462ae621d71c3c4f0eb3e7d6b3f7
|