Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I can't get critical response from sms_send() (like the message ID's from my provider) because sms_send's sms_handle_result() call doesn't allow the response from my gateway to get to the code calling sms_send. So I don't know which numbers were successful and which were not and which messageID's to use to get delivery reports.
How can we let the provider response get all the way back to the sms_send call when there's no error
Comments
Comment #1
almaudoh CreditAttribution: almaudoh commentedA quick fix I did was:
If this is acceptable, I'll send in a patch.
Comment #2
aspope CreditAttribution: aspope commentedHi almaudoh, thanks for bringing this up.
This feature is on the SMS Framework roadmap for 6.x-1.2 (coming after a bug-fix release - hopefully soon!)
Nothing solid yet, but the current thinking is that we could allow:
- Returning failed transmission details back to the calling function (if the caller wants it)
- Queuing the messages for auto re-transmission at a later time + delivery reports
Comment #3
dpi