Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

ответил 2011-03-03 11:34:29 +0400

pilchard Gravatar pilchard

Вот данные после последне передачи вакса на ружу(на факсе пишеться соединие... далее обрыв)

/var/spool/hylafax/log

п°п╟я─ 03 10:55:32.42: [ 7795]: SESSION BEGIN 000000145 74957811107
п°п╟я─ 03 10:55:32.43: [ 7795]: HylaFAX (tm) Version 4.3.9
п°п╟я─ 03 10:55:32.43: [ 7795]: SEND FAX: JOB 36 DEST 7811107 COMMID 000000145 DEVICE '/dev/ttyIAX1' FROM 'Asterisk VoIP PBX <asterisk@ippbx>' USER asterisk
п°п╟я─ 03 10:55:32.43: [ 7795]: STATE CHANGE: RUNNING -> SENDING
п°п╟я─ 03 10:55:32.43: [ 7795]: <-- [12:AT+FCLASS=1\r]
п°п╟я─ 03 10:55:32.43: [ 7795]: --> [2:OK]
п°п╟я─ 03 10:55:32.43: [ 7795]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
п°п╟я─ 03 10:55:32.43: [ 7795]: DIAL 7811107
п°п╟я─ 03 10:55:32.43: [ 7795]: <-- [12:ATDT7811107\r]
п°п╟я─ 03 10:56:14.68: [ 7795]: --> [4:BUSY]
п°п╟я─ 03 10:56:14.68: [ 7795]: SEND FAILED: JOB 36 DEST 7811107 ERR Busy signal detected
п°п╟я─ 03 10:56:14.68: [ 7795]: <-- [5:ATH0\r]
п°п╟я─ 03 10:56:14.68: [ 7795]: --> [2:OK]
п°п╟я─ 03 10:56:14.68: [ 7795]: MODEM set DTR OFF
п°п╟я─ 03 10:56:14.68: [ 7795]: MODEM set baud rate: 0 baud (flow control unchanged)
п°п╟я─ 03 10:56:14.68: [ 7795]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
п°п╟я─ 03 10:56:14.68: [ 7795]: SESSION END

Конфига /var/spool/hylafax/etc/config.ttyIAX1

CountryCode:            7
AreaCode:               495
FAXNumber:              74957811107
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          0xFFF
SessionTracing:         0xFFF
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "Soyuz_Mash_+7(495)7811107"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%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

Class1RMQueryCmd:       "!24,48,72,96"  # enable this to disable V.17

#
# You'll likely want Caller*ID display (also displays DID) enabled.
#
ModemResetCmds:         AT+VCID=1       # enables CallID display

#
# 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

CallIDPattern:          "NMBR="
CallIDPattern:          "NAME="
CallIDPattern:          "ANID="
CallIDPattern:          "NDID="
#CallIDAnswerLength:    4
# Uncomment these if you really want them, but you probably don't.
#CallIDPattern:          "DATE="
#CallIDPattern:          "TIME="

Запись с линий

Вот данные после последне передачи вакса на ружу(на факсе пишеться соединие... далее обрыв)

/var/spool/hylafax/log

п°п╟я─ 03 10:55:32.42: [ 7795]: 11:35:36.00: [ 8039]: SESSION BEGIN 000000145 000000154 74957811107
п°п╟я─ 03 10:55:32.43: [ 7795]: 11:35:36.00: [ 8039]: HylaFAX (tm) Version 4.3.9
п°п╟я─ 03 10:55:32.43: [ 7795]: 11:35:36.00: [ 8039]: SEND FAX: JOB 36 DEST 7811107 COMMID 000000145 000000154 DEVICE '/dev/ttyIAX1' FROM 'Asterisk VoIP PBX <asterisk@ippbx>' USER asterisk
п°п╟я─ 03 10:55:32.43: [ 7795]: USERп°п╟я─ 03 11:35:36.00: [ 8039]: STATE CHANGE: RUNNING -> SENDING
п°п╟я─ 03 10:55:32.43: [ 7795]: 11:35:36.00: [ 8039]: <-- [12:AT+FCLASS=1\r]
п°п╟я─ 03 10:55:32.43: [ 7795]: 11:35:36.00: [ 8039]: --> [2:OK]
п°п╟я─ 03 10:55:32.43: [ 7795]: 11:35:36.00: [ 8039]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
п°п╟я─ 03 10:55:32.43: [ 7795]: 11:35:36.00: [ 8039]: DIAL 7811107
п°п╟я─ 03 10:55:32.43: [ 7795]: 11:35:36.00: [ 8039]: <-- [12:ATDT7811107\r]
п°п╟я─ 03 10:56:14.68: [ 7795]: 11:36:36.49: [ 8039]: --> [4:BUSY]
п°п╟я─ 03 10:56:14.68: [ 7795]: [10:NO CARRIER]
п°п╟я─ 03 11:36:36.49: [ 8039]: SEND FAILED: JOB 36 DEST 7811107 ERR Busy signal No carrier detected
п°п╟я─ 03 10:56:14.68: [ 7795]: 11:36:36.49: [ 8039]: <-- [5:ATH0\r]
п°п╟я─ 03 10:56:14.68: [ 7795]: 11:36:36.49: [ 8039]: --> [2:OK]
п°п╟я─ 03 10:56:14.68: [ 7795]: 11:36:36.49: [ 8039]: MODEM set DTR OFF
п°п╟я─ 03 10:56:14.68: [ 7795]: 11:36:36.49: [ 8039]: MODEM set baud rate: 0 baud (flow control unchanged)
п°п╟я─ 03 10:56:14.68: [ 7795]: 11:36:36.49: [ 8039]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
п°п╟я─ 03 10:56:14.68: [ 7795]: 11:36:36.49: [ 8039]: SESSION END

Конфига /var/spool/hylafax/etc/config.ttyIAX1

CountryCode:            7
AreaCode:               495
FAXNumber:              74957811107
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          0xFFF
SessionTracing:         0xFFF
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "Soyuz_Mash_+7(495)7811107"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%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

Class1RMQueryCmd:       "!24,48,72,96"  # enable this to disable V.17

#
# You'll likely want Caller*ID display (also displays DID) enabled.
#
ModemResetCmds:         AT+VCID=1       # enables CallID display

#
# 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

CallIDPattern:          "NMBR="
CallIDPattern:          "NAME="
CallIDPattern:          "ANID="
CallIDPattern:          "NDID="
#CallIDAnswerLength:    4
# Uncomment these if you really want them, but you probably don't.
#CallIDPattern:          "DATE="
#CallIDPattern:          "TIME="

Запись с линий

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.