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)
| File | Size | Uploaded | |
|---|---|---|---|
| dtmf_py-0.1.3.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|