Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IPOCC - IVR Script - Add Record to DB

Status
Not open for further replies.

vladcbv

IS-IT--Management
Jul 20, 2015
225
RO
Hy guys,

I am working on an IVR script and I want to add a record to my database, a record that was input by DTMF by the caller.
So I am using Add Record but it always goes on the Error port.
I have stored the DTMF in a local var Q1 and I've made sure it is stored becuase I used Text to Speach to verify it.

This is how it looks:
addrecorderror_ctan2h.jpg


When I created the DB table, the fields are nchar(10). I have also tried with int but with no use aswell..

Any clues/ ideas/ hints ? :)
Am I doing something wrong?

Thank you ! :)

PS: Have a great year ahead!
 
Check the IVR log what error you get.

"Trying is the first step to failure..." - Homer
 
I don't have any.. I have some errors but those are from before I made the changes to what the picture shows.
Should I enable some options on the left?
 
Ok so I added a Text To speach to the other Output port of Add record and it sais the values are added..
The log now confirms it :

H0234n 11:16:31.236 TC_General [0x00001884] Script Survey_IVR loaded successfully
H0235n 11:16:31.237 TC_General [0x00001884] VUS_ScriptManager::api_loadStaticScript() Updating GRM files...
H0236n 11:16:31.251 TC_General [0x00001884] Updated GRM files.
H0853n 11:17:04.334 VC_DB [0x000027EC] DB_Connection::eek:penDB(Survey_char,sa)
H0854n 11:17:05.205 VC_DB [0x000027EC] DB_Connection::eek:penDB(Survey_char,sa) SUCCESS
H1176n 11:17:25.100 VC_DB [0x000027EC] DB_Connection::insertRecord(Survey_char,sa,Survey_char)
H1177n 11:17:25.213 VC_DB [0x000027EC] DB_Connection::insertRecord(Survey_char,sa,Survey_char) SUCCESS
H1187n 11:17:27.119 VC_DB [0x000027EC] DB_Connection::CloseDB(Survey_char,sa)
H1188n 11:17:27.120 VC_DB [0x000027EC] DB_Connection::CloseDB(Survey_char,sa) SUCCESS


But there are no added values in my table :|
 
Ok problem solved..
I was an SQL error , my mistake! :)

Thank you for your time ! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top