Solved

Programatically make VOIP call using VB in Access

Posted on 2011-02-14
8
1,138 Views
Last Modified: 2012-05-11
We have an existing database that is a MySQL backend and an Access front end. It has served us well for many years. We are now extending this to include touchscreen monitors and linking the database to a couple of web applications. One function I would like to have is to use the touchscreen to click on a client, then click on a "call" button. This should be able to use some kind of command-line call from VB in Access to launch or control some VOIP app to place a call (the monitor will have speakers and I can mount a mic on top of the monitor).

I suppose what I need is suggestions for a VOIP app/service/software that can place a call over the internet to a mobile or landline that can be controlled, or at least can be directed to place a call from the VB in Access. Of course free would be great! But I highly doubt that is going to happen so lets say it needs to be reasonably affordable.

If you also happen to have examples of calling that app from VB that would be a bonus!
0
Comment
Question by:AMPLECOMPUTERS
  • 3
  • 2
8 Comments
 
LVL 84
ID: 34892406
The first thing you'd need to do would be to settle on a VOIP solutions, since that solution may have a builtin utility to allow you to call into it.

Barring that, you can always make use of the TAPI features of Windows to manage this. This is a massive subject; here's the starting point:

http://msdn.microsoft.com/en-us/library/ms734273(v=vs.85).aspx

VB classic has a control you could use, if I'm not mistaken. And .NET seems to be much more tightly integrated with this as well. Access will be a tough nut to crack with the TAPI stuff, I'd bet.
0
 

Author Comment

by:AMPLECOMPUTERS
ID: 34907083
Therein lies the problem, I can not settle on a VOIP solution unless that solution provides the capabilities I need.

I think this may be a little over the top. I was thinking more along the lines of a command line parameter or something. For example:

Dim CustNumber as String
Dim DialString as String
CustNumber=Me!txtCustNumber
DialString = "voipapp.exe /dial" & CustNumber
Call DialString
msgbox("Placing call...")
Call "voipapp.exe /close"

This would get the phone number from the form on the screen and pass it in the call statement to the executable of the VOIP calling app. Then it would pop up a box telling me that it is connecting, then once I click OK on the messagebox it would close the VOIP app.

Now I am not dead set on command line parameters, but I am looking for a simple solution that requires a minimum of programming. All I need to be able to do is place a call to a particular number and disconnect.

I suppose I should also clarify something. I am looking for a single line solution, not a multiline business service, I need no incomming line or number, no voicemail, no frills. I would prefer a solution that would allow unlimited calls in the US for a flat monthly fee. This would strictly be so that an employee could be at a service terminal, click on a "call" button and be connected to a client using an internet phone service (VOIP) speaking through a microphone mounted on the front of the monitor.
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 34907253
Then you'll have to examine the various VOIP solutions out there to determine if they provide that sort of automation. Command-line style interaction is governed by the program, and is not something that is forced by Windows. In other words, if you use Skype, for example, then the Skype.exe program would have to be written such that it would accept commandline parameters, or would have to provide you with some form of an API/SDK in order for you to automate. If the developers of Skype decided to NOT do this, then you're out of luck.

BTW, I'm a big fan of Skype, and in fact Skype offers an API:

http://developer.skype.com/accessories

I'm not sure you could do this within Access, however. In most cases, web-based applications like Skype require you to be able to consume WebServices, which requires a web-based application or a more advanced programming language (like VB.NET).
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:AMPLECOMPUTERS
ID: 35207925
I found that Skype can be called from the command line so I will work on that angle.
0
 
LVL 84
ID: 35447752
Seems like the author went with Skype, so my suggestion here 34907253 would qualify as the solution, it would seem.
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 35714971
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question