SMS to Chat

Flowroute SMS to Chat Functionality

This article will provide a walkthrough for setting up SMS to Chat functionality for the bvoip phone system.

Pre-requisite SIP Notice

Starting from V18 Update 5, SMS configuration resides directly within the SIP Trunk configuration in order for the SMS functionality to work. Be sure when adding the number into the SIP Trunk that it is added in e164 formatting or the SMS functionality will fail. (+countrycodeDID)

For assistance in the setup of SIP Trunks in the bvoip phone system, please refer to our Setting up SIP Trunks article

Wanting to Use Another SIP Provider? 

While this article will cover the setup with FlowRoute, the following other providers are supported and can be set up as shown in this article with some differences exclusively on the provider's portal: Bandwidth, Telnyx and Twilio.

Enabling SMS Functionality

After adding the SMS provider's SIP Trunk to the phone system, you will need to enable SMS on the phone system side. 

  1. Log into the bvoip phone system.
  2. Click on the Call Flow drop-down menu.
    siptrunk
  3. Go to the SIP Trunks menu item. 
  4. Scroll down to the desired SIP Trunk. 
  5. Click on the Edit button.
    FRSMStoChat1
  6. Navigate to the SMS tab. FRSMStoChat2
  7. Copy the Webhook URL.FRSMStoChat3
  8. Go into the Flowroute portal. 
  9. Select DIDs from the menu. The Manage Your DIDs screen will appear.  FRSMStoChat7
  10. Click on the box for the desired SMS number.FRSMStoChat8
  11. Go to the Choose a DID Action drop-down menu. 
  12. Select the Enable Messaging option.
  13. Click on the Apply Action button. A confirmation pop-up will appear. FRSMStoChat9
  14. Click on the Ok button to accept. 
  15. Go to the Preferences menu.
    FRSMStoChat10
  16. Navigate to the API Control section. The page will show API keys and refresh shortly afterwards to show the Messaging Webhooks page. FRSMStoChat11
  17. In the SMS field, paste the Webhook URL from the bvoip phone system. 
  18. In the MMS field, paste the Webhook URL from the bvoip phone system.FRSMStoChat12
  19. Click on the the Update URL buttons for both the SMS and MMS field. 
  20. Confirm the SMS Webhook Version is 2.1. If it is not, it will need to be updated.
  21. Scroll down to the API Key section. FRSMStoChat13
  22. In the Name field, provide a common name. 
  23. In the Description field, provide a general description, if desired. 
  24. Click on the Add New button.  A pop-up will appear with a new API Key. 
  25. Click on the API Key top copy it over. Close the pop-up when copied. FRSMStoChat14
  26. Copy the Access Key. FRSMStoChat15
  27. Go back to the bvoip phone system.
  28. Click the Enable SMS box to activate section. FRSMStoChat4
  29. In the Secret Key field, paste the API key from the Flowroute portal. FRSMStoChat6
  30. In the Access Key field, paste the Access key from the Flowroute portal. FRSMStoChat5
  31. Click the Save button. 

Creating Inbound Rules

After the SMS connection has been built into the phone system, inbound rules must be created for each SMS DID, if they are not created already. The inbound rules indicates which route the SMS should follow. SMS DIDs can be assigned to an extension user or call queue.

  1. Log into the bvoip phone system.
  2. Click on the Call Flow drop-down menu.
  3. Go to the Inbound Rules subsection.
  4. Create a new Inbound Rule by clicking the Add DID button.
  5. The page will refresh.IBRules2-MTP
  6. Scroll to the Trunk Details section.
    IBRules3-MTP
  7. In the Name field, list a name to differentiate it from other DIDs. 
  8. In the DID/DDI field, select the desired DID from the drop-down. 
  9. Go to the Route Calls To section.

     IBRule4-MTP
  10. Select the Destination For Calls During Office Hours by clicking on the two drop-downs beneath it. 
    1. This should be either a direct extension user or call queue for the purpose of SMS.
  11. Select the Destination For Calls Outside Office Hours by clicking on the two drop-downs beneath it.
    1. This should be either a direct extension user or call queue for the purpose of SMS.
  12. Click the Save button.

Routing to a Call Queue

If a Call Queue is selected in the Route Calls To option, this can allow members of that call queue to receive all new incoming SMS messages. Whoever then replies first to the SMS message is now the owner of the Chat.

Enabling SMS on Extensions

After the inbound rules have been created and routed to the correct extension or call queue, SMS must be enabled on each individual extensions. If you have not created the extension, please be sure to refer to our Creating Phone Extensions article

  1. Log into the bvoip phone system.
  2. Click on the Extensions drop-down menu.
    Extensions1-MTP
  3. Go to the Extensions subsection. 
  4. Scroll down to the desired extension.
  5. Click on the Edit button.
    FRSMStoChat1
  6. Select the General tab if not already selected. 
  7. Scroll down to the Enable SMS section. 
  8. Click the Enable SMS box to activate section. FRSMStoChat16
  9. In the Can Send SMS via drop-down, select the Flowroute (Inbound Message Routes to Extension/Call Queue) option. 
  10. Click the Save button. 

Sending and Receiving SMS Messages 

Once the setup is complete, SMS will appear in the Chat section of the bvoip webclient softphone. For instructions on using this section, please see our Webclient Chat Feature article

SMS and Images Compatibility

The chat version of SMS use supports incoming and outgoing images whereas Email to Chat does not.