Reference Guide
Approval Management
Approval Workflow SMS Settings
6 min
there are two methods for sending approval sms over http (via sms proxy) over smpp (via smsc) 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 the default value is http the mandatory system config man parameters starting with “smpp ” should be defined to be able to send/receive approvals via sms over smpp please refer to docid\ erul0sijxg ttmx7phing for these parameters 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> configuration for sms over smpp to use the kron pam connection and command approval workflows via sms using the 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