[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problemas con efax y modem SupraExpress 336i Voice PNP (ISA)



Hola:

Estoy intentando instalar efax en un servidor (fundamentalmente su función
sería recibir faxes y archivarlos) y ha surgido un problema que está
acabando con mi paciencia. El caso es que creo que tengo el efax bien
configurado, pero cuando le intento mandar un fax al servidor, el
remitente recive el mensaje de  error. Al mirar el log del programa no veo
que haya ningún error, pero está claro que no he recibido bien el fax,
porque entre otras cosas no puedo visualizarlo.
Os muestro el log para ver si alguien puede sacar algo en claro:

--->corta--->corta--->corta--->corta--->corta--->corta--->corta--->corta---
efax: Wed Mar 26 14:22:11 2003 efax v 0.9a-001114 Copyright 1999 Ed Casas
efax: 22:11 compiled Feb 20 2002 15:22:34
efax: 22:11 argv[0]=efax
efax: 22:11 argv[1]=-v
efax: 22:11 argv[2]=
efax: 22:11 argv[3]=-v
efax: 22:11 argv[4]=chewmainrxtf
efax: 22:11 argv[5]=-d/dev/ttyS2
efax: 22:11 argv[6]=-iZ
efax: 22:11 argv[7]=-i&FE&D2S7=120
efax: 22:11 argv[8]=-i&C0
efax: 22:11 argv[9]=-iM1L0
efax: 22:11 argv[10]=-o1
efax: 22:11 argv[11]=-x
efax: 22:11 argv[12]=/var/lock/LCK..ttyS2
efax: 22:11 argv[13]=-l
efax: 22:11 argv[14]=+34 94XXXXXXX
efax: 22:11 argv[15]=-kZ
efax: 22:11 argv[16]=-j&C1
efax: 22:11 argv[17]=-j+FCLASS=0
efax: 22:11 argv[18]=-jS7=30
efax: 22:11 argv[19]=-j+FAA=1
efax: 22:11 argv[20]=-g
efax: 22:11 argv[21]=exec /sbin/getty -h ttyS2 %d vt100
efax: 22:11 argv[22]=-e
efax: 22:11 argv[23]=exec /usr/bin/fone %d
efax: 22:11 argv[24]=-jS0=1
efax: 22:11 argv[25]=-w
efax: 22:11 argv[26]=-s
efax: 22:11 argv[27]=-r
efax: 22:11 argv[28]=%m%d%H%M%S
efax: 22:11 created text lock file /var/lock/LCK..ttyS2
efax: 22:11 opened /dev/ttyS2
efax: 22:11 command  "Q0V1"
efax: 22:11 waiting 2.0 s
efax: 22:11 .347 [ATQ0V1<CR><CR><LF>]
efax: 22:11 .347 [OK<CR><LF>]
efax: 22:11 response "OK"
efax: 22:11 command  "Z"
efax: 22:11 waiting 5.0 s
efax: 22:11 .457 [ATZ<CR><CR><LF>]
efax: 22:12 .377 [OK<CR><LF>]
efax: 22:12 response "OK"
efax: 22:12 command  "&FE&D2S7=120"
efax: 22:12 waiting 5.0 s
efax: 22:12 .487 [AT&FE&D2S7=120<CR><CR><LF>]
efax: 22:12 .497 [OK<CR><LF>]
efax: 22:12 response "OK"
efax: 22:12 command  "&C0"
efax: 22:12 waiting 5.0 s
efax: 22:12 .607 [<CR><LF>OK<CR><LF>]
efax: 22:12 response "OK"
efax: 22:12 command  "M1L0"
efax: 22:12 waiting 5.0 s
efax: 22:12 .717 [<CR><LF>OK<CR><LF>]
efax: 22:12 response "OK"
efax: 22:12 command  "E0"
efax: 22:12 waiting 5.0 s
efax: 22:12 .827 [<CR><LF>OK<CR><LF>]
efax: 22:12 response "OK"
efax: 22:12 command  "I3"
efax: 22:12 waiting 5.0 s
efax: 22:12 .937 [<CR><LF>V1.440-10-V34_DP<CR><LF>]
efax: 22:12 .947 [<CR><LF>SupraExpress 336i Voice PnP<CR><LF>]
efax: 22:12 .957 [<CR><LF>Built: June  5 1996 13:53:18<CR><LF>]
efax: 22:12 .977 [<CR><LF>OK<CR><LF>]
efax: 22:12 response "OK"
efax: 22:13 command  "+FCLASS=1"
efax: 22:13 waiting 5.0 s
efax: 22:13 .087 [<CR><LF>OK<CR><LF>]
efax: 22:13 response "OK"
efax: 22:13 using V1.440-10-V34_DP in class 1
efax: 22:13 command  "+FRM=?"
efax: 22:13 waiting 5.0 s
efax: 22:13 .197 [<CR><LF>3,24,48,72,73,74,96,97,98,121,122,145,146<CR><LF>]
efax: 22:13 .217 [<CR><LF>OK<CR><LF>]
efax: 22:13 response "OK"
efax: 22:13 command  "&C1"
efax: 22:13 waiting 5.0 s
efax: 22:13 .327 [<CR><LF>OK<CR><LF>]
efax: 22:13 response "OK"
efax: 22:13 command  "+FCLASS=0"
efax: 22:13 waiting 5.0 s
efax: 22:13 .437 [<CR><LF>OK<CR><LF>]
efax: 22:13 response "OK"
efax: 22:13 command  "S7=30"
efax: 22:13 waiting 5.0 s
efax: 22:13 .547 [<CR><LF>OK<CR><LF>]
efax: 22:13 response "OK"
efax: 22:13 command  "+FAA=1"
efax: 22:13 waiting 5.0 s
efax: 22:13 .657 [<CR><LF>OK<CR><LF>]
efax: 22:13 response "OK"
efax: 22:13 command  "S0=1"
efax: 22:13 waiting 5.0 s
efax: 22:13 .767 [<CR><LF>OK<CR><LF>]
efax: 22:13 response "OK"
efax: 22:13 read HDB pid 19160 [     19160<LF>] from /var/lock/LCK..ttyS2
(our pid)efax: 22:13 removed lock file /var/lock/LCK..ttyS2
efax: 22:13 waiting for activity
--->corta--->corta--->corta--->corta--->corta--->corta--->corta--->corta---

En /etc/inittab tengo definido:

      T2:2345:respawn:/bin/sh /usr/bin/fax answer

Y mi /etc/efax.rc es el siguiente (le he quitado los comentarios para no
hacer el mensaje demasiado pesado):
--->corta--->corta--->corta--->corta--->corta--->corta--->corta--->corta---
FAX=fax
EFAX=efax
EFIX=efix
DEV=ttyS2
FROM="+34 94XXXXXXX"
NAME="Mi Nombre"
PAGE=a4
PRTYPE=pcl
PRCMD="lp"
VIEWCMD="xloadimage stdin"
GS=gs
DIALPREFIX="T"
DIALSUFFIX=""
LOCK='-x /var/lock/LCK..$DEV'
CONFIGFILES="/etc/efax.rc ${HOME:-~}/.efaxrc ./.efaxrc"
TSTAMP='date +%m%d%H%M%S'
LOOKUP='eval sed -n -e "/^fax($1):/{" -e "s/^[^:]*://p" -eq -e"}" $f'
DIRFILES="${HOME:-.}/.faxdir"
TELCVT='sed -e s/+34/0/ -e s/+/07W/'    # Spain
PAGE_letter="8.465x11in"
PAGE_legal="8.465x14in"
PAGE_a4="21x29.7cm"
RES=204x196
PRINT='$EFIX -ve -p$PAGEDIM -r300 -s0.98 -d0,0.125 -o$PRTYPE $f'
VIEW='$EFIX -ve -p$PAGEDIM -r300 -opgm $f'
INIT="-iZ -i&FE&D2S7=120 -i&C0"
RESET="-kZ"
SPKR="-iM1L0"
RXCAP="$TXCAP"
RXINIT=""
TXINIT=""
DATECMD='date "+%Y/%m/%d %H:%M"'
HDR='$DATE     $FROM      $NAME     p. %d/%d'
BUSYRETRIES="30 60 120 300 60 600 60 60 1200 60 60"
FAILRETRIES="300 300"
NICE="nice -n -10"
RM="/bin/rm -f"
LS="/bin/ls"
VERB="ewin"
VERBLOG="chewmainrxtf"
CONSOLE=/dev/console
FAXDIR=/mnt/Documentos/Faxes-recibidos
LOGDIR=/var/log/efax
ANSFNAME='%m%d%H%M%S'
UMASK=022
FAXMGR=administrador
SENDMAIL=/usr/sbin/sendmail
NOTIFY='mail -s "fax/message de $REMID: $FILES" $FAXMGR <$f'
ANSRINGS=1
DATAOPT="-j&C1 -j+FCLASS=0 -jS7=30"
DATAINIT="$DATAOPT -j+FAA=1"
DCMD="exec /sbin/getty -h $DEV %d vt100"
OWNER=""
MODE=""
NOLOG='[145]'
--->corta--->corta--->corta--->corta--->corta--->corta--->corta--->corta---

¿Alguien puede echarme una mano? He intentado buscar el manual del modem,
para ver si cambiando las cadenas de inicialización puedo dar con la
clave, pero no lo he encontrado por ningún lado (y tampoco en la web del
fabricante). A lo mejor es cosa de la cadena de RESET, ya que parece que
el fax se recibe correctamente, pero al final hay unos segundos (cuando ha
pasado el papel y se supone que tiene que dar el OK) en los que CASI
SIEMPRE (hay alguna que otra vez que me lo recibe bien :-?) al final da
error. En fin, si a alguien se le ocurre algo, ya sabe.
Gracias de antemano.

---
Sandor Saiz (Bilbao)





Reply to: