"Recipient phone number is invalid or recipient does not want to receive SMS" error and Contacts with DoNotSms preference failing to filter out during Mass Sms in 5.x
I think that CiviCRM basically expects do_not_sms to mean .... 'Do not SMS' - I think you are wanting some way to opt people out of bulk sms while still being able to SMS them? I think for email we use is_bulk_mail - although I'm not 100% sure it's reliable
@eileen Few contacts may not be interested to receive SMS. When SMS is sent to groups using mass sms option, in v5.x the contacts with preference 'Do not SMS' also receives SMS. In v4.7.8, it works fine and 'Do not SMS' preferred contacts are filtered out.
If I set "do not sms" on a contact record, the "Send an SMS" action is still not shown (which is as expected).
If I set "do not sms", the contact is not shown in the recipients for a mass SMS (I also checked that if "do not sms" is not checked, the contact is in the list of recipients).
We just received two reports of both problems as well - and they seem to be distinct problems.
Problem one: You cannot send an SMS activity to a contact via the one-off SMS outbound activity type. Even if the contact does not designate "Do not SMS" you still get the message that the contact is not configured to receive SMS messages.
Problem two: when generating mass SMS messages, we exclude contacts that have "opt_out" designated but we don't exclude contacts that have 'do_not_sms' designated. Since opt_out, in the UI, seems to clearly be about email messages, it seems this should simply be replaced with do_not_sms.