New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smsd with mysql does not set delivery report #63
Comments
It's probably because operator returns in delivery report full international number +32XXXXX and in smsd there is some comparison of the number you sent message and that from delivery report. |
There is SkipSMSCNumber config for this as well.. |
SkipSMSCNumber works when smsc differs, |
Ah okay, I didn't get that this is about different number... |
Hello I had a problem with the "delivery report".
In fact I thought it was due to my setup. I configured the "gammu-smsdrc" file to run the "smsc" with mySQL, everything worked except the "delivery report".
Yet when I set it up to make it work with files (service = files), I could see that the "delivery report" worked on seeing the sms spending folder 'sent' folder 'inbox'. So the "delivery report" of SMSC (the supplier) came correctly.
So it was a problem specific to the configuration for mysql.
Looking at the logs, I saw the query:
,
,
"SELECT
ID
, statusSendingDateTime
, DeliveryDateTimeSMSCNumber
FROM WHEREsentitems DeliveryDateTime
IS NULL ANDSenderID
= 'thesenderId' AND= 190 AND
TPMRDestinationNumber
= '+ 32485xxxxxx ".To send the test, I used the following command:
"gammu-smsd-inject TEXT 0485xxxxxx -text" test with delivery report "-report."
It is clear that the two telephone numbers are not the same:
"32485xxxxxx +" and "0485xxxxxx".
By changing the Nos 0485xxxxxx 'by its international version (' + 32485xxxxxx '), the' delivery report 'works!
We must therefore ALWAYS use international numbering.
Sorry for my english
I hope this will help someone ...
The text was updated successfully, but these errors were encountered: