Implementing the AA Tcl Script

Figure 15-3 shows the call flow that is associated with the AA script for CME.

Figure 15-3. CME AA Call Flow

The script takes the following actions when a call matches the incoming dial peer that is configured with the AA script:

Example 15-1 illustrates the configuration required to load the Tcl AA script for CME from the flash of the router.

Example 15-1. Loading the Tcl AA Script for SRST

Miami#config t Miami(config)#application ! ! Load the AA script from flash ! Miami(config-app)#service aa flash:its_CISCO.2.0.1.0.tcl ! ! Configure the AA parameters that are associated with the English package ! Miami(config-app-param)#paramspace english language en Miami(config-app-param)#paramspace english location flash: Miami(config-app-param)#paramspace english prefix en Miami(config-app-param)#paramspace english index 1 ! !Configure the AA application local parameters ! Miami(config-app-param)#param operator 150 Miami(config-app-param)#param aa-pilot 100 ! ! Apply the AA script to the dial peer ! Miami(config)#dial-peer voice 100 pots Miami(config-dial-peer)#incoming called-number 100 Miami(config-dial-peer)#service aa Miami(config-dial-peer)#direct-inward-dial Miami(config-dial-peer)#port 1/0/0:1  

Example 15-2 illustrates the configuration required to load the Tcl AA script for CME prior to Cisco IOS Release 12.3(14)T. The dial peer configuration is the same as in Example 15-1.

Example 15-2. Loading the Tcl AA Script Prior to Cisco IOS Release 12.3(14)T

Miami#config t Miami(config)#call application voice aa flash:its_CISCO.2.0.1.0.tcl Miami(config)#call application voice aa language 1 en Miami(config)#call application voice aa operator 150 Miami(config)#call application voice aa aa-pilot 100 Miami(config)#call application voice aa set-location en 1 flash:  

Категории