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. [r...@pbxserver ~]# rasterisk Asterisk 1.6.1.20, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <[email protected]> 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 [r...@pbxserver ~]# /etc/init.d/hylafax stop Shutting down HylaFAX queue manager (faxq): [ OK ] Shutting down HylaFAX server (hfaxd): [ OK ] [r...@pbxserver ~]# /etc/init.d/asterisk stop Stopping safe_asterisk: [ OK ] Shutting down asterisk: [ OK ] [r...@pbxserver ~]# /etc/init.d/iaxmodem stop [r...@pbxserver ~]# /etc/init.d/asterisk start Starting asterisk: [ OK ] [r...@pbxserver ~]# /etc/init.d/iaxmodem start Starting IAXmodem: [ OK ] [r...@pbxserver ~]# /etc/init.d/hylafax start Starting HylaFAX queue manager (faxq): [ OK ] Starting HylaFAX server (hfaxd): [ OK ] Restarting HylaFAX modem manager (faxgetty): [ OK ] [r...@pbxserver ~]# rasterisk Asterisk 1.6.1.20, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <[email protected]> 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> -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
