Wanpipe Asterisk Fax Detection
Asterisk fax detection detects if the call is a fax or a voice call. This eliminates the need for an additional fax line or fax DIDs because Asterisk routes the call different if it is a fax.
1) DAHDI/zaptel Configuration - A10x, B600, A200 & A400
2) Woomera Configuration - A500
1) To enable fax detect add the line "faxdetect=both" into your /etc/asterisk/chan_dahdi.conf (zapata.conf for zaptel) file before the channel definition section. Insure you restart Asterisk for this option to take effect.
2) When Asterisk detects the call as a fax then it will come into the context defined in /etc/asterisk/chan_dahdi.conf (zapata.conf for zaplte) under the extension "fax". Below is a sample /etc/asterisk/extensions.conf that will route the call to a fax machine if it is a fax. If it is a voice call it will just wait 10 seconds and then hangup; this can be replaced by your IVR.
[from-zaptel] ;The context that is defined in /etc/asterisk/zapata.conf
exten => _X.,1,wait(10) ;Goes to the normal place for voice calls, in this sample there is just a simple wait
exten => _X.,2,hangup()
exten => fax,1,Dial(Zap/2) ;This is where faxes are routed to, in this case they go to zap channel 2.
1) To enable fax detect add the line "fax_detect=1" into your /etc/asterisk/woomera.conf file before the group definition section. Insure you restart Asterisk for this option to take effect.
2) When Asterisk detects the call as a fax then it will come into the context defined in /etc/asterisk/woomera.conf under the extension "fax". Below is a sample /etc/asterisk/extensions.conf that will route the call to a fax machine if it is a fax. If it is a voice call it will just wait 10 seconds and then hangup; this can be replaced by your IVR.
[from-woomera] ;The context that is defined in /etc/asterisk/woomera.conf
exten => _X.,1,wait(10) ;Goes to the normal place for voice calls, in this sample there is just a simple wait
exten => _X.,2,hangup()
exten => fax,1,Dial(Zap/2) ;This is where faxes are routed to, in this case they go to zap channel 2. .