Настроил связку Asterisk 1.8.15.1 + hylafax-5.4.3-1 + iaxmodem 1.2.0, вроде всё отлично работает, НО не все факсы приходят.
Вот конкретный лог не пришедшего факса:
| Код: |
| (standard input):[Dec 10 16:28:22] VERBOSE[7979] pbx.c: -- Executing [5551515@from-prov:1] Dial("SIP/prov-5551510-0004dfaf", "IAX2/iaxmodem1") in new stack (standard input):[Dec 10 16:28:22] VERBOSE[7979] app_dial.c: -- Called IAX2/iaxmodem1 (standard input):[Dec 10 16:28:22] VERBOSE[4490] chan_iax2.c: -- Call accepted by 127.0.0.1 (format ulaw) (standard input):[Dec 10 16:28:22] VERBOSE[4490] chan_iax2.c: -- Format for call is ulaw (standard input):[Dec 10 16:28:22] VERBOSE[7979] app_dial.c: -- IAX2/iaxmodem1-4587 is ringing (standard input):[Dec 10 16:28:22] VERBOSE[7979] app_dial.c: -- IAX2/iaxmodem1-4587 answered SIP/prov-5551510-0004dfaf (standard input):[Dec 10 16:28:29] VERBOSE[7979] chan_iax2.c: -- Hungup 'IAX2/iaxmodem1-4587' (standard input):[Dec 10 21:18:19] VERBOSE[3472] pbx.c: -- Executing [5551515@from-prov:1] Dial("SIP/5551510-0004e719", "IAX2/iaxmodem3") in new stack (standard input):[Dec 10 21:18:19] VERBOSE[3472] app_dial.c: -- Called IAX2/iaxmodem3 (standard input):[Dec 10 21:18:19] VERBOSE[4492] chan_iax2.c: -- Call accepted by 127.0.0.1 (format ulaw) (standard input):[Dec 10 21:18:19] VERBOSE[4492] chan_iax2.c: -- Format for call is ulaw (standard input):[Dec 10 21:18:19] VERBOSE[3472] app_dial.c: -- IAX2/iaxmodem3-11253 is ringing (standard input):[Dec 10 21:18:19] VERBOSE[3472] app_dial.c: -- IAX2/iaxmodem3-11253 answered SIP/prov-5551510-0004e719 (standard input):[Dec 10 21:19:10] VERBOSE[3472] chan_iax2.c: -- Hungup 'IAX2/iaxmodem3-11253' |
А вот лог факса который прошел:
| Код: |
| (standard input):[Dec 10 15:04:18] VERBOSE[22070] pbx.c: -- Executing [5551515@from-prov:1] Dial("SIP/prov-5551510-0004dc53", "IAX2/iaxmodem1") in new stack (standard input):[Dec 10 15:04:18] VERBOSE[22070] app_dial.c: -- Called IAX2/iaxmodem1 (standard input):[Dec 10 15:04:18] VERBOSE[4485] chan_iax2.c: -- Call accepted by 127.0.0.1 (format ulaw) (standard input):[Dec 10 15:04:18] VERBOSE[4485] chan_iax2.c: -- Format for call is ulaw (standard input):[Dec 10 15:04:18] VERBOSE[22070] app_dial.c: -- IAX2/iaxmodem1-10607 is ringing (standard input):[Dec 10 15:04:18] VERBOSE[22070] app_dial.c: -- IAX2/iaxmodem1-10607 answered SIP/prov-5551510-0004dc53 (standard input):[Dec 10 15:05:19] VERBOSE[22277] pbx.c: -- Executing [5551515@from-prov:1] Dial("SIP/prov-5551510-0004dc5f", "IAX2/iaxmodem1") in new stack (standard input):[Dec 10 15:05:19] VERBOSE[22277] app_dial.c: -- Called IAX2/iaxmodem1 (standard input):[Dec 10 15:05:19] WARNING[4485] chan_iax2.c: Call rejected by 127.0.0.1: Busy (standard input):[Dec 10 15:05:19] VERBOSE[22277] chan_iax2.c: -- Hungup 'IAX2/iaxmodem1-5895' (standard input):[Dec 10 15:05:33] VERBOSE[22070] chan_iax2.c: -- Hungup 'IAX2/iaxmodem1-10607' (standard input):[Dec 10 15:05:36] VERBOSE[22602] pbx.c: -- Executing [5551515@from-prov:1] Dial("SIP/prov-5551510-0004dc63", "IAX2/iaxmodem1") in new stack (standard input):[Dec 10 15:05:36] VERBOSE[22602] app_dial.c: -- Called IAX2/iaxmodem1 (standard input):[Dec 10 15:05:36] WARNING[4488] chan_iax2.c: Call rejected by 127.0.0.1: Busy (standard input):[Dec 10 15:05:36] VERBOSE[22602] chan_iax2.c: -- Hungup 'IAX2/iaxmodem1-12129' (standard input):[Dec 10 15:07:09] VERBOSE[22939] pbx.c: -- Executing [5551515@from-prov:1] Dial("SIP/prov-5551510-0004dc81", "IAX2/iaxmodem1") in new stack (standard input):[Dec 10 15:07:09] VERBOSE[22939] app_dial.c: -- Called IAX2/iaxmodem1 (standard input):[Dec 10 15:07:09] VERBOSE[4488] chan_iax2.c: -- Call accepted by 127.0.0.1 (format ulaw) (standard input):[Dec 10 15:07:09] VERBOSE[4488] chan_iax2.c: -- Format for call is ulaw (standard input):[Dec 10 15:07:09] VERBOSE[22939] app_dial.c: -- IAX2/iaxmodem1-7036 is ringing (standard input):[Dec 10 15:07:09] VERBOSE[22939] app_dial.c: -- IAX2/iaxmodem1-7036 answered SIP/prov-5551510-0004dc81 |
Не могу понять в чем причина.
Аналогичная проблема если номер приходит на мини АТС Panasonic по E1, далее по E1 уходит в Asterisk на iaxmodem+hylafax.
Какие-то факсы приходят, а какие-то нет. Тут что смотреть tcpdumpом?
Но если подключить вместо iaxmodem+hylafax обычный факс (аппарат), то ВСЕ факсы начинают приходить.
_________________
P4 3.0 + 1Gb CentOS 5.8 Aster 1.8.16
Не люблю gui-сборки: натуральный продукт вкуснее.
И еще: я ПРОФИ так как НЕ ЛЕНЮСЬ читать литературу.
Адреса соответственно свои ставите.
Факс по Т38 пытаетесь отправить ?
tcpdumpом погляжу.
udptl set debug on
fax set debug on