Anusha Kannappan | Hi,
You can set timer when the call is active and once the timer expires call a procedure that would destroy the connection and disconnect the leg using the following command
connection destroy {connectionID | info-tag} leg disconnect {legID | info-tag} [-c cause_code] [-g <gtd_handle>] [-i <iec>]
Please go through the TCL IVR API programming guide from the following link to gain the basic knowledge for developing the scripts
http://www.cisco.com/en/US/docs/ios/voice/tcl/developer/guide/tclivrv2.html
At the end of the document you could see some sample scripts, make use of the procedures and FSM states as per your requirement and create a script.
Thanks, Anusha |
| Please sign in to flag this as inappropriate. |