Blogs

If you just need a simple password control for long distance or international call and don't want to use RADIUS, you can set a parameter in service then in script ask caller to enter password if it matched the one set in IOS configuration then make the call out otherwise disconnect call. A sample script is posted in Documentation section. ...Read More

 

Hi Cisco Developers,

MSE VOIP Sample Application along with User Guide can be found under the below location.
http://developer.cisco.com/web/vgapi/docs

The goal of this sample application is to demonstrate the Integration of IVR(Interactive Voice response) and MSE(Mobility service Engine).
...Read More

 

In IOS 15.2(2)T a new option is introduced for infotag get leg_dnis and infotag get leg_ani

"callnumber" is keyword

infotag get leg_dnis
infotag get leg_ani

example:

infotag get leg_dnis callnumber leg_incoming


This option services the following purposes:

1. Return number portion only for DNIS or ANI in SIP trunk ...Read More

 

The fetchaudio attribute specifies the URI of the audio to be played while the document is being fetched. It can be used with any one of the following VXML Elements <data>; <goto>; <link>; <subdialog>; <submit>

Example: ...Read More

 

Cisco Technology Developer Partners,

Cisco is proud to announce the availability of our Cisco Unified Communications System Release 8.6 Not-For-Resale software bundle on Cisco Marketplace (Partner Login Required).

To purchase the latest Unified Communications NFR Software bundle
- Navigate to Cisco Marketplace
- Login using your Cisco.com UserID ...Read More

 

New Video Tutorial section is added for this Tcl IVR API
Video Tutorial ...Read More

 

param CLI can be mapped to IVR either in the global application mode, or as group params or under the specific dial-peer.

config t
application
service aa flash: app-b-acd-aa.tcl
param aa-pilot 7001

Having the param under the specific dial-peer provides the flexibility by having same application to work with various dial-peers in various ways. ...Read More

 



Cisco Developer Network will be presenting a CDN Developer Track at Cisco Live! London the week of January 31, 2011.

We are presenting technical sessions which highlight Application Programming interfaces (APIs) and Software Developer Kits (SDKs) for Cisco technologies such as Unified Communications, IOS, and Access Routing Technologies ¿ including the new Cisco Cius ...Read More

 

There are a few more tones can be played but are not listed in the programming guide

tn_ringback -- Plays a ring back tone
tn_congestion -- Play a congestion tone
tn_stuttdial -- plays a stutter dial tone
tn_intercept --plays a intercept tone, like busy tone

For example I have to use "leg setup $dest callinfo" for a reason ...Read More

 

Ultimate AA script


Suffering the AA menu prompt tree changing that you need to modify the script frequently? Or trying to find an AA script can fit all menu prompt tree?
You really can create an ultimate script that can fit all prompt structure
Here is the solution: ...Read More

 

I would like to shed some light on IPIPGW concept and its features.
IPIPGW Over TCL-VXML scripts:
We can deploy TCL and VXML scripts on IPIPGW,where DSP¿s are not requried to use this feature.You have to record prompt in the same codec type as you use for a call.This feature will be useful when we deploy prepaid calling cards.
IPIPGW : ...Read More

 

If we download the complete book length programming guide, the information tag leg_state and the status for that lg_xxx are missed.
But if we download chapter by chapter we can get those information.

Here is the link:

http://www.cisco.com/en/US/docs/ios/voice/tcl/developer/guide/tclivrv2_ch5.html


Leg State
The state of the call leg and the corresponding status code is reported in lg_xxx format:
Value for xxx Call Leg
000 LEG_INIT ...Read More

 



There is a perspective that TCL-IVR applications are not flexible enough for a newbie to play around. But in fact, there are lots of IVR applications that are coming inbuilt with Voice GW. You just need to copy/paste in a file editor and tweak it.
...Read More

 

Showing 13 results.
Items per Page 20
of 1

Forums

« Back to TCL-API

Using Tcl-script packages in IVR Tcl-scripts

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello!
Why I get error message "package not found" when code in Tcl IVR script (AS5350):
 
package require mytestpack
 
Before run the script, I do
 
conf t
application
package mytestpack tftp://.......
 
Thank's
 
 

Can you link your script ?
 
conf t
application
service mytest tftp://....../mytest.tcl
 
 


