TUTORIAL HylaFAX / AvantFax for PIAF! - Parts 1-4

tshif:

Does the nvfaxdetec works with PSTN line and if yes, how can i create an extension for the 4 modems, because right now, when i try to make my inbound route look for fax, if this is a fax, i can't select a fax extension in the drop down list? is there anyway to make the drop down show the Hylafax?
And if this method isn't good to detect on PSTN, is there any way to do it?

Thanx!
 
Does the nvfaxdetec works with PSTN line
I don't think NVDetect cares what kind of trunk the call comes in on. I will put this into test shortly since you brought it up.

how can i create an extension for the 4 modems, because right now, when i try to make my inbound route look for fax, if this is a fax, i can't select a fax extension in the drop down list? is there anyway to make the drop down show the Hylafax?
The two approaches will work together, or separately - but they are not the same.

The default installation sets up 4 virtual modems for pooled use, on a dedicated (not shared) inbound number / inbound route.

I would not remove or alter them. If you don't want to use them that way - just ignore them.

Making the extensions for the "Virtual Fax" is the technique used when you wish to share voice and fax on the same inbound route. This is the way we use them with NVDetect, and the way to deploy if you wish to share an inbound route for fax and voice.

Notice that in this configuration - it need not be an inbound route for an individual, but could just as easily be on the main inbound route - which looks for FAX tones, and if absent, sends the caller to the main IVR.

It seems that you may not have worked through the examples yet - doing that will answer all of the questions you have asked, and some you haven't even thought of yet! :)
-Tony
 
I have a more bigger problem now, i have just installed a Fresh copy of PIAF1.4 just did a update-scripts, update-source, and did what you says, downloaded nv_..... both file into the /usr/src/asterisk/apps folder, and have done the make clean, ./configure and make menuselect, but i can find the nv_.... application, it is not in the application folder into the menuselect? s there something wronk with PIAF1.4 ?
thanx!
 
mp111 and martymoose - some of your earlier questions didn't seem to get answered here in the forum - are you guys ok and successful with the system at this time?
 
Hmmm. These programs might help. Let us all know how this works out -

Fromm putty, as root:
man hosts.hfaxd

and/or

man faxadduser
 
Ok i'm in the process right now of adding a modem, i'm right now at your: FAXADDMOMDEM steps, but i don't have this, the only thing i got is: faxaddmodem all lower case, and it ask me this:
Code:
Serial port that modem is connected to []?

What i should put in there, if i put nothing, it always re-ask me this question ? thanx!
 
Success Faxing w/Analog Boards

Successful Faxing w/Analog Boards can be increased - sometimes dramatically, through the careful adjustment of the rx and tx gain factors.

There is an outstanding tutorial for doing so located here.

One of the things you need during the test is a remote number to call that produces a milliwatt test tone.

I have setup such a number for my own use - and for the next few days - I will leave it available for anyone here on the forums to use. Eventually, my generosity will give out (Im charged for the incoming calls) - perhaps one of the "big guys" here in the forum will take on the task and provide us such a test/tune facility. The number is (760) 542-0268.

Good luck and happy-tuning.
 
Ok i'm in the process right now of adding a modem, i'm right now at your: FAXADDMOMDEM steps, but i don't have this, the only thing i got is: faxaddmodem all lower case, and it ask me this:
Code:
Serial port that modem is connected to []?
What i should put in there, if i put nothing, it always re-ask me this question ? thanx!

My BAD - the script is properly called 'addfaxmodem' in lower case. (Update: 4.10.2009: WRONG AGAIN. It is faxaddmodem, in lower case.)

The serial port will be ttyIAX#, where the # is replaced by whatever modem number you are adding.
 
Eventually, my generosity will give out (Im charged for the incoming calls) -

Hey if all you need is a DID pointed your way to enable the testing, let me know - I could donate one.
 
tshif:

I got another probem, the modem doesnt seems to be starting, when i got in /dev/ i got all 4 original modem, and the new one i have added is like that:
error.GIF

Do you have any idea where it can take that scare??

