← Back to plugin index

SMS Gateway Selection Option

Description

SMS gateway selection option based on phone number regex matching.

Allows to use a specific SMS gateway for phone numbers matching a regex pattern. If the phone number matches the pattern, the configured gateway is then used to send the SMS.

Type name
SmsGatewaySelectionRegexOption
Class
com.airlock.iam.core.misc.impl.sms.SmsGatewaySelectionRegexOption
May be used by
Properties
Pattern (pattern)
Description

The phone number will be checked against this pattern.

Note that the phone number is always normalized before checking it against the configured regex patterns meaning all whitespace is removed and the country code is added if it is missing, e.g. "+411234567".

Attributes
RegEx
Mandatory
YAML Template (with default values)

type: SmsGatewaySelectionRegexOption
id: SmsGatewaySelectionRegexOption-xxxxxx
displayName: 
comment: 
properties:
  gateway:
  pattern: