OK, I create the directory, then it works!
I found the tif file in this dir. But I also found the tif file is not complete.
I sent a page with 30 lines text and only received 6 lines. sometimes I received 5 lines.
That is, the channel hangup before it completely receive the fax.

    -- Goto (macro-faxreceive,s,7)
    -- Executing RxFAX("Zap/124-1", "/var/spool/asterisk/fax/2201001/1115620869.47.tif") in new stack
    -- Channel 0/31, span 4 got hangup
May  9 14:41:51 DEBUG[15516]: app_rxfax.c:246 rxfax_exec: Got hangup
May  9 14:41:51 DEBUG[15516]: app_macro.c:172 macro_exec: Extension s, priority 7 returned normally even though call was hung up
May  9 14:41:51 DEBUG[15516]: pbx.c:1873 ast_pbx_run: Extension 2201001, priority 1 returned normally even though call was hung up
May  9 14:41:51 DEBUG[15516]: cdr_addon_mysql.c:178 mysql_log: cdr_mysql: inserting a CDR record.
May  9 14:41:51 DEBUG[15516]: cdr_addon_mysql.c:197 mysql_log: cdr_mysql: SQL command as follows:  INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES ('2005-05-09 14:41:09','82883002','82883002','2201001','fax', 'Zap/124-1','','RxFAX','/var/spool/asterisk/fax/2201001/1115620869.47.tif',42,42,'ANSWERED',3,'','1115620869.47')
May  9 14:41:51 DEBUG[15516]: chan_zap.c:2470 zt_setoption: Set option AUDIO MODE, value: ON(1) on Zap/124-1
May  9 14:41:51 DEBUG[15516]: chan_zap.c:1980 zt_hangup: Hangup: channel: 124 index = 0, normal = 138, callwait = -1, thirdcall = -1
May  9 14:41:51 DEBUG[15516]: chan_zap.c:2116 zt_hangup: Not yet hungup...  Calling hangup once with icause, and clearing call
May  9 14:41:51 DEBUG[15516]: chan_zap.c:2382 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/124-1
May  9 14:41:51 DEBUG[15516]: chan_zap.c:1199 update_conf: Updated conferencing on 124, with 0 conference users
May  9 14:41:51 DEBUG[15516]: chan_zap.c:2464 zt_setoption: Set option AUDIO MODE, value: OFF(0) on Zap/124-1
    -- Hungup 'Zap/124-1'

> Does this path already exist???
> 
> "/var/spool/asterisk/fax/2201001/"
> 



????????????????
??VIP???????????
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to