cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
526
Views
0
Helpful
2
Replies

basic acd tcl script

nporcelli
Level 1
Level 1

Hi all,

I'm trying to setup a basic environment in my lab to test the app-b-acd-aa-2.1.0.0.tcl script functionality. I'm using a cisco 2821 with ccme 3.3 (IOS 12.3(14)T2). I am using old commands like "call application ......" the IOS has made the translation to the new format

"application

service aa .......

parm ........ "

but when I try to call I am always disconnected and I receive this error message from "debug voice application script"

*Jun 16 15:28:23.667: //6//TCL :/tcl_LegObjCmd: leg setupack leg_incoming

*Jun 16 15:28:23.667: //6//TCL :/tcl_LegSetupAckObjCmd: setupack leg_incoming

*Jun 16 15:28:23.667: //6//AFW_:/vtd_lg_incoming: argc 2

*Jun 16 15:28:23.667: //6//AFW_:/vtd_lg_incoming: Legs [6 ]

*Jun 16 15:28:23.667: //6//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1

*Jun 16 15:28:23.667: //6//AFW_:/AFW_FSM_Drive: Tcl_Eval to drive FSM inside Tcl modulespace. code=1 code=ERROR

*Jun 16 15:28:23.667: TCL script failure

Result:

Illegal Operation: Leg not incoming or in wrong state

*Jun 16 15:28:23.667: TCL script failure errorInfo:

Illegal Operation: Leg not incoming or in wrong state

while executing

"leg setupack leg_incoming"

(procedure "act_Setup" line 34)

invoked from within

"act_Setup"

*Jun 16 15:28:23.667: //6//AFW_:/AFW_FSM_Drive: ACTION END: -------------(OPTIONSELECTED[4])---------------

*Jun 16 15:28:23.667: //-1//AFW_:/AFW_ExecEnv_CallClose: Exec Env state: 1

*Jun 16 15:28:23.667: //-1//AFW_:/AFW_ExecEnv_CallClose: Terminating ExecEnv's root module

*Jun 16 15:28:23.667: //6//AFW_:/AFW_Module_Terminate: Terminating Module: TclModule_1176855172_0_791544

*Jun 16 15:28:23.667: //6//AFW_:/AFW_M_TclModule_Terminate: Module is in the state: ACTIVE

*Jun 16 15:28:23.671: //6//AFW_:/AFW_TclModule_Cleaner: lastFailureCause 0

*Jun 16 15:28:23.671: //6/1C7B96BB8007/AFW_:/AFW_Leg_Disconnect: Disconnecting Leg: LEG_6, Cause 16

*Jun 16 15:28:23.671: //6/1C7B96BB8007/AFW_:/AFW_Leg_UpdateStats: Updating stats for ID 8 type 2

*Jun 16 15:28:23.671: //6//AFW_:/AFW_ExecEnv_SetModuleScope: TclModule_1176855172_0_791544 ---> TclModule_1176855172_0_791544

*Jun 16 15:28:23.671: ISDN BR0/1/0 Q931: TX -> DISCONNECT pd = 8 callref = 0xA1

Cause i = 0x8290 - Normal call clearing

Is there anyone who has been able to set up this kind of system??

Thanks in advance

Nicola Porcelli

2 Replies 2

amritpatek
Level 6
Level 6

van
Level 1
Level 1

Nicola, I ran into a very similar issue. I too had upgraded from CME 3.1 to 3.3 running IOS 12.4(1a). As you mentioned, the "call application" was upgraded to the "application/service" format.

When I started testing my scripts I was getting nothing - dead air. After researching I found that I was missing some mandatory parameters. The big offender in my case was the "param handoff-string {}" Once I added this and pointed it to my "aa" service things worked great.

This may not be your exact issue but my advice to is go over the configuration of your service(s) with a fine-tooth-comb making sure you have all required parameters and that they are set properly.

Good luck.