On Wed, 2004-11-17 at 14:44 -0600, Matthew Boehm wrote:
> Anyone have success with fax detection and zap cards and 1.0?
>
> exten => 5124512424,1,Answer()
> exten => 5124512424,2,Wait(1)
I doubt 1 second is long enough to detect the CNG tones.
> 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} [EMAIL PROTECTED]
> ${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?
--
Steven Critchfield <[EMAIL PROTECTED]>
_______________________________________________
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