Hello!
Why I get error message "package not found" when code in Tcl IVR script (AS5350):
 
package require mytestpack
 
Before run the script, I do
 
conf t
application
package mytestpack tftp://.......
 
Thank's
 
 

Yes, of course!
The question is, why I can't call procedures of one Tcl script (Tcl-package) from another script (IVR-service). Both were loaded into the same Cisco Access Server (AS5350). Tcl command 'source' is not supported in IVR, 'package require' is not working!!! (((

Did you try "package" command inside of your main script ?

By the way package command works fine for me

Yes!

puts "packages: [package names]"

packages: ... tclcore ...

My package (greet) is not listed! (


But with command:

Teler-gw6#sh call application voice sum

SERVICES (standalone applications):
name type description
....
ivrtest Tcl Script tftp://xxx.xxx.net/tcl/ivrtest.tcl
...

PACKAGES:
name type description
...
tclcore C Script builtin:tclcore_package.C
greet Tcl Script tftp://xxx.xxx.net/tcl/greet.tcl
...

here is listed! )

Hi,

please check the state of package as registered by issuing below command, if it is in loaded state then there will be errors please check the logs.

sh call application voice greet

Thanks,
Raghavendra

Problem solved by simply commenting out line

# package require Tcl 8.3

in package! )))

Thank you!

we already have serval tclivr scripts running in the production. We tried to add another tcl ivr script into the system. w e run the same ios in the lab as well as production.
software: Cisco IOS Software, 5350 Software (C5350-JK9S-M), Version 15.0(1)M7, RELEASE SOFTWARE (fc2)
at the tcl program we define the fsm.
here is our content for the fsm.
        init
        set fsm(any_state,ev_disconnected) "act_Abort,same_state"
        set fsm(CALL_INIT,ev_setup_indication) "act_Setup,PLACECALL"
        set fsm(PLACECALL,ev_setup_done)  "act_CallSetupDone,CALLACTIVE"
        set fsm(CALLACTIVE,ev_disconnected)   "act_Cleanup,CALLDISCONNECTED"
        set fsm(CALLDISCONNECTED,ev_disconnect_done) "act_Cleanup,same_state"
        fsm define fsm CALL_INIT
after the following commad we get the error. -
npectrtvbexgw02#tclsh displayName.tcl
invalid command name "fsm"
    while executing
"fsm define FSM CALL_INIT"
    (file "displayName.tcl" line 80)

This is an API, we don't run it in tclsh
npectrtvbexgw02#tclsh displayName.tcl
Please refer to programming guide.
 
Thanks !

Hi,
How do I check if the version of tcl ivr is 2.0 in my voice gateway?
Thanks,
king

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Monday, November 26, 2012 5:11 PM
To: cdicuser@developer.cisco.com
Subject: New Message from Yaw-Ming Chen in Voice Gateway API (VGAPI) - TCL-API: RE: Ref: tclivr scrip does not recognize the fsm command

Yaw-Ming Chen has created a new message in the forum "TCL-API": -------------------------------------------------------------- This is an API, we don't run it in tclsh
npectrtvbexgw02#tclsh displayName.tcl
Please refer to programming guide.

Thanks !
--
To respond to this post, please click the following link: or simply reply to this email.

Hi King,
 
You can use the following cli after loading your script in the voice gateway to view the version
2811#sh call app voice <application name>
 
Thanks,
Anusha
 
 

Hi,
How do I know the ivr is included in the tcl 2.1 ? I see the tcl2.1 is included.
But it does not have information which including ivr extension.
Thanks,
king


From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Thursday, November 29, 2012 1:11 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Anusha Kannappan in Voice Gateway API (VGAPI) - TCL-API: RE: Using Tcl-script packages in IVR Tcl-scripts

Anusha Kannappan has created a new message in the forum "TCL-API": -------------------------------------------------------------- Hi King,

You can use the following cli after loading your script in the voice gateway to view the version
2811#sh call app voice <application name>

Thanks,
Anusha


--
To respond to this post, please click the following link: or simply reply to this email.

Please refer to grogramming guide.
http://www.cisco.com/en/US/docs/ios/voice/tcl/developer/guide/tclivrv2.html
We mostly deal with the commands provided in programming guide not "other extension"
 

Collateral


No files available