Howto:Convert wave files in to G7xx coder files

From innovaphone wiki
Revision as of 11:00, 4 May 2007 by Tsr (talk | contribs)
Jump to navigation Jump to search

The HTTP interface allows to play sound files delivered from a web server.

This is used mostly for music on hold or waiting queue announcements.

These files need to be in a specific format, not standard wave file.

Here is how to convert a standard wave file into this format.

Version V6 sr1 
Starting from V6 Sr1 it is possible to run the sound files via the Cf cardslot (no etxternal web server needed) please refer to the related articels below.
Also it is then possible to automaticly convert the wav files into g7xx  at the cf card 
8khz, 16bit, mono *.wav files can be copied to webdav-mountable 
x.x.x.x/drive/CX0, in order to convert to *.g711a, *.g711u, *.g729.
Please be patient - a 2.5MB file (2.5min audio content) takes on an ip800
~15min to be converted into a *.g729 file.

Applies To

This information applies to

  • All innovaphone gateways (IP202, IP302,IP305 ,IP800, IP3000, IP6000)

Version 5.0 and later.

More Information

Problem Details

To avoid just-in-time format conversion and/or encoding, sound files played via the HTTP interface must be present as coder-specific raw sound stream data files.

To use a standard wave file, it must be converted into this format first.

Also, if you want to provide a specific sound file for calls with different coders, you must provide a single version of such file for each coder in question.

To create G723, G729, G711a or G711m files, you will need standard 8kHz, 16bit, mono wave files.

At the download site you will find the softcod.exe in the tools folder command line utility which will convert such a wave file to the required coder files.

To convert a wave file announcement.wav, call

softcod announcement.wav

this will create announcement.g723, announcement.g729, announcement.g711a and announcement.g711u.

Due to licensing issues, the conversion process requires access to an innovaphone gateway.

The tool will thus ask for a valid gatekeeper/pbx alias.

Note that the tool must be able to register with this alias.

Therefore, you cannot use an account which is currently in use.

As the tool will not ask for a password, you cannot use an account which is password protected

Installation

There is no install available or required.

Simply call softcod.exe from the command line

Known Problems

The tool will locate the gatekeeper/pbx using gatekeeper discovery.

Note that this currently will not work on multi-homed hosts, that is, hosts with more than one (virtual or physical) network interface.

Most available wave file tools will not create wave files in the proper format (as defined above).

In order for softcod.exe to work, you have to make sure the input wave file is in the proper format.

Depending on the tool you are using, you may need to change the files audio properties.

Also, you may use Windows™ standard audiorecorder application (sndrec32.exe) to convert a wave file in to the proper format (use File/Properties/Convert).


Related Articles

download site for softcod.exe

music on hold on cf card

general info about the compat flash cards