Using DNIS to Direct Calls
Directing calls based on DNIS
I worked on a proposal for a local government organization recently who wanted to provide access to schedules and allow customers to register for services over the telephone and on the Web. The organization had several facilities that each wanted to have their own phone number, but still be accessible through the same gateway. I recommended that they have the telephone company assign several numbers to the same line so that the DNIS information could be used to determine which facility was being called.
I call this technique "call destination routing." To demonstrate this functionality, I created an application that might be used in a typical corporation that has separate departments and needs separate, but direct phone access into the VoiceXML IVR system. General requests would come through the main number, where callers can select a department; or callers can dial a direct number assigned to each of the departments that directs callers to the corresponding department menu.
- 408-689-5161 for the Main number
- 408-689-3989 for Customer Support
- 408-689-3990 for Sales
- 408-689-3991 for Accounting
Now that I had the numbers for each department in hand, I created a VoiceXML document that contained one form and four menus. The form starts on line 8 and directs the call to the menu that corresponds with the DNIS number. If a number wasn't matched, it's assumed that the caller dialed the main number, and is sent to the main_menu <menu> from line 17 to line 21.
So for example, if you dial 408-689-3989, you will hear, "You have reached the customer service department. To connect to another department, press nine". If you were to dial the main number, 408-689-5161, you would hear, "Main menu. For customer service, press one. For sales, press two. For accounting, press three".View the source code
If you want to try out this application, you can actually call the numbers that are listed above and be directed to the main menu or you will hear a message from the associated departmental menu.
Directing calls based on DNIS numbers can provide many possible options for directing calls. Utilizing DNIS numbers in conjunction with targeted marketing and promotional responses can improve response rates, increase the number of calls that you can answer, and reduce the number of calls that have to go through your regular PBX or office phones. We will continue talking about call routing in the next tutorial where we will discuss ANI or Automatic Number Identification (also known as Caller ID).
About Jonathan Eisenzopf
Jonathan is a member of the Ferrum Group, LLC which specializes in Voice Web consulting and training. He has also written articles for other online and print publications including WebReference.com and WDVL.com. Feel free to send an email to email@example.com regarding questions or comments about the VoiceXML Strategy series, or for more information about training and consulting services.
Page 2 of 2