IVR scripts

Review

IVR (Interactive Voice Response) scripts are used to automatically service calls.

The script processor is SIP-UA (user-agent), one of the parties to the dialogue. That is, for each call subject to automatic servicing, a separate IVR script handler is launched.

The launch is carried out:

  • upon receipt of a call routed to featurecode with types ivr, parking, voicemail, hunt;

  • when a call is initiated by the component Outgoing call;

  • call management service (API calls, conferences);

  • service of conference calls in preview mode after the subscriber answers (entity selector);

  • by the queue service after the operator’s response before connecting to the subscriber in preview mode (entity hunt-groups with type user);

The algorithm for each scenario is described by the ivrscript entity.

Created in the Script Editor web application or can be controlled via API.

The IVR script has a main branch and post-processing branches.

The main branch is active only simultaneously with the activity of the dialog being served, and when the dialog ends, the execution of the main branch of the script is interrupted. At the same time, its work can be continued in the post-processing branch.

The IVR script servicing an incoming call must produce a response (successful 2xx or unsuccessful 3xx-6xx) to the incoming incoming SIP INVITE request. Can also send preliminary responses to 1xx.

Performed by the role ivr on one of the sites serving the domain.