Pyhotline is a python module that enables you to create automated receptionist style hotlines, that in turn, can be used by clients/employees to dispatch a trouble issue to scheduled on call contacts.
The module provides 3 main functionalities:
- Inbound call handling:
- Requires caller authentication
- Provides the ability for a client to leave a detailed message about the issue they are experiencing
- Queue handling:
- Monitors the message queue for any new issues
- Attempts to contact the scheduled on call person
- If unsuccessful, will attempt to contact emergency contacts instead
- Sends reports about handled/unhandled issues
- Outbound call handling:
- Requires the contact to accept/reject the issue
- Allows the contact to listen to the message left by the caller
Pyhotline utilizes an SQLite database for each defined hotline, where it stores client information (client name, pin number) and message details. In addition, pyhotline utilizes a JSON configuration file, which defines hotline attributes.
Due to the usage of AGI, the module and all of the associated scripts should be ran on the same server that Asterisk runs on.
Note: The module currently only supports Swift for text-to-speech, however there are plans to add Festival functionality as well.
Download the latest version from here: pyhotline-0.1.9.tar.gz