最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

express - Receive Endpoint in SMS Gateway not detecting Peer to Peer messages - Stack Overflow

programmeradmin0浏览0评论

I am using httpSMS (also tried SMSGateway) to turn my phone into a gateway that can send and receive SMS.

The "send" functionality is working fine. I make a post request to an endpoint and then a message is sent.

The problem is that the receive functionality is not working. These apps are supposed to call a Webhook (url provided by you) and do a POST request on that Webhook whenever a new sms is received. So I expose my localhost using ngrok and receive SMS at some endpoint. The problem is that the Webhook ONLY triggers when I receive messages from sources like the bank or my service provider. Other messages do not trigger the Webhook.

Any help would be appreciated.

httpsms:

android sms gateway api: /

I am using httpSMS (also tried SMSGateway) to turn my phone into a gateway that can send and receive SMS.

The "send" functionality is working fine. I make a post request to an endpoint and then a message is sent.

The problem is that the receive functionality is not working. These apps are supposed to call a Webhook (url provided by you) and do a POST request on that Webhook whenever a new sms is received. So I expose my localhost using ngrok and receive SMS at some endpoint. The problem is that the Webhook ONLY triggers when I receive messages from sources like the bank or my service provider. Other messages do not trigger the Webhook.

Any help would be appreciated.

httpsms: https://docs.httpsms/webhooks/introduction

android sms gateway api: https://capcom6.github.io/android-sms-gateway/#/

Share Improve this question asked Jan 30 at 15:39 Dev_ADev_A 235 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I got the answer to my question. For future reference, this is it:

The messages sent by banks, service providers etc are sent via SMS

whereas

The messages by other peers are sent via RCS

RCS is an internet-based messaging protocol (like WhatsApp) that works through Google's Messages app and similar platforms. Unlike SMS, RCS messages are not processed through the standard SMS gateway, which means HTTPSMS (and others) won't detect them. When the sender's internet is off, their phone falls back to SMS, allowing HTTPSMS to capture it.

So, the solution is to ask the sender to switch off their internet before sending messages

发布评论

评论列表(0)

  1. 暂无评论