- Contents
Interaction Mobile Office Technical Reference
useraudio.events
useraudio events invoke operations that manipulate recorded
messages. When a useraudio event is used in a <choice> tag, the message
attribute specifies the type of message that will be recorded, saved,
reset, listened to, disabled, or enabled. The message attribute
supports these values:
| Message Attribute Value | Type of Prompt |
|---|---|
|
eaprompt |
Out of office message |
|
nameprompt |
Name prompt |
|
afprompt |
Available, Forward message |
|
fmprompt |
Follow-me message |
|
agentgreeting |
Agent Greeting message |
|
rnaprompt |
Standard Greeting message |
|
personalgreeting (Communité only) |
Personal Greeting message |
|
Any fully qualified path that the CIC Administrative user has full access rights to. |
If you do not specify one of the above message attributes, the "message" attribute can be a complete and valid path to a location that the CIC administrative user has full access rights to. |
For example to record an extended absence prompt (out of office message),
specify useraudio.record as the event, and eaprompt
as the message attribute:
<choice event="useraudio.record" message="eaprompt"
return="#ea_prompt_menu" dtmf="1">[record] [my]
(extended absence | out-of-the-office) [prompt]</choice>
The message attribute specifies additional data provided
to handlers, in this case a prompt type or file path. The optional return
attribute specifies flow of control that will happen after handlers process
the event.
If a read or write error occurs (including a case of file not found),
useraudio events throw the error.com.inin.filenotfound
error.
useraudio.record-
This event invokes recording (or re-recording) of a prompt. For example, to re-record a name prompt:
<choice event="useraudio.record" message="nameprompt" dtmf="3">record [again] | re-record</choice>useraudio.save useraudio.reset-
The reset event returns a prompt to a generic recording. Using the
useraudio.resetevent with a file path is the same as adelete.<choice event="useraudio.reset" message="eaprompt">reset [my] (extended absence | out of [the] office) [prompt]</choice> useraudio.listen-
This event replays the prompt specified in the message attribute. The example below plays the out of office message:
<choice event="useraudio.listen" message="eaprompt">(listen to | review) [my] (extended absence | out of [the] office) [prompt]</choice> useraudio.disable-
This event disables the out of the office greeting (
eaprompt) or the standard greeting message (rnaprompt).<choice event="useraudio.disable" message="eaprompt" dtmf="8">disable [my] (extended absence | out of [the] office) [prompt]</choice> useraudio.enable-
This event enables (activates) the out of the office greeting (
eaprompt) or the standard greeting message (rnaprompt).<choice event="useraudio.enable" message="eaprompt" dtmf="7">(enable | set) [my] (extended absence | out of [the] office) [prompt]</choice>

