When a third-party SMS-sending service fails to send a notice and returns a reason for the failure, there is apparently no way for that reason to get passed into Koha and recorded in message_queue.failure_code. I gather this is a limitation based on the SMS::Send drivers. For example, if a library is using Twilio to send their SMS notices and a patron unsubscribes to library texts via Twilio, all future SMS notices generated in Koha will fail to send. In the staff interface, they show "NO_NOTES" in message_queue.failure_code. The error logs on the server show "Attempt to send to unsubscribed recipient at /usr/share/perl5/SMS/Send.pm line=270." It would be quite useful if the Koha interface could show staff why the notice didn't send.
Yes, I agree. This would be extremely helpful.
Could this be a duplicate of bug 31481?
(In reply to Emmi Takkinen from comment #2) > Could this be a duplicate of bug 31481? I don't *think* so, but I'm really not certain. I've got only the vaguest explanation of why Twilio's unsubscribed user response can't make its way into Koha.
*** This bug has been marked as a duplicate of bug 36307 ***