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
When in ASP.NET might you use a User Control? A Custom Control?
How do I stop blank orders from being submitted
Using Modal Popup Extender with Master Page
Disable User Account with VBS Script in Active Directory
Primary hard drive not showing in computer management in Windows &
How to setup an audit for logon and logoff for individual user(s)
Asian characters appear in mass email
In .net C# how do you read a INI file
Adding additional server ito SBS2003 system - cannot see shared files on additional server
Create New Tab with dynamic data