[AsteriskBrasil] FAX Usando Asterisk+Hylafax+iaxmodem+E1 Digivoice (Envio mas não recebo)
Florêncio Queiroz
florencio em tbmtextil.com.br
Sexta Fevereiro 25 08:55:39 BRT 2011
Amigos, estou tentando fazer funcionar o FAX aqui na minha central. O envio está OK. A recepção dá o sinal de fax, fica lá tentando e dá erro.
Agradeço qualquer ajuda.
Atenciosamente,
Florencio
Log do Hylafax
=================
Feb 25 08:20:18.69: [21340]: SESSION BEGIN 000000094 55858532997001
Feb 25 08:20:18.69: [21340]: HylaFAX (tm) Version 6.0.3
Feb 25 08:20:18.69: [21340]: CallID: "8532997000" "<NONE>" "<NONE>" "s"
Feb 25 08:20:18.69: [21340]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Feb 25 08:20:18.69: [21340]: <-- [4:ATA\r]
Feb 25 08:20:22.42: [21340]: --> [7:CONNECT]
Feb 25 08:20:22.42: [21340]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX0'
Feb 25 08:20:22.42: [21340]: STATE CHANGE: ANSWERING -> RECEIVING
Feb 25 08:20:22.42: [21340]: RECV FAX: begin
Feb 25 08:20:22.42: [21340]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 6C 74 0C 74 CC>
Feb 25 08:20:22.42: [21340]: <-- data [32]
Feb 25 08:20:22.42: [21340]: <-- data [2]
Feb 25 08:20:23.38: [21340]: --> [7:CONNECT]
Feb 25 08:20:23.38: [21340]: <-- HDLC<23:FF C0 02 0C B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 04 04 04 04>
Feb 25 08:20:23.38: [21340]: <-- data [23]
Feb 25 08:20:23.38: [21340]: <-- data [2]
Feb 25 08:20:24.13: [21340]: --> [7:CONNECT]
Feb 25 08:20:24.13: [21340]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Feb 25 08:20:24.13: [21340]: <-- data [13]
Feb 25 08:20:24.13: [21340]: <-- data [2]
Feb 25 08:20:24.71: [21340]: --> [2:OK]
Feb 25 08:20:24.71: [21340]: <-- [9:AT+FRH=3\r]
Feb 25 08:20:25.21: [21340]: --> [7:CONNECT]
Feb 25 08:20:25.97: [21340]: --> HDLC<2:FF 00>
Feb 25 08:20:25.97: [21340]: --> [5:ERROR]
Feb 25 08:20:25.97: [21340]: MODEM Command error
Feb 25 08:20:25.97: [21340]: FCS error
Feb 25 08:20:25.97: [21340]: <-- [10:AT+FRS=21\r]
Feb 25 08:20:26.38: [21340]: --> [2:OK]
Feb 25 08:20:26.38: [21340]: <-- [9:AT+FTH=3\r]
Feb 25 08:20:26.40: [21340]: --> [7:CONNECT]
Feb 25 08:20:26.40: [21340]: <-- HDLC<3:FF C8 58>
Feb 25 08:20:26.40: [21340]: <-- data [3]
Feb 25 08:20:26.40: [21340]: <-- data [2]
Feb 25 08:20:27.48: [21340]: --> [2:OK]
Feb 25 08:20:27.48: [21340]: RECV send CRP (command repeat)
Feb 25 08:20:27.48: [21340]: <-- [9:AT+FRH=3\r]
Feb 25 08:20:28.24: [21340]: --> [7:CONNECT]
Feb 25 08:20:28.91: [21340]: --> HDLC<5:FF C8 D8 29 88>
Feb 25 08:20:28.97: [21340]: --> [2:OK]
Feb 25 08:20:28.97: [21340]: RECV recv CRP (command repeat)
Feb 25 08:20:28.97: [21340]: <-- [9:AT+FTH=3\r]
Feb 25 08:20:28.99: [21340]: --> [7:CONNECT]
Feb 25 08:20:28.99: [21340]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 6C 74 0C 74 CC>
Feb 25 08:20:28.99: [21340]: <-- data [32]
Feb 25 08:20:28.99: [21340]: <-- data [2]
Feb 25 08:20:30.77: [21340]: --> [7:CONNECT]
Feb 25 08:20:30.77: [21340]: <-- HDLC<23:FF C0 02 0C B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 04 04 04 04>
Feb 25 08:20:30.77: [21340]: <-- data [23]
Feb 25 08:20:30.77: [21340]: <-- data [2]
Feb 25 08:20:31.52: [21340]: --> [7:CONNECT]
Feb 25 08:20:31.52: [21340]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Feb 25 08:20:31.52: [21340]: <-- data [13]
Feb 25 08:20:31.52: [21340]: <-- data [2]
Feb 25 08:20:32.10: [21340]: --> [2:OK]
Feb 25 08:20:32.10: [21340]: <-- [9:AT+FRH=3\r]
Feb 25 08:20:33.00: [21340]: --> [7:CONNECT]
Feb 25 08:20:33.58: [21340]: --> [10:NO CARRIER]
Feb 25 08:20:33.58: [21340]: MODEM No carrier
Feb 25 08:20:33.58: [21340]: <-- [10:AT+FRS=21\r]
Feb 25 08:20:33.78: [21340]: --> [2:OK]
Feb 25 08:20:33.78: [21340]: <-- [9:AT+FTH=3\r]
Feb 25 08:20:33.80: [21340]: --> [7:CONNECT]
Feb 25 08:20:33.80: [21340]: <-- HDLC<3:FF C8 58>
Feb 25 08:20:33.80: [21340]: <-- data [3]
Feb 25 08:20:33.80: [21340]: <-- data [2]
Feb 25 08:20:34.89: [21340]: --> [2:OK]
Feb 25 08:20:34.89: [21340]: RECV send CRP (command repeat)
Feb 25 08:20:34.89: [21340]: <-- [9:AT+FRH=3\r]
Feb 25 08:20:41.89: [21340]: --> [0:]
Feb 25 08:20:41.89: [21340]: MODEM <Empty line>
Feb 25 08:20:41.89: [21340]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 25 08:20:41.89: [21340]: <-- data [1]
Feb 25 08:20:41.89: [21340]: --> [2:OK]
Feb 25 08:20:41.89: [21340]: <-- [9:AT+FTH=3\r]
Feb 25 08:20:41.91: [21340]: --> [7:CONNECT]
Feb 25 08:20:41.91: [21340]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 6C 74 0C 74 CC>
Feb 25 08:20:41.91: [21340]: <-- data [32]
Feb 25 08:20:41.91: [21340]: <-- data [2]
Feb 25 08:20:43.70: [21340]: --> [7:CONNECT]
Feb 25 08:20:43.70: [21340]: <-- HDLC<23:FF C0 02 0C B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 04 04 04 04>
Feb 25 08:20:43.70: [21340]: <-- data [23]
Feb 25 08:20:43.70: [21340]: <-- data [2]
Feb 25 08:20:44.44: [21340]: --> [7:CONNECT]
Feb 25 08:20:44.44: [21340]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Feb 25 08:20:44.44: [21340]: <-- data [13]
Feb 25 08:20:44.44: [21340]: <-- data [2]
Feb 25 08:20:45.02: [21340]: --> [2:OK]
Feb 25 08:20:45.02: [21340]: <-- [9:AT+FRH=3\r]
Feb 25 08:20:45.62: [21340]: --> [7:CONNECT]
Feb 25 08:20:46.51: [21340]: --> [10:NO CARRIER]
Feb 25 08:20:46.51: [21340]: MODEM No carrier
Feb 25 08:20:46.51: [21340]: <-- [10:AT+FRS=21\r]
Feb 25 08:20:46.71: [21340]: --> [2:OK]
Feb 25 08:20:46.71: [21340]: <-- [9:AT+FTH=3\r]
Feb 25 08:20:46.73: [21340]: --> [7:CONNECT]
Feb 25 08:20:46.73: [21340]: <-- HDLC<3:FF C8 58>
Feb 25 08:20:46.73: [21340]: <-- data [3]
Feb 25 08:20:46.73: [21340]: <-- data [2]
Feb 25 08:20:47.81: [21340]: --> [2:OK]
Feb 25 08:20:47.81: [21340]: RECV send CRP (command repeat)
Feb 25 08:20:47.81: [21340]: <-- [9:AT+FRH=3\r]
Feb 25 08:20:48.39: [21340]: --> [7:CONNECT]
Feb 25 08:20:49.29: [21340]: --> [10:NO CARRIER]
Feb 25 08:20:49.29: [21340]: MODEM No carrier
Feb 25 08:20:49.29: [21340]: <-- [10:AT+FRS=21\r]
Feb 25 08:20:49.50: [21340]: --> [2:OK]
Feb 25 08:20:49.50: [21340]: <-- [9:AT+FTH=3\r]
Feb 25 08:20:49.52: [21340]: --> [7:CONNECT]
Feb 25 08:20:49.52: [21340]: <-- HDLC<3:FF C8 58>
Feb 25 08:20:49.52: [21340]: <-- data [3]
Feb 25 08:20:49.52: [21340]: <-- data [2]
Feb 25 08:20:50.60: [21340]: --> [2:OK]
Feb 25 08:20:50.60: [21340]: RECV send CRP (command repeat)
Feb 25 08:20:50.60: [21340]: <-- [9:AT+FRH=3\r]
Feb 25 08:20:51.20: [21340]: --> [7:CONNECT]
Feb 25 08:20:52.02: [21340]: --> HDLC<5:FF C8 D8 29 88>
Feb 25 08:20:52.08: [21340]: --> [2:OK]
Feb 25 08:20:52.08: [21340]: RECV recv CRP (command repeat)
Feb 25 08:20:52.08: [21340]: <-- [9:AT+FTH=3\r]
Feb 25 08:20:52.10: [21340]: --> [7:CONNECT]
Feb 25 08:20:52.10: [21340]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 6C 74 0C 74 CC>
Feb 25 08:20:52.10: [21340]: <-- data [32]
Feb 25 08:20:52.10: [21340]: <-- data [2]
Feb 25 08:20:53.89: [21340]: --> [7:CONNECT]
Feb 25 08:20:53.89: [21340]: <-- HDLC<23:FF C0 02 0C B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 04 04 04 04>
Feb 25 08:20:53.89: [21340]: <-- data [23]
Feb 25 08:20:53.89: [21340]: <-- data [2]
Feb 25 08:20:54.63: [21340]: --> [7:CONNECT]
Feb 25 08:20:54.63: [21340]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Feb 25 08:20:54.63: [21340]: <-- data [13]
Feb 25 08:20:54.63: [21340]: <-- data [2]
Feb 25 08:20:55.21: [21340]: --> [2:OK]
Feb 25 08:20:55.21: [21340]: <-- [9:AT+FRH=3\r]
Feb 25 08:21:02.21: [21340]: --> [0:]
Feb 25 08:21:02.21: [21340]: MODEM <Empty line>
Feb 25 08:21:02.21: [21340]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 25 08:21:02.21: [21340]: <-- data [1]
Feb 25 08:21:02.23: [21340]: --> [2:OK]
Feb 25 08:21:02.23: [21340]: RECV FAX: No sender protocol (T.30 T1 timeout)
Feb 25 08:21:02.23: [21340]: RECV FAX: end
Feb 25 08:21:02.23: [21340]: No sender protocol (T.30 T1 timeout)
Feb 25 08:21:02.23: [21340]: SESSION END
iax.conf
====================
[general]
port = 4569
bindaddr = 201.20.100.3
context = default
bandwidth = high
allow = all
tos = 0x18
minregexpire = 60
maxregexpire = 300
[iaxmodem0]
type=friend
secret=blaublau
port=4570
host=dynamic
context=faxout
allow=alaw:10
extensions.conf
=====================
exten => _7001,1,Dial(IAX2/iaxmodem0)
ttyIAX0
=====================
device /dev/ttyIAX0
owner uucp:uucp
mode 660
port 4570
refresh 300
server 201.20.100.3
peername iaxmodem0
secret 0modemiax2
cidname TBM FAX 1
cidnumber 8532997001
codec alaw
record
config.ttyIAX0
========================
CountryCode: 55
AreaCode: 85
FAXNumber: 8532997001
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 0xFFF
SessionTracing: 0xFFF
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "IAXmodem0"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "De %%l|%c|Pagina %%P de %%T"
MaxRecvPages: 200
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use this to supply a hint
#
# Enabling this will use the hfaxd-protocol to set Caller*ID
#
ModemSetOriginCmd: AT+VSID="%s","%d"
#
# If "glare" during initialization becomes a problem then take
# the modem off-hook during initialization, and then place it
# back on-hook when done.
#
ModemResetCmds: "ATH1\nAT+VCID=1" # enables CallID display
ModemReadyCmds: ATH0
Class1AdaptRecvCmd: AT+FAR=1
Class1TMConnectDelay: 400 # counteract quick CONNECT response
#
# If you have trouble with V.17 receiving or sending,
# you may want to enable one of these, respectively.
#
#Class1RMQueryCmd: "!24,48,72,96" # enable this to disable V.17 receiving
#Class1TMQueryCmd: "!24,48,72,96" # enable this to disable V.17 sending
#
# You'll likely want Caller*ID display (also displays DID) enabled.
#
ModemResetCmds: AT+VCID=1 # enables CallID display
#
# The pty does not support changing parity.
#
PagerTTYParity: none
#
# If you are "missing" Caller*ID data on some calls (but not all)
# and if you do not have adequate glare protection you may want to
# not answer based on RINGs, but rather enable the CallIDAnswerLength
# for NDID, disable AT+VCID=1 and do this:
#
#RingsBeforeAnswer: 0
#ModemRingResponse: AT+VRID=1
# Uncomment DATE and TIME if you really want them, but you probably don't.
#CallIDPattern: "DATE="
#CallIDPattern: "TIME="
CallIDPattern: "NMBR="
CallIDPattern: "NAME="
CallIDPattern: "ANID="
#CallIDPattern: "USER=" # username provided by call
#CallIDPattern: "PASS=" # password provided by call
#CallIDPattern: "CDID=" # DID context in call
CallIDPattern: "NDID="
#CallIDAnswerLength: 4
#MaxDials: 5 # default=12
#MaxTries: 5 # default=3
#NoCarrierRetrys: 5 # retry 5 times on no carrier (def.=2)
#JobReqNoCarrier: 180 # default=300
#JobReqProto: 15 # default=60
#JobReqBusy: 120 # default=180
#JobReqDataConn: 60 # default=300
#JobReqNoAnswer: 60 # default=300
#JobReqNoFCon: 30 # (AT+FCON failed) default=300
#JobReqOther: 15 # default=300
--
Florêncio Queiroz
Gerência de T.I.
Telefone direto: 85-40129131
http://www.tbmtextil.com.br
Tbm Têxtil Bezerra de Menezes S/A
PABX: 85-40129100
Av. Bernardo Manuel, 9981
Bairro: Parque Dois Irmãos
Fortaleza/CE
CEP: 60761-281
IE: 068135998
IM: 300.795-2
CNPJ: 07671092000180
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20110225/11994710/attachment-0001.htm
Mais detalhes sobre a lista de discussão AsteriskBrasil