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
Can a VM machine be created on a Windows 7 computer?
Two 2008 R2 Domains on Same Subnet - is this ok?
Donate computers - erase hard drives?
How to auto populate dropdown with last 10 calendar years?
SELECT statement never completes over db_link
Back up a VMWare server
Incoming e-mails being stripped
cricket's towers
Help formating a output in Powershell
Server 2008 R2 - Can't connect to a remote app through rdweb