Add a flag for gateways indicating that the gateway service is capable of delaying SMS messages on its end, so it does not require SMS Framework to artificially defer transmission.
For example, Clickatell provides this facility: How do I schedule my SMS messages?
Implementation
SMS Framework will try to send all SMS messages regardless of send_on date. The schedule-aware gateway is then responsible for extracting the getSendTime() value from the message.
This feature has a dependency on #2677682: SMS message FIFO dispatch queuehttps://www.drupal.org/node/2705079#
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | schedule-aware-2705079-4.patch | 7.17 KB | dpi |
| #2 | schedule-aware-2705079.patch | 7.09 KB | dpi |
Comments
Comment #2
dpihttps://github.com/dpi/smsframework/pull/33
Not a particularly exciting PR.
Complete with tests, and a fix to to the createMemoryGateway helper
Comment #4
dpiFixed missing return from test gateway.
Comment #5
almaudoh commentedLooking at this...
Comment #7
dpiComment #8
almaudoh commentedThis bit of code doesn't have test coverage.
Comment #9
dpiSmsFrameworkQueueTest::testQueueDelayedThat code existed before this patch, its now added conditionally