A DNIS (Dialed Number Identification Service) map is a table containing multiple called numbers, each individually linked to the URL location of a VoiceXML document.
There are two ways to create DNIS maps for VoiceXML applications.
Internally—Add DNIS entries to the DNIS map and store all the information on the voice gateway. If you do not enter the optional url attribute for the voice dnis-map command, the gateway enters DNIS-map configuration mode. You then enter DNIS entries, one at a time.
External text file—You create the DNIS entries in a text file and store the file on a server connected to the gateway, for example on a TFTP server. If you create a text file with the DNIS information, you must provide the url for this file.
The following is an example of the contents of a DNIS map external text file.
!Comments are preceded by a "!"
!
dnis 5553101 url tftp://global/tickets/vapp1.vxml
dnis 5553102 url rtsp://global/stocks/vapp2.vxml
.
dnis 5553199 url http://global/sports/vapp99.vxml
External DNIS map text files must be stored on TFTP servers. They cannot be stored on HTTP or RTSP servers, although the individual entries in a DNIS map can include URLs for HTTP and RTSP servers.
If you configure internal DNIS maps, you must first configure each DNIS entry in the DNIS map separately.
Expand the dial plan tree to view all components.
Select a zone to add a DNIS map to.
Click the DNIS Maps tab.
Right-click and choose Add from the menu. The Add DNIS Map dialog box appears.
Enter the DNIS map attribute information.
Name - The name of the DNIS map you are adding to the gateway. Maximum value is 64 characters.
Type - Internal or External.
Internal DNIS maps store all information on the gateway.
External DNIS maps point to an external text file of DNIS map entries and link to its URL.
URL that links the DNIS number to a specific VoiceXML document. If a URL is not entered, the DNIS number is linked to the VoiceXML application in the dial peer, which must be configured using the application command. Maximum value 255 characters.
Validation State - Indicates whether the Cisco VRC server can contact the element during the Validation process. An element is put in the unknown state when it is first activated.
Details - An optional text string that give more details about the validation state of the element. Maximum value is 255 characters.