Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(voice): Replace Alice with Polly.Amy #232

Merged
merged 2 commits into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion tests/ivr/handler.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('IvrHandler#Planets', () => {
expect(twiml).toContain('Dial');

// TwiML content
expect(twiml).toContain('+12027336637');
expect(twiml).toContain('+16513582243');
});
});

Expand Down
Loading