<sms to action>DATA</sms>
sms sends an SMS message. It has the following attributes:
- to: The destination number
- *DATA*: The message data
Example:
<document type="text/freeswitch-httapi"> <work> <sms action="http://localhost/newurl.php" temp-action="http://localhost/newtempurl.php" to="sip:[email protected]">Message text here</sms> </work> </document>
Note: this requires mod_sms to be compiled and loaded. See http://wiki.freeswitch.org/wiki/Mod_sms for more information.