RocketChat: How to send SMS Messages to Livechat channel from mobile

蓝咒 提交于 2019-12-10 10:15:36

问题


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


回答1:


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... 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...

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.



来源:https://stackoverflow.com/questions/42296159/rocketchat-how-to-send-sms-messages-to-livechat-channel-from-mobile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!