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] FAXGETTY device path within a Solaris Zone



Hi Lee,

Thank you for the response, I have tried to startup faxgetty using the
full path to the link iaxmodem creates, but HylaFAX+ (5.1.8) is still
inserting the /dev part in front of the device path.

Here is what I am trying to do:

[1] Startup an iaxmodem and create a device called ttyIAX000

ttyIAX000 config file looks like this:

-------------------------------------
root@host # cat /etc/iaxmodem/ttyIAX000
device          /etc/iaxmodem/devices/ttyIAX000
owner           uucp:uucp
mode            660
port            4570
refresh         300
server          127.0.0.1
peername        iaxmodem
secret          password
cidname         John Doe
cidnumber       8005551212
codec           slinear
-------------------------------------

iaxmodem starts up as follows (asterisk wasnt running at the time so the
registration times out, I dont think that is the immediate issue though)

-------------------------------------
./iaxmodem ttyIAX000
[2007-09-25 22:30:50] Modem started
[2007-09-25 22:30:50] Setting device = '/etc/iaxmodem/devices/ttyIAX000'
[2007-09-25 22:30:50] Setting owner = 'uucp:uucp'
[2007-09-25 22:30:50] Setting mode = '660'
[2007-09-25 22:30:50] Setting port = 4570
[2007-09-25 22:30:50] Setting refresh = 300
[2007-09-25 22:30:50] Setting server = '127.0.0.1'
[2007-09-25 22:30:50] Setting peername = 'iaxmodem'
[2007-09-25 22:30:50] Setting secret = 'password'
[2007-09-25 22:30:50] Setting cidname = 'John Doe'
[2007-09-25 22:30:50] Setting cidnumber = '8005551212'
[2007-09-25 22:30:50] Setting codec = slinear
[2007-09-25 22:30:50] Opened pty, slave device: /dev/pts/14
[2007-09-25 22:30:50] Created /etc/iaxmodem/devices/ttyIAX000 symbolic link
[2007-09-25 22:31:23] Registration timed out.
-------------------------------------

I then try to fire up faxgetty using the link created by iaxmodem

-------------------------------------
./faxgetty /etc/iaxmodem/devices/ttyIAX000
-------------------------------------

The command eventually kicks back to the command prompt and I am emailed
the following email

------------------------------------------------

The HylaFAX software thinks that there is a problem with the modem
on device /dev//etc/iaxmodem/devices/ttyIAX000 that needs attention; repeated attempts to
initialize the modem have failed.

Consult the server trace logs for more information on what is happening.

You will be notified again after 5 minutes if the problem persists.

------------------------------------------------

Have I understood you correctly with regards the device path for
faxgetty? It looks like it still puts /dev in front of the device you
specify on the commandline.

Any comments/suggestions are greatly appreciated.

Thanks
Bruce


Lee Howard wrote:
> Bruce McAlister wrote:
>
>> Is it possible to tell faxgetty to use a device that does not live in
>> /dev,
>>
>
> Yes.  When you invoke faxgetty use the full path including the initial
> "/":
>
>  faxgetty /hylafax/install/dir/var/spool/dev/ttyIAX
>
>> or, even better, to let it search
>> /hylafax/install/dir/var/spool/dev for it's modem device?
>>  
>>
>
> For this you would need to change the _PATH_DEV define.  I've never
> done it, and I don't know what other consequences it may have, but it
> looks like you can put a "paths.h" file in your source directory
> before building that says one line something like:
>
> #define _PATH_DEV /hylafax/install/dir/var/spool/dev
>
> And then ./configure, gmake, and gmake install... and I think that
> would do that trick.
>
> Thanks,
>
> Lee.
>
>
begin:vcard
fn:Bruce McAlister
n:McAlister;Bruce
org:Blueface Ltd
adr:;;8 Clanwilliam Terrace;Dublin;Dublin;Dublin 2;Ireland
email;internet:bruce.mcalister@xxxxxxxxxxx
tel;work:+353 1 524 2009
x-mozilla-html:FALSE
url:http://www.blueface.ie
version:2.1
end:vcard




Project hosted by iFAX Solutions