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
USB Flash Drive 16GB - Is it gone ?
How do i determine the size of a byte array at run-time in c#?
Outlook Sync multiple users and multiple computers
Citrix Receiver with iPod Touch
Access - autoback upn and repair
What Windows Roles and Features are required for SharePoint 2010?
Create Logoff Script in Group Policy via Batch
451 4.4.0 Primary target IP address responded with: ""554 mail.domain.gov""
World map showing broadband coverage....
tips for installing service pack on windows 2008