Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 178931f

Browse files
Merge pull request #887 from TwilioDevEd/fix-dtmf-node-example
Fix node example so pause is on a separate line.
2 parents 88746a3 + 7f22a73 commit 178931f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

guides/voice/gather-dtmf-tones-guide/gather-example-step-1/example.3.x.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ app.post('/voice', (request, response) => {
2121
twiml.say('You need support. We will help!');
2222
break;
2323
default:
24-
twiml.say("Sorry, I don't understand that choice.").pause();
24+
twiml.say("Sorry, I don't understand that choice.");
25+
twiml.pause();
2526
gather();
2627
break;
2728
}

guides/voice/gather-dtmf-tones-guide/gather-example-step-2/example.3.x.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ app.post('/gather', (request, response) => {
3333
twiml.say('You need support. We will help!');
3434
break;
3535
default:
36-
twiml.say("Sorry, I don't understand that choice.").pause();
36+
twiml.say("Sorry, I don't understand that choice.");
37+
twiml.pause();
3738
twiml.redirect('/voice');
3839
break;
3940
}

0 commit comments

Comments
 (0)