TUTORIAL Install Incredible Fax 11

Joined
May 23, 2013
Messages
223
Reaction score
28
Hi again,
Voip provider codecs aleready configured with this sip trunk are : g711, g729 (first g711 then g729).
But in my advanced sip settings : only ulaw and alaw are selected.
- jitter buffer is disabled
- RTP Timers? (rtptimeout) (rtpholdtimeout) (rtpkeepalive) (by default)

Probably, this is fine ?

Okay well first in your SIP settings you need to enable G729 and Ulaw and remove alaw. G729 won't be used if you don't have it enabled there. Next if you have G711 first in your trunk after making that change if it won't work make G729 the priority and try that.
 

kdaffef02

Member
Joined
Apr 29, 2011
Messages
114
Reaction score
8
- Voip provider codecs : g729 then g711
- Sip settings : g729, then ulaw
- Trunk settings : allow=g729&ulaw

test again,

- from asterisk logfiles :
2014-01-31 21:28:08] WARNING[16573] chan_sip.c: Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw[2014-01-31 21:28:08] WARNING[16573] chan_sip.c: Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw[2014-01-31 21:28:08] WARNING[16573] chan_sip.c: Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw[2014-01-31 21:28:08] WARNING[16573] chan_sip.c: Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: -- Executing [h@macro-dialout-trunk:1] Macro("Local/fax_number@from-internal-00000006;2", "hangupcall,") in new stack
[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("Local/fax_number@from-internal-00000006;2", "1?theend") in new stack
[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: -- Goto (macro-hangupcall,s,3)
[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: -- Executing [s@macro-hangupcall:3] ExecIf("Local/fax_number@from-internal-00000006;2", "0?Set(CDR(recordingfile)=)") in new stack
[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: -- Executing [s@macro-hangupcall:4] Hangup("Local/fax_number@from-internal-00000006;2", "") in new stack
[2014-01-31 21:28:09] VERBOSE[16573] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/fax_number@from-internal-00000006;2' in macro 'hangupcall'
[2014-01-31 21:28:09] VERBOSE[16573] features.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'Local/fax_number@from-internal-00000006;2'
[2014-01-31 21:28:09] VERBOSE[16573] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'Local/fax_number@from-internal-00000006;2' in macro 'dialout-trunk'
[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: == Spawn extension (from-internal, fax_number, 5) exited non-zero on 'Local/fax_number@from-internal-00000006;2'
[2014-01-31 21:28:44] VERBOSE[16572] pbx.c: == Spawn extension (from-fax, fax_number, 1) exited non-zero on 'IAX2/iax-fax2-1179'
[2014-01-31 21:28:44] VERBOSE[16572] chan_iax2.c: -- Hungup 'IAX2/iax-fax2-1179'
 
Joined
May 23, 2013
Messages
223
Reaction score
28
- Voip provider codecs : g729 then g711
- Sip settings : g729, then ulaw
- Trunk settings : allow=g729&ulaw

test again,

- from asterisk logfiles :
2014-01-31 21:28:08] WARNING[16573] chan_sip.c: Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw[2014-01-31 21:28:08] WARNING[16573] chan_sip.c: Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw[2014-01-31 21:28:08] WARNING[16573] chan_sip.c: Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw[2014-01-31 21:28:08] WARNING[16573] chan_sip.c: Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: -- Executing [h@macro-dialout-trunk:1] Macro("Local/fax_number@from-internal-00000006;2", "hangupcall,") in new stack
[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("Local/fax_number@from-internal-00000006;2", "1?theend") in new stack
[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: -- Goto (macro-hangupcall,s,3)
[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: -- Executing [s@macro-hangupcall:3] ExecIf("Local/fax_number@from-internal-00000006;2", "0?Set(CDR(recordingfile)=)") in new stack
[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: -- Executing [s@macro-hangupcall:4] Hangup("Local/fax_number@from-internal-00000006;2", "") in new stack
[2014-01-31 21:28:09] VERBOSE[16573] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/fax_number@from-internal-00000006;2' in macro 'hangupcall'
[2014-01-31 21:28:09] VERBOSE[16573] features.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'Local/fax_number@from-internal-00000006;2'
[2014-01-31 21:28:09] VERBOSE[16573] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'Local/fax_number@from-internal-00000006;2' in macro 'dialout-trunk'
[2014-01-31 21:28:09] VERBOSE[16573] pbx.c: == Spawn extension (from-internal, fax_number, 5) exited non-zero on 'Local/fax_number@from-internal-00000006;2'
[2014-01-31 21:28:44] VERBOSE[16572] pbx.c: == Spawn extension (from-fax, fax_number, 1) exited non-zero on 'IAX2/iax-fax2-1179'
[2014-01-31 21:28:44] VERBOSE[16572] chan_iax2.c: -- Hungup 'IAX2/iax-fax2-1179'

Okay so make ulaw first in all three and try it, it has to be ulaw is what the provider is asking for though with both enabled not sure why it wouldn't offer and accept ulaw. What are your sanitized trunk settings?
 

kdaffef02

Member
Joined
Apr 29, 2011
Messages
114
Reaction score
8
- while testing (ulaw first), here are trunk settings :

username=xxxxxxxxxx
type=peer
secret=password
restrictcid=no
qualify=yes
nat=yes
insecure=very
host=sip.ovh.fr
fromuser=xxxxxxxxxx
fromdomain=sip.ovh.fr
dtmfmode=rfc2833
context=from-trunk
canreinvite=no
amaflags=default
disallow=all
allow=ulaw&g729
 

kdaffef02

Member
Joined
Apr 29, 2011
Messages
114
Reaction score
8
Sorry, for my stupidity but no better result. Avantfax said : requeued No carrier detected
- Asterisk log :
....
[2014-01-31 22:02:25] VERBOSE[17905] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/real-fax-number@from-internal-00000007;2' in macro 'hangupcall'
[2014-01-31 22:02:25] VERBOSE[17905] features.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'Local/real-fax-number@from-internal-00000007;2'
[2014-01-31 22:02:25] VERBOSE[17905] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'Local/real-fax-number@from-internal-00000007;2' in macro 'dialout-trunk'
[2014-01-31 22:02:25] VERBOSE[17905] pbx.c: == Spawn extension (from-internal, real-fax-number, 5) exited non-zero on 'Local/real-fax-number@from-internal-00000007;2'
[2014-01-31 22:02:27] WARNING[17904] res_rtp_asterisk.c: RTP Read too short
[2014-01-31 22:02:27] VERBOSE[7753] netsock.c: == Using UDPTL TOS bits 184
[2014-01-31 22:02:27] VERBOSE[7753] netsock.c: == Using UDPTL CoS mark 5
[2014-01-31 22:02:28] WARNING[17904] res_rtp_asterisk.c: RTP Read too short
[2014-01-31 22:02:28] WARNING[17904] res_rtp_asterisk.c: RTP Read too short
[2014-01-31 22:02:29] WARNING[17904] res_rtp_asterisk.c: RTP Read too short
[2014-01-31 22:02:29] WARNING[17904] res_rtp_asterisk.c: RTP Read too short
[2014-01-31 22:02:30] WARNING[17904] res_rtp_asterisk.c: RTP Read too short
[2014-01-31 22:02:30] WARNING[17904] res_rtp_asterisk.c: RTP Read too short
[2014-01-31 22:02:30] WARNING[17904] res_rtp_asterisk.c: RTP Read too short
[2014-01-31 22:02:30] WARNING[17904] res_rtp_asterisk.c: RTP Read too short
[2014-01-31 22:02:31] WARNING[17904] res_rtp_asterisk.c: RTP Read too short
[2014-01-31 22:03:03] VERBOSE[17904] pbx.c: == Spawn extension (from-fax, real-fax-number, 1) exited non-zero on 'IAX2/iax-fax1-2271'
[2014-01-31 22:03:03] VERBOSE[17904] chan_iax2.c: -- Hungup 'IAX2/iax-fax1-2271'
...
 
Joined
May 23, 2013
Messages
223
Reaction score
28
I am totally stumped on this, it shows using UDPTL and then you get the RTP Read Too Short yet nothing seems to be helping. Hopefully someone else will have an idea because I am at a loss for anything else to look at.
 

kdaffef02

Member
Joined
Apr 29, 2011
Messages
114
Reaction score
8
I am totally stumped on this, it shows using UDPTL and then you get the RTP Read Too Short yet nothing seems to be helping. Hopefully someone else will have an idea because I am at a loss for anything else to look at.
Hi, chris
If I have to reinstall piaf, have you special recommendations to get this working?
 

kdaffef02

Member
Joined
Apr 29, 2011
Messages
114
Reaction score
8
Any expert around?. Well, forget that is the week end...
But, always can not get incredible fax2 sending with many piaf flavours. the same errors as usual :everything seems fine (configuration above) and no luck or so stupid?
I mean using piaf 12 hrs/day and it's simply fantastic, but it's the only hard to diagnose the fax problems.... Will continue trying and googling to get it On.... But with a little help it could faster

Regards
 

kwimberl

New Member
Joined
Aug 27, 2008
Messages
26
Reaction score
2
Ok I played a bit more with the firewall and I have it now working with passive mode.

On the client, no firewall adjustments are necessary.

On the server there are two things required (This probably ONLY works on Centos 6 and higher).

1) nano /etc/modprobe.d/nf_conntrack_ftp.conf

options nf_conntrack_ftp ports=21,4559

save.

2) nano /etc/sysconfig/iptables-config

IPTABLES_MODULES="" becomes: IPTABLES_MODULES="nf_conntrack_ftp"

save.

3) nano /etc/sysconfig/iptables

add:

-A INPUT -p tcp -m tcp --dport 4559 -j ACCEPT


Now you can set the clients to passive, and no firewall configuration is necessary on the client.

Of course this way you don't need to open a bunch of tcp ports to your lan clients, just the 4459 port AND this will allow you also to provide faxing to remote clients, just by forwarding port 4559 from your router to your pbx :)

This seems to work assuming the pbx is on an external IP. However, when the PBX is behind a NAT, it does not work because of the local IP given. Any idea how to configure hylafax with an "external IP" for that? It is a simple config option in proftpd or vsftpd, but I am not sure where to fix it in hylafax...
 

MacNix

Guru
Joined
Jun 21, 2011
Messages
198
Reaction score
31
Slightly lost here on incrediblefax...

I'm running on a RentPBX box, installed Piaf then installed Incrediblefax. Installation was pretty straight-forward - just ssh'd in, went to pbx-menu, scrolled down, and installed IncredibleFax2... After it finished I did 'amportal - restart', and then went to GUI.

1. After configuring the "Settings>Fax Configuration" page (and assigning an inbound route to listen for faxes and send to the Feature Code>Dial System FAX) I'm able to receive faxes just fine, as .PDF files in emails. really spiffy to be able to use another "backend" DID (unplublished) as a dedicated fax line, and have it arrive as a PDF file instead of shaving trees every time I get a spam fax.

2. BUT HOW do I send? Or more importantly why Can't I send?
The receive is working, but there's NO Avantfax url (ipaddress/avantfax), there's no Avantfax (or other fax) button on the "admin" login page, and I can't seem to find a way to send faxes.

I went into the Admin tab, to Menu Configs, and added AvantFax to the user portal (BTW, it doesn't show up in the admin folder), but it's still not showing up in either.

I've also rebooted the whole server as well, hoping that was it. now am a bit lost....


Is the ONLY way to use this via the PBX portal (which I can't seem to access anyway)? I don't really want to have something that 'nerdy' for the client base.

My hope is to provide easy-to-use outbound faxing for some clients.
In a PERFECT world, they'd be able to send an email to an address (a la myfax.com), with an attachment (pdf, jpg, .doc, etc), and it would send the attachment as a fax... Is there a way to pull this off?
 

MacNix

Guru
Joined
Jun 21, 2011
Messages
198
Reaction score
31
After installing IncredibleFax and configuring, I'm able to receive faxes. But the GUI tab isn't showing up. not sure I can configure anything for outbound without it(?).

Is there a way to get this tab to show, so can then try to use client apps with it?
 

MacNix

Guru
Joined
Jun 21, 2011
Messages
198
Reaction score
31
So I'm trying to reinstall this on a test server, but running across a glitch..
went to /root, found the 'incrediblefax.sh' and ran it..

during the process, it comes to this....

You must install and configure HylaFAX first
--2014-09-03 11:52:57-- http://projects.colsolgrp.net/attachments/download/338/ico_fax.png
Resolving projects.colsolgrp.net... 68.15.15.184
Connecting to projects.colsolgrp.net|68.15.15.184|:80... failed: Connection timed out.
Retrying.

it seems to hang during this process..


any ideas??
 

MacNix

Guru
Joined
Jun 21, 2011
Messages
198
Reaction score
31
If one has installed IncredibleFax but the GUI tab isn't avialble (won't show up even when activated in Admin side), does this mean the install went wrong?
 

MacNix

Guru
Joined
Jun 21, 2011
Messages
198
Reaction score
31
So I'm trying to reinstall this on a test server, but running across a glitch..
went to /root, found the 'incrediblefax.sh' and ran it..

during the process, it comes to this....

You must install and configure HylaFAX first
--2014-09-03 11:52:57-- http://projects.colsolgrp.net/attachments/download/338/ico_fax.png
Resolving projects.colsolgrp.net... 68.15.15.184
Connecting to projects.colsolgrp.net|68.15.15.184|:80... failed: Connection timed out.
Retrying.

it seems to hang during this process..
any ideas??


Obviously, projects.colsolgrp.net is not available/responding/etc.
The issue is that this is called in incrediblefax.sh

Is there a way to bypass this and continue, or is this a lost cause?

or should I wget a different installer from somewhere?? if so, where?
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
AFAIK that's an ancient iteration of IncredFax. What you're looking for I think is incrediblefax11.sh. I can't find a good link to it though. wardmundy
 

MacNix

Guru
Joined
Jun 21, 2011
Messages
198
Reaction score
31
AFAIK that's an ancient iteration of IncredFax. What you're looking for I think is incrediblefax11.sh. I can't find a good link to it though. wardmundy

thx.

yes, I dug around and found it, after a while. Actually, there's a corrected script that I found on that page - contains the proper parts.

It's a bit frustrating to get inaccurate/out-of-date information because of the method of date-coding (both on this site and on nerdvittles).. Because the sites bury dates much further down the page, Google doesn't see a date posting. So a search may well return a 3 or 4 year old WAY above a much newer posting. And because there a gazillion postings/blogs without relevant version data, it can be pretty damn near impossible to know which is which, for the uninitiated.

I hate griping, especially about a free product.. But more, I hate asking questions when it seems that an answer isn't available, then finding out that I've wasted others' time because something as simple as proper dating of posts & blogs would've utterly eliminated the issue..

Has anybody put together a pdf showing proper versions / compatible versions of this stuff? If not, how much time would that take?? I'd be happy to do it, if there's a repository where it could be kept and made available, so as to save people hassle and prevent unnecessary questions being posted....
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
There's a list of Nerd Vittles tutorials in chronological order (newest to oldest) at the end of each Nerd Vittles article. If you search for a keyword there (Ctrl-F), you will always hit the most current stuff. Another suggestion is to use Google and include => site:nerdvittles.com in the search. That yields amazing results usually (but not always). Finally, every Nerd Vittles article about Incredible PBX also includes a current list of all applications. Most apps have hotlinks to where you can find additional information.

Yes, a PDF would be nice. The question is whether it's worth dropping everything to spend several weeks putting it together properly. And then somebody has to keep it up to date.

FYI: Latest version of Incredible Fax for CentOS with PIAF-Green/Asterisk 11 is incrediblefax11.tar.gz on http://incrediblepbx.com:

Incredible Fax 11 with HylaFax and AvantFax install steps:
Code:
cd /root
wget http://incrediblepbx.com/incrediblefax11.tar.gz
tar zxvf incrediblefax11.tar.gz
./incrediblefax11.sh

Enter your email address to receive faxes. Accept all of the defaults throughout the install. Reboot. Login to AvantFax with your browser at http://ipaddress/avantfax. Username is admin. Password is password. Change the password.

If access fails, run /root/avantfax-pw-change to change your password.

Latest version of Incredible Fax for Ubuntu/Debian is a work in progress, but it works great with Incredible PBX for Ubuntu and Incredible PBX for CuBox. The thread is in the Developer's Forum here.
 

MacNix

Guru
Joined
Jun 21, 2011
Messages
198
Reaction score
31
Ward,

Thx for the options.

You kinda made my point - there are at least 4 or 5 different (and often conflicting) places to find info, but no single "definitive" point of info (other than to query you or Tom of course, which is the whole point we're trying to avoid in the first place)..

Google returns tons of nerdvittles, but often date stamps aren't there, so if one pulls up a particular vittle, the process to find a date of publication includes scrolling throughout the blog, sometimes to the bottom, sometimes to the comments section, etc, then one is left to deduce what era it is relevant to, whether it fits a particular flavor or not.

By comparison, if one hits Wikipedia, one can pull up Asterisk and find the current and recent versions.
If one hits Wikipedia for Mac OS X, one can find a chart showing 1/2 dozen versions, dates, compatibility, etc..

A PDF would be a start.. a wikipedia page would be pretty simple to crowd-source the maintenance of, and could help resolve a lot of questions...

I'm not suggesting YOU do it.. I'm just suggesting that a method of disseminating versions and compatibility issues be developed which reduce redundancy and save time. hell, I'd be happy to help, IF I could find a definitive place to start!

For example, this particular box (piaf 2.9) - is it compatible with Ifax11? How would I know? How could I find out? Where would I go? I've read all your articles on Ifax2, 11, etc, and seem to have missed whether or not it's compatible. Furthermore, as I've installed Ipbx, is it even possible to upgrade to ipbx11 or ifax11? (i'm not asking, just making a point - the info seems to be scattered far and wide, resulting in confusion... I hates confusion.

There's a list of Nerd Vittles tutorials in chronological order (newest to oldest) at the end of each Nerd Vittles article. If you search for a keyword there (Ctrl-F), you will always hit the most current stuff. Another suggestion is to use Google and include => site:nerdvittles.com in the search. That yields amazing results usually (but not always). Finally, every Nerd Vittles article about Incredible PBX also includes a current list of all applications. Most apps have hotlinks to where you can find additional information.

Yes, a PDF would be nice. The question is whether it's worth dropping everything to spend several weeks putting it together properly. And then somebody has to keep it up to date.

FYI: Latest version of Incredible Fax for CentOS with PIAF-Green/Asterisk 11 is incrediblefax11.sh on http://incrediblepbx.com.

Latest version of Incredible Fax for Ubuntu/Debian is a work in progress, but it works great with Incredible PBX for Ubuntu and Incredible PBX for CuBox. The thread is in the Developer's Forum here.
 

Members online

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
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