VAD Templates?

Status
Not open for further replies.

cknott2243

Joined
Jul 6, 2010
Messages
49
Reaction score
0
Hello Everyone, I am new to 3CX and really love it. I am trying to migrate from my existing Asterisk server which is woefully incapable of handling our business needs.

The only hold up is a specific operation we have on our current Asterisk box. We have contract customers who use the phone system to validate them against a MySQL database and if the code they entered matches then it routes them to a specific queue, if invalid it will route them to sales.

Looking at the VAD, it can do exactly this. My only problem is I was the one who originally setup this and Voice applications are not really my thing. Does anyone know of any templates or information for doing this exact operation?

What I would want is when calling in the customer have an IVR option for support (option 2) and then when entering this sub-menu they are prompted with two options, 1. to enter their contract number or 2. to speak with a sales agent to purchase a contract.

Option 2. looks pretty easy to pull off, if using option 1 then the call would be routed to this custom app ( or so I would think) and it would then play a recording (please enter your contract number) and when entered it would then query a MySQL DB to see if it matches any of the listed numbers. If it does then it moves to a call queue and if invalid routes them back to sales.

It seems easy enough and something they mention as possible on the first page of the manual so just wanted to see if there was anything that would help me out being that my skill level with this sort of thing is low.

Thanks for any advice.
 
I did not restart it but have now. You can download the IVR.log and the IVR Trace log below.

http://email.icewarp.com/logs.zip

I am also wondering if seeing the debug information from the project would help out any. I see DebugInfo files being created in the project folders but I have no idea what to do with them. When I specify to start debugger in the VAD it shows no files to load and no way to pull the file in.

Thanks again.
 
Hi,

The error you're having is because you need to quote the server address: '127.0.0.1' (with quotes), because it is an expression.

The log shows that the error is there:
Subtag SBjsiCreateVarExpr. entering: 0x01C841C8, 'server', '127.0.0.1'
Error! Module '3CX.com.OSBjsi'. Error ID 501. errmsgmissing ; before statementline1linetxt127.0.0.1tokentxt.0.1

In regards to debug information files, the VAD will show those files only if you don't make changes to the project after building it. If you make changes, then the VAD can not be sure if the debug information files belong to the same diagrams being shown in the screen, so it does not allow you to use those files in that case. Try debugging without changing or saving the project.
 
After a few more tweaks it is working properly. I can't thank you enough for all the help. Are you a support member for 3CX? If so, it makes me feel even better about choosing 3CX for my PBX needs. It was by the far the best experience I have had with any companies forum.

Thanks again, it is greatly appreciated.
 
I'm very glad to hear your comments! We work hard for your satisfaction!
I'm the head of the development team of the Voice Application Designer :-)
Let us know if you need help in any other matter!
Regards,
 
Status
Not open for further replies.