# $Id: eicon-2 1030 2010-11-19 03:33:18Z faxguy $
#
# prototype config file for the Eicon Diva ISDN Modem
#

#
# CONFIG: CLASS2:Eicon*-*-*
#
# BEGIN-SERVER
# END-SERVER
#

ModemType:		Class2
ModemRate:		19200	# on boards supporting V.34-fax,
				# this may need to be 57600
ModemFlowControl:	rtscts
ModemNoFlowCmd:		AT&K0
ModemSoftFlowCmd:	AT&K4
ModemHardFlowCmd:	AT&K3

#
# Enable this to set Caller*ID Number
#
#ModemSetOriginCmd:     AT+iO%d

#
# Make sure the modem gives us Caller*ID in a legible way.
#
ModemResetCmds:         AT#CID=14

#
# Eicon recommends initializing with AT+iQ=a1 where "1" is
# the controller number.  This command binds the tty to that
# controller and bypasses the "channel pool" approach.
#
# There are 4 controllers on the 4BRI card.
# For each controller You have to configure 2 ttyds<xx> devices.
#
# 1st controller - ttyds01 (AT#CID=14+iQ=a1), ttyds02 (AT#CID=14+iQ=a1)
# 2nd controller - ttyds03 (AT#CID=14+iQ=a2), ttyds04 (AT#CID=14+iQ=a2)
# 3rd controller - ttyds05 (AT#CID=14+iQ=a3), ttyds06 (AT#CID=14+iQ=a3)
# 4th controller - ttyds07 (AT#CID=14+iQ=a4), ttyds08 (AT#CID=14+iQ=a4)
#
# Bind Modem to Controller N Line M:      AT+iQ=aN+iK=aM
#
#ModemResetCmds:         AT#CID=14+iQ=a1

#
# These should match the modem responses for DID and Caller*ID.
#
CallIDPattern:		"DAD: "
CallIDPattern:		"CID: "

Class2APQueryCmd:	none
Class2SPLCmd:		none
Class2TBCCmd:		none
Class2PHCTOCmd:         none

#
# As Eicon's "Class 2" is a cross-breed and abomination between
# Class 2.0, 2.1, and old-style 2 it may require some testing
# to see if ECM type 2.0 or 2 is used and whether or not hexadecimal
# is presented in the +FDCC response.
#
#Class2ECMType:		2.0	# follows Class 2.0 spec, not Class 2
Class2ECMType:          2
#
Class2UseHex:           true
#Class2UseHex:           false

