AsteriskVM is a client/server which provides an API to work with Asterisk voicemail mailboxes This is the server code which needs to be installed on the Asterisk server and will monitor mailbox directory for changes
Dependencies
Linux >= 2.6.13
Python >= 3.4
Lame
Capabilities
Display all metadata for all messages stored in a single mailbox
Convert messages to text using Google’s speech-to-text service
Retrieve the audio of a message in MP3 format
Support both synchronous and asynchronous API
Configuration
Configuration is performed via the config.ini file
Parameters
host (Optional): The IP address to listen on for client requests. This defaults to all IP addresses on the server. To listen only locally, choose 127.0.0.1
port (Optional): The port to listen on for client requests. Defaults to 12345.
password (Required): A password shared between client and server. Use only alpha-numeric characters and spaces
mbox_path (Required): The path to the storage location of mailbox files. This is typically /var/spool/asterisk/voicemail/default/<mailbox>/
cache_file (Required): A fully-qualified path to a file thht can be written by the server containing transcriptions of voicemails. Example: /var/spool/asterisk/transcription.cache
google_key (Required): Your 40 characters Google API key.
cdr (Optional): Where to find CDR data. Supports various SQL databases as well as a file log.
Future work
Support moving messages
Support multiple mailboxes
Support alternate text-to-speech providers
Release files for asterisk_mbox_server 0.5.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 | |
|---|---|---|---|
| asterisk_mbox_server-0.5.3.tar.gz | 22.1 kB | Details |
Release files / asterisk_mbox_server-0.5.3.tar.gz
| Download URL | asterisk_mbox_server-0.5.3.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
634703640f26b6aff233773a80c5aadd80310a6ee5c1627e0d38f5d9bd82dbc9
|
|
BLAKE2b-256 checksum How to use checksums |
ee37434ccb9fdc53caf972533e8068e8841ba2d026c486abe586dfa434ec7d3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.5
|