Skip to main content

SMS OTP

Select the connection type​

  1. Open Registry Editor on the Core Server.
  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP section.
  3. Create the SmsSenderType parameter of the DWORD type with one of the following values:
    • 0 — Smpp
    • 1 — Megafon
    • 2 — OneGate
    • 3 — Kafka
    • 4 — MFM Solutions
    • 5 — SMS Proxy
    • 6 — Messages Proxy
Service Configurations SMPP

Service Configurations SMPP​

  1. Open Registry Editor on the Core Server.

  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP section.

  3. Create the following parameters:

    • enableTls (DWORD) — the use of encryption (1 or 0)

    • srvAddr (string parameter) — the address for connecting to the server

    • srvPort (DWORD) — the port for connecting to the server

    • srvSystemId (REG_SZ) — the account name for connecting to the server

    • srvPassword (REG_SZ) — the account password for connecting to the server

    • srvSysType (REG_SZ) — the PDU field of the BIND_TRANSCEIVER operation of the SMPP protocol

    • senderName (REG_SZ) — the sender name that is displayed when the SMS is received

    • messageOTP (REG_MULTI_SZ) — an arbitrary message text preceding the one-time password. By default, only the OTP is sent; for additional configuration, use the following parameters:

      • <app> — the name of the application that sent the authorization request

      • &lt;requestLocalServerTime&gt; — the local server time when the request was received

      • &lt;requestComputerDns&gt; — the DNS name of the computer that sent the request

      • &lt;requestComputerIp&gt; — the IP address of the computer that sent the request

    • SMPPServerTimeoutSec (DWORD) — the waiting time for receiving the status of the sent SMS from the server

    • MessageStatusPDU (DWORD) — the PDU in which the server sends the status of the sent message. 0 — SUBMIT_SM_RESP; 1 — DELIVER_SM

    • BindTransmitter (DWORD). 1 — Transmitter — sending the BIND_TRANSMITTER packet at connection; 0 — Transceiver — sending the BIND_TRANSCEIVER packet at connection. When connecting as Transmitter, the server sends the status of the sent SMS message only in the SUBMIT_SM_RESP packet

    • sourceAddrTon (DWORD) — the Type of Number for the source address

    • sourceAddrNpi (DWORD) — the Numbering Plan Indicator for the source address

    • destAddrTon (DWORD) — the Type of Number for the destination

    • destAddrNpi (DWORD) — the Numbering Plan Indicator for the destination

    • esmClass — specifies the Message Mode & Message Type

    • registeredDelivery — the indicator specifying that an SMS delivery receipt or an SME acknowledgement is requested

    • dataCoding — defines the encoding scheme of the short message user data

Backup SMPP service settings

Backup SMPP service settings​

In the SMPP service settings (backup) policy, you can configure the backup SMPP service through which SMS messages are sent if the main service is unavailable.

When sending an SMS, Core Server checks the availability of the main SMPP service. If the main service is available, the SMS is sent through the main gateway. If the main service is unavailable, the SMS is sent through the backup gateway.

The service is considered unavailable if Core Server receives the following errors:

  • SMS sending service address unavailable
  • SMPP Error Bind
  • SMPP Error SubmitS

The backup SMPP service policy is configured in the same way as the main SMPP service.

If a backup service is configured, the switch to it when the main service is unavailable occurs automatically.

Service Configurations Megafon

Service Configurations Megafon​

  1. Open Registry Editor on the Core Server.
  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP\Megafon section.
  3. Create the following parameters:
    • ServerUrl (REG_SZ) — the address for connecting to the server
    • Login (REG_SZ) — the account name for connecting to the server
    • Password (REG_SZ) — the account password for connecting to the server
    • From (REG_SZ) — the sender name that is displayed when the SMS is received
    • messageOTP (REG_SZ) — an arbitrary message text preceding the one-time password
Service Configurations OneGate

Service Configurations OneGate​

  1. Open Registry Editor on the Core Server.
  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP\OneGate section.
  3. Create the following parameters:
    • ServerUrl (REG_SZ) — the address for connecting to the server
    • Login (REG_SZ) — the account name for connecting to the server
    • Password (REG_SZ) — the account password for connecting to the server
    • NameSender (REG_SZ) — displayed as the sender name on the recipient device
    • NameSystem (REG_SZ) — the combination of Sender system name and Sender name defines the login used to address the separator
    • messageOTP (REG_SZ) — an arbitrary message text preceding the one-time password
Service Configurations MFMSolution

Service Configurations MFMSolution​

  1. Open Registry Editor on the Core Server.
  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP\MFM section.
  3. Create the following parameters:
    • ServerUrl (REG_SZ) — the address for connecting to the server
    • Login (REG_SZ) — the account name for connecting to the server
    • Password (REG_SZ) — the account password for connecting to the server
    • From (REG_SZ) — displayed as the sender name on the recipient device
    • MessageOTP (REG_SZ) — an arbitrary message text preceding the one-time password
