(Page 7 of 8 in this chapter)


1.6 Modifying Your AG Configuration File

The NaturalText DSP file must be loaded to the Diva II daughterboard. You can modify your AG configuration file, typically called ag.cfg, to load the DSP file to the Diva II daughterboard at the same time it initializes the AG board.

To modify the AG configuration file, you can use the sample AG configuration files as models. The files are located in the directories:

NT and OS/2: c:\nms\ag\cfg
UnixWare: /opt/nms/ag/cfg

Refer to the AG Access Installation Manual for further information on AG configuration files.

To modify your ag.cfg file:

  1. Open the appropriate sample AG configuration file and your ag.cfg file.

    
    
  2. To load the NaturalText DSP file to the Diva II daughterboard, add a Diva=filename to each Board section for each AG board that has an attached Diva II daughterboard. The NaturalText Diva DSP files include:

ttsc2em.bin

English/Male voice for Diva II (16 ports)

ttsc2sm.bin

Spanish/Male voice for Diva II (20 ports)



Note:  Each NaturalText DSP file can render only one language/gender combination. To change speech gender or language, you must load another DSP file.

The NaturalText DSP files can also be loaded to the Diva daughterboard, after running agmon, using the loaddiva utility. The following command loads the English/Male voice to the Diva II: 
NT and OS/2: loaddiva -f ttsc2em.bin
UnixWare: loaddiva -f /opt/nms/ag/load/ttsc2em.bin

  1. Save your changes to the ag.cfg file.

    
    
  2. Run agmon to configure your boards as specified in the AG configuration file.

1.6.1 Sample AG Configuration File

The following is a sample configuration file for an AG-T1 board with a Diva II daughterboard:

#---------- COMMON section --------
Interrupt = 12
# Uncomment the appropriate Trunk Control Protocol(s)
  TCP = nocc.tcp      # "no trunk control" protocol
  TCP = did0.tcp      # Incoming wink protocol
# Uncomment the appropriate DSP functions
  DSPfile = tone.dsp      # Beep, tone generation, dial
  DSPfile = callp.dsp      # Call Progress detection
  DSPfile = signal.dsp      # Out-of-band channel associated signalling
  DSPfile = dtmfe.dsp      # DTMF, cleardown and silence/energy detectors
  DSPfile = echo.dsp      # Echo cancellation
  DSPfile = voice.dsp      # NMS ADPCM play and record
  IdleCode = MU-LAW
#--------- BOARDS section ----------
 Board 0       # AG-T1
  Address  = 2c0
  RunFile = systn.run
  DIVA=ttsc2em.bin      # NaturalText on Diva II
End Board


(Page 7 of 8 in this chapter)


tech_support@nmss.com
Copyright © 1997, Natural MicroSystems, Inc. All rights reserved.