nbarr / bearfax

0 stars 0 forks source link

Twilio web call back for status updates #8

Open nbarr opened 7 years ago

nbarr commented 7 years ago

Conflicting information from twilio specs...

nosuchip commented 7 years ago

@nbarr I checked it and found not the best for our needs. Now app polls Twilio and has ability to track all intermediate statuses (and it do!) like processing, sending and so on. In other hand Twilio polls our callback only when status changed "finally" i.e. becomes "delivered" or "failed" (about last one - if you try to send document to invalid phone twilio never call this endpoint because phone number validated on "release to twilio" step).

Now each detected status change stored in log table. Using callback we lose such ability. I suggest to avoid implement it until you'll have serious issues with number of users (my estimation that now app can work with about 200-300 simultaneously checking clients).

Your decision?