И опять факс 8)
Добавлено: 22 окт 2013, 17:46
Добрый день!
Такой вопрос, сделал екстеншенс (IAX2) и указал его в новом факсе. Астериск у меня бегает на еластиксе. Также к астериску привязана атс Panasonic tde100, в итоге когда шлю факс с TDE то все ок, факс приходит и падает кому нужно на почту, но когда я пытаюсь слать факс с мира то факс не получается 8(, отсылаю с простого панасоника.
Транк:
Лог hylafax:
в CLI ничего примечательного 8(:
Что можно посмотреть?
Такой вопрос, сделал екстеншенс (IAX2) и указал его в новом факсе. Астериск у меня бегает на еластиксе. Также к астериску привязана атс Panasonic tde100, в итоге когда шлю факс с TDE то все ок, факс приходит и падает кому нужно на почту, но когда я пытаюсь слать факс с мира то факс не получается 8(, отсылаю с простого панасоника.
Транк:
Код: Выделить всё
host=193.x.x.237
port=5060
username=3_____7
type=friend
qualify=yes
nat=yes
fromuser=3_____7
fromdomain=193.x.x.237
allow=alaw&ulaw
disallow=all
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
Код: Выделить всё
Oct 22 13:56:04.22: [15230]: SESSION BEGIN 000000044
Oct 22 13:56:04.22: [15230]: HylaFAX (tm) Version 4.3.10
Oct 22 13:56:04.22: [15230]: CallID: "3511903" "3511903" "<NONE>" "s"
Oct 22 13:56:04.22: [15230]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Oct 22 13:56:04.22: [15230]: <-- [4:ATA\r]
Oct 22 13:56:07.94: [15230]: --> [7:CONNECT]
Oct 22 13:56:07.94: [15230]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX1'
Oct 22 13:56:07.94: [15230]: STATE CHANGE: ANSWERING -> RECEIVING
Oct 22 13:56:07.94: [15230]: RECV FAX: begin
Oct 22 13:56:07.94: [15230]: <-- HDLC<33: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 2C 74 CC 74 8C 0C>
Oct 22 13:56:07.94: [15230]: <-- data [33]
Oct 22 13:56:07.94: [15230]: <-- data [2]
Oct 22 13:56:08.92: [15230]: --> [7:CONNECT]
Oct 22 13:56:08.92: [15230]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 22 13:56:08.92: [15230]: <-- data [23]
Oct 22 13:56:08.92: [15230]: <-- data [2]
Oct 22 13:56:09.66: [15230]: --> [7:CONNECT]
Oct 22 13:56:09.66: [15230]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Oct 22 13:56:09.66: [15230]: <-- data [13]
Oct 22 13:56:09.66: [15230]: <-- data [2]
Oct 22 13:56:10.26: [15230]: --> [2:OK]
Oct 22 13:56:10.26: [15230]: <-- [9:AT+FRH=3\r]
Oct 22 13:56:17.26: [15230]: --> [0:]
Oct 22 13:56:17.26: [15230]: MODEM <Empty line>
Oct 22 13:56:17.26: [15230]: MODEM TIMEOUT: waiting for v.21 carrier
Oct 22 13:56:17.26: [15230]: <-- data [1]
Oct 22 13:56:17.28: [15230]: --> [2:OK]
Oct 22 13:56:17.28: [15230]: DELAY 1500 ms
Oct 22 13:56:18.78: [15230]: <-- [9:AT+FTH=3\r]
Oct 22 13:56:18.80: [15230]: --> [7:CONNECT]
Oct 22 13:56:18.80: [15230]: <-- HDLC<33: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 2C 74 CC 74 8C 0C>
Oct 22 13:56:18.80: [15230]: <-- data [33]
Oct 22 13:56:18.80: [15230]: <-- data [2]
Oct 22 13:56:20.60: [15230]: --> [7:CONNECT]
Oct 22 13:56:20.60: [15230]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 22 13:56:20.60: [15230]: <-- data [23]
Oct 22 13:56:20.60: [15230]: <-- data [2]
Oct 22 13:56:21.34: [15230]: --> [7:CONNECT]
Oct 22 13:56:21.34: [15230]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Oct 22 13:56:21.34: [15230]: <-- data [13]
Oct 22 13:56:21.34: [15230]: <-- data [2]
Oct 22 13:56:21.94: [15230]: --> [2:OK]
Oct 22 13:56:21.94: [15230]: <-- [9:AT+FRH=3\r]
Oct 22 13:56:22.84: [15230]: --> [7:CONNECT]
Oct 22 13:56:32.84: [15230]: MODEM TIMEOUT: receiving HDLC frame data
Oct 22 13:56:32.84: [15230]: <-- data [1]
Oct 22 13:56:32.85: [15230]: --> [2:]
Oct 22 13:56:32.85: [15230]: --> [2:OK]
Oct 22 13:56:32.85: [15230]: DELAY 1500 ms
Oct 22 13:56:34.35: [15230]: <-- [9:AT+FTH=3\r]
Oct 22 13:56:34.35: [15230]: --> [7:CONNECT]
Oct 22 13:56:34.35: [15230]: <-- HDLC<33: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 2C 74 CC 74 8C 0C>
Oct 22 13:56:34.35: [15230]: <-- data [33]
Oct 22 13:56:34.35: [15230]: <-- data [2]
Oct 22 13:56:36.24: [15230]: --> [7:CONNECT]
Oct 22 13:56:36.24: [15230]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 22 13:56:36.24: [15230]: <-- data [23]
Oct 22 13:56:36.24: [15230]: <-- data [2]
Oct 22 13:56:37.02: [15230]: --> [7:CONNECT]
Oct 22 13:56:37.02: [15230]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Oct 22 13:56:37.02: [15230]: <-- data [13]
Oct 22 13:56:37.02: [15230]: <-- data [2]
[root@Elastix ~]# more /etc/hylafax/log/c00000004
c000000040 c000000041 c000000042 c000000043 c000000044 c000000045 c000000046 c000000047
[root@Elastix ~]# more /etc/hylafax/log/c000000047
Oct 22 16:19:30.78: [15230]: SESSION BEGIN 000000047
Oct 22 16:19:30.78: [15230]: HylaFAX (tm) Version 4.3.10
Oct 22 16:19:30.78: [15230]: CallID: "3511903" "3511903" "<NONE>" "s"
Oct 22 16:19:30.78: [15230]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Oct 22 16:19:30.78: [15230]: <-- [4:ATA\r]
Oct 22 16:19:34.50: [15230]: --> [7:CONNECT]
Oct 22 16:19:34.50: [15230]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX1'
Oct 22 16:19:34.50: [15230]: STATE CHANGE: ANSWERING -> RECEIVING
Oct 22 16:19:34.50: [15230]: RECV FAX: begin
Oct 22 16:19:34.50: [15230]: <-- HDLC<33: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 2C 74 CC 74 8C 0C>
Oct 22 16:19:34.50: [15230]: <-- data [33]
Oct 22 16:19:34.50: [15230]: <-- data [2]
Oct 22 16:19:35.48: [15230]: --> [7:CONNECT]
Oct 22 16:19:35.48: [15230]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 22 16:19:35.48: [15230]: <-- data [23]
Oct 22 16:19:35.48: [15230]: <-- data [2]
Oct 22 16:19:36.22: [15230]: --> [7:CONNECT]
Oct 22 16:19:36.22: [15230]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Oct 22 16:19:36.22: [15230]: <-- data [13]
Oct 22 16:19:36.22: [15230]: <-- data [2]
Oct 22 16:19:36.82: [15230]: --> [2:OK]
Oct 22 16:19:36.82: [15230]: <-- [9:AT+FRH=3\r]
Oct 22 16:19:43.83: [15230]: --> [0:]
Oct 22 16:19:43.83: [15230]: MODEM <Empty line>
Oct 22 16:19:43.83: [15230]: MODEM TIMEOUT: waiting for v.21 carrier
Oct 22 16:19:43.83: [15230]: <-- data [1]
Oct 22 16:19:43.84: [15230]: --> [2:OK]
Oct 22 16:19:43.84: [15230]: DELAY 1500 ms
Oct 22 16:19:45.35: [15230]: <-- [9:AT+FTH=3\r]
Oct 22 16:19:45.36: [15230]: --> [7:CONNECT]
Oct 22 16:19:45.36: [15230]: <-- HDLC<33: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 2C 74 CC 74 8C 0C>
Oct 22 16:19:45.36: [15230]: <-- data [33]
Oct 22 16:19:45.36: [15230]: <-- data [2]
Oct 22 16:19:47.16: [15230]: --> [7:CONNECT]
Oct 22 16:19:47.16: [15230]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 22 16:19:47.16: [15230]: <-- data [23]
Oct 22 16:19:47.16: [15230]: <-- data [2]
Oct 22 16:19:47.90: [15230]: --> [7:CONNECT]
Oct 22 16:19:47.90: [15230]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Oct 22 16:19:47.90: [15230]: <-- data [13]
Oct 22 16:19:47.90: [15230]: <-- data [2]
Oct 22 16:19:48.50: [15230]: --> [2:OK]
Oct 22 16:19:48.50: [15230]: <-- [9:AT+FRH=3\r]
Oct 22 16:19:49.16: [15230]: --> [7:CONNECT]
Oct 22 16:19:59.17: [15230]: MODEM TIMEOUT: receiving HDLC frame data
Oct 22 16:19:59.17: [15230]: <-- data [1]
Oct 22 16:19:59.18: [15230]: --> [2:]
Oct 22 16:19:59.18: [15230]: --> [2:OK]
Oct 22 16:19:59.18: [15230]: DELAY 1500 ms
Oct 22 16:20:00.68: [15230]: <-- [9:AT+FTH=3\r]
Oct 22 16:20:00.68: [15230]: --> [7:CONNECT]
Oct 22 16:20:00.68: [15230]: <-- HDLC<33: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 2C 74 CC 74 8C 0C>
Oct 22 16:20:00.68: [15230]: <-- data [33]
Oct 22 16:20:00.68: [15230]: <-- data [2]
Oct 22 16:20:02.57: [15230]: --> [7:CONNECT]
Oct 22 16:20:02.57: [15230]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 22 16:20:02.57: [15230]: <-- data [23]
Oct 22 16:20:02.57: [15230]: <-- data [2]
Oct 22 16:20:03.35: [15230]: --> [7:CONNECT]
Oct 22 16:20:03.35: [15230]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Oct 22 16:20:03.35: [15230]: <-- data [13]
Oct 22 16:20:03.35: [15230]: <-- data [2]
Oct 22 16:20:03.98: [15230]: --> [2:OK]
Oct 22 16:20:03.98: [15230]: <-- [9:AT+FRH=3\r]
Oct 22 16:20:10.98: [15230]: --> [0:]
Oct 22 16:20:10.98: [15230]: MODEM <Empty line>
Oct 22 16:20:10.98: [15230]: MODEM TIMEOUT: waiting for v.21 carrier
Oct 22 16:20:10.98: [15230]: <-- data [1]
Oct 22 16:20:10.99: [15230]: --> [2:OK]
Oct 22 16:20:10.99: [15230]: DELAY 1500 ms
Oct 22 16:20:12.50: [15230]: <-- [9:AT+FTH=3\r]
Oct 22 16:20:12.50: [15230]: --> [7:CONNECT]
Oct 22 16:20:12.50: [15230]: <-- HDLC<33: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 2C 74 CC 74 8C 0C>
Oct 22 16:20:12.50: [15230]: <-- data [33]
Oct 22 16:20:12.50: [15230]: <-- data [2]
Oct 22 16:20:14.47: [15230]: --> [7:CONNECT]
Oct 22 16:20:14.47: [15230]: <-- HDLC<23:FF C0 02 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 22 16:20:14.47: [15230]: <-- data [23]
Oct 22 16:20:14.47: [15230]: <-- data [2]
Oct 22 16:20:15.29: [15230]: --> [7:CONNECT]
Oct 22 16:20:15.29: [15230]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Oct 22 16:20:15.29: [15230]: <-- data [13]
Oct 22 16:20:15.29: [15230]: <-- data [2]
Oct 22 16:20:15.95: [15230]: --> [2:OK]
Oct 22 16:20:15.95: [15230]: <-- [9:AT+FRH=3\r]
Oct 22 16:20:20.13: [15230]: --> [10:NO CARRIER]
Oct 22 16:20:20.13: [15230]: MODEM No carrier
Oct 22 16:20:20.13: [15230]: RECV FAX: No answer (T.30 T1 timeout)
Oct 22 16:20:20.13: [15230]: RECV FAX: end
Oct 22 16:20:20.13: [15230]: SESSION END
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
Код: Выделить всё
-- Called IAX2/350
-- Call accepted by 127.0.0.1 (format alaw)
-- Format for call is alaw
-- IAX2/350-1823 is ringing
-- IAX2/350-1823 answered SIP/3_____5-0000035e
[Oct 22 16:44:13] NOTICE[3598]: chan_iax2.c:8816 update_registry: Restricting registration for peer '350' to 60 seconds (requested 300)
[Oct 22 16:44:17] NOTICE[3594]: chan_sip.c:26394 check_rtp_timeout: Disconnecting call 'SIP/3_____5-0000035e' for lack of RTP activity in 31 seconds
-- Executing [h@macro-dial-one:1] Macro("SIP/3_____5-0000035e", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/3_____5-0000035e", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/3_____5-0000035e", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/3_____5-0000035e", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/3_____5-0000035e", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/3_____5-0000035e", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/3_____5-0000035e", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/3_____5-0000035e", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/3_____5-0000035e", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/3_____5-0000035e", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/3_____5-0000035e", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/3_____5-0000035e", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/3_____5-0000035e", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/3_____5-0000035e>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/3_____5-0000035e", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/3_____5-0000035e' in macro 'hangupcall'
== Spawn extension (macro-dial-one, h, 1) exited non-zero on 'SIP/3_____5-0000035e'
-- Hungup 'IAX2/350-1823'