VoiceGuide IVR Software Main Page
Jump to content

Support For C# Or Vb.net Development

Recommended Posts

You can develop your own extensions in whatever language you choose and then call them from within Run Program or Run VBScript modules.

 

A common approach is to expose a COM interface and then call that from within a VBScript module.

 

You may want to read up on VoiceGuide's COM interface as well...

 

What type of system are you looking to create?

Share this post


Link to post

we have to provide a basic IVR system that simply validates a KEY CODE, which is punched in through a phone pad.

Share this post


Link to post

we have to provide a basic IVR system that simply validates a KEY CODE, which is punched in through a phone pad.

Share this post


Link to post

This is a very straightforward script, it would only take a few modules to create...

There would not be any need for any programming if you just want to compare the PIN against one in a database...

 

Have you downloaded the evaluation version of VoiceGuide yet and had a look at how it works?

Share this post


Link to post

Yes.i have downloaded the evaluation version.

 

I have to develop application in

 

==> .NET / C# using SQL Server 2000 database

 

==> Win2K and Win2003 servers

 

 

I have some queries:

 

1. After generating vb sripts .How can i use those scripts to test an IVR application.

 

2. How can i test this code on production server.

 

3. Is it require to run VisionGuide continuously on production server.

 

4 How to use COM Interface with VisionGuide in C#.

Share this post


Link to post

If you have downloaded VoiceGuide the open the script designer and use a "Get Numbers" module to get caller to enter their PIN and then use a "Database Query" module to do any SQL Server queries (retrieve pin?).

 

It will take you like 10 minutes to create the script...

 

Have you read though the VoiceGuide help file yet to see how the different modules work and looked through sample VoiceGuide scripts?

Share this post


Link to post

Yes i have read help file and example scripts.

 

But this is to generate script after that how these scripts will run on production server ?

Share this post


Link to post

Same way they run on your development system.

 

You install a copy of VoiceGuide on the production server and VoiceGuide runs the scripts...

 

How many lines/systems are you deploying?

Share this post


Link to post

It means whenever a call comes it will interact with VoiceGuide's running application.

 

Then voiceguide will run script and do database validations.

 

Is it so ?

Share this post


Link to post

(Interruptible playback to reduce call time)

 

VG has feature to voice prompts that can be cut in between to select a

particular option being read out. This saves the caller’s time on the phone and

also releases the telephone line faster for the system to receive the next call?

 

Is this feature is available or not ?

Share this post


Link to post
Then voiceguide will run script and do database validations.

Is it so ?

Yes.

VG has feature to voice prompts that can be cut in between to select a

particular option being read out. This saves the caller’s time on the phone and

also releases the telephone line faster for the system to receive the next call?

Is this feature is available or not ?

Yes, that’s how it works by default. Prompts will stop playing as soon as a valid option is selected.

Judging by your questions you have not event tried using the software yet...

You should install the software and a Dialogic card on one machine and just start using it to see how it works...

Share this post


Link to post

Can we develop IVR application using VoiceGuide with Nortel Meridian PBX and D/4PCI Dialogic card ?

Share this post


Link to post

Sure. Just attach the Dialogic card's ports to the analog extensions on the PBX just like with any other PBX.

Share this post


Link to post

We are using Alcatel 4200 Office Series PBX for development environment.

 

And we have Nortel Meridian PBX for production environment.

 

Dialogic card is D/82JCT.

 

My queries are:

 

1)Can we develop and test our application using VoiceGuide with Alcatel 4200 office PBXand D/82JCTdialogic card?

 

2)And can we run same application using Nortel Meridian PBX with D/82JCT dialogic card on production environment?

 

Thanks

Share this post


Link to post

Yes, the D/82JCT provides information from the various PBXs in the same way.

 

(have you confirmed the D/82JCT supports both PBXs?)

Share this post


Link to post

Issue is we have Analog PBX in development environment and Digital PBX in production environment.

 

So we just want to resolve compatibility issue before going to development.

Share this post


Link to post

Our requirements has been changed.

 

We now have to use a webservice written in c# to validate the key code and do basic validations against keycode.

 

Can u give me some resources in c# which have used VG and webservice.

 

I have gone through ur support article

 

"How can VG retrieve info from a Web Service".

 

It has only given vbscript code.

 

Not the c# code to use that script.

 

Or can u advice some resources on usage of COM Interface provided by VG in C#.

Share this post


Link to post
webservice written in c#

You should speak to a C# programmer then... doesn't sound like VoiceGuide is involved in this.

I have gone through ur support article

"How can VG retrieve info from a Web Service".

It has only given vbscript code.

Yes, that's how you would use a Web Service from VoiceGuide. How you use it from other programs is up to the programmer/designer of that other program...

Or can u advice some resources on usage of COM Interface provided by VG in C#.

You should probably look at articles which describe how to work with COM interfaces from C#.

Share this post


Link to post

I have installed Dialogic D4PCI card .but while running voiceguide setup wizard, 4 lines available with dialogic card not listing in TAPI line devices.

 

So, i am not able to bind my VG script to lines.

Share this post


Link to post

Means instead of "VoiceGuide 5.2.5049 (23.1 MB)" .

 

I have to download "VoiceGuide for Dialogic patch v6.0.3107 (2.4 MB)".

 

And install it.

Share this post


Link to post

The instructions for installing "VG for Dialogic" are in the readme.txt file in the "VG for Dialogic" download.

Share this post


Link to post

Thanks, now it is working fine for dialogic card.

 

We are using your "webservice example".

 

it hangs up after prompting the messages.

 

In VBcript module we have written sample code provided by you to access webservice.

 

Currently in development environment , webservice is running on local computer.

 

Here is the code.

 

I am sending the webservice code and the script generated.

IVRS.zip

Share this post


