hylafax No local dialtone

Для начинающих.
Всем начинающим - сюда.

Модераторы: Admins, Модераторы

Ответить
leks_smile
Сообщения: 8
Зарегистрирован: 26 янв 2015, 03:35

hylafax No local dialtone

Сообщение leks_smile » 19 фев 2015, 05:32

есть iax2 эктешн с номером 505, на котором работал факс. где-то намудрил с настройками и прекратили отправляться факсы. в логах получаю ошибку [11:NO DIALTONE]
asterisk -rx "iax2 show peers"
Name/Username Host Mask Port Status Description
505 127.0.0.1 (D) 255.255.255.255 40000 OK (2 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]
asterisk -rx "iax2 show peer 505"

* Name : 505
Description :
Secret : <Set>
Context : incoming
Parking lot :
Mailbox : 505@device
Dynamic : Yes
Callnum limit: 0
Calltoken req: No
Trunk : No
Encryption : No
Callerid : "FAX" <505>
Expire : 25413
ACL : Yes
Addr->IP : 127.0.0.1 Port 40000
Defaddr->IP : 0.0.0.0 Port 4569
Username :
Codecs : (alaw)
Codec Order : (alaw)
Status : OK (1 ms)
Qualify : every 60000ms when OK, every 10000ms when UNREACHABLE (sample smoothing Off)
/var/spool/hylafax/log
Feb 19 12:05:50.70: [31284]: SESSION BEGIN 000000208 739527908647XXXX
Feb 19 12:05:50.70: [31284]: HylaFAX (tm) Version 4.3.11
Feb 19 12:05:50.70: [31284]: SEND FAX: JOB 62 DEST 7908647XXXX COMMID 000000208 DEVICE '/dev/ttyIAX1' FROM 'Asterisk VoIP PBX <asterisk@localhost>' USER asterisk
Feb 19 12:05:50.70: [31284]: STATE CHANGE: RUNNING -> SENDING
Feb 19 12:05:50.70: [31284]: <-- [12:AT+FCLASS=1\r]
Feb 19 12:05:50.70: [31284]: --> [2:OK]
Feb 19 12:05:50.70: [31284]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Feb 19 12:05:50.71: [31284]: DIAL 7908647XXXX
Feb 19 12:05:50.71: [31284]: <-- [16:ATDT7908647XXXX\r]
Feb 19 12:05:50.71: [31284]: --> [11:NO DIALTONE]
Feb 19 12:05:50.71: [31284]: SEND FAILED: JOB 62 DEST 7908647XXXX ERR No local dialtone
Feb 19 12:05:50.71: [31284]: <-- [5:ATH0\r]
Feb 19 12:05:50.71: [31284]: --> [2:OK]
Feb 19 12:05:50.71: [31284]: MODEM set DTR OFF
Feb 19 12:05:50.71: [31284]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 19 12:05:50.71: [31284]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Feb 19 12:05:50.71: [31284]: SESSION END
faxstat -v
Trying localhost (127.0.0.1) at port 4559...
Connected to localhost.
220 localhost server (HylaFAX (tm) Version 4.3.11) ready.
-> USER root
230 User root logged in.
-> PORT 127,0,0,1,134,233
200 PORT command successful.
-> LIST status
150 Opening new data connection for "status".
HylaFAX scheduler on localhost: Running
Modem ttyIAX1 (7395276XXXX): Waiting for modem to come ready
226 Transfer complete.
[root@gka-pbx ~]#
faxstat -s
HylaFAX scheduler on localhost: Running
Modem ttyIAX1 (7395276XXXX): Running and idle

JID Pri S Owner Number Pages Dials TTS Status
63 126 S asteri 7908647XXXX 0:1 1:12 04:23 No local dialtone
регистрация пира есть, при звонке на 505 с внутреннего - характерный ответ факса. но вот из-за чего этот NO LOCAL DIALTONE, как победить?[/quote]

Ответить