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] Hylafax and egetty



	Thanx George,
but egetty.pl won't answer the line again. The thing that you sent me as
reply solved the problem with locking modem. I didn't
put /usr/local/bin/vm in PATHEGETTY. Symlink solved the problem. Anyway,
the line is not aswering. Here is log of /var/log/vm.log:

06/03 08:02:40  reading program vm configuration from config
file /usr/local/etc
/mgetty+sendfax/voice.conf
06/03 08:02:40  opening voice modem device
06/03 08:02:40  we *have* the line!
06/03 08:02:40  opened voice modem device /dev/ttySL0
06/03 08:02:40  reading port ttySL0 configuration from config
file /usr/local/et
c/mgetty+sendfax/voice.conf
06/03 08:02:40  detecting voice modem type
06/03 08:02:42  Rockwell detected
06/03 08:02:42  initializing ROCKWELL voice modem
06/03 08:02:44  vm: Executing shell script /bin/egetty.pl with
shell /usr/local/bin/perl
--- This line below is strange to me. Do you maybe know what's this?
06/03 08:02:46  vm: Nested command in shell script
--- The welcome.rmd message should be played after answering, but...
06/03 08:02:46  playing voice file /var/spool/voice/messages/welcome.rmd
---
06/03 08:03:34  vm: timeout while reading character from voice modem
06/03 08:03:34  vm: start_play_file command failed
06/03 08:03:34  Rockwell: Unknown output device (9)
06/03 08:03:34  vm: Modem returned ERROR
06/03 08:03:34  recording voice file /var/spool/voice/incoming/temp.rmd
06/03 08:03:46  vm: timeout while reading character from voice modem

I will try something, to solve this. If you know, what's the problem,
answer me... 

Thank you.

Branko

On Thu, 2005-06-02 at 12:56 -0400, George Bell wrote:
> On Thu, 2005-06-02 at 16:11 +0200, Branko Markovic wrote:
> > On Thu, 2005-06-02 at 08:49 -0400, George Bell wrote:
> > > On Thu, 2005-06-02 at 08:59 +0200, Branko Markovic wrote:
> > > > 	Hello,
> > > > 
> > > > 	I have one problem. On http://wiki.ifax.com/tiki-index.php?page=Setup
> > > > +with+Vgetty+and+Distinctive+Ring I found an How-To where you can setup
> > > > hylafax with an extern getty so you can add voice compatibility to
> > > > hylafax. One part of that article says "Here the 'egetty' program
> > > > consists of vm, installed and configured as for distinctive ring calls,
> > > > and a perl script front-end included in this tar file as 'egetty.pl'". I
> > > > installed and configured vm for distinctive ring calls, I found
> > > > egetty.pl script, and, if I understood so well, made simple program to
> > > > call vm with parameters specified in config.ttySL0 file (according to
> > > > howto, it is EGettyArgs "shell /bin/egetty.pl %a %u"). Now, I have the
> > > > following problem. When I call my modem, faxgetty Locks modem
> > > > LCK..ttySL0, and call egetty, and then, in vm.log i get this:
> > > > 
> > > > 06/01 12:51:51  opening voice modem device
> > > > 06/01 12:51:51  lock not made: lock file exists (pid=16793)
> > > > 06/01 12:51:56  opening voice modem device
> > > > 06/01 12:51:56  lock not made: lock file exists (pid=16793)
> > > > 06/01 12:52:01  opening voice modem device
> > > > 06/01 12:52:01  lock not made: lock file exists (pid=16793)
> > > > 
> > > I don't understand this, as the child process (vm shell egetty.pl) is
> > > supposed to inherit the lock file from the parent (faxgetty).  Check the
> > > pid of the lock file against the pid of the egetty.  What system/distro 
> > > are you trying to set this up on? I've never seen a ttySL0 before.
> > > Could there be a stale lock file left over from another process, such as
> > > minicom? 
> > > 
> > > George
> > > 
> > > 
> > > 
> > > ____________________ 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*
> > 	
> > 	I think that I found a problem. The only thing that I need now, is what
> > should I put into egetty, since the file doesn't exist. I suppose that I
> > should call egetty.pl from egetty with vm shell egetty.pl, but, maybe I
> > am wrong. Something like:
> > 
> > #!/bin/bash
> > 
> > vm $1 $2
> > 
> 
> That is wrong.  The path of the egetty program hylafax uses to hand off
> to is already determined during the fax setup and can be found in
> {Hylafax root}/etc/setup.cache on a line "PATHEGETTY='/usr/bin/vm'" (for
> example).  If you have something else such as "PATHEGETTY=/sbin/egetty"
> then a symlink to vm would do.  With a line in config.ttyxx such as
> "EGETTYArgs:	"shell /bin/egetty.pl %a %u" and the perl egetty front end
> script egetty.pl installed in /bin hylafax will hand off to vm
> as follows:  "/usr/bin/vm shell /bin/egetty.pl cidname cidnumber". 
> It is unnecessary to write a bash script.
> 
> George
> 
> 
> 
> ____________________ 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*
-- 
---------------
Branko Markovic
bramar@xxxxxxxx
ICQ#: 132044291



____________________ 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