Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:self-service-password:latest:sms_api [2019/03/19 14:39]
coudot created
documentation:self-service-password:latest:sms_api [2019/11/19 14:36] (current)
coudot [LinkMobility (pswin)]
Line 24: Line 24:
     return 1;     return 1;
 } }
 +</​file>​
 +
 +===== Twilio =====
 +
 +Provider website: https://​www.twilio.com/​
 +
 +Code sample provided in SSP sources: https://​raw.githubusercontent.com/​ltb-project/​self-service-password/​master/​lib/​smsapi-twilio.inc.php
 +
 +You can enable it in configuration:​
 +<file php>
 +$sms_api_lib = "​lib/​smsapi-twilio.inc.php";​
 +$twilio_sid = '<​sid>';​
 +$twilio_auth_token = '<​authtoken>';​
 +$twilio_outgoing_number = '​+18881234567';​
 +$twilio_lookup_first = true;
 </​file>​ </​file>​