admin管理员组文章数量:1313810
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 badges1 Answer
Reset to default 0I 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
本文标签: expressReceive Endpoint in SMS Gateway not detecting Peer to Peer messagesStack Overflow
版权声明:本文标题:express - Receive Endpoint in SMS Gateway not detecting Peer to Peer messages - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741955216a2406949.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论