SMS Lifecycle tracking

From YateBTS
Jump to: navigation, search

In order to track life-cycle of a SMS please see the updated Schedule SMS

The relevant parameters are "ref" (which you should set to generate status reports) and "return_billid" so you get the billing IDs of all fragments.

From SMS routing call your HTTP(S) callback like this:

${sms_type}^status_report$=if ${submit_info}^HTTP=http://dom.ain/status.php?billid=${billid}&status=${sms_stat}

For lifetime see the "expires" parameter. There is currently no way to set the number of attempts per individual message.