что то опять делаю не так:
Код: Выделить всё
[from-ipldk]
include => fax
[fax]
exten => 760994,1,Answer
exten => 760994,n,Set(DT=${UNIQUEID})
exten => 760994,n,ReceiveFAX(/var/spool/asterisk/fax/${DT}.tif)
exten => 760994,n,Wait(1)
[Apr 28 13:16:36] VERBOSE[4075] sig_pri.c: -- Span 2: Channel 0/2 got hangup request, cause 1
[Apr 28 13:16:36] VERBOSE[4923] chan_dahdi.c: -- Hungup 'DAHDI/i2/760994-57'
[Apr 28 13:16:36] VERBOSE[4923] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[Apr 28 13:16:36] VERBOSE[4923] pbx.c: -- Auto fallthrough, channel 'DAHDI/i1/XXXXXX-59' status is 'CHANUNAVAIL'
[Apr 28 13:16:36] VERBOSE[4074] sig_pri.c: -- PROGRESS with cause code 1 received
[Apr 28 13:16:36] VERBOSE[4922] app_dial.c: -- DAHDI/i1/760994-58 is making progress passing it to DAHDI/i2/760980-56
[Apr 28 13:16:46] VERBOSE[4923] chan_dahdi.c: -- Hungup 'DAHDI/i1/XXXXXX-59'
[Apr 28 13:16:46] VERBOSE[4074] sig_pri.c: -- Span 1: Channel 0/1 got hangup request, cause 1
[Apr 28 13:16:46] VERBOSE[4922] chan_dahdi.c: -- Hungup 'DAHDI/i1/760994-58'
[Apr 28 13:16:46] VERBOSE[4922] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[Apr 28 13:16:46] VERBOSE[4922] pbx.c: -- Executing [760994@from-ipldk:2] Set("DAHDI/i2/XXXXXX-56", "DT=1335604595.174") in new stack
[Apr 28 13:16:46] VERBOSE[4922] pbx.c: -- Executing [760994@from-ipldk:3] ReceiveFAX("DAHDI/i2/XXXXXX-56", "/var/spool/asterisk/fax/1335604595.174.tif") in new stack
[Apr 28 13:16:46] VERBOSE[4922] res_fax.c: -- Channel 'DAHDI/i2/760980-56' receiving FAX '/var/spool/asterisk/fax/1335604595.174.tif'
[Apr 28 13:16:49] NOTICE[4922] chan_dahdi.c: Fax detected, but no fax extension
[Apr 28 13:16:54] WARNING[4922] res_fax_spandsp.c: WARNING T.30 Cannot open target TIFF file '/var/spool/asterisk/fax/1335604595.174.tif'