I'm trying to setup faxing on our analog line. I have an X100P card, which is used as a failover to our SIP trunk. We're also going to use this as a fax line, as we rarely require the fail over, and rarely use faxing, so its not worth having separate lines for each. I can send faxes after following the instructions in 'HylaFAX / AvantFax for PIAF! - Parts 1-4' (http://www.pbxinaflash.com/forum/showthread.php?t=3645), but when I receive faxes, they come through to the phone extension, not the AvantFax inbox. I have setup the inbound route in FreePBX to detect faxes,using zaptel, and send to custom destination: fax (hylafax). However, it still seems to go through to a phone extension. If I change the default destination for the inbound route to the custom destination: Fax (Hylafax), it works, and the fax is received by the AvantFax inbox, but this doesn't allow normal phone calls to come through to the extensions, as they just get answered by the fax!
Does anyone know how to configure Asterisk to detect fax calls, and voice calls, and route them correctly?