Configuration for SMS over HTTP
To use the Kron PAM 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.
<request><authentication><username>5555552234</username><password>123456</password></authentication><order><sender>SENDERNAME</sender><sendDateTime></sendDateTime><message><text><![CDATA[Your approval is requested by %user%. You can manage the approval request by using the link: %approveRejectLink%]]></text><receipents><number>%phoneNumber%</number></receipents></message></order></request>
command.approval.sms.http.body: The parameter must be set in the format below. Bold values must be replaced with real values.
<request><authentication><username>5555552234</username><password>123456</password></authentication><order><sender>SENDERNAME</sender><sendDateTime></sendDateTime><message><text><![CDATA[Your approval is requested by %user%. You can manage the approval request by using the link: %approveRejectLink%]]></text><receipents><number>%phoneNumber%</number></receipents></message></order></request>