VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Elastix+IAXmodem+Hylafax+OPENVPN

Обо всем касательно FreePBX, MetPBX, TrixBox, Elastix, AstPBX и всех других дистрибутивов

Модераторы: april22, Zavr2008

chumayu
Сообщения: 11
Зарегистрирован: 01 фев 2014, 15:30

Re: Elastix+IAXmodem+Hylafax+OPENVPN

Сообщение chumayu »

Спасибо "пожилой человек", шустрый Вы, хотел дописать что,в inittab (centos)

# Don't remove or modify this comment. The following block is for fax setup. (Надо ж так все продумать :) )
f001:2345:respawn:/usr/sbin/faxgetty ttyIAX1

И все равно после загрузки ps -ax |grep faxgetty (не слуху не духу)
ded
Сообщения: 15626
Зарегистрирован: 26 авг 2010, 19:00

Re: Elastix+IAXmodem+Hylafax+OPENVPN

Сообщение ded »

Умеете читать логи в системе?
Сделаю за Вас работу за 2/3 вашей зарплаты.
chumayu
Сообщения: 11
Зарегистрирован: 01 фев 2014, 15:30

Re: Elastix+IAXmodem+Hylafax+OPENVPN

Сообщение chumayu »

Хитренький :)

Логи читать если те что /var/log/messages
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: Кусочек
Feb 3 17:49:28 pbx FaxGetty[5522]: OPEN /dev/ttyIAX1 HylaFAX (tm) Version 4.3.10
Feb 3 17:49:29 pbx FaxGetty[5522]: MODEM set DTR OFF
Feb 3 17:49:29 pbx FaxGetty[5522]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 3 17:49:29 pbx FaxGetty[5522]: DELAY 75 ms
Feb 3 17:49:29 pbx FaxGetty[5522]: MODEM set DTR ON
Feb 3 17:49:29 pbx FaxGetty[5522]: DELAY 2600 ms
Feb 3 17:49:33 pbx FaxGetty[5522]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF
Feb 3 17:49:33 pbx FaxGetty[5522]: DELAY 10 ms
Feb 3 17:49:33 pbx FaxGetty[5522]: MODEM flush i/o
Feb 3 17:49:33 pbx FaxGetty[5522]: <-- [4:ATZ\r]
Feb 3 17:49:33 pbx FaxGetty[5522]: --> [3:ATZ]
Feb 3 17:49:33 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:33 pbx FaxGetty[5522]: DELAY 3000 ms
Feb 3 17:49:36 pbx FaxGetty[5522]: MODEM flush i/o
Feb 3 17:49:36 pbx FaxGetty[5522]: <-- [10:AT+VCID=1\r]
Feb 3 17:49:36 pbx FaxGetty[5522]: --> [9:AT+VCID=1]
Feb 3 17:49:36 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:36 pbx FaxGetty[5522]: <-- [7:ATS0=0\r]
Feb 3 17:49:36 pbx FaxGetty[5522]: --> [6:ATS0=0]
Feb 3 17:49:36 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:36 pbx FaxGetty[5522]: <-- [5:ATE0\r]
Feb 3 17:49:36 pbx FaxGetty[5522]: --> [4:ATE0]
Feb 3 17:49:36 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:36 pbx FaxGetty[5522]: <-- [5:ATV1\r]
Feb 3 17:49:36 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:36 pbx FaxGetty[5522]: <-- [5:ATQ0\r]
Feb 3 17:49:36 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:36 pbx FaxGetty[5522]: <-- [7:ATS8=2\r]
Feb 3 17:49:36 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:36 pbx FaxGetty[5522]: <-- [8:ATS7=60\r]
Feb 3 17:49:36 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:36 pbx FaxGetty[5522]: <-- [12:AT+FCLASS=?\r]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [7:0,1,1.0]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports "Data"
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports "Class 1"
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports "Class 1.0"
Feb 3 17:49:37 pbx FaxGetty[5522]: <-- [12:AT+FCLASS=1\r]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:37 pbx FaxGetty[5522]: <-- [5:ATI3\r]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [19:www.soft-switch.org]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM: Mfr www.soft-switch.org
Feb 3 17:49:37 pbx FaxGetty[5522]: <-- [5:ATI0\r]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [7:spandsp]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM: Model spandsp
Feb 3 17:49:37 pbx FaxGetty[5522]: <-- [9:AT+FTM=?\r]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [39:24,48,72,73,74,96,97,98,121,122,145,146]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 3.85 line/mm
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 7.7 line/mm
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 15.4 line/mm
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports R16 x 15.4 line/mm
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 200 x 100 dpi
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 200 x 200 dpi
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 200 x 400 dpi
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 300 x 300 dpi
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 2400 bit/s
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 4800 bit/s
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 7200 bit/s
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 9600 bit/s
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 12000 bit/s
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 14400 bit/s
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports A4 page width (215 mm)
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports B4 page width (255 mm)
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports A3 page width (303 mm)
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports A4 page length (297 mm)
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports B4 page length (364 mm)
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports unlimited page length
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 1-D MH
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 2-D MR
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 2-D MMR
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports no ECM
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports T.30 Annex A, 64-byte ECM
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports T.30 Annex A, 256-byte ECM
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 0 ms/scanline
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 5 ms/scanline
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 10 ms, 5 ms/scanline
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 10 ms/scanline
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 20 ms, 10 ms/scanline
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 20 ms/scanline
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 40 ms, 20 ms/scanline
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM Supports 40 ms/scanline
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Feb 3 17:49:37 pbx FaxGetty[5522]: <-- [5:ATM0\r]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:37 pbx FaxGetty[5522]: <-- [9:AT+FAR=1\r]
Feb 3 17:49:37 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:37 pbx FaxGetty[5522]: STATE CHANGE: BASE -> RUNNING (timeout 30)
Feb 3 17:49:37 pbx FaxGetty[5522]: MODEM input buffering disabled
Feb 3 17:49:43 pbx FaxGetty[5522]: STATE CHANGE: RUNNING -> LISTENING
Feb 3 17:49:43 pbx FaxGetty[5522]: --> [9:DATE=0203]
Feb 3 17:49:43 pbx FaxGetty[5522]: --> [9:TIME=1749]
Feb 3 17:49:43 pbx FaxGetty[5522]: --> [8:NAME=Max]
Feb 3 17:49:43 pbx FaxGetty[5522]: --> [8:NMBR=107]
Feb 3 17:49:43 pbx FaxGetty[5522]: --> [11:ANID=<NONE>]
Feb 3 17:49:43 pbx FaxGetty[5522]: --> [11:USER=<NONE>]
Feb 3 17:49:43 pbx FaxGetty[5522]: --> [11:PASS=<NONE>]
Feb 3 17:49:43 pbx FaxGetty[5522]: --> [11:CDID=<NONE>]
Feb 3 17:49:43 pbx FaxGetty[5522]: --> [6:NDID=s]
Feb 3 17:49:43 pbx FaxGetty[5522]: --> [4:RING]
Feb 3 17:49:43 pbx FaxGetty[5522]: ANSWER: Call ID 1 "107"
Feb 3 17:49:43 pbx FaxGetty[5522]: ANSWER: Call ID 2 "Max"
Feb 3 17:49:43 pbx FaxGetty[5522]: ANSWER: Call ID 3 "<NONE>"
Feb 3 17:49:43 pbx FaxGetty[5522]: ANSWER: Call ID 4 "s"
Feb 3 17:49:43 pbx FaxGetty[5522]: STATE CHANGE: LISTENING -> ANSWERING
Feb 3 17:49:47 pbx FaxGetty[5522]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX1'
Feb 3 17:49:51 pbx FaxGetty[5522]: <-- [5:ATH0\r]
Feb 3 17:49:51 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:51 pbx FaxGetty[5522]: MODEM set DTR OFF
Feb 3 17:49:51 pbx FaxGetty[5522]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 3 17:49:52 pbx FaxGetty[5522]: MODEM set DTR OFF
Feb 3 17:49:52 pbx FaxGetty[5522]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 3 17:49:52 pbx FaxGetty[5522]: DELAY 75 ms
Feb 3 17:49:52 pbx FaxGetty[5522]: MODEM set DTR ON
Feb 3 17:49:52 pbx FaxGetty[5522]: DELAY 2600 ms
Feb 3 17:49:55 pbx FaxGetty[5522]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF
Feb 3 17:49:55 pbx FaxGetty[5522]: DELAY 10 ms
Feb 3 17:49:55 pbx FaxGetty[5522]: MODEM flush i/o
Feb 3 17:49:55 pbx FaxGetty[5522]: <-- [4:ATZ\r]
Feb 3 17:49:55 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:55 pbx FaxGetty[5522]: DELAY 3000 ms
Feb 3 17:49:58 pbx FaxGetty[5522]: MODEM flush i/o
Feb 3 17:49:58 pbx FaxGetty[5522]: <-- [10:AT+VCID=1\r]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [9:AT+VCID=1]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:58 pbx FaxGetty[5522]: <-- [7:ATS0=0\r]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [6:ATS0=0]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:58 pbx FaxGetty[5522]: <-- [5:ATE0\r]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [4:ATE0]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:58 pbx FaxGetty[5522]: <-- [5:ATV1\r]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:58 pbx FaxGetty[5522]: <-- [5:ATQ0\r]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:58 pbx FaxGetty[5522]: <-- [7:ATS8=2\r]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:58 pbx FaxGetty[5522]: <-- [8:ATS7=60\r]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:58 pbx FaxGetty[5522]: <-- [12:AT+FCLASS=?\r]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [7:0,1,1.0]
Feb 3 17:49:58 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports "Data"
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports "Class 1"
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports "Class 1.0"
Feb 3 17:49:59 pbx FaxGetty[5522]: <-- [12:AT+FCLASS=1\r]
Feb 3 17:49:59 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:59 pbx FaxGetty[5522]: <-- [5:ATI3\r]
Feb 3 17:49:59 pbx FaxGetty[5522]: --> [19:www.soft-switch.org]
Feb 3 17:49:59 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM: Mfr www.soft-switch.org
Feb 3 17:49:59 pbx FaxGetty[5522]: <-- [5:ATI0\r]
Feb 3 17:49:59 pbx FaxGetty[5522]: --> [7:spandsp]
Feb 3 17:49:59 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM: Model spandsp
Feb 3 17:49:59 pbx FaxGetty[5522]: <-- [9:AT+FTM=?\r]
Feb 3 17:49:59 pbx FaxGetty[5522]: --> [39:24,48,72,73,74,96,97,98,121,122,145,146]
Feb 3 17:49:59 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 3.85 line/mm
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 7.7 line/mm
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 15.4 line/mm
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports R16 x 15.4 line/mm
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 200 x 100 dpi
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 200 x 200 dpi
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 200 x 400 dpi
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 300 x 300 dpi
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 2400 bit/s
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 4800 bit/s
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 7200 bit/s
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 9600 bit/s
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 12000 bit/s
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 14400 bit/s
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports A4 page width (215 mm)
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports B4 page width (255 mm)
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports A3 page width (303 mm)
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports A4 page length (297 mm)
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports B4 page length (364 mm)
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports unlimited page length
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 1-D MH
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 2-D MR
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 2-D MMR
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports no ECM
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports T.30 Annex A, 64-byte ECM
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports T.30 Annex A, 256-byte ECM
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 0 ms/scanline
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 5 ms/scanline
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 10 ms, 5 ms/scanline
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 10 ms/scanline
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 20 ms, 10 ms/scanline
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 20 ms/scanline
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 40 ms, 20 ms/scanline
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM Supports 40 ms/scanline
Feb 3 17:49:59 pbx FaxGetty[5522]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Feb 3 17:49:59 pbx FaxGetty[5522]: <-- [5:ATM0\r]
Feb 3 17:49:59 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:59 pbx FaxGetty[5522]: <-- [9:AT+FAR=1\r]
Feb 3 17:49:59 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:49:59 pbx FaxGetty[5522]: STATE CHANGE: RECEIVING -> RUNNING (timeout 30)
Feb 3 17:50:09 pbx FaxGetty[5639]: usage: faxgetty [-c config-item] [-q queue-dir] [-Dpx] modem-device
Feb 3 17:50:27 pbx FaxGetty[5522]: STATE CHANGE: RUNNING -> LISTENING
Feb 3 17:50:27 pbx FaxGetty[5522]: --> [9:DATE=0203]
Feb 3 17:50:27 pbx FaxGetty[5522]: --> [9:TIME=1750]
Feb 3 17:50:27 pbx FaxGetty[5522]: --> [8:NAME=Max]
Feb 3 17:50:27 pbx FaxGetty[5522]: --> [8:NMBR=107]
Feb 3 17:50:27 pbx FaxGetty[5522]: --> [11:ANID=<NONE>]
Feb 3 17:50:27 pbx FaxGetty[5522]: --> [11:USER=<NONE>]
Feb 3 17:50:27 pbx FaxGetty[5522]: --> [11:PASS=<NONE>]
Feb 3 17:50:27 pbx FaxGetty[5522]: --> [11:CDID=<NONE>]
Feb 3 17:50:27 pbx FaxGetty[5522]: --> [6:NDID=s]
Feb 3 17:50:27 pbx FaxGetty[5522]: --> [4:RING]
Feb 3 17:50:27 pbx FaxGetty[5522]: ANSWER: Call ID 1 "107"
Feb 3 17:50:27 pbx FaxGetty[5522]: ANSWER: Call ID 2 "Max"
Feb 3 17:50:27 pbx FaxGetty[5522]: ANSWER: Call ID 3 "<NONE>"
Feb 3 17:50:27 pbx FaxGetty[5522]: ANSWER: Call ID 4 "s"
Feb 3 17:50:27 pbx FaxGetty[5522]: STATE CHANGE: LISTENING -> ANSWERING
Feb 3 17:50:31 pbx FaxGetty[5522]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX1'
Feb 3 17:50:44 pbx FaxGetty[5522]: <-- [5:ATH0\r]
Feb 3 17:50:44 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:44 pbx FaxGetty[5522]: MODEM set DTR OFF
Feb 3 17:50:44 pbx FaxGetty[5522]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 3 17:50:45 pbx FaxGetty[5522]: MODEM set DTR OFF
Feb 3 17:50:45 pbx FaxGetty[5522]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 3 17:50:45 pbx FaxGetty[5522]: DELAY 75 ms
Feb 3 17:50:45 pbx FaxGetty[5522]: MODEM set DTR ON
Feb 3 17:50:45 pbx FaxGetty[5522]: DELAY 2600 ms
Feb 3 17:50:49 pbx FaxGetty[5522]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF
Feb 3 17:50:49 pbx FaxGetty[5522]: DELAY 10 ms
Feb 3 17:50:49 pbx FaxGetty[5522]: MODEM flush i/o
Feb 3 17:50:49 pbx FaxGetty[5522]: <-- [4:ATZ\r]
Feb 3 17:50:49 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:49 pbx FaxGetty[5522]: DELAY 3000 ms
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM flush i/o
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [10:AT+VCID=1\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [9:AT+VCID=1]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [7:ATS0=0\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [6:ATS0=0]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [5:ATE0\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [4:ATE0]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [5:ATV1\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [5:ATQ0\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [7:ATS8=2\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [8:ATS7=60\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [12:AT+FCLASS=?\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [7:0,1,1.0]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports "Data"
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports "Class 1"
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports "Class 1.0"
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [12:AT+FCLASS=1\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [5:ATI3\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [19:www.soft-switch.org]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM: Mfr www.soft-switch.org
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [5:ATI0\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [7:spandsp]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM: Model spandsp
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [9:AT+FTM=?\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [39:24,48,72,73,74,96,97,98,121,122,145,146]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 3.85 line/mm
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 7.7 line/mm
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 15.4 line/mm
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports R16 x 15.4 line/mm
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 200 x 100 dpi
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 200 x 200 dpi
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 200 x 400 dpi
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 300 x 300 dpi
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 2400 bit/s
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 4800 bit/s
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 7200 bit/s
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 9600 bit/s
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 12000 bit/s
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 14400 bit/s
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports A4 page width (215 mm)
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports B4 page width (255 mm)
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports A3 page width (303 mm)
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports A4 page length (297 mm)
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports B4 page length (364 mm)
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports unlimited page length
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 1-D MH
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 2-D MR
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 2-D MMR
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports no ECM
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports T.30 Annex A, 64-byte ECM
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports T.30 Annex A, 256-byte ECM
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 0 ms/scanline
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 5 ms/scanline
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 10 ms, 5 ms/scanline
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 10 ms/scanline
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 20 ms, 10 ms/scanline
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 20 ms/scanline
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 40 ms, 20 ms/scanline
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM Supports 40 ms/scanline
Feb 3 17:50:52 pbx FaxGetty[5522]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [5:ATM0\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: <-- [9:AT+FAR=1\r]
Feb 3 17:50:52 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:50:52 pbx FaxGetty[5522]: STATE CHANGE: RECEIVING -> RUNNING (timeout 30)
Feb 3 17:54:21 pbx FaxGetty[5522]: STATE CHANGE: RUNNING -> LISTENING
Feb 3 17:54:21 pbx FaxGetty[5522]: --> [9:DATE=0203]
Feb 3 17:54:21 pbx FaxGetty[5522]: --> [9:TIME=1754]
Feb 3 17:54:21 pbx FaxGetty[5522]: --> [8:NAME=Max]
Feb 3 17:54:21 pbx FaxGetty[5522]: --> [8:NMBR=107]
Feb 3 17:54:21 pbx FaxGetty[5522]: --> [11:ANID=<NONE>]
Feb 3 17:54:21 pbx FaxGetty[5522]: --> [11:USER=<NONE>]
Feb 3 17:54:21 pbx FaxGetty[5522]: --> [11:PASS=<NONE>]
Feb 3 17:54:21 pbx FaxGetty[5522]: --> [11:CDID=<NONE>]
Feb 3 17:54:21 pbx FaxGetty[5522]: --> [6:NDID=s]
Feb 3 17:54:21 pbx FaxGetty[5522]: --> [4:RING]
Feb 3 17:54:21 pbx FaxGetty[5522]: ANSWER: Call ID 1 "107"
Feb 3 17:54:21 pbx FaxGetty[5522]: ANSWER: Call ID 2 "Max"
Feb 3 17:54:21 pbx FaxGetty[5522]: ANSWER: Call ID 3 "<NONE>"
Feb 3 17:54:21 pbx FaxGetty[5522]: ANSWER: Call ID 4 "s"
Feb 3 17:54:21 pbx FaxGetty[5522]: STATE CHANGE: LISTENING -> ANSWERING
Feb 3 17:54:23 pbx FaxGetty[5522]: ANSWER: Ring detected without successful handshake
Feb 3 17:54:23 pbx FaxGetty[5522]: <-- [5:ATH0\r]
Feb 3 17:54:23 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:23 pbx FaxGetty[5522]: MODEM set DTR OFF
Feb 3 17:54:23 pbx FaxGetty[5522]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 3 17:54:24 pbx FaxGetty[5522]: MODEM set DTR OFF
Feb 3 17:54:24 pbx FaxGetty[5522]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 3 17:54:24 pbx FaxGetty[5522]: DELAY 75 ms
Feb 3 17:54:24 pbx FaxGetty[5522]: MODEM set DTR ON
Feb 3 17:54:24 pbx FaxGetty[5522]: DELAY 2600 ms
Feb 3 17:54:28 pbx FaxGetty[5522]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF
Feb 3 17:54:28 pbx FaxGetty[5522]: DELAY 10 ms
Feb 3 17:54:28 pbx FaxGetty[5522]: MODEM flush i/o
Feb 3 17:54:28 pbx FaxGetty[5522]: <-- [4:ATZ\r]
Feb 3 17:54:28 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:28 pbx FaxGetty[5522]: DELAY 3000 ms
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM flush i/o
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [10:AT+VCID=1\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [9:AT+VCID=1]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [7:ATS0=0\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [6:ATS0=0]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [5:ATE0\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [4:ATE0]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [5:ATV1\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [5:ATQ0\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [7:ATS8=2\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [8:ATS7=60\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [12:AT+FCLASS=?\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [7:0,1,1.0]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports "Data"
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports "Class 1"
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports "Class 1.0"
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [12:AT+FCLASS=1\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [5:ATI3\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [19:www.soft-switch.org]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM: Mfr www.soft-switch.org
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [5:ATI0\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [7:spandsp]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM: Model spandsp
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [9:AT+FTM=?\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [39:24,48,72,73,74,96,97,98,121,122,145,146]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 3.85 line/mm
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 7.7 line/mm
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 15.4 line/mm
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports R16 x 15.4 line/mm
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 200 x 100 dpi
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 200 x 200 dpi
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 200 x 400 dpi
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 300 x 300 dpi
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 2400 bit/s
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 4800 bit/s
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 7200 bit/s
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 9600 bit/s
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 12000 bit/s
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 14400 bit/s
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports A4 page width (215 mm)
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports B4 page width (255 mm)
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports A3 page width (303 mm)
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports A4 page length (297 mm)
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports B4 page length (364 mm)
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports unlimited page length
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 1-D MH
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 2-D MR
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 2-D MMR
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports no ECM
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports T.30 Annex A, 64-byte ECM
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports T.30 Annex A, 256-byte ECM
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 0 ms/scanline
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 5 ms/scanline
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 10 ms, 5 ms/scanline
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 10 ms/scanline
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 20 ms, 10 ms/scanline
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 20 ms/scanline
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 40 ms, 20 ms/scanline
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM Supports 40 ms/scanline
Feb 3 17:54:31 pbx FaxGetty[5522]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [5:ATM0\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: <-- [9:AT+FAR=1\r]
Feb 3 17:54:31 pbx FaxGetty[5522]: --> [2:OK]
Feb 3 17:54:31 pbx FaxGetty[5522]: STATE CHANGE: ANSWERING -> RUNNING (timeout 30)
Может я и слепой но я не вижу почему этот "МОЛОДЕЦ" не держится в памяти постоянно.
ded
Сообщения: 15626
Зарегистрирован: 26 авг 2010, 19:00

Re: Elastix+IAXmodem+Hylafax+OPENVPN

Сообщение ded »

Должно быть два типа процессов, и две разные строчки в конфиге inittab
faxgetty
iaxmoden
ps auxwf | grep getty ??
ps auxfw | grep iax ??
chumayu
Сообщения: 11
Зарегистрирован: 01 фев 2014, 15:30

Re: Elastix+IAXmodem+Hylafax+OPENVPN

Сообщение chumayu »

После запуска (всмысле после кнопочки POWER) ps -ax | grep iaxmodem

выдает два процесса.

ps -ax | grep faxgetty

пусто
ded
Сообщения: 15626
Зарегистрирован: 26 авг 2010, 19:00

Re: Elastix+IAXmodem+Hylafax+OPENVPN

Сообщение ded »

Значит этот блок не работает:
# Don't remove or modify this comment. The following block is for fax setup. (Надо ж так все продумать :) )
f001:2345:respawn:/usr/sbin/faxgetty ttyIAX1
Разбирайтесь почему.
Выполните снова в точности инструкцию по установке. У всех - работает.
chumayu
Сообщения: 11
Зарегистрирован: 01 фев 2014, 15:30

Re: Elastix+IAXmodem+Hylafax+OPENVPN

Сообщение chumayu »

Да, буду копаться, решение в принципе есть осталось завести.
Позже отпишусь.
Спасибо всем, "Пожилой" Вам отдельно. :)
chumayu
Сообщения: 11
Зарегистрирован: 01 фев 2014, 15:30

Re: Elastix+IAXmodem+Hylafax+OPENVPN

Сообщение chumayu »

Тадам!!!!

Не знаю (а надо было бы) как устроена процесс загрузки в Centos но,

если rc.local дописать нужную команду без знака параметра выполнения в фоне тобишь & (Будь он проклят) Centos почему то в ps -ax выдает Init /rc.d/s99local start (т.е. скрипт, выполняется,выполняется, выполняется (эхо)).

Короче, добавил & и faxgetty появился и жизнь наладилась, и писька вырасла на 2 см :)

Можно зарывать.

Спасибо всем.
ded
Сообщения: 15626
Зарегистрирован: 26 авг 2010, 19:00

Re: Elastix+IAXmodem+Hylafax+OPENVPN

Сообщение ded »

Не мытьём, так катаньем.
Знак амперсанд - тобишь &, переводит вызванную команду в фоновый режим, можно добавлять его и при любых долгоиграющих командах и из командной строки.
Например: запуск астериска в single режием для отладки
asterisk -vvvgc и видим всю CLI при этом. А если
asterisk -vvvgc & перевели сразу в фоновый режим. Но если свалится - сам не поднимется.

Диссертация на соискание кандидатской степени в Академии наук Туркменистана; Влияние faxgetty на эррекцию.
chumayu
Сообщения: 11
Зарегистрирован: 01 фев 2014, 15:30

Re: Elastix+IAXmodem+Hylafax+OPENVPN

Сообщение chumayu »

ded писал(а):asterisk -vvvgc & перевели сразу в фоновый режим. Но если свалится - сам не поднимется.
Спасибо в курсе, руки освободятся закину в init
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH