smstools-http-api icon indicating copy to clipboard operation
smstools-http-api copied to clipboard

REQUEST - SMS Status Report in message info

Open sunblade opened this issue 7 years ago • 2 comments

Hello,

is any simple way to add SMS report status into GET /api/v1.0/sms/<kind>/<string:message_id> ?

Report files contains Message_id and Status. Sent SMS files contains a Message_id

SMS STATUS REPORT
Message_id: 35
Discharge_timestamp: 17-08-25 02:41:58
Status: 0,Ok,short message received by the SME

Thank You

sunblade avatar Aug 25 '17 22:08 sunblade

Hi, now I on holiday.I can answer from monday.1:46, 26 августа 2017 г., sunblade [email protected]:Hello, is any simple way to add SMS report status into GET /api/v1.0/sms//string:message_id ? Report files contains Message_id and Status: 0 and sent SMS file contains Message_id SMS STATUS REPORT Message_id: 35 Discharge_timestamp: 17-08-25 02:41:58 Status: 0,Ok,short message received by the SME

Thank You

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

Отправлено из мобильной Яндекс.Почты: http://m.ya.ru/ymail

lvasiliev avatar Aug 31 '17 20:08 lvasiliev

When status report was requested smstools3 append Message_id header to the sms_file after sending (when sms_file moved to the sent directory). I think, for this request need use eventhandler options in smstools3 and write in a database map: message_id from smstools3 and message_id from smstools-http-api. Also write status information from received report using script from eventhandler option: http://smstools3.kekekasvi.com/index.php?p=eventhandler

lvasiliev avatar Sep 25 '17 15:09 lvasiliev