Auto Day Night Mode - We Help Reference System

Auto Day Night Mode - We Help Reference System

To assist the customers in presenting dynamic menus, Xtend IVR presents a sample script for creating free "We Help Reference System". The automated IVR irrespective of the call type i.e., inbound or outbound starts as soon as the call is picked up. A "welcome prompt" is played greeting the caller followed by a quick short brief about the provided service. Refer the script given here and deploy an IVR system with dynamic menus for bill payment, transportation and call transfer.

Download the evaluation version of Xtend IVR and install the telephony application in your system. Run the sample script from the Script Editor. Click here to refer the code.

The automated attendant will work as given below:

  • IVR waits for the call
  • Caller dials the number, IVR accepts the call and plays the Welcome message
  • IVR prompts the caller to press 1 for bill payment, press 2 for transport
  • If call arrives within the specified time, IVR transfers the call to an available agent
  • Based on the caller's request, IVR further processes the transaction
Download the source file zip download for the Auto Day Night Mode - We Help Reference System

MAIN:
	display "Waiting for call.."
	answer 1
	display "Call active.." $cli
	
	
	$mask = "12"
	
	
	speak "welcome to we help services."
	speak "for bill payment, press 1"
	speak "for transportation, press 2"

	
	$hour = time.GetHour($time)
	if $hour >= 10 and $hour < 20
		; customer care executive will be available only in between 10 AM to 8 PM
		speak "To speak to our customer care executive, press 3"
		; set input mask as "123"
		$mask = "123"
	endif
	
	$option = input(1,4,,,$mask)
	if $option = 1
		goto BILLPAY
	else if $option = 2
		goto TRANSPORT
	else if $option = 3
		goto CALLTRANSFER
	endif
	
	hangup
	goto MAIN
	
BILLPAY:
	
	hangup
	goto MAIN
	
TRANSPORT:
	
	hangup
	goto MAIN
	
CALLTRANSFER:
	
	hangup
	goto MAIN

ONHANGUP:
	hangup
	goto MAIN
	
ONSYSTEMERROR:
	log $error
	display $error
	hangup
	goto MAIN