[Asterisk-Users] Zap card, PRI, Fax detection, and 1.0 stable

Matthew Boehm mboehm at cytelcom.com
Wed Nov 17 13:44:00 MST 2004


Anyone have success with fax detection and zap cards and 1.0?

 exten => 5124512424,1,Answer()
 exten => 5124512424,2,Wait(1)
 exten => 5124512424,3,Dial(SIP/3044,20,t)
 exten => 5124512424,4,Hangup()

 exten => fax,1,SetVar(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif)
 exten => fax,2,rxfax(${FAXFILE})
 exten => fax,3,system(/usr/sbin/mailfax ${FAXFILE} mboehm at cytelcom.com
${CALLERIDNUM})

zapata.conf
---------------
faxdetect=both

That isn't working. All calls are going straight to 3044.

I looked in dsp.c and it says:

/* Define if you want the fax detector -- NOT RECOMMENDED IN -STABLE */
#define FAX_DETECT

I'm running 1.0.  Can I enable this safely? I'm using a PRI in ESF/B8ZS mode
with a T100P.

Or, what is the correct way to enable fax detection?

Thanks,
Matthew




More information about the asterisk-users mailing list