Ryan Courtnage
2004-May-01 11:04 UTC
[Asterisk-Users] Fax Detect problem (have consulted archives, wiki & irc)
Hi All, I'm using an X100P to connect to PSTN ( context=from-pstn ). I'm trying to get fax detection to work. Using the simplest dialplan, I cannot get * to detect fax tones: [from-pstn] exten => s,1,Answer exten => fax,1,Goto(ext-fax,999,1) The fax is never detected (ie: Goto never executed) All that I see on the * -vvvvc console is: -- Executing Answer("Zap/1-1", "") in new stack ... until eventually timeout occurs. I've used ZapBarge to listen in on the channel, and can hear the tones from the fax machine loud and clear. Some suggestions from IRC that I've tried: - add a exten => s,2,background(sound-file) : didn't help - try exten => s,fax,Goto(ext-fax,999,1) : also didn't help I'm using stable CVS-04/30/04 Thanks Ryan
Jeb Campbell
2004-May-01 15:51 UTC
[Asterisk-Users] Fax Detect problem (have consulted archives, wiki & irc)
On May 1, 2004, at 2:04 PM, Ryan Courtnage wrote:> I'm trying to get fax detection to work.Hi Ryan, in stable FAX_DETECT is turned off by default in the code (dsp.c). I'm personally using it with spandsp and having no problems, but YMMV. If you want to enable it, goto line 60 of dsp.c and uncomment that #define so it looks like this: /* Define if you want the fax detector -- NOT RECOMMENDED IN -STABLE */ #define FAX_DETECT Then recompile and install. Jeb Jeb Campbell jebc@c4solutions.net Cell: 865-385-1437