...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <Response> Action </Response> |
Action может иметь следующий вид:
Hangup
Немедленно завершает звонок.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Hangup/>
</Response> |
Pause
Приостанавливает звонок на заданное число секунд. Если значение не задано, то по умолчанию принимается 10.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Pause length="15" />
</Response> |
SetVar
Задает значение переменной для IVR.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<SetVar name="transferDestination">09897987</SetVar>
</Response> |
Jump
Осуществляет переход к заданной опции IVR-контекста.
Example
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Jump context="StartSupport" option="1" priority="3">
</Response> |
SetCallerId
Задает номер вызывающего абонента и имя вызывающего абонента в среде IVR.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<SetCaller name="callerName" number="92992"/>
</Response> |