The server portion of a client/server to interact with Asterisk voicemail mailboxes
Project description
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
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
File details
Details for the file asterisk_mbox_server-0.5.3.tar.gz
.
File metadata
- Download URL: asterisk_mbox_server-0.5.3.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 634703640f26b6aff233773a80c5aadd80310a6ee5c1627e0d38f5d9bd82dbc9 |
|
MD5 | 58a42da440a8a72c4292bd59eb12a459 |
|
BLAKE2b-256 | ee37434ccb9fdc53caf972533e8068e8841ba2d026c486abe586dfa434ec7d3b |