A Freeswitch eventsocket transport for Vumi.
Project description
A Freeswitch eventsocket transport for Vumi.
You can contact the Vumi development team in the following ways:
via email by joining the the vumi-dev@googlegroups.com mailing list
on irc in #vumi on the Freenode IRC network
Issues can be filed in the GitHub issue tracker. Please don’t use the issue tracker for general support queries.
Usage
Voice transports may receive additional hints for how to handle outbound messages in the voice section of helper_metadata. The voice section may contain the following keys:
- speech_url:
The URL where the voice file to be played can be found. If this field is absent or None, a text-to-speech engine will be used to generate a suitable sound from the message content, otherwise this voice file will be played.
This can either be a string containing the URL, or a list of strings containing URLs to sound files that should be joined to form the message.
- wait_for:
Gather response characters until the given DTMF character is encountered. Commonly either # or *. If absent or None, an inbound message is sent as soon as a single DTMF character arrives.
- barge_in:
A boolean value that if True, stops the playback of the message when a DTMF character arrives. This allows the response to the input to be played immediately, rather than waiting for the first message to finish playing before hearing the response message. Defaults to False.
- tries:
If barge_in is True, this will set the number of times a message is played if no input is received. Defaults to 1.
- time_gap:
If barge_in is True and tries is greater than 1, this specifies the length of the pause (in ms) that is given before repeating the message, if no DTMF characters are received. Defaults to 3000.
Example:
"helper_metadata": { "voice": { "speech_url": [ "http://www.example.com/voice/ab34f611cdee.ogg", "http://www.example.com/voice/cd43f622dcef.ogg" ], "wait_for": "#", "barge_in": True, "tries": 3, "time_gap": 5000, }, }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vxfreeswitch-0.1.10.tar.gz
.
File metadata
- Download URL: vxfreeswitch-0.1.10.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f16c51aa4e03f0bde7fd82bfd49cf8d76f9bf33bb10a0be67dbe049f99d962f6 |
|
MD5 | 6fb85acc825db2cfa8ea03cfc51961e2 |
|
BLAKE2b-256 | ebe200c51873c70ffda8ea5e83ec513c7d3c7d1f913d72b6a1b441b041942475 |
File details
Details for the file vxfreeswitch-0.1.10-py2-none-any.whl
.
File metadata
- Download URL: vxfreeswitch-0.1.10-py2-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee032f1e2058e62cc1b62f1773c4840723cf8e77f35db88d7fa90ee53f97986a |
|
MD5 | 9e5d89196b774a391196ccaf3e40e635 |
|
BLAKE2b-256 | fb301164ea3cfb892e9ef15f93077ad8e362c62981971cb8e932ae2c860cad33 |