HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] "Protocol error layer 1: Mostly your ISDN cable is not inserted."



Am 2005.07.18 11:52 schrieb(en) Daniel Siechniewicz:

-rw-r--r-- 1 root root 607 2005-07-07 12:05 /var/spool/hylafax/etc/config lrwxrwxrwx 1 root root 14 2005-05-17 13:53 /var/spool/hylafax/etc/config.c2fax -> config.faxCAPI -rw-r--r-- 1 root root 1906 2005-07-07 09:57 /var/spool/hylafax/etc/config.faxCAPI lrwxrwxrwx 1 uucp uucp 37 2005-05-18 09:02 /var/spool/hylafax/etc/config.faxCAPI31 -> /var/spool/hylafax/etc/config.faxCAPI lrwxrwxrwx 1 uucp uucp 37 2005-05-18 09:02 /var/spool/hylafax/etc/config.faxCAPI32 -> /var/spool/hylafax/etc/config.faxCAPI lrwxrwxrwx 1 uucp uucp 37 2005-05-18 09:02 /var/spool/hylafax/etc/config.faxCAPI41 -> /var/spool/hylafax/etc/config.faxCAPI lrwxrwxrwx 1 uucp uucp 37 2005-05-18 09:02 /var/spool/hylafax/etc/config.faxCAPI42 -> /var/spool/hylafax/etc/config.faxCAPI

Hello Daniel,


with these files Hylafax may think it has these devices: c2fax, faxCAPI, faxCAPI31, faxCAPI32, faxCAPI41, faxCAPI42.

Why do you have the link config.c2fax?

These are the options that I might alter, but I don't think that would help:

# Controller 3, B-Channel 1
HylafaxDeviceName: faxCAPI31

OutgoingController: 3

Controller: 3

You could try to change one of the faxCAPI* entries to faxCAPI and remove the link that corresponds to the old name, e.g. change "HylafaxDeviceName: faxCAPI31" to "HylafaxDeviceName: faxCAPI" and remove config.faxCAPI31.


Maybe you have to change something in /etc/init.d/hylafax. On my Debian system it contains this function to get all device names:

echo_fax_devices()
{
for device in config.*
do
   if [ "$device" != 'config.*' ]
   then
      dev=${device##config.}
      # the next line is a patch included in #283111 for
      # handling devfs file names.
      dev=$(echo "$dev"|sed 's,_,/,')
      if [ \( -f "$device" -a -e /dev/$dev \) -o \
           \( "$dev" = faxCAPI -a -e /dev/capi20 \) ]
      then
         echo "$dev"
      fi
   fi
done
}

This would have to be changed to allow config.faxCAPI31 etc.
You may have a different script but it probably has some code to find all devices and to call faxmodem for every device.



Bodo


____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions