Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / Непонятная ошибка при отправке факса

Непонятная ошибка при отправке факса

Сообщений: 40

Непонятная ошибка при отправке факса

Привет всем,

Использую триксбок с астериском 1.4.22 и платой OpenVox A1200P. Всё как надо настроил транк, сделал исходящие\входящие маршруты. Зарегестрировал и поднял Free Fax for Asterisk.

FAX Statistics:
---------------

Current Sessions : 1
Transmit Attempts : 1
Receive Attempts : 0
Completed FAXes : 1
Failed FAXes : 1

Digium G.711
Licensed Channels : 1
Max Concurrent : 1
Success : 0
Switched to T.38 : 0
Canceled : 0
No FAX : 0
Partial : 0
Negotiation Failed : 0
Train Failure : 0
Protocol Error : 0
IO Partial : 0
IO Fail : 0

Мой диалплан для исходящего факса:

[outboundfax]
exten => s,1,NoOp(send a fax)
exten => s,n,Set(FAXOPT(filename)=${FAXFILE})
exten => s,n,Set(FAXOPT(ecm)=yes)
exten => s,n,Set(FAXOPT(headerinfo)=Fax from MYCOMPANY #2442963)
exten => s,n,Set(FAXOPT(localstationid)=2442963)
exten => s,n,Set(FAXOPT(maxrate)=14400)
exten => s,n,Set(FAXOPT(minrate)=2400)
exten => s,n,SendFAX(/tmp/${FAXFILE},d)
exten => h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)})

И call фаил:

Channel: Zap/8/2442836
MaxRetries: 1
RetryTime: 60
WaitTime: 60
Archive: yes
Context: outboundfax
Extension: s
Priority: 1
Set: FAXFILE=1.tif

А вот и лог:

[Apr 2 11:56:39] VERBOSE[8963] logger.c: -- Attempting call on Zap/8/2442836 for s@outboundfax:1 (Retry 1)
[Apr 2 11:56:39] DEBUG[8963] chan_zap.c: Dialing '2442836'
[Apr 2 11:56:39] DEBUG[8963] chan_zap.c: Deferring dialing...
[Apr 2 11:56:40] DEBUG[8963] chan_zap.c: Sent deferred digit string: T2442836w
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:1] NoOp("Zap/8-1", "send a fax") in new stack
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:2] Set("Zap/8-1", "FAXOPT(filename)=1.tif") in new stack
[Apr 2 11:56:42] WARNING[8963] res_fax.c: channel 'Zap/8-1' set FAXOPT(filename) to '1.tif' is unhandled!
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:3] Set("Zap/8-1", "FAXOPT(ecm)=yes") in new stack
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:4] Set("Zap/8-1", "FAXOPT(headerinfo)=Fax from MYCOMPANY #2442963") in new stack
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:5] Set("Zap/8-1", "FAXOPT(localstationid)=2442963") in new stack
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:6] Set("Zap/8-1", "FAXOPT(maxrate)=14400") in new stack
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:7] Set("Zap/8-1", "FAXOPT(minrate)=2400") in new stack
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:8] SendFAX("Zap/8-1", "/tmp/1.tif|d") in new stack
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Channel 'Zap/8-1' sending FAX '/tmp/1.tif'
[Apr 2 11:56:42] ERROR[8963] res_fax_digium.c: FAX handle 0: failed to queue document '/tmp/1.tif'
[Apr 2 11:56:42] ERROR[8963] res_fax.c: channel 'Zap/8-1' FAX session '0' failure, reason: 'failed to start FAX session'
[Apr 2 11:56:42] VERBOSE[8963] logger.c: == Auto fallthrough, channel 'Zap/8-1' status is 'UNKNOWN'
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [h@outboundfax:1] NoOp("Zap/8-1", "FAXOPT(ecm) : yes") in new stack
[Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Hungup 'Zap/8-1'
[Apr 2 11:56:42] NOTICE[8963] pbx_spool.c: Call completed to Zap/8/2442836
[Apr 2 11:56:43] DEBUG[8946] chan_zap.c: Message status for 6001 changed from -1 to 0 on 1
[Apr 2 11:56:44] DEBUG[8946] chan_zap.c: Message status for 6002 changed from -1 to 0 on 2
[Apr 2 11:56:45] DEBUG[8946] chan_zap.c: Message status for 6003 changed from -1 to 0 on 3
[Apr 2 11:56:45] VERBOSE[8996] logger.c: == Parsing '/etc/asterisk/manager.conf': [Apr 2 11:56:45] VERBOSE[8996] logger.c: Found
[Apr 2 11:56:45] VERBOSE[8996] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Apr 2 11:56:45] VERBOSE[8996] logger.c: Found
[Apr 2 11:56:45] VERBOSE[8996] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Apr 2 11:56:45] VERBOSE[8996] logger.c: Found
[Apr 2 11:56:45] VERBOSE[8996] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Apr 2 11:56:46] DEBUG[8946] chan_zap.c: Message status for 6004 changed from -1 to 0 on 4

Не подскажите что за ошибка такая? В какую сторону копать?
2010-04-05 14:17

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: Непонятная ошибка при отправке факса

Формат файла проверьте
[Apr 2 11:56:42] ERROR[8963] res_fax_digium.c: FAX handle 0: failed to queue document '/tmp/1.tif'
http://линия24.рф - Астериск и прочие бубны!
2010-04-05 14:46

Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru