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

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

tcl_eval failed inside

I am new in tcl programming. and  I have a question.

this sample tcl display me an error

Tcl_Eval failed inside

# test.tcl
# Script Version 1.0.1
#------------------------------------------------------------------
# August 1999, Saravanan Shanmugham
#
# Copyright (c) 2011,
# All rights reserved.
#------------------------------------------------------------------
#
# This tcl script mimics the default SESSION app
#
#
# If DID is configured, place the call to the dnis.
# Otherwise, output dial-tone and collect digits from the
# caller against the dial-plan.
#
# Then place the call. If successful, connect it up. Otherwise,
# the caller should hear a busy or congested signal.
# The main routine establishes the state machine and then exits.
# From then on, the system drives the state machine depending on the
# events it receives and calls the appropriate Tcl procedure.

proc init { } {
global param

set param(name) "test"
set param(number) "55555555555555"

}

init
requiredversion 2.0
#----------------------------------
# State Machine
#----------------------------------

552
Views
0
Helpful
0
Replies