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
On Fri, 2005-06-03 at 16:49 +0200, Branko Markovic wrote:
> We we started solving this problem, I said that my modem perfectly
> works with vgetty only. AT+FCLASS=8 returns OK, and, AT+FCLASS=? returns
> 0,1,8. It supports voice. I will try to solve the problem by myself,
> but, if you can help me, I will be very happy. The secont thing is that
> this is Serbia and Montenegro, where can I get Multitech modem
> here. :)))))
>
> On Fri, 2005-06-03 at 09:40 -0400, George Bell wrote:
> > On Fri, 2005-06-03 at 08:26 +0200, Branko Markovic wrote:
> > > 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
> > >
> >
OK... There are some differences between the ROCKWELL modem and MT
which are causing the perl script to fail. It appears that your
ROCKWELL doesn't support "DIALUP_WITH_INTERNAL_SPEAKER" like the MT
does. At least for the moment just to get it working, try commenting
out the line in egetty.pl that reads :$v->device
('DIALUP_WITH_INT_SPEAKER'). This will just prevent you from hearing
the caller's voice. However, this probably won't prevent the nested
command error, which occurs earlier. I can't tell what's causing the
problem since the log doesn't specify what command is causing the error.
Make sure you have voice_log_level at 6 in voice.conf and post the log
again.
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*