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
PDF embed
Exchange / domain Setup 2003
Regex to remove content from alt attribute in image tag
Mofify the query
Do Access Forms sometimes "Time-out" on opening if the underlying query is too complex?
Timeout Expired max pool size was reached
Using GPP to set unique printers for each user on a Terminal Server
Problem with SOAP application on IIS "502 - Web server received an invalid response while acting as a gateway or proxy server"
how to create a count that starts at 001?
what's the right way of loading multiple images in Loader?