I managed to make an outgoing call, I was standing still for days trying to read the input of the user who received the call. Any idea how this can be done?
I managed to make an outgoing call, I was standing still for days trying to read the input of the user who received the call. Any idea how this can be done?
Hello,
You can use gather
command to read the input from the user.
Please check this endpoint for more info on how to use it in PHP
Hi, thanks for reply :) is there a way to make user input run a script with the value selected by the user?
another thing I need and can't find in the documentation is to play another audio in the same phone call based on the user's choice:
for example: the user clicks 1, I play audio 1; user clicks 2, I play audio 2 etc. etc
it's possible to do it?
For the script question you'd have to design and make a html form and have it do an action, but this isn't Telnyx related.
You can play different audio files based on DTMF. You would chain API calls together. So when you run DTMF gather, you can have it play specific audio based on the response.
Audio file can be mp3 or wav, not aware of any limits in size.
1 Person is following this question.
+ | PORTAL |
+ | REQUEST A FEATURE |
+ | API DOCS |
+ | KNOWLEDGE BASE |
+ | HELP |
+ | CONTACT TELNYX |
© Telnyx LLC |