Multi-service using Device Line Identification (DLI)

Multi-service using Device Line Identification (DLI)

This sample assists the customers in scheduling the services based on Device Line Identifier (DLI) value. The automated IVR allows a maximum of 30 channels with different telephone numbers, each assigned for different services. When an incoming call arrives, the DLI number will be displayed according to which the services will be provided.

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:

  • Initially, IVR identifies the multi-port license to run the script
  • On incoming call, the DLI number will be displayed
  • If the DLI is 3011000, the service rendered is Changed Number Announcement
  • If the DLI is 3011011, the service rendered is Fault Booking
  • If any other DLI, then the service rendered is Bill Payment
Download the source file zip download for the Multi-service using Device Line Identification (DLI)

MAINSCRIPT:
	display "Waiting for call . . ."
	answer 1
	
	if $dli = "3011000"
		changenumber()
		hangup
		goto MAINSCRIPT
	endif
	
	if $dli = "3011011" 
		faultbooking()
		hangup
		goto MAINSCRIPT
	endif
	
	
	billpayment()
	hangup
	goto MAINSCRIPT
	
ONHANGUP:
	hangup
	goto MAINSCRIPT
	
ONSYSTEMERROR:
	log $error
	hangup
	goto MAINSCRIPT


MAIN:
	display "Change number announcement system"
	
	play "changenum.wav"
	wait 0
	return


MAIN:
	display "Fault booking service"
	
	play "faultbook.wav"
	wait 0
	return


MAIN:
	Display "Bill payment"
	
	play "billpay.wav"
	wait 0
	return