Re: не работает системный факс
Добавлено: 13 мар 2011, 17:01
Благодарю за помощ!ссылочки хорошие, но у меня сделанно так, как там описаны решения только всё равно, отбой идёт при наборе на системный факс.
вот что пишет:
Executing [7777@from-context:1] Goto("SIP/1107-0000021b", "from-internal,7777,1") in new stack
-- Goto (from-internal,7777,1)
-- Executing [7777@from-internal:1] Goto("SIP/1107-0000021b", "ext-fax,in_fax,1") in new stack
-- Goto (ext-fax,in_fax,1)
-- Executing [in_fax@ext-fax:1] StopPlayTones("SIP/1107-0000021b", "") in new stack
-- Executing [in_fax@ext-fax:2] GotoIf("SIP/1107-0000021b", "1?3:analog_fax,1") in new stack
-- Goto (ext-fax,in_fax,3)
-- Executing [in_fax@ext-fax:3] Macro("SIP/1107-0000021b", "faxreceive") in new stack
-- Executing [s@macro-faxreceive:1] Set("SIP/1107-0000021b", "FAXFILE=/var/spool/asterisk/fax/1300026096.1314.tif") in new stack
-- Executing [s@macro-faxreceive:2] Set("SIP/1107-0000021b", "EMAILADDR=zxc@yandex.ru") in new stack
-- Executing [s@macro-faxreceive:3] ReceiveFAX("SIP/1107-0000021b", "/var/spool/asterisk/fax/1300026096.1314.tif") in new stack
[2011-03-13 19:21:37] WARNING[25984]: app_fax.c:769 transmit: Transmission error
== Spawn extension (macro-faxreceive, s, 3) exited non-zero on 'SIP/1107-0000021b' in macro 'faxreceive'
== Spawn extension (ext-fax, in_fax, 3) exited non-zero on 'SIP/1107-0000021b'
-- Executing [h@ext-fax:1] System("SIP/1107-0000021b", "/var/lib/asterisk/bin/fax-process.pl --to zxc@yandex.ru --from fax@yandex.ru --dest "" --subject "Fax from 1107 device" --attachment fax_1107.pdf --type application/pdf --file /var/spool/asterisk/fax/1300026096.1314.tif") in new stack
-- Executing [h@ext-fax:2] Hangup("SIP/1107-0000021b", "") in new stack
== Spawn extension (ext-fax, h, 2) exited non-zero on 'SIP/1107-0000021b'
вот что пишет:
Executing [7777@from-context:1] Goto("SIP/1107-0000021b", "from-internal,7777,1") in new stack
-- Goto (from-internal,7777,1)
-- Executing [7777@from-internal:1] Goto("SIP/1107-0000021b", "ext-fax,in_fax,1") in new stack
-- Goto (ext-fax,in_fax,1)
-- Executing [in_fax@ext-fax:1] StopPlayTones("SIP/1107-0000021b", "") in new stack
-- Executing [in_fax@ext-fax:2] GotoIf("SIP/1107-0000021b", "1?3:analog_fax,1") in new stack
-- Goto (ext-fax,in_fax,3)
-- Executing [in_fax@ext-fax:3] Macro("SIP/1107-0000021b", "faxreceive") in new stack
-- Executing [s@macro-faxreceive:1] Set("SIP/1107-0000021b", "FAXFILE=/var/spool/asterisk/fax/1300026096.1314.tif") in new stack
-- Executing [s@macro-faxreceive:2] Set("SIP/1107-0000021b", "EMAILADDR=zxc@yandex.ru") in new stack
-- Executing [s@macro-faxreceive:3] ReceiveFAX("SIP/1107-0000021b", "/var/spool/asterisk/fax/1300026096.1314.tif") in new stack
[2011-03-13 19:21:37] WARNING[25984]: app_fax.c:769 transmit: Transmission error
== Spawn extension (macro-faxreceive, s, 3) exited non-zero on 'SIP/1107-0000021b' in macro 'faxreceive'
== Spawn extension (ext-fax, in_fax, 3) exited non-zero on 'SIP/1107-0000021b'
-- Executing [h@ext-fax:1] System("SIP/1107-0000021b", "/var/lib/asterisk/bin/fax-process.pl --to zxc@yandex.ru --from fax@yandex.ru --dest "" --subject "Fax from 1107 device" --attachment fax_1107.pdf --type application/pdf --file /var/spool/asterisk/fax/1300026096.1314.tif") in new stack
-- Executing [h@ext-fax:2] Hangup("SIP/1107-0000021b", "") in new stack
== Spawn extension (ext-fax, h, 2) exited non-zero on 'SIP/1107-0000021b'