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.

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.

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
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.