Purpose
In order to receive the final SMS status there is must be a job which automatically send request to IP2SMS and update status in verification.sms_log
Logic
Update must be done 2 times a day according to schedule in Cron format - `* 1 * * *`
Updated must be id in statuses ('Accepted', 'Enroute')
Field name | Source | Description |
---|---|---|
id | ||
phone_number | ||
body | SMS text, for verifications SMS body='VERIFICATION' | |
gateway_id | $status_id | status_id from response |
gateway_status | $status | SMS Status (see the table above) |
status_changed_at | $date | date from status response (date when status was changed) |
updated_at | :timestamp | TIMESTAMP |
inserted_at | TIMESTAMP |