Outbound Calls¶
Gateway conditions¶
The sending rules determine, based on the message’s metadata, which gateways can be used to send it.
The gateway rule can check the following message metadata: channel (e-mail, SMS, …), project, priority, agent sending the message, language, message compilation time.
Displayed name |
AttributeName |
Description |
---|---|---|
ID |
GatewayConditionId |
Primary Key. |
Name |
DisplayName |
Name for administrator. |
Order |
Rank |
The order in which gateway conditions will be taken into account. Numbers don’t have to go behind or be unique. |
Gate |
GatewayId |
The chosen gateway. The gateway also determines the MessageType it is able to process. A single message can have multiple gateways; it is then up to the agent to choose the appropriate one. If no gateway is applicable, the message cannot be sent. |
Workgroup |
ProjectId |
Project condition. Not filled in means do not check. If filled in, the rule is only valid when the message is assigned to this project. |
Team mask |
TeamMask |
Team mask condition. If NULL, TeamMask is not checked. |
Priority |
Priority |
Minimum priority. It is satisfied if the priority of the message is greater than or equal to that specified here. Not filled in means do not check. |
Sending Agent |
AgentId |
If filled in, the rule is only valid when the sender is the agent. |
Language |
LanguageId |
If filled in, the rule is only valid when the message is assigned the language. |
Calendar mode |
TimeMode |
Time condition. The way of interpreting the TimeFrom/TimeTo fields. If NULL, the time is not checked. The condition is applied when the message is opened in the editor. The administrator should take into account that the condition is not checked exactly at the time of sending. The recommended use is for longer periods (campaigns) or when a certain gateway is only operational from a certain date (e.g. SMS);” |
From |
TimeFrom |
Date and time end of time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |
To |
TimeTo |
Date and time end of time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |
Schedule conditions¶
Specifies the conditions under which the script is used before the gateway sends the outgoing message.
Displayed name |
AttributeName |
Description |
---|---|---|
ID |
MessageScheduleConditionId |
Primary Key. |
Name |
DisplayName |
Name for administrator. |
Order |
Rank |
The order in which schedule conditions will be taken into account. Numbers don’t have be in sequence or unique. |
IMR script |
ImrScriptId |
Modification script selection. Specifies which message script to run under the conditions before the message is sent. If it is NULL, then none. |
Language |
LanguageId |
Condition for language of messages. If it is NULL, it is not checked. |
Directory |
PhoneBookId |
A condition indicating that the sender’s address must be listed in a specific phone book to comply with the rule. If it is NULL, it is not checked. |
Gate |
GatewayId |
A condition indicating that the message has to go through a certain gateway to fulfill the rule. If it is NULL, it is not checked. |
Rule set |
TextMatchId |
A text match condition that determines whether the message contains certain strings. If it is NULL, it is not checked. |
Calendar mode |
TimeMode |
Time condition. How to Interpret TimeFrom / TimeTo Fields. If it is NULL, time is not checked. |
From |
TimeFrom |
Date and time of the time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |
To |
TimeTo |
Date and time end of time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |