Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

voicemail pro vmpro and vbscript not able to use dll

Status
Not open for further replies.

VinylDave

Technical User
Jun 6, 2002
206
IE
Hi guys
I have a vmpro 8.1 and a vbscript which runs a database dip and then a https request using an application we have written. The vbscript is never able to invoke the dll which we have registered. The user of vmpro is a domain admin and local admin (tried both ways). We can register the dll using Run as Administrator in command prompt, but voicemail pro call flow doesn't get any response from it. its a 2003 windows server, 32 bit I think, need to confirm tomorrow. Has anyone come across this before?
cheers
Dave
 
What makes you think you can use a 3th party DDL to communicate with VM Pro?
 
Hi Intigrant
we have it working on a 2008 and a 2003 server. basically vmpro invokes a vbscript which creates an object from the dll. It's more a windows issue but just not sure where to check...

thanks
Dave
 
There are excellent Windows OS programming forums here, try it.
 
we found it. C:\Windows\Microsoft.NET\Framework\v4.0.xxxxx\ “.

Then execute “REGASM.exe C:\where_ever\nameOf.dll /codebase /tlb”


 
Nice. May I ask what the DLL does and how you use the data?
 
Wait wait wait...you can work with external DLL files in vbscript in vmpro??

Oh...my.

-Austin
ACE: Implement IP Office
qrcode.png
 
We have a vmpro module which reads a database for money owed on an account and takes card details for processing payment. We then send the request to the payment gateway and update the database with the transaction information. We had tested it on a SOAP application and now live on a https direct to the payment gateway. Works pretty well. Still trying to figure out how to change the TTS prompts to use the nice english girl and not the weird serial killer dude. I tried at start setting Language but that didn't work. Any ideas?

cheers
Dave
 
Is this generic windows TTS? Control Panel> Speech> Text to Speech> Select in the drop down.

If Scansoft, I think that is determined by the install suite, mine gives female as default (and I haven't tried changing, because I didn't know there were any choices)

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Mine uses a nice english girl, but I think I have the scansoft tts installed...i didn't even know it was working.

On another note, I think we'd all love it if you wrote up a FAQ how you were able to interact with a DLL outside of vmpro.

-Austin
ACE: Implement IP Office
qrcode.png
 
Hi,

I'm looking for help to start a vb script, could-you send me an example of your work ?

I tried to simply exectute a bat and used this script :
Sub Main (dlgid)
dim registration
set Voice = CreateObject("vmprov5.voicescript")
registration = Voice.Registrer(dlgid)
if registration Then
' end of integrated script
Voice.Speak(voice.CallingParty)
Msgbox "Debut"
Dim Sh
Set Sh = CreateObject("WScript.Shell")
Sh.Run "C:\temp\launch.bat param"
Set Sh = Nothing
Voice.Speak("fin")
'end of personal script
end if
end Sub

The tts fonction is ok but nothing else. Have you got an idea ?

Thanks
 
Hi,

Sorry, I'm going to start my own. My purpose was to contact D4Irl.
 
Not everyone (rather few) are interested in sharing their work here.
It's become more and more "Help me, dear all, Help me! (But I wouldn't dream of helping others, or even bother to thank you for saving the day)"

What you're looking for is pretty much off the beaten track.
I've no idea how it's done, but I'd be the first to tell if I knew [smile]

Good luck with your thread, let's hope there is a good Samaritan out there!

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top