OTPBySMPPValve

Valve for delivering one-time passwords by SMPP.

Note: Need to deploy module: com.phenixidentity~phenix-smpp-client

Properties

Name Description Default value Mandatory Supports property expansion
smpp_system_id The receiving system id. Yes No
smpp_password The SMPP password. Yes No
smpp_server_ip SMPP ip address. Yes No
smpp_server_port SMPP port. Yes No
source_address Where does the message come from. Yes No
generated_otp_name Item property containing the generated otp. generated_otp No No
recipient_param_name Property containing the recipient mobile number. mobile No Yes
userid_param_name Property containing the username. User-Name No Yes
wash_recipient_number If the mobile number should be washed (i.e. removal of whitespaces, - and other non-number characters). true No No
remove_leading_plus If the leading + character should be removed from the mobile number. false No No
recipient_prefix If the mobile number should be prepended with a country prefix. (example: +46) No No
message_key Locale key for the SMPP message. Found in lang/*/strings.xml valves.otp.smpp.message No No
message Static, non localizeable message. Overrides message_key parameter. No No

Example Configuration

{
        "name": "OTPBySMPPValve",
        "config": { 
              "smpp_system_id":"smppclient1",
              "smpp_password":"secretpassword",
              "smpp_server_ip":"192.168.0.108",
              "smpp_server_port":"2775",
              "source_address":"PhenixID",
              "recipient_prefix":"+46"
        }
}

Requirements

Item set must have at least one entry.