Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
     Action
</Response>

Action может иметь следующий вид:

Hangup

Немедленно завершает звонок.

 

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Hangup/>
</Response>

 

Pause

Приостанавливает звонок на заданное число секунд. Если значение не задано, то по умолчанию принимается 10.

 

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Pause length="15" />
</Response>

 

SetVar

Задает значение переменной для IVR.

 

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <SetVar name="transferDestination">09897987</SetVar>
</Response>

Jump

Осуществляет переход к заданной опции IVR-контекста.

Example

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Jump context="StartSupport" option="1" priority="3">
</Response>

SetCallerId

Задает номер вызывающего абонента и имя вызывающего абонента в среде IVR.

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <SetCaller name="callerName" number="92992"/>
</Response>