Splynx supports sending of SMS's using the different SMS gateways. To configure SMS sending you need to find a suitable SMS gateway and set up Splynx to work with it.
To configure SMS sending in Splynx, navigate to Config → Main → SMS.
The configuration will be unique for each SMS gateway.
Gateway URL - specify the URL of the SMS gateway (should be specified in gateway documentation);
Payload - request payload for sending SMS. Depends on content type (JSON or x-www-form-urlencoded) and syntax provided by SMS gateway;
Method - select the method to call the gateway (POST or GET);
Content type - how to handle the payload (JSON or x-www-form-urlencoded). JSON can be used only with POST method;
Verify SSL certificate - if the toggle is enabled, the system will verify the SSL certificate of the SMS gateway host with a secure (HTTPS) connection;
Enable SMS sending - enables/disables SMS sending from Splynx;
Debug - enable/disable the writing of debugging information to the log file /var/www/splynx/logs/cron/sms.log;
Successful response - if the SMS gateway returns a certain successful response, the text to check response from gateway must be configured here so that Splynx can identify which SMS was sent;
Days until expiration - how many days the server will try to send the SMS. After that the message status will be changed to "Error".
Check URL - specify the URL which is used for checking SMS balance. It should be specified in gateway documentation (the first number in response will be parsed as the account balance value. You can change this behavior by defining the account balance field name in the field below;
Field name - name of the field with the account balance;
Requested method - select the method to call the gateway (GET or POST);
Once per - check balance every selected period of time (5 min, hour, day);
Email - result will be sent to this email;
Dashboard notification - enables/disables notifications with SMS account balance on the dashboard;
Minimum balance - balance value at which the notification is triggered.
Phone - the target phone number to send a test SMS to. Sometimes + sign must be added before the actual number (full format of the phone number for your country).
On BulkSMS account page, navigate to Settings → Advanced and press Create Token button, type the name to your token. In a new window will be shown only once the credentials to your token, copy and save them.
To request sender id which will be shown in SMS for your customers, navigate to Settings → Message and click on Sender IDs tab.
NOTE: You need to purchase credits at least once before you can use this facility.
In Splynx, navigate to Config → Main → SMS, in Main section configure the following settings: