Difference between revisions of "Cepstral"

From ViciWiki
Jump to: navigation, search
(Instructions)
(Instructions)
Line 14: Line 14:
 
# Require asterisk 1.6 or above fresh install: [[Install PIAF Purple on fresh server]]
 
# Require asterisk 1.6 or above fresh install: [[Install PIAF Purple on fresh server]]
 
# [[Install Cepstral on PIAF server]]
 
# [[Install Cepstral on PIAF server]]
# More to come momentarily as we convert our internal notes.
 
  +
==== Create table to hold TTS Data ====
  +
<pre>
  +
--
  +
-- Table structure for table `cepstral_passthru`
  +
--
  +
  +
CREATE TABLE IF NOT EXISTS `cepstral_passthru` (
  +
`NUID` varchar(36) NOT NULL,
  +
`dtmfrules` varchar(20) NOT NULL,
  +
`dtmfpassback` varchar(20) NOT NULL,
  +
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
  +
`text` varchar(600) NOT NULL,
  +
PRIMARY KEY (`NUID`)
  +
) ENGINE=MEMORY DEFAULT CHARSET=latin1;
  +
</pre>
  +
==== Ensure both Vicidial and Cepstral server can access table ====
  +
==== Register Cepstral SIP trunk to Vicidial SIP account ====
  +
==== Pass call from Vicidial to Cepstral ====
  +
# Create Random Number to identify this call
  +
# Gather Data and DTMF Rules on Vicidial Server
  +
# Store Data from Vicidial server in table using Number generated
  +
# Dial Number from Vicidial to Cepstral
  +
==== Cepstral Services the Call ====
  +
# Use number dialed (DID) as key to grab TTS and DTMF rules
  +
# Use Cepstral to play sound
  +
# Collect keys pressed (if any) and place in dtmfpassback
  +
# Terminate call
  +
==== Vicidial Server Continues call ====
  +
# Upon termination of Cepstral leg, capture dtmfpassback and route accordingly.
  +
= Details for each step coming momentarily =

Revision as of 01:14, 12 July 2012

New version of Cepstral is not Compatible with Vicidial

  • Note: Vicidial supports Asterisk 1.4 and 1.2. Cepstral now supports only asterisk 1.6 and above.

Solution: Separate Cepstral server to play sounds to Vicidial.

Method

  1. Vicidial stores text and number in a table.
  2. Vicidial calls Cepstral with the number.
  3. Cepstral reaches into the table for that number that was called (DID) and retrieves the Text.
  4. Cepstral plays the Text-To-Speech. Interrupt is captured to another field of the same table entry if it occurs.
  5. Cepstral terminates call, returning control to Vicidial

Instructions

  1. Require asterisk 1.6 or above fresh install: Install PIAF Purple on fresh server
  2. Install Cepstral on PIAF server

Create table to hold TTS Data

--
-- Table structure for table `cepstral_passthru`
--

CREATE TABLE IF NOT EXISTS `cepstral_passthru` (
  `NUID` varchar(36) NOT NULL,
  `dtmfrules` varchar(20) NOT NULL,
  `dtmfpassback` varchar(20) NOT NULL,
  `date` timestamp NOT NULL default CURRENT_TIMESTAMP,
  `text` varchar(600) NOT NULL,
  PRIMARY KEY  (`NUID`)
) ENGINE=MEMORY DEFAULT CHARSET=latin1;

Ensure both Vicidial and Cepstral server can access table

Register Cepstral SIP trunk to Vicidial SIP account

Pass call from Vicidial to Cepstral

  1. Create Random Number to identify this call
  2. Gather Data and DTMF Rules on Vicidial Server
  3. Store Data from Vicidial server in table using Number generated
  4. Dial Number from Vicidial to Cepstral

Cepstral Services the Call

  1. Use number dialed (DID) as key to grab TTS and DTMF rules
  2. Use Cepstral to play sound
  3. Collect keys pressed (if any) and place in dtmfpassback
  4. Terminate call

Vicidial Server Continues call

  1. Upon termination of Cepstral leg, capture dtmfpassback and route accordingly.

Details for each step coming momentarily