Skip to content

Commit

Permalink
fix(voice): Replace Alice with Polly.Amy
Browse files Browse the repository at this point in the history
* Alice has been deprecated
  • Loading branch information
tomwanzek committed Jul 13, 2023
1 parent 3a393c0 commit f0774cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ivr/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function giveExtractionPointInstructions() {
'the street. Then Left down an alley. Avoid the police cars. Turn left ' +
'into an unfinished housing development. Fly over the roadblock. Go ' +
'passed the moon. Soon after you will see your mother ship.',
{voice: 'alice', language: 'en-GB'}
{voice: 'Polly.Amy', language: 'en-GB'}
);

twiml.say(
Expand Down Expand Up @@ -88,7 +88,7 @@ function listPlanets() {
'To call the planet Broh doe As O G, press 2. To call the planet DuhGo ' +
'bah, press 3. To call an oober asteroid to your location, press 4. To ' +
'go back to the main menu, press the star key ',
{voice: 'alice', language: 'en-GB', loop: 3}
{voice: 'Polly.Amy', language: 'en-GB', loop: 3}
);

return twiml.toString();
Expand All @@ -102,7 +102,7 @@ function redirectWelcome() {
const twiml = new VoiceResponse();

twiml.say('Returning to the main menu', {
voice: 'alice',
voice: 'Polly.Amy',
language: 'en-GB',
});

Expand Down

0 comments on commit f0774cc

Please sign in to comment.