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
How do I configure two Cable Modems on one LAN
Excel Printing Error on Ne07
How to add images and change backcolor when select on tabpage header+vb.net 2005
How do I add a domain address to my Exchange 2007 mail server?
...\SystemIndex\Indexer\Ci
Files Folder is huge
query to find days over 30 since event
How do I write an algorithm to search for 2 or more matching values?
Trouble installing software
strcpy : pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
Cisco 2811 - 2 ASA 5510's