Hello,
I’m trying to use asterisk to send fax, too…
We have a Digium TE110P, and we are using asterisk 1.2.x (AAH2.2)
We can dial out, dial in, fax in without problems (well… now without problems 
However, we cannot fax out (we are using asterfax); after some tests we can dial out and if I call myself on my home number I can hear the fax tone (generated by asterisk/digium card)
But, If I call a real fax machine, we get this: (where is the problem, if called people can hear the “beep” of asterisk-fax? why the fax machine hangup?)
Dec 21 16:07:44 DEBUG[29721] manager.c: Manager received command ‘Challenge’
Dec 21 16:07:44 DEBUG[29721] manager.c: Manager received command ‘Login’
Dec 21 16:07:44 VERBOSE[29721] logger.c: == Parsing ‘/etc/asterisk/manager.conf’: Dec 21 16:07:44 VERBOSE[29721] logger.c: == Parsing ‘/etc/asterisk/manager.conf’: Found
Dec 21 16:07:44 VERBOSE[29721] logger.c: == Parsing ‘/etc/asterisk/manager_custom.conf’: Dec 21 16:07:44 VERBOSE[29721] logger.c: == Parsing ‘/etc/asterisk/manager_custom.conf’: Found
Dec 21 16:07:44 WARNING[29721] config.c: Unknown directive ‘permit=192.168.1.0/255.255.255.0’ at line 18 of manager_custom.conf
Dec 21 16:07:44 DEBUG[29721] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl for peer
Dec 21 16:07:44 DEBUG[29721] acl.c: 127.0.0.1/255.255.255.0/255.255.255.0 appended to acl for peer
Dec 21 16:07:44 DEBUG[29721] acl.c: ##### Testing 127.0.0.1 with 0.0.0.0
Dec 21 16:07:44 DEBUG[29721] acl.c: ##### Testing 127.0.0.1 with 127.0.0.0
Dec 21 16:07:44 VERBOSE[29721] logger.c: == Manager ‘admin’ logged on from 127.0.0.1
Dec 21 16:07:44 DEBUG[29721] manager.c: Manager received command ‘Command’
Dec 21 16:07:44 DEBUG[29721] manager.c: Manager received command ‘Status’
Dec 21 16:07:44 DEBUG[29721] manager.c: Manager received command ‘Originate’
Dec 21 16:07:44 VERBOSE[29721] logger.c: – Requested transfer capability: 0x00 - SPEECH
Dec 21 16:07:44 DEBUG[27639] chan_zap.c: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/1 span 1
Dec 21 16:07:44 NOTICE[29721] channel.c: Don’t know what to do with control frame 15
Dec 21 16:07:45 DEBUG[27639] chan_zap.c: Enabled echo cancellation on channel 1
Dec 21 16:07:45 DEBUG[27621] channel.c: Avoiding initial deadlock for ‘Zap/1-1’
Dec 21 16:07:48 DEBUG[27639] chan_zap.c: Echo cancellation already on
Dec 21 16:07:48 DEBUG[27621] channel.c: Avoiding initial deadlock for ‘Zap/1-1’
Dec 21 16:07:48 DEBUG[29721] manager.c: Manager received command ‘Logoff’
Dec 21 16:07:48 VERBOSE[29721] logger.c: == Manager ‘admin’ logged off from 127.0.0.1
Dec 21 16:07:49 VERBOSE[27639] logger.c: !! Got reject for frame 52, but we only have others!
Dec 21 16:07:58 DEBUG[29728] app_txfax.c: ==============================================================================
Dec 21 16:07:58 DEBUG[29728] app_txfax.c: Fax send not successful - result 14.
Dec 21 16:07:58 DEBUG[29728] app_txfax.c: ==============================================================================
Dec 21 16:07:58 DEBUG[29728] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Dec 21 16:07:58 DEBUG[29728] cdr_addon_mysql.c: 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-12-21 16:07:48’,’’,’’,‘s’,‘from-pstn’, ‘Zap/1-1’,’’,‘TxFAX’,’${FAXFILE}|caller’,10,0,‘ANSWERED’,3,’’,‘1135177664.124’)
Dec 21 16:07:58 DEBUG[29728] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/1-1
Dec 21 16:07:58 DEBUG[29728] chan_zap.c: Hangup: channel: 1 index = 0, normal = 15, callwait = -1, thirdcall = -1
Dec 21 16:07:58 DEBUG[29728] chan_zap.c: Not yet hungup… Calling hangup once with icause, and clearing call
Dec 21 16:07:58 DEBUG[29728] chan_zap.c: disabled echo cancellation on channel 1
Dec 21 16:07:58 DEBUG[29728] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/1-1
Dec 21 16:07:58 DEBUG[29728] chan_zap.c: Updated conferencing on 1, with 0 conference users
Dec 21 16:07:58 DEBUG[29728] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/1-1
Dec 21 16:07:58 DEBUG[29728] chan_zap.c: disabled echo cancellation on channel 1
Dec 21 16:07:58 VERBOSE[29728] logger.c: – Hungup ‘Zap/1-1’