Date: Fri, 29 Mar 2024 07:31:47 +0000 (GMT) Message-ID: <282981005.4693.1711697507474@wiki.4psa.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4692_606723762.1711697507473" ------=_Part_4692_606723762.1711697507473 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This page describes the response that is expected by the Call In= teractive service.
Call Interactive expects to receive responses in the following format:= p>
<?xm= l version=3D"1.0" encoding=3D"UTF-8"?> <Response> =09 Verb=20 </Response>
Where Verb
is one the following known parameters.
Hangs up the call immediately.
<Res= ponse>=20 =09<Hangup/>=20 </Response>
Pauses the call for a given number of seconds. If no interva= l is supplied, default value is 10.
<Res= ponse>=20 =09<Pause length=3D"15" /> </Response>
Sets a variable on the IVR.
<Res= ponse>=20 =09<SetVar name=3D"SubscriptionCode">09897987</SetVar> </Response>
Plays the sound from a given folder in a given language; if the folder i= s not supplied, it is considered empty:
view=3D"system"
the service will get a system sound, while for=
view=3D"client"
it will get a personal sound;where
parameter;loop
attribute controls for how many times the sound i=
s played;The verb has the following format:
<Pla= ySound language=3D"" loop=3D"" view=3D"system/client" folder=3D"name of fol= der"=20 where=3D"foreground/background" digitvar=3D"MYVAR"> nameofthesound </PlaySound>
<Res= ponse> =09<PlaySound language=3D"fr" view=3D"system" folder=3D"/custom" where= =3D"background" digitvar=3D"contact"> Choose-contact-method </PlaySound> </Response>
Performs a jump to an IVR context at a given option. T= he jump can be performed directly to a priority where the IVR should have r= egistered an action.
<Res= ponse> =09<Jump context=3D"StartSupport" option=3D"1" priority=3D"3"> </Response>
Sets a CallerID Number and a CallerID Name on th=
e IVR environment. These can be retrieved later by other applications. If a=
ny of the name
or number
attributes is missing, the XML response parsing is aborted.=
<Res= ponse>=20 =09<SetCaller name=3D"callerName" number=3D"92992"/> </Response>
Plays a text using a specific voice. The v= olume is optional and its default value is 150. This verb requires a TTS li= cense installed and TTS activated on the VoipNow 3 infrastructure.
<Res= ponse> =09<PlayTTS voice=3D"Alice-8KHz" volume=3D"100"> </Response>