Internal transfer per group

1. Description

The flow is executed in a situation where an agent transfers an active call to a group of highly specialized agents. To do this, the agent transfers the call to the extension number given in the dialplan with this flow. The flow distributes the call after the transfer by making  attempts to connect with the agents.

1.1. Flow example

An example flow can be seen in Figure 1.

Fig. 1. The flow of internal transfer per group

For convenience, you can download the completed JSON file, which is attached below, and import it. 

1.1.1. Flow description

Component 

Block of component

 Component parameters

Description

Start


Start component
Ring ready

Beeps generation
Pre answer

The ability to play an early media file when we can already play something in the channel, but there is still no answer. What will be played is set in the "Ringback" component, section "At Call"
Ringback

Set up beeps or media file.

Selected tone - %(1000,6000,425);loops=-1

Set variables

Assignment of additional variables. Namely:

  • hangup_after_bridge - true - end of the call, if there was a connection between the subscriber and the operator;;
  • continue_on_fail - true  -  continue processing outbound routing when called agents are busy.
Bridge

Leg-B side generations. One-by-one attempts are made to connect to operators whose extension numbers are enter in the "Extension" fields.

This requires:

  •  select "failover" in the "Bridge strategy" field;
  • click the "Add user" button in the "Endpoints" element. Enter the extension number of the operator in the "Extension" field. Press the "Add" button in the "Endpoint parameters" element and enter there the number of seconds (10) that an attempt to dial the operator will be made

In this example, an attempt will be made to dial a group of 4 operators. Their extension are 100, 101, 102 and 103.

Answer

Connect subscriber to the system
Playback

Play audio file at the start of a conversation. For example, with information that all operators are busy.

This requires:

  • select "media" in the "File type" field;
  • in the "Media" field that appears, select a file that will be played to the subscriber.
  • press the "Add" button.
Hangup

End the call

The flow is used when transferring to the number specified in the "Destination number" field (Fig. 2).

Fig. 2. Dialplan