Howto:Using the Voicemail object as a post call review: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
(Creating the article; will continue later on.)
 
No edit summary
Line 12: Line 12:
This is a Simple Script to redirect a caller to the voicemail object after having called in a callcenter.
This is a Simple Script to redirect a caller to the voicemail object after having called in a callcenter.
The caller gets to choose to give a grade from 1 - 6, which is then saved as textfile.
The caller gets to choose to give a grade from 1 - 6, which is then saved as textfile.
'''Please notice that the script, paths and default messages are in German'''
To change this, please take a look at the [[#Customization|Customization]] section


===Configuration prerequisite===
===Configuration prerequisite===
Line 26: Line 30:
* Configure your ''vm:3'' Script-Url to point to the Script in the main dir (e.g.: ''http://127.0.0.1/DRIVE/CF0/rufbewertung/bewertung.xml'')
* Configure your ''vm:3'' Script-Url to point to the Script in the main dir (e.g.: ''http://127.0.0.1/DRIVE/CF0/rufbewertung/bewertung.xml'')


* Setup a Function-Key for ''Klaus:123'' using the ''Redirect'' function.
* <span id="Redirect Key">Setup a Function-Key for ''Klaus:123'' using the ''Redirect'' function.
** Set a Name you desire to show on the phone (if available)
** Set a Name you desire to show on the phone (if available)
** Set the Redirect number to ''3123'' (''vm'' number + ''Klaus'' number)
** Set the Redirect number to ''3123'' (''vm'' number + ''Klaus'' number)
Line 34: Line 38:


===Testing===
===Testing===
'''Please notice that the script, paths and default messages are in German'''
To test the script, please proceed through the following route:


To change this, please take a look at the [[#Customization|Customization]] section
* Start a call to the user ''Klaus:123''
* After Picking up the call, press the configured [[#Redirect_Key|Redirect button]] '''twice''' to redirect the caller directly to the voicemail object
* The caller is now asked to input a grade from 1 - 6.
** Making a wrong input causes a announcement informing that the input is invalid, asking for a right one.
* Finishing the firs input, the caller is asked to input another grade for the second question.
* After all questions are answered, a file containing the choices is written.
** The file can be found at ''CF0/rufbewertung/bewertungen/<date>/<time>_<local number>-<external number>.txt''


==Customization==
==Customization==
===Changing the audio===
===Changing the audio===
If you want to change the audio, please take a look at the script itself.
I have marked the locations, where the audio is being loaded, explaining what the announcement is stating.
To create announcements for your testing environment, i advise you to check out fromtexttospeech.com[http://www.fromtexttospeech.com/] , creating the corresponding messages and converting them through the Innovaphone Audio Converter[https://www.innovaphone.com/en/support/convert.html].
===Adding questions to the pool===
To add a question, just expand the list of questions in the script.


===Changing the output data===
Here is a generic example, on what it looks like:
<code xml>
<!-- ======== Zweite Ansage ======== -->
<!-- ======== Announcement No. 2 ======== -->
<!-- AUDIO: Ansage der 2. Bewertungskriterien -->
<!-- AUDIO: Announcement of 2nd criteria-->
    <store-get root="" name="bewertung_ansage_2.$coder" out-url="$url"/>
    <pbx-prompt url="$url" barge-in="false"/>
<call name="DTMFDetect"/>
<!-- =============================== -->
</code>


==Known Problems==
==Known Problems==

Revision as of 13:15, 28 August 2017

Applies To

This information applies to

  • innovaphone Voicemail

Build 60039 and later

  • IPXXX with PBX, V6, SR1 and later


More Information

This is a Simple Script to redirect a caller to the voicemail object after having called in a callcenter. The caller gets to choose to give a grade from 1 - 6, which is then saved as textfile.

Please notice that the script, paths and default messages are in German

To change this, please take a look at the Customization section

Configuration prerequisite

A few preconditions are assumed:

  • a Voicemail object vm:3 is existing
  • a User Klaus:123 is existing

Configuration

  • Place the downloaded script in your CF directory (e.g.: CF0/rufbewertung/*)
  • Setup a Function-Key for Klaus:123 using the Redirect function.
    • Set a Name you desire to show on the phone (if available)
    • Set the Redirect number to 3123 (vm number + Klaus number)
    • Set the checkmark Redirect Active Call to active

With this done, you are basically all set.

Testing

To test the script, please proceed through the following route:

  • Start a call to the user Klaus:123
  • After Picking up the call, press the configured Redirect button twice to redirect the caller directly to the voicemail object
  • The caller is now asked to input a grade from 1 - 6.
    • Making a wrong input causes a announcement informing that the input is invalid, asking for a right one.
  • Finishing the firs input, the caller is asked to input another grade for the second question.
  • After all questions are answered, a file containing the choices is written.
    • The file can be found at CF0/rufbewertung/bewertungen/<date>/

Customization

Changing the audio

If you want to change the audio, please take a look at the script itself.

I have marked the locations, where the audio is being loaded, explaining what the announcement is stating.

To create announcements for your testing environment, i advise you to check out fromtexttospeech.com[1] , creating the corresponding messages and converting them through the Innovaphone Audio Converter[2].

Adding questions to the pool

To add a question, just expand the list of questions in the script.


Here is a generic example, on what it looks like:

   	<store-get root="" name="bewertung_ansage_2.$coder" out-url="$url"/>
   	<pbx-prompt url="$url" barge-in="false"/>

<call name="DTMFDetect"/>

Known Problems

Download