using bogotel

Table of Contents                           SourceForge.net Logo

Running

Location of DLLs

On a machine that has the SR511 installed, it is necesary to copy the DLLs to the directory of each executable that you want to run with bogotel. Otherwise, make sure the DLLs are in your executable path. If you are work on developing bogotel and want your changes to be copied automatically each time you compile, add the relative path to your binaries to the text file bogotel-user-dir-list.txt; this will ensure that the latest DLLs will always be available.

The bogotel DLLs are dependent on the following DLLs: boost_threadmon.dll, log4cpp_stlport_boostD.dll, stlport_vc6_stldebug45.dll, stlport_vc645.dll. They must all be in your executable path for bogotel to run.

Configuration

Location of configuration files

When bogotel is started, it will look for the bogotel.properties property file first in the current directory, and then in the directory specified by the environment variable "BOGOTEL_HOME". If it can't find the file, it will return an error on startup (gc_Start() will fail).

bogotel.properties property file

Properties used by both instances:

PortUsedForInstanceChecking

This specifies the TCP/IP port number that allows bogotel to determine if it is the first instance of bogotel starting. Default: 49999.

WavFilenameBase

When the value here is found at the beginning of a WAV filename whose playback has started, it is stripped from the filename. Default: none.

Wav2DtmfsPropertyFilename

Specifies the name of the property file used to determine if a wav file should be "heard" as a wav file or a collection of DTMFs. Default: bogotel.wav2dtmfs.properties.

DtmfDelimiterChar

DTMF char to append to string of DTMF chars "recognized" during playback. Default: "d".

Log4cppFilename

Specifies the name of the property file used to configure logging. Default: None. No logging is performed if this is not set.

Properties that are different for each instance

These are used by the instance of bogotel they correspond to. For the first instance <instance number>=1, for the second instance <instance number>=2.

MyPort<instance number>

Listening port of bogotel instance. Default: None.

OppPort<instance number>

Listening port of bogotel instance current instance should connect to. Default: None.

OppAddress<instance number>

IP address of bogotel instance current instance should connect to. Default: 127.0.0.1.