capcom6 / android-sms-gateway

The SMS Gateway for Android™ app enables sending and receiving SMS messages through an API that can be accessed directly on the device or via a cloud server when direct device access is not possible.
https://sms-gate.app
Apache License 2.0
201 stars 54 forks source link

Error on phone number #24

Closed WesleyMarinho closed 8 months ago

WesleyMarinho commented 9 months ago

Hello, trying to make shipments using the cload service but it always tells me that the number is wrong... but I already checked and it is correct.

usage +55 = Country code and the rest of the phone 0d65dc1e-3521-4d5c-a3f4-aa3615fa7328

capcom6 commented 9 months ago

Hello!

Could you please provide the full text of the error message? You can check the status of the message by making a GET /message/{id} request.

From the logs, it appears that you attempted to use SIM cards №2 and №3, which do not exist in your phone. Additionally, when using SIM card №1, you encountered a system error RESULT_RIL_MODEM_ERR, which is beyond the scope of the app.

I recommend trying to send a message with the standard messaging app on your device, and then by API without specifying the SIM number in the request. This might help if the issue lies in SIM selection.

WesleyMarinho commented 9 months ago

image

capcom6 commented 9 months ago

Based on the RESULT_RIL_MODEM_ERR error you're experiencing, this does seem to be related to a hardware or firmware issue on your phone. To further isolate the problem, it would be helpful if you could try the following:

  1. Attempt to send an SMS using a standard messaging app that came with your phone. This can help determine if the issue is with the phone's SMS capabilities in general.
  2. If possible, please try using a different phone with the same SIM card to see if the issue persists. This can help identify if the problem is related to the phone hardware.
  3. Conversely, try using a different SIM card in the same phone and attempt to send an SMS through the API again. This will check if the SIM card might be the source of the problem.

Please let me know the results of these tests. Thanks.