Apache Kafka service settings

Apache Kafka service settings​

  1. Open Registry Editor on the Core Server.

  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP section.

  3. Create the following parameters:

    • SmsSenderType (DWORD) — the SMS sender type (for Apache Kafka, set the value 3)
    • ParsePhone (DWORD) — enables phone number parsing
    • PhonePrefix (REG_SZ) — the phone number prefix (if you have enabled phone number parsing)
    • PhoneLength (DWORD) — the phone number length (if you have enabled phone number parsing)
  4. In the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP\Kafka section, create the following parameters:

    • messageOTP (REG_SZ) — an arbitrary message text preceding the one-time password
    • MessageFormatPath (REG_SZ) — the path to the json file with the message format
    • MessageDateFormat (REG_SZ) — the date format in the message fields
    • ServerUrl (REG_SZ) — the Apache Kafka server address
    • MessageTimeoutSec (REG_DWORD) — the local message waiting time. This value is applied only locally and limits the time during which the message being created waits for successful delivery. If you specify the value 0 sec, the waiting time is infinite
    • TopicName (REG_SZ) — the name of the Apache Kafka topic the messages are published to
    • UseSerialization (REG_DWORD) — enables or disables serialization
    • SchemaRegistryUrl — the address for connecting to the Schema Registry
    • RecordSchemaPath (REG_SZ) — the path to the json file with the serialization schema

    If you use authorization in Apache Kafka, add the following parameters:

    • SecurityProtocol (REG_SZ) — the protocol used for communication with brokers
    • SaslMechanism (REG_SZ) — the SASL mechanism for authentication
SMS Proxy settings

SMS Proxy settings​

  1. Open Registry Editor on the Core Server.
  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP\SMSProxy section.
  3. Create the following parameters:
    • ServerUrl — the address for connecting to SMS Proxy
    • From (REG_SZ) — the sender name that is displayed when the message is received
    • messageOTP (REG_SZ) — an arbitrary message text preceding the one-time password
    • ClientCertificateThumbprint (REG_SZ) — defines the certificate that is added to the client certificate list when requesting SMS Proxy (the certificate itself must be located in the LocalMachine/LocalComputer certificate store and meet the SMS Proxy requirements)
    • ServerCertificateThumbprint (REG_SZ) — defines the server certificate that is recognized as valid
Messages Proxy settings

Messages Proxy settings​

  1. Open Registry Editor on the Core Server.
  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP\MessagesProxy section.
  3. Create the following parameters:
  • ServerUrl — the address for connecting to the server
  • From (REG_SZ) — the sender name that is displayed when the message is received
  • messageOTP (REG_SZ) — an arbitrary message text preceding the one-time password
  • ClientCertificateThumbprint (REG_SZ) — defines the certificate that is added to the client certificate list when requesting Messages Proxy (the certificate itself must be located in the LocalMachine/LocalComputer certificate store and meet the Messages Proxy requirements)
  • ServerCertificateThumbprint (REG_SZ) — defines the server certificate that is recognized as valid

Message format settings​

  1. Open Registry Editor on the Core Server.
  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP section.
  3. Create the following parameters:
    • SMSOTP (DWORD) with the value 1
    • dateFormat (REG_SZ) — allows you to set the date display format. You can find format examples in the Microsoft article

One-time password settings​

  1. Open Registry Editor on the Core Server.
  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP section.
  3. Create the following parameters:
    • OTPGeerator (DWORD) — enables this setting
    • OneTimePasswordLength (DWORD) — the one-time password length
    • AllowDigitsChGr (DWORD) — use digits in the OTP
    • AllowLatinsLowerChGr (DWORD) — use lowercase Latin letters in the OTP
    • AllowLatinsUpperChGr (DWORD) — use uppercase Latin letters in the OTP
    • AllowSpecialChGr (DWORD) — use special characters in the OTP

Phone number format settings​

  1. Open Registry Editor on the Core Server.
  2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Axidian-ID\BSPs\SMSOTP section.
  3. Create the following parameters:
    • ParsePhone (DWORD) — enables phone number parsing
    • PhoneLength (DWORD) — the phone number length
    • PhonePrefix (string parameter) — the phone number prefix

Concurrent connection to the SMPP server settings​

The policy is applied to Core Servers and defines the processing order of requests to the SMPP server. Enabling the policy may be necessary if the SMPP server does not support several simultaneous connections from one user (the account specified in the SMPP service settings policy).

Not Configured or Disabled — the connection to the SMPP server and the message sending requests are performed in parallel.

Enabled — the connection to the SMPP server and the message sending requests are performed sequentially.