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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Unable to chain two "voice TCL" scripts

Hi all,

I created a TCL script which is geting the call, playing a wave file and route the call to the destination on a callmanager's cluster. If i use it on a Pots dial-peer, it is working good.

If i use it on a voip dial-peer it is working good but if i try to use the pots first, to redirect the IP phone to the phone number of the second dial-peer it is failing. I configured the G711µlaw codec.

Any idea?

Best Regards


Hall of Fame Super Gold

Re: Unable to chain two "voice TCL" scripts

Hi Eric,

Call setup in TCL is a "delicate" matter. Ar you using leg setup or handoff ? And what is the other TCL script you mentioned ?

New Member

Re: Unable to chain two "voice TCL" scripts

Hi Paolo

I use the Leg Setup method. Both scripts are the same, i only configured it on separate routers.

I done a CCAPI inout debug and found the error:

*Jan 14 17:06:45.651: //50454/009E7CBED810/CCAPI/cc_api_get_ssCTreRoutingNotSupported

You can find attached the TCL scritp i use.

thank you for your help.

Hall of Fame Super Gold

Re: Unable to chain two "voice TCL" scripts

Ok, even before looking at the script, does the call comes in via pots or voip?

Can you please describe very exactly the call flow and the desired re-routing.

New Member

Re: Unable to chain two "voice TCL" scripts

Sorry, i forgot to mention that:

Call is comming from pots dial-peer, the TCL trigger is on the incoming pots dial-peer. The TCL play the prompt, then the call is routed to the Callmanager. The CCM route the call to the phone but because of a Call Forward All, the call is routed to another GW using the same TCL script. The second TCL script is triggered on the incoming voip dial-peer.

If i test each TCL script seperatly, it is Ok but if i configure the CFA it is a failure.

I tried with a CFNoA and it is working.

It looks like a TCL limitation.

In the Cisco IOS Tcl IVR and VoiceXML Application Guide it is written:

- "When Tcl 2.0 or VoiceXML applications transfer calls to a telephone number, the outbound dial peer can specify a Tcl 2.0 or VoiceXML application to accept the transfer"


"Transfer (and handoff) to or from the default application is not supported".

Any idea?

Hall of Fame Super Gold

Re: Unable to chain two "voice TCL" scripts

OK. So:

pots -> script1 -> CM CFAll -> script2 -> pots

does not work but

pots -> script1 -> CM CFNoA -> script2 -> pots

works, correct ?

Also I suppose script 1 and 2 are actually the same script invoked as a different service and parameters.

If so, it's strange. The only difference should be the redirect reason of the incoming call leg to script2. I suggest you make a debug print of all applicable parameters, and possibly a debug voip dialpeer too.

I don't think the statement mentioned does apply as you are not even doing a proper transfer, just a fresh leg setup.

The second statement is even false because handoff to default application is exactly what B-ACD/AA does for dial-by-extension.

New Member

Re: Unable to chain two "voice TCL" scripts

Thank you for your point of view.