simontelephonics / smsconnector

SMS Connector module for FreePBX 16 and 17
https://simon.tel/open-source/
GNU General Public License v3.0
43 stars 16 forks source link

Clarify meaning of marked for delivery #8

Open billsimon opened 1 year ago

billsimon commented 1 year ago

https://community.freepbx.org/t/new-open-source-sms-connector-module/89205/43

Do we mark messages as delivered once they are delivered to the provider or once the provider has sent back a webhook confirming delivery over the network?

Telnyx, Twilio, Flowroute, and Commio (new provider being added soon) offer these webhooks.

What is the behavior of SIP Station and VoIP Innovations, which preceded these third-party integrations?

note: it would be nice if we could mark messages as delivered to the SMS provider as well as have a field noting whether the message was delivered by the provider to the far end.

umairmalik2410 commented 1 year ago

My suggestion - Mark it as "sent" once it is delivered to the provider and mark it as "delivered" once delivery confirmation is received?