Discussion:
MySQL StatusError
Emiliano Vazquez
2017-03-31 11:42:35 UTC
Permalink
Hi guys!

I'm having a problem with Delivery SMS, some times the server send the
message but this not go to my cellphone. I mean gammu works OK, send the
SMS but i did not receive anything.
I know this is a Network failure but i need to find this moment and at
least stop sending SMS and see what happend.

At this moment i find only two diferences between a good SMS and a bad SMS.

*God SMS have *
Field "DeliveryDateTime" with a valid time.
Field "Status" = DeliveryOK
Field "StatusError" = 0

*Bad SMS have*
Field "DeliveryDateTime" is null
Field "Status" = SendingOK
Field "StatusError" = -1

But this is only for Delivery Report Status. Some times i have a God SMS
with the same fields of Bad SMS.

Can i do something else? i know i can't solve this problem i only need give
me a chance to stop gammu and see what's happend.

I'm running gammu 1.37.3. I'm doing an upgrade this week!

Best regards.

Emiliano.
Michal Čihař
2017-04-11 11:25:05 UTC
Permalink
Hi
Post by Emiliano Vazquez
I'm having a problem with Delivery SMS, some times the server send
the message but this not go to my cellphone. I mean gammu works OK,
send the SMS but i did not receive anything. 
I know this is a Network failure but i need to find this moment and
at least stop sending SMS and see what happend.
At this moment i find only two diferences between a good SMS and a bad SMS.
God SMS have 
Field "DeliveryDateTime"  with a valid time.
Field "Status" = DeliveryOK
Field "StatusError" = 0
Bad SMS have
Field "DeliveryDateTime"  is null
Field "Status" = SendingOK
Field "StatusError" = -1
This means that the message was sent, but delivery report was not
received. This mean be both that the message has been lost by network
or that the delivery report has been lost by network.

It can be also caused by Gammu not being able to match delivery reports
to the sent message, see our FAQ:

https://wammu.eu/docs/manual/faq/smsd.html#why-received-delivery-report
s-are-not-matched-to-sent-messages
--
Michal Čihař | https://cihar.com/ | https://weblate.org/
Emiliano Vazquez
2017-04-11 16:39:02 UTC
Permalink
Hi Michal!
Post by Michal Čihař
Hi
Post by Emiliano Vazquez
I'm having a problem with Delivery SMS, some times the server send
the message but this not go to my cellphone. I mean gammu works OK,
send the SMS but i did not receive anything.
I know this is a Network failure but i need to find this moment and
at least stop sending SMS and see what happend.
At this moment i find only two diferences between a good SMS and a bad SMS.
God SMS have
Field "DeliveryDateTime" with a valid time.
Field "Status" = DeliveryOK
Field "StatusError" = 0
Bad SMS have
Field "DeliveryDateTime" is null
Field "Status" = SendingOK
Field "StatusError" = -1
This means that the message was sent, but delivery report was not
received. This mean be both that the message has been lost by network
or that the delivery report has been lost by network.
Ok. I will see this.

In some test the message goes OK to DestinationNumber, but the report never
come back then => Delivery Report Lost by Network.
Post by Michal Čihař
It can be also caused by Gammu not being able to match delivery reports
https://wammu.eu/docs/manual/faq/smsd.html#why-received-
delivery-reports-are-not-matched-to-sent-messages
<https://wammu.eu/docs/manual/faq/smsd.html#why-received-delivery-report
s-are-not-matched-to-sent-messages>
I have reading all docs on wammu.eu but never see this! thanks for your
time i wil read and try to adjust the DestinationNumber and make it look
like international number.


Best regards.

Emiliano.

Loading...