Microsoft
Software
Hardware
Network
Question : Sending a web API command from Asterisk
Hello experts,
I have a subscription with an SMS messaging service which can be used through some API web commands like the following:
http://api.smsprovider.com
/some+code
+here
Would you please guide me how to send such commands from my Asterisk dialplan.
Answer : Sending a web API command from Asterisk
Easiest thing to do is use the shell command in asterisk, and call wget to execute the URI.
http://www.asterisk.org/do
cs/asteris
k/trunk/fu
nctions/sh
ell
exten => 1,Set(foo=${SHELL(wget
http://api.smsprovider.com
/some+code
+here
)})
Random Solutions
Ms Access how do I to run a query based off a table
Mutiple e-mail accounts and default account
How to change the title of the backbaritem in uinavigationcontroller
Send a Command to the AS400 In VFP
Downloading .WMV files from a browser link
Crystal report: Field Name is not known
MySql 5.1.47 Remote Access Problem
error while using grid view
Why does opening a file in Excel affect the same file in VB.net?
Help Reqd. for AutoIt Script