Link to home
Start Free TrialLog in
Avatar of tabush
tabush

asked on

execute command line from hyperlink/url

is there any way i can call an application with a parameter from a URL?

the command line is c:\dial.exe 12345
(where 12345 is the phone # to be dialed)

i tried doing it in my browser's address bar but the space is causing a problem.

thank you.
SOLUTION
Avatar of msifox
msifox
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tabush
tabush

ASKER

i want it that when a user clicks the URL, it executes the command on the user's local PC
Avatar of tabush

ASKER

PS i realize there is some risk in that.. such as a rogue URL calling "format c:", so i assume there is somewhere in Windows that i will have to designate this exe as an "allowed" app for a browser to run... or do i need some type of browser plugin to do it?
SOLUTION
Avatar of mankowitz
mankowitz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Which telephony provider are you using?
Avatar of tabush

ASKER

x66_x72_x65_x65 I'm using NBS - a local provider in the NY/NJ metro area, and they use a broadsoft platform.

All - when I use any of the programs such as dialer, or dial.exe, they tell windows something, and then windows issues a command over the network to the polycom phone using standard TAPI protocols. is there a way to get a link from a browser to just issue these same commands directly? or to call Windows TAPI from a URL? i'm currently looking at a program called HTTPTAPI which might do the trick, it's at http://www.ipcom.at/en/telephony/httptapi/
Run a packet trace placing a test call with wireshark and post it here for review.

Another option is writing your own plug-in/extension.  See here and here.  Here's an existing extension which could possibly be manipulated.

Try this using your Polycom's IP address:

curl --digest -u polycom:polycom -d "<PolycomIPPhone><Data priority="Critical">tel:\\1234567890</Data></PolycomIPPhone>" --header "Content-Type: application/x-com-polycom-spipx" http://10.252.75.169/push

Open in new window


Curl: http://curl.haxx.se/download.html