After successful execution of the component, execution of the main script branch is interrupted. \ At any step of the process, a planned failure may occur, then control is transferred to the next component along the appropriate transition branch.

Component One-step transfer (transfer to number)

:icons:font :hardbreaks: :imagesdir: ../../../assets/images :toc-title: Contents :toc:

Description

Performs a one-step transfer of a subscriber’s current call to a specified number by sending him a REFER SIP request. +\

Automatically subscribes to receive events about the state of the translation. The total time of the transfer process consists of the time to respond to REFER (which may include issuing a request to the subscriber and waiting for confirmation), dialing the specified number and waiting for a response. However, after 60 seconds, control will in any case be transferred to the next component along the “Subscription Time” branch.

The transfer uses the standard routing process on behalf of the current IVR script.

Table 1. System characteristics

Index

203

Short name

refer

Script types

IVR

Start module

r_sip_ivr_script_component_refer

Mode

Asynchronous

Icon

203

Branching type

Branching, interrupting

Properties

Table 2. Properties
Specification Description

Name: Number

Code: number

Visibility condition: no

Default: — 

Argument containing the subscriber’s phone number to make the transfer.

Name: re-INVITE mode

Code: reinviteMode

Visibility condition: no Default: Do not use

Selecting the mode of preliminary conversion of the media session of the current dialogue before sending the SIP REFER request.

Possible options:

  • Do not use (not_used, 0) – Does not perform any conversion.

  • Auto (auto, 1) – According to the current system settings, it is similar to the inactive mode.

  • sendonly (2) – Places a media session on hold by sending a re-INVITE from SDP, where media streams have the a=sendonly attribute set.

  • inactive (3) – Puts the media session into hold mode by sending a re-INVITE from SDP, where the a=inactive attribute is set for media streams (does not comply with RFC-6337 clause 5.3.).

Name: Result code into variable

Code: resultCode

Visibility condition: no

Default: — 

Variable for storing the internal error code.

Possible options:

  • "008" – Transferred call failed. SIP refusal on INVITE.

Name: Description of the result into a variable

Code: resultDescription

Visibility condition: no

Default: — 

Variable for storing a text description of the internal error.

Name: SIP response code to variable Code: resultSipCode Visibility condition: no

Default: — 

Variable for storing the SIP response code for an outgoing INVITE request.

Name: Reason for SIP response to variable

Code: resultSipReason

Visibility condition: no

Default: — 

Variable for storing the SIP response phrase for an outgoing INVITE request.

Name: Transition, subscription time

Code: transferSubTerminated

Visibility condition: no

Default: — 

The component to which control is transferred if the subscription time has expired and confirmation of receipt of the final response has not been received.

Name: Transition, failure

Code: transferRejected

Visibility condition: no Default: — 

The component to which control is transferred if the call receives an unsuccessful final response: 3xx-6xx (to REFER or INVITE).

Name: Transition, time

Code: transferTimeout

Visibility condition: no

Default: — 

The component to which control is transferred if a final response to the sent SIP request re-INVITE or REFER is not received within a limited time.

See also