You configure notification profiles for SMTP (via email) and SMPP (via SMS) at the libraries notification-profiles level.
To add a new SMTP notification profile:
Admin@nodename# create libraries notification-profiles smtp <parameter>
Specify the following parameters:
Parameter |
Description |
---|---|
name |
Profile name. |
description |
Profile description. |
host |
The IP address or FQDN of the SMTP server that will be used for sending emails. |
port |
The TCP port used by the SMTP server. The TCP port used by the SMTP server. Consult your email server administrator regarding this value. |
connection-security |
The following outgoing email security options are available:
|
authentication |
Enable/disable authorization when connecting to the SMTP server:
|
login |
Login name to connect to the SMTP server. |
password |
Password to connect to the SMTP server. |
To create an SMS (SMPP) notification profile, use the following command:
Admin@nodename# create libraries notification-profiles smpp <parameter>
Provide the following parameters:
Parameter |
Description |
---|---|
name |
Profile name. |
description |
Profile description. |
host |
IP address or FQDN of an SMPP server to use to send SMS. |
port |
TCP port to use to connect to the SMPP server. Usually, the port used for the SMPP protocol is 2775, when using SSL --- 3550. |
ssl |
Enable/disable SSL encryption:
|
login |
The account name for connecting to the SMPP server. |
password |
The account password for connecting to the SMPP server. |
phone-translation-rules |
Phone translation rules. These rules are used to ensure that the provider requirements are met. For example, to replace all numbers starting with +7 to 8, use the following command: Admin@nodename# set libraries notification-profiles smpp <profile-name> phone-translation-rules + [ +7¦8 ] |
source-ton |
Type of number for the event source:
|
dest-ton |
Type of number for destination:
|
source-npi |
Numbering Plan Indicator for the source:
|
dest-npi |
Numbering Plan Indicator for the destination:
|
To edit a notification profile, use the following command:
Admin@nodename# set libraries notification-profiles <smtp | smpp> <profile-name> <parameter>
SMTP and SMPP profile parameters available to change are listed in the respective tables above.
To delete a profile, use the following command:
Admin@nodename# delete libraries notification-profiles <smtp | smpp> <profile-name>
You can also delete phone translation rules from SMPP notifications:
Admin@nodename# delete libraries notification-profiles smpp <profile-name> phone-translation-rules [ phone1¦phone2 ]
To display information about all existing notification profiles, use the following command:
Admin@nodename# show libraries notification-profiles
To display information about all notification profiles of a specific type, use the following command:
Admin@nodename# show libraries notification-profiles <smtp | smpp>
To display information about an individual notification profile, use the following command:
Admin@nodename# show libraries notification-profiles <smtp | smpp> <profile-name>