Need to call tapiRequestMakeCall in IE

Ok, be easy on me. I'm a PHP/Javascript guy, not IE, this is all greek to me.

Anyway, I've been told that to make my CRM (PHP) work with a windows based TAPI dialer, I need to do a call to tapiRequestMakeCall.

That's all I've been told.  I'm hoping that means I need to do something in vbscript IN the webpage, as opposed to writting an external program.  Basicly the goal is to let the user click on a link or button and then the phone number is passed to the dialer.

Any clues?  I started off trying to find something to make callto:// work but that was a dead end.
LVL 1
bennybutlerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RobSampsonCommented:
Hi, try this
<script language="vbscript">
  Sub MakeDiallerCall(strNumber)
     Set objRequest = CreateObject("RequestMakeCall.RequestMakeCall")
     lngResult = objRequest.MakeCall(strNumber, "", "", "")
  End Sub
</script>

Regards,

Rob.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RobSampsonCommented:
bennybutler, did my suggestion help you at all?

Regards,

Rob.
0
bennybutlerAuthor Commented:
Sorry rob, I missed the email that I got a solution.  I'll check that as soon as I get to work today.  if this works, it'll be great!  I'll let you know.
0
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

bennybutlerAuthor Commented:
Ok, this worked, but the problem is, it only worked once.  After I hung up the call, windows (vista) never released it, so to make any further calls, I had to reboot.  Any ideas?  I've included my test code.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php //PHP ADODB document - made with PHAkt 3.7.1?>


Untitled Document


<script language="vbscript">
  Sub MakeDiallerCall(strNumber)
     Set objRequest = CreateObject("RequestMakeCall.RequestMakeCall")
     lngResult = objRequest.MakeCall(strNumber, "", "", "")
  End Sub
</script>




call


0
RobSampsonCommented:
Not sure.  You can either try
Set objRequest = CreateObject("TAPI3Lib.RequestMakeCall")
instead of
Set objRequest = CreateObject("RequestMakeCall.RequestMakeCall")

to see if works correctly.

Otherwise I'm not really sure.  I've read that it can be done using the TAPI.TAPI object in other languages, but this doesn't seem available to VBScript.

Regards,

Rob.
0
RobSampsonCommented:
Do a bit of a seach on Tapi3Lib and see if you can find anything a bit more useful....

Regards,

Rob.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IP Telephony

From novice to tech pro — start learning today.