Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


IPOCC - IVR Script - Add Record to DB

IPOCC - IVR Script - Add Record to DB

IPOCC - IVR Script - Add Record to DB

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:

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!

RE: IPOCC - IVR Script - Add Record to DB

Check the IVR log what error you get.

"Trying is the first step to failure..." - Homer

RE: IPOCC - IVR Script - Add Record to DB

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?

RE: IPOCC - IVR Script - Add Record to DB

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::openDB(Survey_char,sa)
H0854n 11:17:05.205 VC_DB [0x000027EC] DB_Connection::openDB(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 :|

RE: IPOCC - IVR Script - Add Record to DB

Ok problem solved..
I was an SQL error , my mistake! :)

Thank you for your time ! :)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close