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
Win 7 and XP dual boot
array of associative arrays
Web hosting control panel
how do i compress PCM data?
Rubberbanding with 2D rectangle
size of listbox html
Slow Web Page Response with Websense 6.3.3
How to use my.settings in vb.net
ADMT and sid mapping
MS Excel 2010 and MS Analysis Services 2005 XML Parser Error