Link to post

If you can post the trace from VoiceGuide then we can comment on what the script is doing...

Share this post


Link to post

My scripts hangs after the final message.

 

I cannot dial again.

 

It shows "script is running".

 

Is it due to playing wave files through "Play_Start" method.

 

Even i am dereferencing all variables.

 

varResult=(xDoc.getElementsByTagName("int").item(0).text)

 

If varResult = 1 Then

 

vg.Admin_TraceLogAdd 0, 0, "Enterd in true condition,$RV[Get Client ID],$RV[Get Card Number]"

vg.Play_Start $RV_LINEID, "C:\Program Files\VoiceGuide\Scripts\Credit Card Payment\PayYouArePaying.wav"

 

ElseIf varResult = 0 Then

 

vg.Admin_TraceLogAdd 0, 0, "Enterd in false condition,$RV[Get Client ID],$RV[Get Card Number]"

vg.Play_Start $RV_LINEID, "C:\Program Files\VoiceGuide\Scripts\Credit Card Payment\PayThankyou.wav"

 

End If

Share this post


Link to post

Enable logging by setting the log levels to 10 in VG.INI as per below:

[Log]

 

VoiceGuide=10

NumberLoader=0

VoicemailManager=0

EmailSender=0

TapiWrapOcx=10

SapiWrapOcx=0

Then make a test call which demonstrates the problem.

 

Debug Trace files will be created in VG's \log\ subdirectory.

 

Please post the traces and the VoiceGuide script used.

 

When posting traces/scripts please .ZIP them up and post them as attachments.

Share this post


Link to post

As i said my application doesn't stop after call disconnect.

 

Still Vbscript is running.

 

It shows busy tone,so not able to make another call.

 

I am attaching my script and log file.

VGLog.zip

Share this post


Link to post

How i can pass username,password as object in webmethod in VBScript

 

My Webmothed type is : string verifyPin(Credentials c, string PIN).

 

i can pass as PIN as general String type parameter but what about credentials object ?

Share this post


Link to post

Looks like calling the Play_Start COM function from within the script is breaking the VBScript module completion in this version of VG.

 

As a workaround could you save the sound filename to be played in an RV and then specify to play that RV from a Play file module following the VBScript module.

 

We'll look into this bug and should have a fix out for it soon.

 

How i can pass username,password as object in webmethod in VBScript

That's a VBScript/web related question, not VoiceGuide related question. Have a look on VBScript related programming sites and/or Google...

Share this post


Link to post

How can i count number of attempts made by user using VG.

 

On that i have to call different "play modules".

 

Means,

 

on first attempt play different message ....

on 2nd attempt play different message.....

Share this post


Link to post

Then you'll need to keep track of CallerIDs of callers in a database and decide what to play based on what was the history of what was played to that caller...

Share this post


Link to post

Again,

 

My requiremrnt is :

 

if user enters digits and response is wrong then we prompt for second attempt.

If on second attempt it fails then it should hang up.

 

 

On an invalid entry we should allow user for 2 attempts.

 

else one attempt.

 

I hope now the ques is clear.

Share this post


Link to post

The description you provide now suggests that a different prompt should be played during the same call...

 

That can be achieved by using an RV as the prompt file to be played and changing the value of the RV before each time the caller is asked to enter the number again...

(or by just using a chain of "Get Number" modules...)

Share this post


Link to post

We are using D4pci dialogic card.

 

we want to print information related to call in log file.

 

Like Caller id name,Caller Id number.

 

i know we can print them using Result variables.

 

but in log file it shows blanks.

 

we r codeing like this:

 

vg.Admin_TraceLogAdd 0, 0, "##XML document successfully loaded,$RV[Get KeyCode],$RV_LINEID,$RV_CIDNAME,$RV_CIDNUMBER"

 

And the log text is:

 

0 comlg ##XML document successfully loaded,123456,4,,

124319.97 0 comlg ##Returned value,varResult,123456,4,,

124319.97 0 comlg Enterd in Valid PIN condition,123456,4,,

 

Is it due to we are using analog dialogic card(d4pci)?

 

How can we print call information.

Share this post


Link to post

Trace shows that $RV_CIDNAME and $RV_CIDNUMBER are not set as the CallerID details were not received from the phone company for this call.

Share this post


Link to post

One more thing to clarify.............

 

Is call information depends on type of dialogic card.

 

Means, only digital dialogic card provides call information not analog one.

 

as in this case it is d4pci (Analog.)

Share this post


Link to post

Most phone companies will send CallerID number on their analog lines, and many will send the name of the caller as well...

 

Looks like your phone company does not send the CallerID number on their analog lines.

 

You should speak to the phone company about this...

Share this post


Link to post

we are using dialogic d4pci and PBX is Alcatel 4200 series.

 

if one line is busy ,how can we transfer incoming call to other free line?

 

Can we have any option in voiceguide setup for "on busy call divert"?

 

Or we have to configure PBX for that?

Share this post


Link to post
Or we have to configure PBX for that?

Correct. You'd need to configure the PBX to send to call to another extension if this one is busy.

The PBX should let you setup 'hunt groups' which will result in a call being sent to any extension in the hunt group that is free.

Share this post


Link to post

What do you mean by "quick cut in option" ?

 

Do you mean stopping the playback of a sound file as soon as a DTMF key matching en existing path is pressed? VG does this already.. (but some voice modems do not support it).

Share this post


Link to post

Yes same thing,

 

Yes, VG supports for Get Number Module.

 

But for Play Module it doesn't work.

 

 

We want quick cut in during Play Module.

 

Can we do this thing......

Share this post


Link to post

If there is a path matching the pressed DTMF then VG will stop playing and go down that path. If there is no path defined for that DTMF then VG will continue to play the message.

Share this post


Link to post

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
×