<?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>Connecting to database through TCL</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7041237" />
  <subtitle>Connecting to database through TCL</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7041237</id>
  <updated>2013-05-24T04:41:25Z</updated>
  <dc:date>2013-05-24T04:41:25Z</dc:date>
  <entry>
    <title>RE: Connecting to database through TCL</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7167948" />
    <author>
      <name>Chris Manuh</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7167948</id>
    <updated>2012-09-28T14:38:58Z</updated>
    <published>2012-09-28T14:38:58Z</published>
    <summary type="html">You could write a web services that interacts with your database and from your TCL script, use the httpios package to connect to your webservice to send and receive data.</summary>
    <dc:creator>Chris Manuh</dc:creator>
    <dc:date>2012-09-28T14:38:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: Connecting to database through TCL</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7065844" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7065844</id>
    <updated>2012-09-25T17:36:43Z</updated>
    <published>2012-09-25T17:36:43Z</published>
    <summary type="html">[quote=Sara Afghan]Hi
I am wondering if we can connect directly to database using TCL IVR as is done in standard TCL/TK:
[url=http://stackoverflow.com/questions/8464052/connecting-to-microsoft-sql-server-using-tcl]http://stackoverflow.com/questions/8464052/connecting-to-microsoft-sql-server-using-tcl[/url] 
If there is no possiblity of extending TCL IVR in that case, which way do you propose for connecting a tcl script to MS SQL database, I know it can be done through cisco secure ACS and also voice XML. My request to connect to a database stems from the following scenario:
I need to access some predefined holidays and special days that reside in a MS SQL database and are subject to change periodically. I want to have the ability to read such database and  play the corresponding voice menu.
 [/quote]
 
Don't know what exactly you like to with database .Tcl IVR API can communicate with Cisco ACS. Please refer to those aaa xxxxx commands in programming guide.
 
In term of playing different message you can ustilze stand tcl command to determine date of year, time of date to play different voice prompt. You can make those prompt configurable under application "param"</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-09-25T17:36:43Z</dc:date>
  </entry>
  <entry>
    <title>Connecting to database through TCL</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7041236" />
    <author>
      <name>Sara Afghan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7041236</id>
    <updated>2012-09-25T07:55:07Z</updated>
    <published>2012-09-25T07:55:07Z</published>
    <summary type="html">Hi
I am wondering if we can connect directly to database using TCL IVR as is done in standard TCL/TK:
[url=http://stackoverflow.com/questions/8464052/connecting-to-microsoft-sql-server-using-tcl]http://stackoverflow.com/questions/8464052/connecting-to-microsoft-sql-server-using-tcl[/url] 
If there is no possiblity of extending TCL IVR in that case, which way do you propose for connecting a tcl script to MS SQL database, I know it can be done through cisco secure ACS and also voice XML. My request to connect to a database stems from the following scenario:
I need to access some predefined holidays and special days that reside in a MS SQL database and are subject to change periodically. I want to have the ability to read such database and  play the corresponding voice menu.
 </summary>
    <dc:creator>Sara Afghan</dc:creator>
    <dc:date>2012-09-25T07:55:07Z</dc:date>
  </entry>
</feed>

