什么是TextSecure服务器推送配置(主机,端口,用户名,密码)端口、用户名、主机、密码

2023-09-07 00:58:00 作者:花非花dē格调

我装TextSecure服务器。( https://github.com/WhisperSystems/TextSecure-Server)

I installed TextSecure Server.(https://github.com/WhisperSystems/TextSecure-Server)

我也修改了一些服务器端的code,以简化登记程序,并接受predefined短信/语音验证code。

I also modified some server side code to to simplify registration process and to accept predefined sms/voice verification code.

我还创建自定义的应用程序TextSecure用我自己的TextSecure服务器的详细信息。并安装在我的两个Android设备。我成功注册我的两个手机TextSecure应用程序。一点问题都没有。

I also created custom TextSecure app with my own TextSecure server details. And installed on my two android devices. I successfully registered TextSecure app on my two mobiles. No problem at all.

但是,当我从一个手机发送消息,服务器获取此消息,但不能够连接到GCM推框架,发这条短信给另一个手机作为一个短信。消息内容是加密形式。我不明白什么是GCM推框架凭据(主机,端口,用户名,密码),我需要在阳明配置文件就更不用说了。

But when I send message from one mobile, server gets this message, but not able to connect to GCM push framework, and send this message to another mobile as a SMS. The message contents are in encrypted form. I don't understand what are gcm push frameworks credentials (host, port, username, password) that I need to mention in yml configuration file.

推荐答案

您还需要PushServer: https://开头github.com/WhisperSystems/PushServer

You also need the PushServer: https://github.com/WhisperSystems/PushServer

需要推送配置(主机,端口,用户名,密码)与PushServer通信。该PushServer与GCM(谷歌云通讯)进行通信。您可以为PushServer(Sender ID和apiKey)的local.yml文件来配置GCM。您将需要一个谷歌开发者帐户为。

The push configuration (host, port, username, password) is needed to communicate with the PushServer. The PushServer communicates with GCM (Google Cloud Messaging). You can configure GCM in the local.yml file for the PushServer (senderId and apiKey). You will need a Google Developer Account for that.

希望这有助于!