[asterisk-users] Issues running Asterisk + Iaxmodem + Hylafax on same machine

Andrew Joakimsen joakimsen at gmail.com
Mon Jun 14 02:10:01 CDT 2010


I'm running into a strange issue with Asterisk + Iaxmodem + hylafax on
the same machine. After rebooting the iaxmodems don't register to
asterisk. Stoping and starting the relevant services gets it working,
but what is the point of using init scripts if it does not work right?
I already tried to adjust the init scripts in /etc/rc3.d so I have:

S50asterisk
s90iaxmodem
S95hylafax

So it should be starting in the correct order. I've previously done
this so Asterisk is on one server and IAXmodem and Hylafax on another,
I am stumped.


[root at pbxserver ~]# rasterisk
Asterisk 1.6.1.20, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty'
for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.1.20 currently running on pbxserver (pid = 2218)
Verbosity is at least 3
pbxserver*CLI> iax2 show pee
peer   peers
pbxserver*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
ttyIAX0          (Unspecified)   (D)  255.255.255.255  0         (E) UNKNOWN
ttyIAX1          (Unspecified)   (D)  255.255.255.255  0         (E) UNKNOWN
ttyIAX2          (Unspecified)   (D)  255.255.255.255  0         (E) Unmonitored
ttyIAX3          (Unspecified)   (D)  255.255.255.255  0         (E) Unmonitored
4 iax2 peers [0 online, 2 offline, 2 unmonitored]
pbxserver*CLI> exit
[root at pbxserver ~]# /etc/init.d/hylafax stop
Shutting down HylaFAX queue manager (faxq):                [  OK  ]
Shutting down HylaFAX server (hfaxd):                      [  OK  ]
[root at pbxserver ~]# /etc/init.d/asterisk stop
Stopping safe_asterisk:                                    [  OK  ]
Shutting down asterisk:                                    [  OK  ]
[root at pbxserver ~]# /etc/init.d/iaxmodem stop
[root at pbxserver ~]# /etc/init.d/asterisk start
Starting asterisk:                                         [  OK  ]
[root at pbxserver ~]# /etc/init.d/iaxmodem start
Starting IAXmodem:                                         [  OK  ]
[root at pbxserver ~]# /etc/init.d/hylafax start
Starting HylaFAX queue manager (faxq):                     [  OK  ]
Starting HylaFAX server (hfaxd):                           [  OK  ]
Restarting HylaFAX modem manager (faxgetty):               [  OK  ]
[root at pbxserver ~]# rasterisk
Asterisk 1.6.1.20, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty'
for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.1.20 currently running on pbxserver (pid = 4175)
Verbosity is at least 3
pbxserver*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
ttyIAX0          192.168.3.28    (D)  255.255.255.255  4570      (E) OK (1 ms)
ttyIAX1          192.168.3.28    (D)  255.255.255.255  56869     (E) OK (1 ms)
ttyIAX2          192.168.3.28    (D)  255.255.255.255  38332     (E) Unmonitored
ttyIAX3          192.168.3.28    (D)  255.255.255.255  56565     (E) Unmonitored
4 iax2 peers [2 online, 0 offline, 2 unmonitored]
pbxserver*CLI>



More information about the asterisk-users mailing list