Cascade Message Sending#
Cascade message sending is not available by default. To enable it, the Partner should contact their supervising manager.
The service supports the following types of cascading message:
FlashingCall (VoiceCode);
Push;
SMS;
Viber;
VK.
The order and resend options can be configured on the Service Provider’s side (based on a request from the Partner to the Service Provider’s Technical Support Service).
In this case, messages will be resent with default parameters, and no additional parameters need to be passed in the packet.
The required order of message resending is passed in the cascade_order
TLV parameter, id = 0x1444
.
Additionally, it is possible to specify required cascade options using additional TLV parameters in the packet. These parameters differ for different message types. Their values can also be modified upon the Partner’s request.
If the message is split in parts, the TLV parameters must be included in all its parts.
Request TLV Parameters#
Sequence of message types in the cascade.
TLV Parameter |
Field |
Octets size |
Type |
Description |
---|---|---|---|---|
cascade_order |
Tag |
2 |
Integer |
id = 0x1444 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
up to 1000 |
Octet String |
Sequence of message types in the cascade. The value represents an enumeration of message types
(separated by commas).
Possible values (case insensitive):
For example, “V,S” or “V,I,S”. |
Viber Message Resending.
TLV Parameter |
Field |
Octets size |
Type |
Description |
---|---|---|---|---|
TLV Identifier for resending mode reception |
Tag |
2 |
Integer |
id = 0x1437 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
1 |
Octet String |
Resending mode. This parameter is mandatory if a resending mode different
from the default configuration is intended to be used.
Possible values :
|
|
TLV Identifier for service name reception |
Tag |
2 |
Integer |
id = 0x1438 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
11 |
Octet String |
Service name from which messages will be sent in resending mode. The parameter is being processed only after receiving the |
|
TLV Identifier for alternative message text reception |
Tag |
2 |
Integer |
id = 0x1439 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
1000 |
Octet String |
Alternative text of the Viber message sent in resending mode. The parameter is being processed only after receiving the |
|
TLV Identifier for for message lifetime reception |
Tag |
2 |
Integer |
id = 0x1461 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
16 |
Octet String |
Lifetime for the message sent in resending mode. Format: “YYMMDDhhmmsstnnp”. The parameter is being processed only after receiving the |
VK Message Resending.
TLV Parameter |
Field |
Octets size |
Type |
Description |
---|---|---|---|---|
TLV Identifier for resending mode reception |
Tag |
2 |
Integer |
id = 0x1454 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
1 |
Octet String |
Resending mode. This parameter is mandatory if a resending mode different
from the default configuration is intended to be used.
Possible values :
|
|
TLV Identifier for service name reception |
Tag |
2 |
Integer |
id = 0x1455 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
11 |
Octet String |
Service name from which messages will be sent in resending mode. The parameter is being processed only after receiving the |
|
TLV Identifier for alternative message text reception |
Tag |
2 |
Integer |
id = 0x1456 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
2048 |
Octet String |
Alternative text of the VK message sent in resending mode. The parameter is being processed only after receiving the |
|
TLV Identifier for for message lifetime reception |
Tag |
2 |
Integer |
id = 0x1457 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
16 |
Octet String |
Lifetime for the message sent in resending mode. Format: “YYMMDDhhmmsstnnp”. The parameter is being processed only after receiving the |
SMS Message Resending.
TLV Parameter |
Field |
Octets size |
Type |
Description |
---|---|---|---|---|
TLV Identifier for resending mode reception |
Tag |
2 |
Integer |
id = 0x1458 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
1 |
Octet String |
Resending mode. This parameter is mandatory if a resending mode different
from the default configuration is intended to be used.
Possible values :
|
|
TLV Identifier for service name reception |
Tag |
2 |
Integer |
id = 0x1459 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
11 |
Octet String |
Service name from which messages will be sent in resending mode. The parameter is being processed only after receiving the |
|
TLV Identifier for alternative message text reception |
Tag |
2 |
Integer |
id = 0x1460 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
2000 |
Octet String |
Alternative text of the VK message sent in resending mode. The parameter is being processed only after receiving the |
|
TLV Identifier for message lifetime reception |
Tag |
2 |
Integer |
id = 0x1442 |
Length |
2 |
Integer |
Length of the parameter in octets. |
|
Value |
16 |
Octet String |
Lifetime for the message sent in resending mode. Format: “YYMMDDhhmmsstnnp”. The parameter is being processed only after receiving the |