Jump to content

Problem whit OGM


Dix001

Recommended Posts

I take the customer's name with sqllink and CID, and playing the name and a menu if exist, but as I do, if the name is not in the database, I tranfer the operator, how deploy can the next question ? if (name='' not in data base) then tranfer operator else (if exist) (play the name)

 

someone can help me

thanks

Diego

Link to comment
Share on other sites

You'll need a plug-in for this. The plug-in can return a string containing one ore more variables and their corresponding values. If the plug-in returns a nextogm variable, IVM will use this to direct the call to another OGM determined by the plug-in. You could also return a variable contain the person's name. Then it's simply a case of having nextogm set to an OGM that transfers the call to an operator if no name is found, and if a name is found to an OGM where a text to speech script exists that will read out the user's name in a sentence (e.g. Welcome back %uname%)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...