DX Infrastructure Manager

Expand all | Collapse all

How to use SMS HTTP Post to send sms alerts

  • 1.  How to use SMS HTTP Post to send sms alerts

    Posted 04-15-2011 06:23 PM

    Hi Guys,

     

    Somebody knows how can I use sms url post to send sms alerts.

     

    I need to use this sintax to send critical alerts.

     

    http:/Sms.do?dispatch=send&account=CONTA&code=SENHA&to=TELEFONE&msg=TEXTOMSG

    Where:

    CONTA – user name;

    SENHA – pass;

    TELEFONE – phone

    TEXTOMSG – message;

     

    I think that I need to create LUA script, but I don't know how.

    Somebody have a sample LUA script for this?

     

    Regards,

    Marcelo



  • 2.  Re: How to use SMS HTTP Post to send sms alerts

    Posted 04-15-2011 09:03 PM

    I do not think you will be able to do this natively in the NAS (or the NSA). Your best best is probably to download curl and call it using the action.command() function in a script. You can find it here:

     

    http://curl.haxx.se/