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


IVR database dip

IVR database dip

IVR database dip


Trying to set up a database dip in an IVR, however every time I try to enable the script I get an error:-

No matching pair of Close Database for Open Database

I do have a close for the open so not sure why I am seeing this.
I even deleted them both, made a new ODBC DSN and re-added the open and close...

Any ideas?


RE: IVR database dip

Never had any issues with it.

Attach the IVRscript export and someone can take a look, otherwise check TTLogs for IVR or CCUI.

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

RE: IVR database dip

Do you use the same database variable in your open and close elements?

RE: IVR database dip

Hmm..... I'm not sure if you're gonna hate me now but this just happened after I imported your skript into an IPOCC 9.1 test installation of ours without changing anything:

RE: IVR database dip

I'm going for a beer....

hehe I may delete mine and import the one I sent you!

RE: IVR database dip

Nope, that didn't work either.
The fact that it enabled on your system OK is a real puzzle...

Mine is 10.0.3 as well....bug?

RE: IVR database dip

Might be, although I doubt it..
Have you tried a real simple script like "Start - OpenDB - CloseDB - End"?
Alternatively have a look at TTrace/IVR with all categories enabled, that might help with finding the error.

RE: IVR database dip

I got the same error first.
I changed so all the "Error" lines go to Shut CC except from Open CC and after that it worked.

If you open a DB connection and after that something fails you should always close the connection before exiting the script.

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

RE: IVR database dip

That fixed it thanks Janni.

I seems you have to follow the script through and there must always be a close DB whatever path you take through the script.
If it finds even one path with no close DB it fails

Many thanks!

RE: IVR database dip

So this is what I was trying to get to.
If Topic voicemail is handled by the IPOCC the standard VM-CC_Play_repeat_delete gives you the option to keep a message, but then no way to go back an play the message!
So I wanted to write a little script to be able to query the OLD messages for a topic, and replay, delete etc.

I did the attached, which is still very basic and needs some work, but does the job!

Thanks for the help!


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