AutoConfig - Automatic Attendant

AutoConfig - Automatic Attendant

Not always but sometimes it might happen that due to huge volume of incoming calls, many important calls are not attended properly or some are missed out due to the increased workload. To overcome such cases, Xtend IVR can help you with a script that will assist you in creating an auto-call answering system. With the implementation every incoming call is live answered in a professional manner. None of the calls are missed out and on the other hand, Xtend IVR ensures that every caller receives consistent call handling and services. The caller can also leave the voice message for further contacts.

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 and IVR picks up the call
  • Greets the caller with Welcome message
  • Prompts the caller to record the voice message after the beep sound
  • IVR plays the Thank you message after recording ends and terminates the call
Download the source file zip download for the AutoConfig - Automatic Attendant

if $deviceid <> 1
	Sleep 3000
	lock()
	unlock()
endif
    
if $deviceid == 1
	lock()
	
	run "AMConfig.exe" "Config.txt"
	unlock()
endif


MAIN:
	
	load "Config.txt"
	
	display "Waiting for call . . ."
	answer 1
	
	
	$mdate = concat(date.GetYear($date),date.GetMonth($date),date.GetDay($date))
	$mtime = concat(time.GetHour($time),time.GetMinute($time),time.GetSecond($time))
	
	
	if len($cli) = 0
		$recordfile = format("Waves\%s-%s.wav",$mdate,$mtime)
	else
		$recordfile = format("Waves\%s-%s-%s.wav",$cli,$mdate,$mtime)
	endif
	
	display "Call in progress.. " $cli
	log "Call from " $cli
	
	
	speak $welcome
	beep 600 250
	wait 0
	
	
	record $duration
	wait 0
	
	
	speak "Your message has been recorded. Thank you."
	hangup
	goto MAIN

ONHANGUP:
	hangup
	goto MAIN


ONSYSTEMERROR:
	log $error
	display $error
	hangup
	goto MAIN