12.13.17. Configuring notification profiles

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@UGOS# create libraries notification-profiles smtp

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. Usually, SMTP uses port 25, and SMTP with SSL uses port 465. Consult your email server administrator regarding this value.

connection-security

The following outgoing email security options are available:

  • none.

  • starttls.

  • ssl.

authentication

Enable/disable authentication when connecting to the SMTP server:

  • on.

  • off.

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@UGOS# create libraries notification-profiles smpp

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:

  • on.

  • off.

login

Login name to connect to the SMPP server.

password

Password to connect 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@UGOS# set libraries notification-profiles smpp <profile-name> phone-translation-rules + [ +7¦8 ]

source-ton

Type of number for the event source:

  • 0: unknown.

  • 1: international.

  • 2: national.

  • 3: network specific.

  • 4: subscriber number.

  • 5: alphanumeric.

  • 6: abbreviated.

dest-ton

Type of number for destination:

  • 0: unknown.

  • 1: international.

  • 2: national.

  • 3: network specific.

  • 4: subscriber number.

  • 5: alphanumeric.

  • 6: abbreviated.

source-npi

Numbering Plan Indicator for the source:

  • 0: unknown.

  • 1: ISDN/telephone numbering plan (E.163/E.164).

  • 3: data numbering plan (X.121).

  • 4: telex numbering plan (F.69).

  • 6: land Mobile (E.212).

  • 8: national numbering plan.

  • 9: private numbering plan.

  • 10: ERMES numbering plan (ETSI DE/PS 3 01-3).

  • 13: Internet (IP).

  • 18: WAP Client Id (to be defined by WAP Forum).

dest-npi

Numbering Plan Indicator for the destination:

  • 0: unknown.

  • 1: ISDN/telephone numbering plan (E.163/E.164).

  • 3: data numbering plan (X.121).

  • 4: telex numbering plan (F.69).

  • 6: land Mobile (E.212).

  • 8: national numbering plan.

  • 9: private numbering plan.

  • 10: ERMES numbering plan (ETSI DE/PS 3 01-3).

  • 13: Internet (IP).

  • 18: WAP Client Id (to be defined by WAP Forum).

To update information about a notification profile, use the following command:

Admin@UGOS# set libraries notification-profiles <smtp | smpp> <profile-name>

SMTP and SMPP profile parameters available to change are listed in the respective tables above.

To delete a profile, use the following command:

Admin@UGOS# set libraries notification-profiles <smtp | smpp> <profile-name>

You can also delete phone translation rules from SMPP notifications:

Admin@UGOS# set libraries notification-profiles smpp <profile-name> phone-translation-rules [ phone1¦phone2 ]

To display information about all existing notification profiles, use the following command:

Admin@UGOS# show libraries notification-profiles

To display information about all notification profiles of a specific type, use the following command:

Admin@UGOS# set libraries notification-profiles <smtp | smpp>

To display information about an individual notification profile, use the following command:

Admin@UGOS# show libraries notification-profiles <smtp | smpp> <profile-name>