Skip to content
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

Error getting send status of message: Erreur inconnue. (UNKNOWN[27]) #462

Open
stevecohenfr opened this issue Apr 12, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@stevecohenfr
Copy link

commented Apr 12, 2019

Sometime the SMSC send an unknown error for a SMS, and this message block all others SMS...
Example: my failing SMS in outbox is OUTC20190409_165555_00_0781950085_sms0.smsbackup and all other SMS are waiting to this one to be sent. So all my SMS are stuck...

Is there a way to remove the SMS from outbox if it fail to send ?

Thanks


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@stevecohenfr

This comment has been minimized.

Copy link
Author

commented Apr 12, 2019

Self-answer:

edit /etc/gammu-smsdrc

Add option RunOnFailure = /var/spool/gammu/on-error.sh

/var/spool/gammu/on-error.sh :

#!/bin/bash
mv /var/spool/gammu/outbox/$1 /var/spool/gammu/error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.