Ok i have find my problem don't edit the file on your windows desktop!!! Always usea linux edit. it have recreated the iaxmodem.ttyIAX4 file from the 3 in "mc" and it have just work very well.
 
i was able to remove hylafax and now the modems are starting corectly... however, i have an issue with avantfax. i think this is because it was installed too many times...
please see attachement.

How did you remove hylafax as I accidentally (stupidly) reinstalled it on top of itself and now I have the same problem as you showed in the pdf file.
 
tshif

I have a more bigger problem now, i have just installed a Fresh copy of PIAF1.4 just did a update-scripts, update-source, and did what you says, downloaded nv_..... both file into the /usr/src/asterisk/apps folder, and have done the make clean, ./configure and make menuselect, but i can find the nv_.... application, it is not in the application folder into the menuselect? s there something wronk with PIAF1.4 ?
thanx!

I have the same problem as Speedy2k:banghead:
How do I get it going?
Thanks
 
tshif:
Ok i have find my problem don't edit the file on your windows desktop!!! Always usea linux edit. it have recreated the iaxmodem.ttyIAX4 file from the 3 in "mc" and it have just work very well.

If you edit files in windows, use wordpad instead of notepad. Or try Speedys solution, above.

Another Alternative is notepad++, which is aware of many different file formats and language syntaxes
 
If you edit files in windows, use wordpad instead of notepad. Or try Speedys solution, above.

Another Alternative is notepad++, which is aware of many different file formats and language syntaxes
tshif:
I meant I downloaded app_nv_backgrounddetect.c and app_nv_faxdetect.c files:
cd /usr/src/asterisk/apps
wget http://agx-ast-addons.svn.sourceforge.net/svnroot/agx-ast-addons/trunk/app_nv_backgrounddetect.c
wget http://agx-ast-addons.svn.sourceforge.net/svnroot/agx-ast-addons/trunk/app_nv_faxdetect.c
cd ..
make clean
./configure
make menuselect
but I can't find the two files in the Applications menu :confused5:
 
tshif:
I meant I downloaded app_nv_backgrounddetect.c and app_nv_faxdetect.c files:
cd /usr/src/asterisk/apps
wget http://agx-ast-addons.svn.sourceforge.net/svnroot/agx-ast-addons/trunk/app_nv_backgrounddetect.c
wget http://agx-ast-addons.svn.sourceforge.net/svnroot/agx-ast-addons/trunk/app_nv_faxdetect.c
cd ..
make clean
./configure
make menuselect
but I can't find the two files in the Applications menu :confused5:

Oh - Sorry - I misunderstood.

For me, they are menu item number 38 and 39. Did you scroll down that far?

Looks in the /usr/src/asterisk/apps folder and make sure the wget lines actually deposited the the two files in the folder.

let us know results, ok?
 
Oh - Sorry - I misunderstood.

For me, they are menu item number 38 and 39. Did you scroll down that far?

Looks in the /usr/src/asterisk/apps folder and make sure the wget lines actually deposited the the two files in the folder.

let us know results, ok?
tshif:
For me, they are menu item number 38 and 39. Did you scroll down that far? Yes,but they are'nt there.

Looks in the /usr/src/asterisk/apps folder and make sure the wget lines actually deposited the the two files in the folder. Yes,they actually did there (app_nv_backgrounddetect.c and app_nv_faxdetect.c).

so far every thing is fine except the two files.

Thanks for your time
 
Jack - try checking the two files ownership and permissions compared to the other files of the same type in the directory.
 
I have reboot and checked the two files ownership and permissions they are all the same as the other files in the /usr/src/asterisk/apps directory.
rw-r--r-- root
 
Ok Jack -
Thanks for sticking with us while we work through your problem.

Joe Roper pointed out to me that if Asterisk has already been compiled - this may be the result of the series of commands we ran.

Try this:

make distclean
make clean
./configure
make menuselect
make
make install

amportal restart

Let us know if this works - Ill update the instructions accordingly.
-Tony
 

Members online

No members online now.

Forum statistics

Threads
26,696
Messages
174,453
Members
20,265
Latest member
irenelanda64
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top