Varius Message Router – SMS Integration

  • Varius Message Router offers easy integration with external systems to send SMS messages.  External systems interact with Varius Message Router using the following methods.
1. Using SMTP
The external system points to Varius Message Router as its SMTP server and sends emails. The contents of the email will be used to send out as SMS:
 
  • Email recipients: The email recipient must be in the format of <%mobile_number%>@<%smsdomain%>. The default SMS domain is fluidsms.com.
    You can send SMS to individual mobile numbers or to members of a contact group.
    For example:
    1. To send SMS to the mobile no. 91111111, specify the email recipient as 91111111@fluidsms.com.
    2. To send SMS to members of a group called “alertgroup”, specify the email recipient as alertgroup@fluidsms.com.
  • Email content: The content of the email message will be the SMS message. You can also configure Varius Message Router to include the subject of the email message in the SMS message as well.
 
2. Using HTTP
The external system uses HTTP GET / POST to access a custom URL in Varius Message Router. 
The URL page is http://<%ip_address%>/pages/sendmsg.aspx.
 
The format of the custom URL is 
 
http://<%ip_address%>/pages/sendmsg.aspx?user=<%username%>&password=<%password%>&to=<%recipient%>&text=<%sms_text%>

The fields are:

  • user: Licensed user id
  • password: Password of licensed user
  • to: SMS recipients. You can separate multiple recipients using semicolon ;.
    You can include mobile number, contact group email alias or email address in the field.  
  • text: SMS message text

The following example shows the URL for using a user with user id as “user” to send out SMS to the mobile no. 91111111 and contact group with email alias as alertgroup.

http://192.168.0.88/pages/sendmsg.aspx?user=user&password=userpassword&to=91111111;alertgroup&text=SMStext

To send to an international number with prefix + and country code, please encode the prefix + with %2B. 

For instance, the following example shows the URL to send to the international number +6591111111. 

http://192.168.0.88/pages/sendmsg.aspx?user=user&password=userpassword&to=%2B6591111111&text=SMStext