Approval Workflow SMS Settings
There are two methods for sending approval SMS:
- Over HTTP (via SMS Proxy)
- Over SMPP (via SMSC)
To choose one of them:
- Navigate to Administration > System Config Man.
- Set the value of the sms.channel parameter and click Save.
sms.channel: This parameter defines the channel to be used. Available values are: âhttpâ and âsmppâ. Default value is âhttpâ.
The mandatory System Config. Man. parameters starting with âsmpp.â should be defined in order to be able to send / receive approvals via SMS over SMPP. Please refer to âAPPENDIX 1: System Config Manager Parametersâ for these parameters.
Configuration for SMS over HTTP
In order to use the Single Connect connection and command approval workflows via SMS using an HTTP-based SMS Proxy:
- Navigate to Administration > System Config Man.
- Set the value of the approval.sms.http.url, approval.sms.http.headers, approval.sms.http.encoding, connection.approval.sms.http.body, and command.approval.sms.http.body parameters and click Save.
approval.sms.http.url: SMS sender http URL Ex: http://api.smsexample.com/v1/send-smsďťż
approval.sms.http.headers: HTTP SMS Header Ex: Content-Type:text/xml approval.sms.http.encoding: Encoding format. Possible values: UTF-8, UTF-16BE Ex: UTF-8
connection.approval.sms.http.body: The parameter must be set in the format below. Bold values must be replaced with real values.
command.approval.sms.http.body: The parameter must be set in the format below. Bold values must be replaced with real values.
Configuration for SMS over SMPP
In order to use the Single Connect connection and command approval workflows via SMS using SMPP connection:
- Navigate to Administration > System Config Man.
- Set the value of the âcommand.approval.sms.smpp.bodyâ and âconnection.approval.sms.smpp.bodyâ parameters and click Save.
connection.approval.sms.smpp.body: SMS template for connection approvals. It should be defined in the template below. Parameters with %...% should be kept. Your approval is requested by %requester_username%. You can manage the approval request by using Policy Control / Approval Management. Approval ID is %approval_id%ďťż
The available keywords to be used in these templates are: %approval_id%, %approval_keyword%, %rejection_keyword%, %requester_username%, %requested_host%, %selected_username%
command.approval.sms.smpp.body: SMS template for command approvals. It should be defined in the template below. Parameters with %...% should be kept.
Your approval is requested by %requester_username%. You can manage the approval request by using Policy Control / Approval Management. Approval ID is %approval_id%
The available keywords to be used in these templates are: %approval_id%, %approval_keyword%, %rejection_keyword%, %requester_username%, %requested_host%, %command%
The user can send an SMS response in the following format: keyword_response approval_id Example: APPROVE Gwt674h