Asterisk With NVFaxDetect
Originally Created by: kbmetz
1. Login to the FreePBX interface of the appropriate Asterisk box. Click on the Setup tab along the top and then select the Inbound Routes selection on the left navbar. Once this page opens, it will default to Add Incoming Route.
2. Complete the Add Incoming Route window as follows:
DID Number: <Enter the DID number you created in Step 1>
Fax Extension: <Change this to "system">
Fax Email: <Enter FAX recipient's e-mail address here>
Fax Detection type: <Change to "NVFax">
Pause after answer: <Change to "20">
Set Destination: <Select "Core:" and then the recipient's voice extension number>
3. Click Submit and then click the Red Reload Bar along the top. Asterisk will restart.
4. SSH into the Asterisk box you're configuring. Type the following commands:
- asterisk -r
- CLI> set verbose 10
- CLI> show application nvfaxdetect
YOU ARE FINISHED IF YOU SEE A CLI MESSAGE SAYING:
This application listens for fax tones (on IAX and SIP channels too)
for waitdur seconds of time. In addition, it can be interrupted by digits,
or non-silence. Audio is only monitored in the receive direction. If
digits interrupt, they must be the start of a valid extension unless the
option is included to ignore. If fax is detected, it will jump to the
'fax' extension. If a period of non-silence greater than 'mindur' ms,
yet less than 'maxdur' ms is followed by silence at least 'sildur' ms
then the app is aborted and processing jumps to the 'talk' extension.
If all undetected, control will continue at the next priority.
waitdur: Maximum number of seconds to wait (default=4)
options:
'n': Attempt on-hook if unanswered (default=no)
'x': DTMF digits terminate without extension (default=no)
'd': Ignore DTMF digit detection (default=no)
'f': Ignore fax detection (default=no)
't': Ignore talk detection (default=no)
sildur: Silence ms after mindur/maxdur before aborting (default=1000)
mindur: Minimum non-silence ms needed (default=100)
maxdur: Maximum non-silence ms allowed (default=0/forever)
Returns -1 on hangup, and 0 on successful completion with no exit conditions.
IF, INSTEAD, YOU RECEIVE A MESSAGE SAYING THAT NVFAXDETECT ISN'T INSTALLED, YOU MUST COMPLETE THE FOLLOWING STEPS:
- cd /usr/src
- wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.2pre25/spandsp-...
- tar zxf spandsp-0.0.2pre25.tar.gz
- cd spandsp-0.0.2
- ./configure --prefix=/usr && make && make install
- yum -y install ghostscript
- amportal stop (Hurry! Asterisk will be down until you complete!)
- cd /usr/src/asterisk/apps
- wget http://nerdvittles.com/aah2/app_nv_faxdetect.c
- wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.2pre25/asterisk...
- wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.2pre25/asterisk...
- wget http://aussievoip.com/makefile.patch
- patch < makefile.patch
- cd ..
- make
- make install
- amportal start
NOW, SEE IF NVFAXDETECT IS INSTALLED:
- asterisk -r
- CLI> set verbose 10
- CLI> show application nvfaxdetect
IF YOU NOW SEE THE APPLICATION INSTALLED, YOU SHOULD BE GOOD TO GO!
Related Content
- Printer-friendly version
- Login or register to post comments



destination
there exists no "core" as destination only
Queues:
Ring Groups:
Gabcast:
Time Conditions:
Phonebook Directory:
Terminate Call:
Extensions:
and
Voicemail:
but no core. Where to find?
FYI: all the links for this
FYI: all the links for this set of directions are no longer valid.
about links
Does anybody have the installation links that are up to date? Or a tutorial to install nvfaxdetect on my freepbx asterisk box. I am a little confused, I don't know if I already have this installed in my system. I got my compilation from pbxinaflash. I can see the NVFaxdetect on my trunks, but when I call my POT the calls drops. I hear no tones or anything. Any clues? I have not found any up to date guides online. I am running asterisk 1.4 with the latest freepbx and scripts
try
try here:
http://bestof.nerdvittles.com/applications/fax/
Will it work with Asterisk 1.6.0.10?
Tried using Nerd Vittles' setup instructions. Unfortunately the fax.pbx script fails. Maybe because I am on Asterisk 1.6.0.10...
Any suggestions?
Thank you,
Vladimir
nvfaxdetect
trying to check for installed nvfaxdetect, I am getting "your application is not registered