VAD Templates?

Dedicated forum for the visual 'drag and drop' voice application designer that allows easy creation of advanced voice applications without programming knowledge

Moderators: kevin, 3CX staff

Re: VAD Templates?

Postby cknott2243 » Wed Aug 18, 2010 3:00 am

I will try this and let me know what is then seen.

Thanks again for all the help, it is greatly appreciated.
cknott2243
New User
 
Posts: 49
Joined: Tue Jul 06, 2010 5:06 pm

Re: VAD Templates?

Postby cknott2243 » Wed Aug 18, 2010 4:33 pm

Ok, Definitely seems like we are making progress now. There still seems to be a very oddities though.

I moved the user input underneath a menu and that seems to be working, when hitting option 2 it transfers to sales as it should. The problem I am still seeing is this I never seem to be able to enter the PIN code. I assume (and might be wrong) that choosing to allow barge in means that I can stop the recorded message by say hitting option "1" and then enter the pin code, this never seems to work, it seems like the message has to be played in it's entirety before anything happens, in fact it seems it plays twice.

So it seems the input is not really responding to anything. I have repackaged the project after making the changes you alluded to.

Let me know what you think.

http://email.icewarp.com/3cx.zip

Thanks again.
cknott2243
New User
 
Posts: 49
Joined: Tue Jul 06, 2010 5:06 pm

Re: VAD Templates?

Postby VAD_Support » Wed Aug 18, 2010 5:43 pm

Well, the project seems to be much better now. You will need to change the SQL statement to use the entered PIN instead of the hardcoded value 1234.

In regards to your comments about the IVR not detecting your entry, in the logs I see a timeout message (as if you would not entered anything at all). I suggest you 2 things here to get more feedback:

1) Change the log level for the 3CXIvrServer.log file to verbose, so we have more detailed information about what's happening. With verbose logs we can see DTMF digits detected, etc.

To change the log level to verbose you need to adjust the values from the file %ProgramData%\3CX\Bin\3CXLogger.ini in the following section:
[3CXIvrServer\Logger\Outputs\LogFile]
Level=8
Severity=Log Error Critical Trace
Format=$ShortDT|$ThreadID|$FileLine:
KeepBackup=0
File=C:\Documents and Settings\All Users\Application Data\3CX\Data\Logs\3CXIvrServer.log
MaxFileSizeKB=2048


2) Add InvalidDigit and Timeout prompts to the first menu, so you hear the error message. Now you're hearing the prompt again, but that's happening because it does not detect any digit, I can see that because of the warning message in the 3CXIvrServer.log file:
Warning! Ignoring TTS in (text/plain;charset=wchar_t). Text is ' Sorry, I didn't hear you. '

When you don't specify a timeout message, that TTS is automatically generated, but the IVR does not support TTS, so it is ignored. But it seems that it is not detecting the DTMF digit...

Please, make those changes and try again. Then send me the verbose log file and any other feedback you get.

Thanks,
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 439
Joined: Thu Aug 06, 2009 5:29 pm

Re: VAD Templates?

Postby cknott2243 » Wed Aug 18, 2010 7:47 pm

Wow, you have been a great help. It seems the problem with the initial input is due to the phone I am using. I am using a GrandStream GXP2000 and it was not recognizing the digits. I switched to the 3CX softphone and it then took the input.

So where I am at now is, I can all in, go to the APP, here the initial prompt, press 1 to go to enter the pin code, I then hear the message to enter my PIN code but this is where it then stops. I then continue to hear this message even after trying to enter the pin of 1234# (this is my test pin and only record in the DB as of now). After I put the pin in and press # it just goes back and starts the message again.

I see this in the IVR log.

