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
!!CRITICAL ERROR: Memory retention failure, unflushed cache lost!!!
Adding Environment Variable to pass from a batch file to a VB Script
Microsoft Access 2007 - Change Form Recordsource While Form is Open
php function parameter type
remove horizontal padding
Sonicwall Pro 2040 Content Filter (CFS) question - not sure which one to use.
Tracking all messages by a manager in Exchange 2010
How can I modify a Saved Import spec FROM EXCEL in Access 2007?
Visio 2007 installing problem
Is there a Region... End Region in VBA?