Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CallManager Express TCL Script issue

Hi, I'm having issues trying to get an AA script working on a CME 4.0 system. What I want to do is quite simple, i just want to play a message to callers and that's it.

When I dial the pilot, the call just drops and I get the following error when debugging "voip application script"

Jul 25 17:16:22.470: //381//TCL :/tcl_PutsObjCmd: TCL AA: +++ B-ACD-SERVICE not registered, Starting B-ACD-SERVICE +++

Jul 25 17:16:22.470: //381//AFW_:/AFW_FSM_Drive: Tcl_Eval to drive FSM inside Tcl modulespace. code=1 code=ERROR

Jul 25 17:16:22.470: TCL script failure


Handoff Failed

Jul 25 17:16:22.470: TCL script failure errorInfo:

Handoff Failed

while executing

"handoff appl leg_incoming $serviceName -s $hString"

(procedure "act_Setup" line 30)

invoked from within


(procedure "act_Handoff_Activity" line 7)

invoked from within


Below is my config


service aa flash:app-b-acd-aa-

paramspace english index 1

param number-of-hunt-grps 1

param handoff-string aa

paramspace english language en

param max-time-vm-retry 3

param aa-pilot 1050

paramspace english location flash:

param second-greeting-time 60

param welcome-prompt

param queue-manager-debugs 1

param call-retry-timer 15

param max-time-call-retry 200

param voice-mail 8000

param service-name aa


dial-peer voice 1050 voip

service aa

destination-pattern 1050

session target ipv4:

incoming called-number .

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad



load 7914 S00104000100

load ATA ATA030100SCCP040211A

load 7920 cmterm_7920.4.0-02-00

load 7971 TERM70.6-0-3SR1S

load 7970 TERM70.6-0-3SR1S

load 7912 CP7912080001SCCP051117A

max-ephones 240

max-dn 480

ip source-address port 2000

timeouts interdigit 5

system message Galaxia - VSAT Activated

sdspfarm units 1

sdspfarm transcode sessions 2

sdspfarm tag 1 mtp0018185bf860

cnf-file perphone

network-locale IT

time-zone 23

time-format 24

date-format dd-mm-yy

max-conferences 8 gain -6

call-park system redirect

call-forward pattern .T


multicast moh 239.x.1.30 port 2123

web admin system name admin password btin3t



transfer-system full-consult

secondary-dialtone 9

create cnf-files version-stamp 7960 Jul 25 2006 14:09:58

We do not have CUE.

Any help would be appreciated.



New Member

Re: CallManager Express TCL Script issue

In reference to this part of your config:

If you are using a hunt group, you need the following param:

param aa-hunt1

I would also try using a loopback addres in your voip dial peer, rather than the H.323 physical IP addres of your router.

here is the link with an example config:

New Member

Re: CallManager Express TCL Script issue

Also, if you are using FXO ports, there is a known issue in TAC Case collection that I found. It states that there are inbound connection issues when using the TCL script with SRST mode. This may be an issue, because, as you know, SRST is VERY similar in nature to CME. They are esentially an identical IOS feature set. Here is the link:

New Member

Re: CallManager Express TCL Script issue


Did you resolve your issue? I am getting the same error?

Re: CallManager Express TCL Script issue

Your configuration doesnt have the queue script. Check this link for proper configurations.


PS: please remember to rate posts!

New Member

Re: CallManager Express TCL Script issue

Sorry, should have updated this post. Sankar is correct. Once I had configured the queue side of things, it all started working.


CreatePlease login to create content