Knowledgebase

Twilio SMS

  • 0

..//assets/img/kb/twilio.png Twilio SMS

Twilio is a cloud communications platform as a service (CPaaS). It allows software developers to programmatically send and receive text messages using its web service APIs. Advanced users may wish to set up a Twilio account directly and view, troubleshoot, or customize the code which communicates with Twilio.com. You will need experience with the Python programming language.

The Python script is located at:

/usr/bin/videx-send-sms.

Do not edit the above script because your changes will be overwritten by software updates. If you wish to customize the program make a copy with a different name and then add the following line to CyberAuditWeb.properties:

			sms.program=/usr/bin/my-send-sms
		

You must restart tomcat for this change to take effect (sudo systemctl restart tomcat)

For security your custom send-sms script must be owned by root with 755 permissions:

			sudo chown root:root /usr/bin/my-send-sms
			sudo chmod 755 /usr/bin/my-send-sms
		

Manage System Context Help Articles


Was this answer helpful?