Scenarios IVR
Overview
IVR (Interactive Voice Response) scripts are used to automatically attend calls. The script handler is a SIP-UA (user-agent), one of the parties to the dialog. That is, a separate script handler is started for each call to be automatically serviced IVR.
The startup is done:
-
when a call arrives, routed to featurecode with type
ivr
,parking
,voicemail
,hunt
; -
When initiating a call with component Outgoing call;
-
call management service (API calls, conferences);
-
Selector meeting service in the pre-replay mode after the subscriber’s answer (essence of the selector);
-
queue service after the operator answers before connecting to the subscriber in preplay mode (entity hunt-group with type
user
);
The algorithm of each scenario is described by an entity ivrscript. Are created in the web application "Script Editor" or can be managed via the API.
An IVR script has a main branch and post-processing branches. The main branch is active only simultaneously with the activity of the dialog being serviced, and when the dialog is terminated, the execution of the main branch of the script is interrupted. At the same time, its work can be continued on the post-processing branch.
The IVR script handling the incoming call shall produce a response (successful 2xx
or unsuccessful 3xx-6xx
) to an incoming INVITE SIP request. It can also send preliminary responses 1xx
.
Executed by the role ivr on one of the sites serving the domain.