Page 1 of 1

Click to Call

Posted: Mon May 03, 2021 3:58 pm
by rmtarget
Hi Friends, I want to make a phone call using a field in one of my databases that contains phone numbers, is this posible? somebody has some example of this? thanks in advance and best regards

Re: Click to Call

Posted: Mon May 03, 2021 4:35 pm
by danielmaximiliano
http://www.hmgforum.com/viewtopic.php?t=3936
Mira aquí, veo si hay algún otro

Re: Click to Call

Posted: Tue May 04, 2021 12:26 am
by AUGE_OHR
hi,

Did you use VoIP Telefon :?:

Re: Click to Call

Posted: Tue May 04, 2021 1:49 am
by danielmaximiliano
Hola : creo es necesario usar las funciones TAPI, como no tengo modem dentro de la Notebook (HP ProBook 4530s) me es imposible ejecutar correctamente este codigo

Code: Select all

#include <hmg.ch>

Function Main
Public cNumber , cCallTO , oTapi, cProgram
        
		oTapi:= CreateObject("TAPI32.DLL")
cNumber  := "01169026142"
cCallTO  := "DanielMaximiliano"
cProgram := "C:\Windows\System32\dialer.exe"
oTapi:tapiRequestMakeCall(cNumber, cProgram, cCallTO, " ")
Return