How to execute script after receiving an SMS

Proceed as follows:

  • Access PBX via SSH
  • Copy template from /usr/local/share/scripts/ to working directory /usr/local/bin and rename file:cp /usr/local/share/scripts/smsdrxcb.sh.sample /usr/local/bin/smsdrxcb.sh
  • Set result file as executable:chmod a+x /usr/local/bin/smsdrxcb.sh
  • Fill script by user actions