-
-
Save DanyF-github/2d4746ec9545d72234055afca6b905a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
res.json([{ | |
action: 'talk', | |
text: 'Connecting' | |
}, | |
{ | |
action: 'connect', | |
from: YOUR_VONAGE_NUMBER, | |
endpoint: [{ | |
type: 'phone', | |
number: req.body.dtmf.digits | |
}] | |
} | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment