Howto:Record an announcement by phone: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
Line 92: Line 92:


[[Howto:Convert wave files to G7xxx with softcode]]
[[Howto:Convert wave files to G7xxx with softcode]]
[[Howto:How to convert wave files in to G7xx coder files for the HTTP interface]]


[[Howto:Installing_the_voicemail/music_on_hold_on_a_compact_flash_card]]
[[Howto:Installing_the_voicemail/music_on_hold_on_a_compact_flash_card]]

Revision as of 08:42, 27 May 2009

Applies To

This information applies to

  • All PBX's running Version 6 and higher


More Information

Sometimes customers wants to record a dynamic announcement (eg for a holiday) using a phone. This can be done by a Voicemailscript based on the innovaphone Voicemail (although no Voicemail-licenses are needed).

Configuration

Obtain the necessary files

Download the necessary files: Media:RecordAnnouncement.zip, unzip these files and copy them to the Compact Flash-card of the innovaphone PBX. For the configuation below we assume that these files are copied to the RecordAnnouncement-directory of the root-directory of the Compact Flash-card (http://127.0.0.1/DRIVE/CF0/RecordAnnouncement).

After copying these files to the Compact Flash-card the following files are found under /DRIVE/CF0/RecordAnnouncement:

RecordAnnouncement Files 1.gif

Create Voicemail-object to reach this script

By configuring a Voicemail-object we will be able to reach this RecordAnnouncement-script and this way record an Announcement. Go to Administration -> PBX -> Objects and select 'Voicemail' in the listbox. Click on 'new' to make an new Voicemail-object.

Long Name: Record Holiday Announcement

Display Name: Record Holiday Announcement

Name: Record Holiday Announcement

Number: ##1

Voicemail -> Script URL: http://127.0.0.1/DRIVE/CF0/RecordAnnouncement/Record.xml?$_coder=g711a&$_fileName=Holiday

RecordAnnouncement VM Object.gif



The URL of the script can have some options:

$_coder: specifies the coder of the recorded message (if omitted or other than 'g729' and 'g711a': g711a will be assumed)

$_fileName: specifies the name of the file of the recorded message (if omitted this will be 'RecordedMessage'). By creating multiple Voicemail-objects pointing to the same script, but with a different fileName you can record multiple dynamic announcements.


When you now call to the object, you will be able to record an announcement, just as you would do to record a personal greeting of your innovaphone voicemail (speechfiles and logic are taken from the innovaphone Voicemail-script).


The file will be saved in the same directory as this recordAnnouncement-script:

RecordAnnouncement Files 2.gif

Each time you call this Voicemail-object you will be able to listen to the recorded announcement, delete this announcement or record a new announcement.

Using the recorded file

After recording a file, this file can be used to be played by an Waiting Queue-object. Just create an new Waiting Queue-object under Adminstration -> PBX -> Objects and point to the file:

Long Name: Play Holiday Announcement

Display Name: Play Holiday Announcement

Name: Play Holiday Announcement

Number: 60

Queue -> 1st Announcement -> URL: http://127.0.0.1/DRIVE/CF0/RecordAnnouncement/Holiday.$coder?coder=g711a&repeat=true

Queue -> Alert TimeOut: 0

The last two options will play the file 'Holiday.g711a' located in the RecordAnnouncemnt-directory of the Compact Flash-card directly (TimeOut: 0) and constantly (repeat=true).

RecordAnnouncement WQ.gif

Limitations

The recorded announcement can only be in one codec (g711a or g729).

Recorded files are stored in the same directory as the script.

This script now uses only the Dutch speechfiles of the innovaphone Voicemail. It should be easy to change this to use the other languages provided by the innovaphone Voicemail.

Related Articles

How to Configure the innovaphone Voicemail

Howto:Convert wave files to G7xxx with softcode

Howto:How to convert wave files in to G7xx coder files for the HTTP interface

Howto:Installing_the_voicemail/music_on_hold_on_a_compact_flash_card

Howto:General_information_for_compact_flash_cards