Fortinet black logo

Administration Guide

Configuring SMS text message settings for notifications

Configuring SMS text message settings for notifications

For FortiRecorder to send SMS messages, you must specify the SMS service providers.

To configure FortiRecorder to send SMS messages

  1. Go to System > Configuration >SMS.
  2. Configure the following settings:

    Setting Name

    Description

    Service provider

    Enter the SMS service provider name.

    Description

    Enter a short description of the provider.

    Type

    Select the SMS protocol: either SMTP or HTTP.

    For SMTP, enter the Email to, Email subject, and Email body information.

    You can use the following tags when filing the fields:

    • {{:country_code}}: Country code portion of the SMS number field in the user's configuration.
    • {{:mobile_number}}: Phone number portion of the SMS number field in the user's configuration.
    • {{:message}}: Text of the message.

    For HTTP, enter the following information:

    • HTTP URL: The URL to contact to send SMS messages.

      Example:

      https://myprovider.com/sendsms

    • HTTP method: Either Get or Post.
    • HTTP/S Parameters:Configure all the parameters and values required by the provider to send the SMS message. You can use the same tags that were available above for SMTP. If you select the Encrypt check-box in a parameter, then when viewing the configuration, the value will not be displayed.

      Caution: The Encrypt option only affects the display, not the information transmission. The value will still be sent as entered (clear text, not encrypted) to the remote server. For this reason, HTTPS is strongly recommended. If you do not use a secure protocol, then sensitive information can be read and modified by any device that can intercept the communications. This can compromise security.

    For example, if your provider indicates that to send a message the syntax should look like the following:

    https://smsserver.com:8080/sendsms?api_id=1234&user=user&to=<phone_number>&text=<message>&password=<passwd>

    Then the settings might be:

    HTTP URL: https://smsserver.com:8080/sendsms

    HTTP Method: Get

    Parameters:

    api_id id

    user user

    to {{:country_code}}{{:mobile_number}}

    text {{:message}}

    password password

    Caution: Select the encrypt checkbox to obscure the password when viewing the configuration. If you do not, verify that no cameras or persons can see your screen, which would compromise security.

  3. ClickOK.

After configuring the SMTP server and the SMS service provider, configure the cameras and FortiRecorder with your notification criteria.See Configuring notification triggers and Configuring alert email.

You can customize the templates used by SMS notifications. See Customizing email templates.

Configuring SMS text message settings for notifications

For FortiRecorder to send SMS messages, you must specify the SMS service providers.

To configure FortiRecorder to send SMS messages

  1. Go to System > Configuration >SMS.
  2. Configure the following settings:

    Setting Name

    Description

    Service provider

    Enter the SMS service provider name.

    Description

    Enter a short description of the provider.

    Type

    Select the SMS protocol: either SMTP or HTTP.

    For SMTP, enter the Email to, Email subject, and Email body information.

    You can use the following tags when filing the fields:

    • {{:country_code}}: Country code portion of the SMS number field in the user's configuration.
    • {{:mobile_number}}: Phone number portion of the SMS number field in the user's configuration.
    • {{:message}}: Text of the message.

    For HTTP, enter the following information:

    • HTTP URL: The URL to contact to send SMS messages.

      Example:

      https://myprovider.com/sendsms

    • HTTP method: Either Get or Post.
    • HTTP/S Parameters:Configure all the parameters and values required by the provider to send the SMS message. You can use the same tags that were available above for SMTP. If you select the Encrypt check-box in a parameter, then when viewing the configuration, the value will not be displayed.

      Caution: The Encrypt option only affects the display, not the information transmission. The value will still be sent as entered (clear text, not encrypted) to the remote server. For this reason, HTTPS is strongly recommended. If you do not use a secure protocol, then sensitive information can be read and modified by any device that can intercept the communications. This can compromise security.

    For example, if your provider indicates that to send a message the syntax should look like the following:

    https://smsserver.com:8080/sendsms?api_id=1234&user=user&to=<phone_number>&text=<message>&password=<passwd>

    Then the settings might be:

    HTTP URL: https://smsserver.com:8080/sendsms

    HTTP Method: Get

    Parameters:

    api_id id

    user user

    to {{:country_code}}{{:mobile_number}}

    text {{:message}}

    password password

    Caution: Select the encrypt checkbox to obscure the password when viewing the configuration. If you do not, verify that no cameras or persons can see your screen, which would compromise security.

  3. ClickOK.

After configuring the SMTP server and the SMS service provider, configure the cameras and FortiRecorder with your notification criteria.See Configuring notification triggers and Configuring alert email.

You can customize the templates used by SMS notifications. See Customizing email templates.