Answer Call
Answers a telephone call for an IVR communication.
Starting from IBM RPA 23.0.3, this command is removed from the product. For more information, see Removed.
Important:As a result from the command's removal on IBM RPA 23.0.3, it no longer works on newer IBM RPA client versions.
Command availability: IBM RPA SaaS and IBM RPA on premises
Script syntax
IBM RPA's proprietary script language has a syntax similar to other programming languages. The script syntax defines the command's syntax in the script file. You can work with this syntax in IBM RPA Studio's Script mode.
ivrAnswer
Dependencies
Use this command when the Auto answer parameter of the Connect to Chatbot command is disabled.
Example
The command causes the user's call to be answered when the user makes the call.
defVar --name userName --type String
defVar --name voiceEngine --type SpeechEngine
defVar --name languageEnglish --type Language
defVar --name replyUser --type String
// Create a voice engine and language for interaction between robot and user.
googleEngine --culture "en-US" --voice "en-US-Standard-C" voiceEngine=value
createLanguage --culture "en-US" --speech ${voiceEngine} languageEnglish=value
botConnect --type "Ivr" --language ${languageEnglish} --timeout 00:02:00
ivrAnswer
botAskName --beep --language ${languageEnglish} --text "Hello, I\'ll help you generate your billet. But first, tell me, what\'s your name?" --timeout 00:01:00 userName=first
botAskCpf --beep --text "${userName}, what is the CPF to generate the ticket?" replyUser=first
botSay --text "${userName}, your ticket will be sent to your email, thanks!"
ivrHangup
botDisconnect
Note:When you run this command using IVR type, you get prompted by a window to call the IVR. This window might show a phone number or the Zoiper QR code to calls via the Zoiper application. You see this window
in debug mode in the IBM RPA Studio.
Starting from IBM RPA 23.0.3, this window isn't available due to the IVR removal. For more information, see Removed.