14:35:19.890|2572|.\PbxMedia\IVREngine.cpp(1228):IvrService, IVREngine::RegisterLines(), Registering of lines...127.0.0.1:5060127.0.0.1:50609999[858,8000][1003,1006,1005,1002,1004,1001][EndCall,IVRForward,MakeCall]
14:35:19.890|2572|.\PbxMedia\IVREngine.cpp(1349):IvrService, IVREngine::RegisterLines(), Registering of lines done.
14:35:21.435|2572|.\PbxMedia\IVREngine.cpp(1228):IvrService, IVREngine::RegisterLines(), Registering of lines...127.0.0.1:5060127.0.0.1:50609999[858,8000][1003,1006,1005,1002,1004,1001][EndCall,IVRForward,MakeCall]
14:35:21.435|2572|.\PbxMedia\IVREngine.cpp(1349):IvrService, IVREngine::RegisterLines(), Registering of lines done.
14:35:25.553|2572|.\PbxMedia\IVREngine.cpp(1228):IvrService, IVREngine::RegisterLines(), Registering of lines...127.0.0.1:5060127.0.0.1:50609999[858,8000][1003,1006,1005,1002,1004,1001][EndCall,IVRForward,MakeCall]
14:35:25.553|2572|.\PbxMedia\IVREngine.cpp(1349):IvrService, IVREngine::RegisterLines(), Registering of lines done.
14:35:43.181|2968|(0):Error! Module '3CX.com.OSBinet'. Error ID 302. URLhttp://localhost:5484/(S(ygzd3j55somhuv455ez2ehzs))/dr.aspx?dr=8000&to=8000&from=1205
14:35:47.689|2968|(0):Error! Module '3CX.com.OSBinet'. Error ID 302. URLhttp://localhost:5484/(S(ygzd3j55somhuv455ez2ehzs))/dr.aspx?dr=858&Action_8=1&act=8&transfToIVR=1
14:36:03.757|2968|(0):Error! Module '3CX.com.OSBjsi'. Error ID 501. errmsgmissing ; before statementline1linetxt127.0.0.1tokentxt.0.1
14:36:03.757|2968|(0):Error! Module '3CX.com.OSBjsi'. Error ID 501. errmsgSyntaxError: missing ; before statementline1linetxt127.0.0.1tokentxt.0.1

I am not sure if this much more verbose then it was before but I set it to lvl 8 in the INI file. Here my file.

[3CXIvrServer\Logger\Outputs\LogFile]
Level=8
Severity=Log Error Critical Trace
Format=$ShortDT|$ThreadID|$FileLine:
KeepBackup=1
File=3CXIvrServer.log
MaxFileSizeKB=2048

I tested it numerous times and each time those same errors were seen in the IVR log with ID's 501 and 302.

It's feel like we are so close as 80% of it is working, only items left are to validate the pin and then transfer.

Thanks again.
cknott2243
New User
 
Posts: 49
Joined: Tue Jul 06, 2010 5:06 pm

Re: VAD Templates?

Postby VAD_Support » Wed Aug 18, 2010 9:48 pm

Hi,

Did you restart 3CX services after changing the log level? You should have much more information there.

Error code 501 seems to be a javascript error, but it is not clear where is the error. With verbose level you shoul see much more information.

Try restarting the services and test it again.

In regards to the Grandstream phone, take a look at the DTMF configuration. Those phones are preconfigured to send digits in band, and you should change it to use RFC2833.

Thanks,
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 439
Joined: Thu Aug 06, 2009 5:29 pm

Re: VAD Templates?

Postby cknott2243 » Wed Aug 18, 2010 10:47 pm

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.
cknott2243
New User
 
Posts: 49
Joined: Tue Jul 06, 2010 5:06 pm

Re: VAD Templates?

Postby VAD_Support » Thu Aug 19, 2010 1:21 pm

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.
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 439
Joined: Thu Aug 06, 2009 5:29 pm

Re: VAD Templates?

Postby cknott2243 » Thu Aug 19, 2010 4:14 pm

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.
cknott2243
New User
 
Posts: 49
Joined: Tue Jul 06, 2010 5:06 pm

Re: VAD Templates?

Postby VAD_Support » Thu Aug 19, 2010 6:52 pm

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,
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 439
Joined: Thu Aug 06, 2009 5:29 pm

Previous

Return to 3CX Voice Application Designer (VAD)


Who is online

Users browsing this forum: No registered users and 0 guests

Announcements: