TEL: protocol (3CX voip)

This forum is for eXpress++ general support.
Message
Author
User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: TEL: protocol (3CX voip)

#11 Post by Auge_Ohr »

skiman wrote: Fri Apr 30, 2021 7:09 am I never specify the EXE when opening documents known by Windows.
Example:
DllCall('Shell32.dll', 32,'ShellExecuteA', 0, Chr(0), 'c:\test\test.pdf', Chr(0), Chr(0), 3) opens the PDF with the default program.
it is right when Extension is "registered" but what about "tel:123456" ?

---

hm ... just think about "mailto" :idea:

Code: Select all

ShellExecute( 0, "open", "rundll32.exe", ;
                    "url.dll,FileProtocolHandler " + ;
                    "mailto:Auge_Ohr@Web.DE" + ;
                    "&subject=HBFM%20" + cVersion + "%20Feedback:" + ;
                    "&body=Hello%20World",, 1 )
greetings by OHR
Jimmy

skiman
Posts: 1199
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: TEL: protocol (3CX voip)

#12 Post by skiman »

Hi Jimmy,

That tel protocol is registered.

If I enter this as text in an outgoing mail:
My phone number is tel:050123456
I can click on the number, and my 3CX app is opened.

I tried your suggestion, but it also doesn't work.
DllCall( "Shell32.dll" , DLL_STDCALL, ;
"ShellExecuteA", 0, Chr(0), "url.dll,FileProtocolHandler tel:050353100", Chr(0), Chr(0), 3)

There must be a way to get this working. I created a small html, and this is working.
Attachments
makecall.zip
(195 Bytes) Downloaded 433 times
Best regards,

Chris.
www.aboservice.be

skiman
Posts: 1199
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: TEL: protocol (3CX voip)

#13 Post by skiman »

Hi,

DC_SpawnUrl("tel:050353100") is working. They had to set something on the 3CX server, and now this is working. The 3cx phone app is opened and you can click on Dial.

@Wolfgang, thanks for the suggestion.
Best regards,

Chris.
www.aboservice.be

Wolfgang Ciriack
Posts: 484
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: TEL: protocol (3CX voip)

#14 Post by Wolfgang Ciriack »

Fine that this is working for you. :dance:
_______________________
Best Regards
Wolfgang

Post Reply