Get Notified About Connection Loss by SMS

Vigor Router can send SMS notifications to the network administrator for the following events:

Note: Available options may vary by model. This article provides an example of how to configure the router to send SMS notifications for WAN and VPN disconnections and reconnections.

For the router to send SMS messages, we need the SMS API service, or if you are using LTE models, you can also send SMS  from the inserted SIM card. Skip step 1 and 2 if you are going to use the SMS service from the SIM card.

1. Set SMS service provider object, go to Objects Setting >> SMS / Mail Service Object, click one of the empty indexes.

NOTE: Index 1 to 8 allow to choose the built-in SMS provider. If the desired SMS provider is not on the list, click index 9 or 10 to configure a customized SMS service provider.

2. Enter or select the following information:

  1. Profile Name for identification
  2. Select the Service Provider
  3. Enter the Username and Password for the SMS service
  4. Set Quota and Sending Interval to avoid sending too many messages. If there are multiple incidents occur within the interval time, the router will only send one SMS instead of reporting each incident.
  5. Click OK to save.

3. Set notification object, go to Object Setting >> Notification Object page, select one of the empty indexes.

4. Enter Profile Name, select the events that the router should notify the network administrator. In this example, we enable the Disconnected and Reconnected status of WAN and VPN Tunnel, click OK to save.

NOTE: If the router has only one WAN connection, notifications about WAN disconnection will only be sent out after WAN reconnects successfully. If you are using the LTE model, and you want to send the SMS through the inserted SIM card, please choose LTE modem as the SMS provider.

5. Set the recipient. Go to Applications >> SMS / Mail Alert Service, select one of the indexes and edit as follows:

  1. Select SMS Provider as the one created in step 1 and 2. Or select LTE Modem to use the SMS service from the SIM card.
  2. Enter the administrator's phone number at Recipient 
  3. Choose Notify Profile as the one created in step 3 and 4,
  4. Click OK to save.

How to customize the SMS provider?

Go to Object Settings >> SMS/ Mail Service Object, select Index 9 or 10, which are reserved for customization SMS provider.

Enter Service Provider, type the API URL String provided by the SMS Provider, but replace the actual username with ###txtUser###, password with ###txtPwd###, destination phone number with ##txtDest###, and text content with ###txtMsg###. And enter Username, Password, Quota and Sending Interval. Then click OK to save. And you can choose this index for SMS provider.

Vigor2865/2927

Vigor2865/2927 support SMS alerts for login and config-changed to enhance security. When someone tries to access the router by WebUI/ telnet/ SSH/ TR069/ FTP, you will get notified in no time. Moreover, the router will detect if there are any config-changed events every 10 minutes. If yes, it will send a SMS notification to you.

1. Set up an SMS profile on the Vigor2136 by navigating to Configuration/ Notification Services/SMS Provider and adding a new profile. In this example, we use the Customized Service Provider option to send an authentication code via Telegram. Refer to this article to register a Telegram Bot account and get the Telegram Bot token.

  • Give a name for this profile
  • Switch on Enabled to enable it
  • Select the WAN interface that SMS connection will be created from
  • Select Customized for the Service Provider
  • Enter the SMS Provider API URL
  • The API for different providers may not be the same. Please find the information from the provider’s website. For Telegram, it is https://api.telegram.org/bot/sendMessage?chat_id=&text=

    To verify if the SMS message can be sent successfully, please enter the Recipient Number into the SMS Provider API URL, then click the Send Test Message button.

    https://api.telegram.org/bot/sendMessage?chat_id=0912345678&text=this is a test message

  • Select POST as the HTTP Method
  • Click Send Test Message. The Vigor Router will display the Send Status. If the status shows SUCCESS, the SMS API settings are correct.
  • Check if the recipient receives the Telegram message.
  • After confirming that the SMS settings work, change the Telegram’s SMS Provider API URL back to the standard format: https://api.telegram.org/bot/sendMessage?chat_id=&text=
  • Modify the SMS API parameters according to the Service Provider’s API requirements. For Telegram, use text to specify the message content and chat_id to specify the recipient number. Note: chat_id will be able to save in firmware version 5.3.0.1.
  • 2. Enter SMS information for the Admin account by editing the admin profile via System Maintenance / Account & Permission. Switch On Enable SMS and enter the SMS number.

    3. Navigate to Configuration / Notification Services, then click +Add to create a notification profile.

  • Enter a Profile Name
  • Select the Events that will trigger the router to send an alarm
  • Switch On to enable SMS Alert
  • Select the account(s) which should receive the notifications
  • 4. The Vigor router will now notify the administrator via SMS whenever a WAN or VPN connection disconnects or reconnects, or when someone logs in or changes the router settings.

    1. Go to Object Setting >> SMS Service Object page, and click Add to create a new service object.

    2. Set SMS Service Object as follows:

    1. Enter a Profile name 
    2. Enable this profile.
    3. Select your SMS Service Provider.
    4. Enter the credential for using the SMS service.
    5. Apply the settings.

    Note: Quota will decrease by one after sending out each SMS message.

    3. Go to Object Setting >> Notification Object page, and click Add to create a new notification profile.

    4. Set Notification Object as follows:

    1. Click the Add button.
    2. Enter the Profile Name.
    3. Check Enable to choose the alert service. In this example, we enable WAN Disconnection and WAN Reconnection.  

    5. Go to Applications >> SMS/Mail Alert Service >> SMS Alert Service page, and click Edit to set the alert service.

    6. Set SMS Alert Service as follows:

    1. Enable the service.
    2. Set SMS Provider to the profile created in step 2.
    3. Enter Network Administrator's phone number in Recipient.
    4. Set Notify Profile to the profile created in step 4.
    5. Apply the settings.  

    7. The network administrator will receive the SMS text when the WAN connectivity status changed.

    Published On:2025-03-05 

    Share

    Was this helpful?   

    book icon

    Knowledge Base