RocketChat: How to send SMS Messages to Livechat c

2020-03-25 11:32发布

I want to copy the behaviour of the Livechat-Popup - Window to send messages from mobile. How would I do that?

1条回答
We Are One
2楼-- · 2020-03-25 12:04

Get a Twilio # & Configure

First you need a Twilio subscription. Then purchase a phone number from within your Twilio account. This number will be used to receive SMS messages from other phone and send to LiveChat within Rocket.Chat. Within Twilio, go to your new phone number's settings... enter image description here Under 'A Message Comes In' enter this:

https://<your_rocketchat_url>:<your_port_#>/api/v1/livechat/sms-incoming/twilio

That will forward SMS incoming messages to LiveChat.

Tell Rocket.Chat to Listen for SMS's from your Twilio Account

Then, in RocketChat, go to Administration -> SMS, and enter your Twilio Account SID and Auth Token which can be found in your Twilio dashboard and be sure to enable SMS on this page... enter image description here

Be sure LiveChat is enabled and that you are a LiveChat Agent.

Now, text messages from other phones will appear in LiveChat just like messages from the LiveChat embeded pop-up window. You can respond to those messages within RocketChat as well.

查看更多
登录 后发表回答