I tried using install-fax and add-fax-extension to set up HylaFAX on a new RasPBX install. I had setup the system as IPv4 only, no IPv6, and apparently the script did not take that into account. When I tried to call the fax extension I got an error message and when I ran "iax2 show peers" from the CLI I realized it was trying to connect to an IPv6 address. I figured out that in several places in the various configuration and setup files the word "localhost" appears, and for some reason even though IPv6 is supposedly disabled, localhost resolved to an IPv6 address. But going through the extension and HylaFAX config files and changing every occurrence of "localhost" I could find to 127.0.0.1, at least now I get the fax tones when I call the FAX extension. I haven't yet figured out how to send an outgoing FAX (I had thought that some kind of interface would be installed, but if so I can't seem to find it) so I don't know if that works or not.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried using install-fax and add-fax-extension to set up HylaFAX on a new RasPBX install. I had setup the system as IPv4 only, no IPv6, and apparently the script did not take that into account. When I tried to call the fax extension I got an error message and when I ran "iax2 show peers" from the CLI I realized it was trying to connect to an IPv6 address. I figured out that in several places in the various configuration and setup files the word "localhost" appears, and for some reason even though IPv6 is supposedly disabled, localhost resolved to an IPv6 address. But going through the extension and HylaFAX config files and changing every occurrence of "localhost" I could find to 127.0.0.1, at least now I get the fax tones when I call the FAX extension. I haven't yet figured out how to send an outgoing FAX (I had thought that some kind of interface would be installed, but if so I can't seem to find it) so I don't know if that works or not.