Next Topic

Previous Topic

Book Contents

Modem Configuration

You can have multiple modems attached to a DGE. For each modem that's attached to the DGE, add a modem-config section to the DGE's <TRAVERSE_HOME>/etc/emerald.xml file. If multiple modems are configured, they are used in the order specified by their device priority parameters. Tthe lower the number, the higher the priority. For each modem, set the following parameters.

Parameter

Description

sender id

The phone number used to identify this modem when sending a page. You can set it to any phone number representing this DGE.

device priority

This modem's priority with respect to other modems attached to the DGE. The lower the value of this parameter, the higher the modem's priority. When sending a page, Traverse uses the highest-priority modem that is available.

port

The port through which this modem communicates.

UNIX: Enter a port in the format /dev/ttySn where n is 0,1,2.

Windows: Use the format COMn where n is the number of the COM port.

speed

The modem's transmission speed, expressed in bits per second.

parity

The type of parity checking, if any, used by this modem. Possible values are even, odd, and none.

databits

The number of data bits transmitted in each series. Possible values are 7 and 8.

stopbits

The number of bits used to indicate the end of a byte. Possible values are 1, 1.5, and 2.

Example of Modem Configuration in emerald.xml

<modem-config>
 <sender id="3035557777"/>
 <device priority="10">
  <port>/dev/ttyS0</port> <!-- /dev/ttyS or COMn -->
  <speed>9600</speed> <!-- bps -->
  <parity>none</parity> <!-- none, odd, even -->
  <databits>8</databits> <!-- 8, 7 -->
  <stopbits>1</stopbits> <!-- 1, 1.5, 2 -->
 </device>
</modem-config>