<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>TCL script to disconnect call after 10 secs</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=4179827" />
  <subtitle>TCL script to disconnect call after 10 secs</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=4179827</id>
  <updated>2013-05-21T09:47:41Z</updated>
  <dc:date>2013-05-21T09:47:41Z</dc:date>
  <entry>
    <title>RE: TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11679367" />
    <author>
      <name>MIGUEL MARTINEZ</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11679367</id>
    <updated>2013-02-07T16:58:08Z</updated>
    <published>2013-02-07T16:58:08Z</published>
    <summary type="html">Brian, can you send me the script, please.   melvin.silva@hotmail.com</summary>
    <dc:creator>MIGUEL MARTINEZ</dc:creator>
    <dc:date>2013-02-07T16:58:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6165096" />
    <author>
      <name>Hassan Alsafi</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6165096</id>
    <updated>2012-07-24T11:45:48Z</updated>
    <published>2012-07-24T11:45:48Z</published>
    <summary type="html">Dear  Brian ,,


                        Please  can you send to me your script file . for testing   Email   hassan_alsaffi@hotmail.com .

   Best Regards ,</summary>
    <dc:creator>Hassan Alsafi</dc:creator>
    <dc:date>2012-07-24T11:45:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5865147" />
    <author>
      <name>Juan Manuel Valladares</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5865147</id>
    <updated>2012-06-13T23:52:18Z</updated>
    <published>2012-06-13T23:52:18Z</published>
    <summary type="html">Hey Brian, can you send me your script too please, thank you so much for your help... my email is fallenangel.jm@gmail.com</summary>
    <dc:creator>Juan Manuel Valladares</dc:creator>
    <dc:date>2012-06-13T23:52:18Z</dc:date>
  </entry>
  <entry>
    <title>RE: TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4325289" />
    <author>
      <name>Brian Meade</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4325289</id>
    <updated>2011-08-05T20:25:55Z</updated>
    <published>2011-08-05T20:25:55Z</published>
    <summary type="html">Brian,

Could you send me your script?  I'm looking to do the same thing and don't have any script experience at all.

Thanks!</summary>
    <dc:creator>Brian Meade</dc:creator>
    <dc:date>2011-08-05T20:25:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4190358" />
    <author>
      <name>Brian McCormick</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4190358</id>
    <updated>2011-07-08T22:37:54Z</updated>
    <published>2011-07-08T22:37:54Z</published>
    <summary type="html">Some basic stuff missing from that script. I've resolved my issue.
Thanks for the help

Brian</summary>
    <dc:creator>Brian McCormick</dc:creator>
    <dc:date>2011-07-08T22:37:54Z</dc:date>
  </entry>
  <entry>
    <title>RE: TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4187707" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4187707</id>
    <updated>2011-07-08T18:53:06Z</updated>
    <published>2011-07-08T18:53:06Z</published>
    <summary type="html">Your script doesn't connect incoming leg
Please go to 
http://developer.cisco.com/web/vgapi/docs
download
	   	"How to test TCL IVR Scripts in Cisco Voice..."
You should find an sample script in it. Take a look how to do call setup.

Thanks !</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-07-08T18:53:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4186480" />
    <author>
      <name>Brian McCormick</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4186480</id>
    <updated>2011-07-08T22:38:21Z</updated>
    <published>2011-07-08T09:17:24Z</published>
    <summary type="html">Hi,
I've attached the script. I think my issue is finding the event that will trigger the procedure that will start the timer. I'm attempting to run this script on the outgoing dial peer. 
 
I initially started the timer in the init{} procedure .. that's why I was getting the initialisation error ... I'm not getting this anymore.

Thanks,
Brian</summary>
    <dc:creator>Brian McCormick</dc:creator>
    <dc:date>2011-07-08T09:17:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4184193" />
    <author>
      <name>Raghavendra Gutty Veeranagappa</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4184193</id>
    <updated>2011-07-08T06:48:37Z</updated>
    <published>2011-07-08T06:48:37Z</published>
    <summary type="html">Hi Brian,

you don't need to intialize the timer, The timer start command starts a timer for a specified number of seconds When the timer expires, the script receives an ev_named_timer event.
please send us your script and debugs by enabling below debugs to find the issue.

debug voip app

Thanks,
Raghavendra</summary>
    <dc:creator>Raghavendra Gutty Veeranagappa</dc:creator>
    <dc:date>2011-07-08T06:48:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4184358" />
    <author>
      <name>Brian McCormick</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4184358</id>
    <updated>2011-07-07T15:25:02Z</updated>
    <published>2011-07-07T15:25:02Z</published>
    <summary type="html">Hi,
That's helpful. I'm almost there, but I'm having trouble initialising the timer..
 
At this line ...
    #create a timer for 5 secs
    timer start named_timer 5 timer_1
 
 
I get the following error:
//-1//TCL :EE29697584000:/tcl_TimerStartObjCmd: timer start named_timer 5 timer_1 
%SYS-3-MGDTIMER: Uninitialized timer, init with uninitialized master, timer = 38. -Process= "script background loader",
 
How do I initialse  named_timer?
 
Thanks,
Brian
 </summary>
    <dc:creator>Brian McCormick</dc:creator>
    <dc:date>2011-07-07T15:25:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4180010" />
    <author>
      <name>Anusha Kannappan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4180010</id>
    <updated>2011-07-07T11:43:32Z</updated>
    <published>2011-07-07T11:43:32Z</published>
    <summary type="html">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 &lt;gtd_handle&gt;] [-i &lt;iec&gt;]

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</summary>
    <dc:creator>Anusha Kannappan</dc:creator>
    <dc:date>2011-07-07T11:43:32Z</dc:date>
  </entry>
  <entry>
    <title>TCL script to disconnect call after 10 secs</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4179826" />
    <author>
      <name>Brian McCormick</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4179826</id>
    <updated>2011-07-07T09:52:16Z</updated>
    <published>2011-07-07T09:52:16Z</published>
    <summary type="html">Hi,
I'm looking to create a simple TCL script which will automatically disconnected an outgoing call after 10secs. Can anybody point me in the right direction for this?
Thanks,
Brian
 </summary>
    <dc:creator>Brian McCormick</dc:creator>
    <dc:date>2011-07-07T09:52:16Z</dc:date>
  </entry>
</feed>

