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

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
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!
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
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
 

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
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!
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
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?
 

bigtalker

Member
Joined
Oct 18, 2007
Messages
74
Reaction score
0
Forgot Avantfax Password

Great article and simple instructions...Got enthralled with this idea and did an 'allnighter'. Only problem I cannot remember the user/pass with which I set up Avantfax.

Anybody willing to offer a clue as to how I can recover from this senior moment???

Thanks

Bigtalker
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
Hmmm. These programs might help. Let us all know how this works out -

Fromm putty, as root:
man hosts.hfaxd

and/or

man faxadduser
 

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
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!
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
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.
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
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.
 

krzykat

Telecom Strategist
Joined
Aug 2, 2008
Messages
3,149
Reaction score
1,238
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.
 

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
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.
 

phinphan

Active Member
Joined
Oct 19, 2007
Messages
641
Reaction score
130
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.
 

jack

New Member
Joined
Jan 1, 2008
Messages
17
Reaction score
0
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

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
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
 

jack

New Member
Joined
Jan 1, 2008
Messages
17
Reaction score
0
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

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
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?
 

jack

New Member
Joined
Jan 1, 2008
Messages
17
Reaction score
0
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
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
Jack - try checking the two files ownership and permissions compared to the other files of the same type in the directory.
 

jack

New Member
Joined
Jan 1, 2008
Messages
17
Reaction score
0
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
 

Members online

Forum statistics

Threads
25,825
Messages
167,849
Members
19,250
Latest member
mark-curtis
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.
Top