Skip to content

Commit

Permalink
Esme Threshold Parameters fixes per SMSC-348
Browse files Browse the repository at this point in the history
  • Loading branch information
olenara committed Dec 1, 2017
1 parent cbf07f8 commit 2673902
Show file tree
Hide file tree
Showing 9 changed files with 1,715 additions and 1,695 deletions.
27 changes: 22 additions & 5 deletions core/oam/clismpp/src/main/resources/help/smpp_esme_create.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ SYNOPSIS
ratelimit-hour <ratelimithour> ratelimit-day <ratelimitday>
national-language-single-shift <national-language-single-shift>
national-language-locking-shift <national-language-locking-shift>
dest-addr-send-limit <dest-addr-send-limit>
min-message-length <min-message-length value>
max-message-length <max-message-length value>
dest-addr-send-limit <dest-addr-send-limit> min-message-length
<min-message-length value> max-message-length <max-message-length value>
overload-threshold <overload-threshold> normal-threshold <normal-threshold>

DESCRIPTION
This command is used to configure a new ESME.
Expand Down Expand Up @@ -378,7 +378,7 @@ PARAMETERS
and can be overwritten for each ESME created.
Default value: 0 - no limitations

min-message-length - This paramter is used to specify the minimum
min-message-length - This parameter is used to specify the minimum
message length (in characters) acceptable to
the SMSC GW, for messages coming from this ESME.

Expand All @@ -389,7 +389,7 @@ PARAMETERS
implies "no limitations". Any other negative value
also implies "no limitations".

max-message-length - This paramter is used to specify the maximum
max-message-length - This parameter is used to specify the maximum
message length (in characters) acceptable to
the SMSC GW, for messages coming from this ESME.

Expand All @@ -399,6 +399,23 @@ PARAMETERS
The default value for this parameter is "-1" and it
implies "no limitations". Any other negative value
also implies "no limitations".

overload-threshold - This value may be used by application to compare
messages queue size with it and based on outcome mark ESME
as 'overloaded'. Then based on this state further
functionality may be applied by application, such as
bypassing this ESME while sending new messages.
Default value is -1, otherwise non-positive value
will be ignored. Overload Threshold cannot be set unless
Normal Threshold has been already defined

normal-threshold - This value is opposite to overload-threshold and might
be used as a condition to mark current ESME state as
not 'overloaded' and consequent resuming of sending new messages
through this ESME.
Default value is -1, otherwise negative value will be ignored.
It won't be possible to set Normal Threshold to -1 if
Overload Threshold is currently set.

EXAMPLES
smpp esme create test test 127.0.0.1 -1 TRANSCEIVER SERVER password yyyy esme-range 6667
Expand Down
20 changes: 17 additions & 3 deletions core/oam/clismpp/src/main/resources/help/smpp_esme_modify.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ SYNOPSIS
ratelimit-hour <ratelimithour> ratelimit-day <ratelimitday>
national-language-locking-shift <national-language-locking-shift>
national-language-single-shift <national-language-single-shift>
dest-addr-send-limit <dest-addr-send-limit>
min-message-length <min-message-length value>
max-message-length <max-message-length value>
dest-addr-send-limit <dest-addr-send-limit> min-message-length
<min-message-length value> max-message-length <max-message-length value>
overload-threshold <overload-threshold> normal-threshold <normal-threshold>

DESCRIPTION
This command is used to modify the settings of an existing ESME configuration.
Expand Down Expand Up @@ -383,6 +383,20 @@ PARAMETERS
The default value for this parameter is "-1" and it
implies "no limitations". Any other negative value
also implies "no limitations".

overload-threshold - This value may be used by application to compare
messages queue size with it and based on outcome mark ESME
as 'overloaded'. Then based on this state further
functionality may be applied by application, such as
bypassing this ESME while sending new messages.

normal-threshold - This value is opposite to overload-threshold and might
be used as a condition to mark current ESME state as
not 'overloaded' and consequent resuming of sending new messages
through this ESME.
Default value is -1, otherwise negative value will be ignored.
It won't be possible to set Normal Threshold to -1 if
Overload Threshold is currently set.

EXAMPLES
smpp esme modify test password yyyy
Expand Down
Loading

0 comments on commit 2673902

Please sign in to comment.