Код: Выделить всё
[from-ipldk]
exten=> _NXXXXX,1,Dial(DAHDI/g1/${EXTEN})
exten=> _NXXXXXX,1,Dial(DAHDI/g1/${EXTEN})
exten=> _8NXXXXXXXXX,1,Dial(DAHDI/g1/${EXTEN})
exten=> _810XXXXXXXXX.,1,Dial(DAHDI/g1/${EXTEN})
include => fax
[fax]
;exten => fax,1,Answer
exten => fax,1,Set(DT=${UNIQUEID})
exten => 760994,n,ReceiveFAX(/var/spool/asterisk/fax/1.tiff)
exten => fax,n,ReceiveFAX(/var/spool/asterisk/fax/2.tif)
exten => fax,n,Wait(1)
[Apr 28 14:34:43] VERBOSE[5615] pbx.c: -- Executing [760994@from-ipldk:2] ReceiveFAX("DAHDI/i2/760980-de", "/var/spool/asterisk/fax/1.tiff") in new stack
[Apr 28 14:34:43] VERBOSE[5615] res_fax.c: -- Channel 'DAHDI/i2/760980-de' receiving FAX '/var/spool/asterisk/fax/1.tiff'
[Apr 28 14:34:46] VERBOSE[5615] chan_dahdi.c: -- Redirecting DAHDI/i2/760980-de to fax extension
[Apr 28 14:34:46] VERBOSE[5615] pbx.c: == Spawn extension (from-ipldk, fax, 1) exited non-zero on 'DAHDI/i2/760980-de'
[Apr 28 14:34:46] VERBOSE[5615] pbx.c: -- Executing [fax@from-ipldk:1] Set("DAHDI/i2/760980-de", "DT=1335609272.446") in new stack
[Apr 28 14:34:46] VERBOSE[5615] pbx.c: -- Auto fallthrough, channel 'DAHDI/i2/760980-de' status is 'CHANUNAVAIL'
[Apr 28 14:34:56] VERBOSE[5615] chan_dahdi.c: -- Hungup 'DAHDI/i2/760980-de'
[Apr 28 14:34:58] VERBOSE[4075] sig_pri.c: -- Span 2: Channel 0/31 got hangup request, cause 16
в /var/spool/asterisk/fax/ по-прежнему пусто. Я понимаю что в диалплане полнейшая ерунда, но так хоть пытается что то послать