SOLVED iaxmodem Waiting... Forever

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Finally tracked down the gremlin that was causing the IAXmodems to never leave Waiting state. This has been fixed in the latest Incredible Fax 11 download for CentOS/Scientific Linux. The correct display for a working system is shown below.

If you have previously attempted to install and see the problem when you access http://youripaddress/avantfax, issue the following commands to fix it:
Code:
sed -i '/exit 0/d' /etc/rc.local
echo "exit 0" >> /etc/rc.local
reboot

B0AhmyYCMAAj6Nq.jpg:large


If you look in /etc/rc.local, you will note that the correct commands were included to start the modems. Unfortunately, the exit 0 line preceded them so they never got executed.
Code:
/usr/sbin/faxgetty -D ttyIAX0
/usr/sbin/faxgetty -D ttyIAX1
/usr/sbin/faxgetty -D ttyIAX2
/usr/sbin/faxgetty -D ttyIAX3

DEFAULT CREDENTIALS: On the CentOS platform, the default username is maint and the password is password. You then will be prompted to change the password.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Incredible Fax 11 with HylaFax and AvantFax update. Try this for CentOS servers:
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.
 

strabuzano

New Member
Joined
Jun 3, 2009
Messages
6
Reaction score
0
I've run the following commands :

sed -i '/exit 0/d' /etc/rc.local
echo "exit 0" >> /etc/rc.local
reboot

and still getting iaxmodem waiting.
lqqqqqqqqqqqqqqqqqqqqqqqqSYSTEM INFORMATIONqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Asterisk = ONLINE | Dahdi = ONLINE | MySQL = ONLINE x
x SSH = ONLINE | Apache = ONLINE | Iptables = ONLINE x
x Fail2ban = ONLINE | Internet = ONLINE | Ip6Tables = ONLINE x
x Disk Free = ADEQUATE| Mem Free = ADEQUATE| NTPD = ONLINE x
x SendMail = ONLINE | Samba = OFFLINE | Webmin = ONLINE x
x Ethernet0 = ONLINE | Ethernet1 = N/A | Wlan0 = N/A x
x x
x PIAF Installed Version = 2.0.6.5 under *HARDWARE* x
x FreePBX Version = 2.11.0.43 x
x 2.11 x
x Running Asterisk Version = 11.7.0 x
x Asterisk Source Version = 11.7.0 x
x Dahdi Source Version = 2.8.0.1 x
x Libpri Source Version = 1.4.14 x
x IP Address = XXXXXXXXXXXX on eth0 x
x Operating System = CentOS release 6.5 (Final) x
x Kernel Version = 2.6.32-431.1.2.0.1.el6.i686 - 32 Bit x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Any change this has anything to do with the "pycurl error 22 - the requested url returned error 404" I kept getting when running the script ?

Thanks for any advice.
 

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