End Call
Ends a telephone call between robot and user, made by the communication type IVR.
Starting from IBM RPA 23.0.3, this command is removed from the product. For more information, see Removed.
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.
ivrHangup
Example
After the robot queries the users about their ZIP code, using the IVR communication type, the telephone call between robot and user is terminated using the End Call command.
defVar --name voiceEngine --type SpeechEngine
defVar --name language --type Language
// Definition of the language and vocalization of the IVR.
googleEngine --culture "en-US" --voice "en-US-Standard-C" voiceEngine=value
createLanguage --culture "en-US" --speech ${voiceEngine} language=value
// Connection to IVR channel via communication type IVR.
botConnect --type "Ivr" --language ${language} --timeout "00:02:00"
botSay --text "Hello! Please tell me, what is your zip code?" --textformat "0"
// Ends the call.
ivrHangup
botDisconnect
Starting from IBM RPA 23.0.3, this window isn't available due to the IVR removal. For more information, see Removed.