Conditions: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with "Conditions allow to manage the call flow, playing for example a different messages or routing the call based on hours, or days, or calling party. Conditions can also apply to...")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:


There are several type of conditions:
There are several type of conditions:
[[File:weektime.png|thumb|400px]]
'''Weektime''' a complete week planner allows to easily identify in which day/hour to trigger
the destination.
[[File:calendar.png|thumb|400px]]
'''Calendar''' a complete calendar with dates
[[File:hours.png|thumb|400px]]
'''Hours''' specifies distinct hours range
[[File:calleridcondition.png|thumb|400px]]
'''Caller ID''' the routing decision is made using the Caller ID of the call. For example, allowing coworkers calling the main number to reach directly the support staff without waiting in the Queue. You can use exact number of regular expressions. Please note, if you need to escape a character, like the +, you need to use three \, like ^\\\+39.*
'''Weekday''' allows to route calls based on the day of the week
'''Date''' permits to route the calls based on specified dates. A date, like Christmas, can be made “recurring”, so it will trigger every day, regardless the year.
'''Extension Status''' the routing decision is made based on the status of an extension. This condition is really powerful when connected to the custom setting of extension status or a Flow/Variable.
'''Variable Value''' checks the value of a variable defined in the Flow/Variable sections or at runtime. It is possible also to check using a Regex.
'''Multiple Extension Status''' permits to check if any or all of your extensions are online/offline or in use, useful to route calls automatically on the backup number in case the internet connection for a client is offline
'''AGI Script''' execs an AGI script and check the variable AGIRESULT. If set to true, the condition is matched, otherwise the “not match” condition is followed.
'''Authenticate''' requests a PIN to be entered
'''Tenant - number of channels''' permits to check the number of channels used by the tenant
'''DID - number of channels''' permits to check the number of channels used by the selected DID
'''Number of custom group channels''' allows to check with the number of calls running, being marked in a specific group
'''Answering Machine Detection''' useful when using Call Campaigns, allows to identify answering machine
'''SIP Header''' will check for the SIP Header in the call
'''Agent logged in a queue''' will check if an agent is currently logged in the queue
'''Agent paused from queue''' will check if an agent is currently paused from the queue


Weektime a complete week planner allows to easily identify in which day/hour to trigger
For every type of condition you have two destinations, "when matches" and "when NOT matches"
the destination.
Calendar a complete calendar with dates
Hours specify distinct hours range
Caller ID the routing decision is made using the Caller ID of the call. For example,
allowing coworkers calling the main number to reach directly the support staff without waiting
in the Queue.
Weekday allows to route calls based on the day of the week
Date permits to route the calls based on specified dates. A date, like Christmas, can be
made “recurring”, so it will trigger every day, regardless the year.
Extension Status the routing decision is made based on the status of an extension. This
condition is really powerful when connected to the custom setting of extension status or a
Flow/Variable.
33
Variable Value check the value of a variable defined in the Flow/Variable sections
AGI Script execs an AGI script and check the variable AGIRESULT. If set to true, the
condition is matched, otherwise the “not match” condition is followed.
Authenticate request a PIN to be entered
Tenant – number of channels permits to check the number of channels used by the
tenant
DID – number of channels permits to check the number of channels used by the
selected DID
Answering Machine Detection useful when using Call Campaigns, allows to identify
answering machine

Latest revision as of 16:14, 6 November 2019

Conditions allow to manage the call flow, playing for example a different messages or routing the call based on hours, or days, or calling party. Conditions can also apply to extension state or user input.

Conditions.png

There are several type of conditions:

Weektime.png

Weektime a complete week planner allows to easily identify in which day/hour to trigger the destination.

Calendar.png

Calendar a complete calendar with dates

Hours.png

Hours specifies distinct hours range

Calleridcondition.png

Caller ID the routing decision is made using the Caller ID of the call. For example, allowing coworkers calling the main number to reach directly the support staff without waiting in the Queue. You can use exact number of regular expressions. Please note, if you need to escape a character, like the +, you need to use three \, like ^\\\+39.*

Weekday allows to route calls based on the day of the week

Date permits to route the calls based on specified dates. A date, like Christmas, can be made “recurring”, so it will trigger every day, regardless the year.

Extension Status the routing decision is made based on the status of an extension. This condition is really powerful when connected to the custom setting of extension status or a Flow/Variable.

Variable Value checks the value of a variable defined in the Flow/Variable sections or at runtime. It is possible also to check using a Regex.

Multiple Extension Status permits to check if any or all of your extensions are online/offline or in use, useful to route calls automatically on the backup number in case the internet connection for a client is offline

AGI Script execs an AGI script and check the variable AGIRESULT. If set to true, the condition is matched, otherwise the “not match” condition is followed.

Authenticate requests a PIN to be entered

Tenant - number of channels permits to check the number of channels used by the tenant

DID - number of channels permits to check the number of channels used by the selected DID

Number of custom group channels allows to check with the number of calls running, being marked in a specific group

Answering Machine Detection useful when using Call Campaigns, allows to identify answering machine

SIP Header will check for the SIP Header in the call

Agent logged in a queue will check if an agent is currently logged in the queue

Agent paused from queue will check if an agent is currently paused from the queue

For every type of condition you have two destinations, "when matches" and "when NOT matches"