What software is available in SuSe 9.0 Professional to enable my system to act as a 'Phone Answering Machine'? Thanks in advance for your assistance. Des Aubery... (adTherm Technology - www.adtherm.com - info@adtherm.com) -- Best regards, Des Aubery... (The Home of Virtual Thermal Engineering) (adTherm Technology - www.adtherm.com - des@adtherm.com)
On Fri 26 December 2003 12:26, Des Aubery wrote:
What software is available in SuSe 9.0 Professional to enable my system to act as a 'Phone Answering Machine'?
In ISDN: vbox and vboxgetty KdeAm for the front end (in KDE). -- GPG fingerprint = 3D45 5509 D380 26A4 523E A9D8 A66A 5F38 CA43 BB0E
Would it be possible to have my 'modem' answer the phone & capture a message? I do not have ISDN. Thanks, Des Aubery... (adTherm Technology - www.adtherm.com - des@adtherm.com) On Fri, 2003-12-26 at 19:19, jalal wrote:
On Fri 26 December 2003 12:26, Des Aubery wrote:
What software is available in SuSe 9.0 Professional to enable my system to act as a 'Phone Answering Machine'?
In ISDN: vbox and vboxgetty
KdeAm for the front end (in KDE).
--
GPG fingerprint = 3D45 5509 D380 26A4 523E A9D8 A66A 5F38 CA43 BB0E
-- Best regards, Des Aubery... (The Home of Virtual Thermal Engineering) (adTherm Technology - www.adtherm.com - des@adtherm.com)
On Fri, Dec 26, 2003 at 06:58:39PM +0700 or thereabouts, Des Aubery wrote:
Would it be possible to have my 'modem' answer the phone & capture a message? I do not have ISDN.
I believe your modem must have the capability of using voice in addition to data.. -- Gary
Thanks... my modem - under Windows - seemed to have the 'voice' facility - or so it said on the box... how would I check that my modem does indeed have this voice feature & that it is accessible under Linux? Regards, Des Aubery... (adTherm Technolgy - www.adtherm.com - des@adtherm.com) On Fri, 2003-12-26 at 19:44, Gary wrote:
On Fri, Dec 26, 2003 at 06:58:39PM +0700 or thereabouts, Des Aubery wrote:
Would it be possible to have my 'modem' answer the phone & capture a message? I do not have ISDN.
I believe your modem must have the capability of using voice in addition to data..
-- Gary -- Best regards,
Des Aubery... (The Home of Virtual Thermal Engineering) (adTherm Technology - www.adtherm.com - des@adtherm.com)
On Fri, Dec 26, 2003 at 07:23:37PM +0700 or thereabouts, Des Aubery wrote:
Thanks... my modem - under Windows - seemed to have the 'voice' facility - or so it said on the box... how would I check that my modem does indeed have this voice feature & that it is accessible under Linux?
Well, first, is your modem accessable under SUSE to begin with? I don't know what version you are running, but v9 is supposed to support winmodems. If it is accessable now, then it will probably work. There is a program that I used years ago, and is still available, mgetty that acts as a fax machine, and also accepts voice calls. You can find mgetty by using Yast2, Install and Remove Software/ and search for mgetty.. If you use SUSE < v9, and you are using a winmodem, you probably will have a great deal of trouble accessing that modem to begin with. So, the first thing is to see if your modem will work. -- Gary
Modem: Aztech 56k external modem (made in Singapore) connected on ttyS0 Regards, Des Aubery... (adTherm Technology - www.adtherm.com - des@adtherm.com) On Fri, 2003-12-26 at 20:10, Gary wrote:
On Fri, Dec 26, 2003 at 07:23:37PM +0700 or thereabouts, Des Aubery wrote:
Thanks... my modem - under Windows - seemed to have the 'voice' facility - or so it said on the box... how would I check that my modem does indeed have this voice feature & that it is accessible under Linux?
Well, first, is your modem accessable under SUSE to begin with? I don't know what version you are running, but v9 is supposed to support winmodems. If it is accessable now, then it will probably work. There is a program that I used years ago, and is still available, mgetty that acts as a fax machine, and also accepts voice calls. You can find mgetty by using Yast2, Install and Remove Software/ and search for mgetty..
If you use SUSE < v9, and you are using a winmodem, you probably will have a great deal of trouble accessing that modem to begin with. So, the first thing is to see if your modem will work.
-- Gary -- Best regards,
Des Aubery... (The Home of Virtual Thermal Engineering) (adTherm Technology - www.adtherm.com - des@adtherm.com)
On Fri, 26 Dec 2003 22:26, Des Aubery wrote:
What software is available in SuSe 9.0 Professional to enable my system to act as a 'Phone Answering Machine'?
Thanks in advance for your assistance.
vgetty which is part of mgetty will do what you want if your modem supports 'voice'. Just install mgetty from the SuSE 9.0 disks and edit the files in /etc/mgetty+sendfax. I have been using this software for a long time (SuSE 6.3 I think) without any problems. If you have any problems I may be able to help, although some modems are better supported than others. I have written a GUI interface for playing and administering the recordings if you are interested. -- Regards, Graham Smith ---------------------------------------------------------
Thanks so much, Graham, I would love to try your GUI interface. Regards, Des Aubery... On Fri, 2003-12-26 at 20:18, Graham Smith wrote:
On Fri, 26 Dec 2003 22:26, Des Aubery wrote:
What software is available in SuSe 9.0 Professional to enable my system to act as a 'Phone Answering Machine'?
Thanks in advance for your assistance.
vgetty which is part of mgetty will do what you want if your modem supports 'voice'.
Just install mgetty from the SuSE 9.0 disks and edit the files in /etc/mgetty+sendfax. I have been using this software for a long time (SuSE 6.3 I think) without any problems.
If you have any problems I may be able to help, although some modems are better supported than others. I have written a GUI interface for playing and administering the recordings if you are interested.
-- Regards,
Graham Smith --------------------------------------------------------- -- Best regards,
Des Aubery... (The Home of Virtual Thermal Engineering) (adTherm Technology - www.adtherm.com - des@adtherm.com)
On Sat, 27 Dec 2003 00:36, Des Aubery wrote:
Thanks so much, Graham, I would love to try your GUI interface.
I'll have to fix up some of the docs I have written for it as I have done a few mods since the doc was originally written. The program is setup around the rockwell chipset, so you may need to do some alterations depending on the chipset of the modem. I suggest you get vgetty working properly first. There is a mailing list which may help. Details are on the home page. http://alpha.greenie.net/mgetty/ (Server appears to be down at the moment) The archives of the mgetty list can be searched here. http://search.alphanet.ch/ -- Regards, Graham Smith ---------------------------------------------------------
Hi Graham, Thanks so much... I'll follow up on the web-sites you listed... Thanks, Des Aubery... (adTherm Technology - www.adtherm.com - des@adtherm.com) (Home of Virtual Thermal Engineering ) On Fri, 2003-12-26 at 23:04, Graham Smith wrote:
On Sat, 27 Dec 2003 00:36, Des Aubery wrote:
Thanks so much, Graham, I would love to try your GUI interface.
I'll have to fix up some of the docs I have written for it as I have done a few mods since the doc was originally written.
The program is setup around the rockwell chipset, so you may need to do some alterations depending on the chipset of the modem.
I suggest you get vgetty working properly first.
There is a mailing list which may help. Details are on the home page. http://alpha.greenie.net/mgetty/ (Server appears to be down at the moment)
The archives of the mgetty list can be searched here. http://search.alphanet.ch/
-- Regards,
Graham Smith --------------------------------------------------------- -- Best regards,
Des Aubery... (The Home of Virtual Thermal Engineering) (adTherm Technology - www.adtherm.com - des@adtherm.com)
I would too thanks On Fri, 2003-12-26 at 08:18, Graham Smith wrote:
On Fri, 26 Dec 2003 22:26, Des Aubery wrote:
What software is available in SuSe 9.0 Professional to enable my system to act as a 'Phone Answering Machine'?
Thanks in advance for your assistance.
vgetty which is part of mgetty will do what you want if your modem supports 'voice'.
Just install mgetty from the SuSE 9.0 disks and edit the files in /etc/mgetty+sendfax. I have been using this software for a long time (SuSE 6.3 I think) without any problems.
If you have any problems I may be able to help, although some modems are better supported than others. I have written a GUI interface for playing and administering the recordings if you are interested.
-- Regards,
Graham Smith ---------------------------------------------------------
-- Hans hans007@prexar.com registered Linux user 289023 "They that can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." -Benjamin Franklin
The Friday 2003-12-26 at 18:26 +0700, Des Aubery wrote:
What software is available in SuSe 9.0 Professional to enable my system to act as a 'Phone Answering Machine'?
I think hylafax has something of that, I read about it on the manual, but never tried. My modem doesn't have that capability, as far as I know. And perhaps ISDN is needed (to digitize the voice). Have a look at: /srv/www/htdocs/hylafax/Modems/ZyXEL/voice.html or /usr/share/doc/packages/hylafax/html/Modems/ZyXEL/voice.html "Voice capability means the modem can digitize the incoming voice message for the computer to store and forward. It also means the modem can playback the recorded digitized voice either off-line for local message listening or on-line for message announcement." Ah, I found it. Use a modem terminal program (like minicom) and issue the command "AT+FCLASS=?". I see: at+fclass=? 0,1,2.0 OK That is the list of permitted modes; these are the definitions: mode = 0 (Default), Data mode. mode = 2, Class 2 Fax mode. mode = 2.0, Class 2.0 Fax mode. mode = 6, ZFax mode. mode = 8, Voice mode. So, mine has not voice capabilities. Some modems have mic/ear jacks. These can be connected to the soundcard, and the two be used as an answering machine. I remember seeing, time ago, software for this in dos and windows, but I'm unsure in Linux. -- Cheers, Carlos Robinson
Friday 26 December 2003 16.59 skrev Carlos E. R.:
The Friday 2003-12-26 at 18:26 +0700, Des Aubery wrote:
What software is available in SuSe 9.0 Professional to enable my system to act as a 'Phone Answering Machine'?
Take a look at http://vocpsystem.com/ it seems to be a very usefull system. Unfortunately I haven't tried is as I haven't got my old modem to work. But I'll be interested in any reports on it. Olle -- War does not determine who is right, war determine who is left. Registered Linux User 61169 http://counter.li.org Magick! Bettie Page! Crossfire! http://www.viksten.com
http://alpha.greenie.net/mgetty/ the vgetty link is down. is there another choice? CWSIV
works for me On Sun, 2004-01-04 at 18:38, Carl William Spitzer IV wrote:
http://alpha.greenie.net/mgetty/
the vgetty link is down. is there another choice?
CWSIV
-- Hans hans007@prexar.com registered Linux user 289023 "They that can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." -Benjamin Franklin
http://www-internal.alphanet.ch/~schaefer/vgetty.html this instructions and examples page is 404 is there another. CWSIV
* Carl William Spitzer IV <cwsiv@myrealbox.com> [01-07-04 22:17]:
http://www-internal.alphanet.ch/~schaefer/vgetty.html this instructions and examples page is 404 is there another.
Goggle/linux is your friend. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org
Here is a CGI script to play messages. -- Paul Alfille On Fri, 2003-12-26 at 06:26, Des Aubery wrote:
What software is available in SuSe 9.0 Professional to enable my system to act as a 'Phone Answering Machine'?
#!/usr/bin/perl -w # FastCGI version use FCGI; my $title = "Voice Mail -- Paul Alfille" ; # constants my @w = ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); my @w3 = ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); my @m = ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); my $VOICEDIR="/var/spool/voice/incoming"; #File List my @Fil ; #File Size my %Siz ; #File Date my %Dat ; #File Name my %Nam ; sub FileList { my $rawname ; my ($dev,$ino,$mod,$nl,$uid,$gid,$rdv,$siz,$atm,$mtm,$ctm,$blk,$bks) ; my ($sec,$min,$hr,$mday,$mon,$yr,$wk,$yt,$idst) ; my $vmgs = 0 ; @Fil = () ; open( DIR , "ls -t1 $VOICEDIR/*.wav 2> /dev/null |" ) ; while (<DIR>) { if ( ! exists $Nam{$_} ) { chomp ; $Nam{$_} = 1 ; ($dev,$ino,$mod,$nl,$uid,$gid,$rdv,$siz,$atm,$mtm,$ctm,$blk,$bks) = stat ; s/\.wav$// ; my $f=(split("/"))[-1] ; ($sec,$min,$hr,$mday,$mon,$yr,$wk,$yt,$idst)=localtime($mtm); $Siz{$f}=$siz ; $yr += 1900 ; $Dat{$f}="$hr:$min\t$w3[$wk] $m[$mon] $mday, $yr"; $Fil[$vmgs++] = $f ; # print "$vmgs $Fil[$vmgs-1] $Siz{$Fil[$vmgs-1]} $Dat{$Fil[$vmgs-1]}\n"; } } close( DIR ) ; return $vmgs ; } $Color = "white" ; $DeleteColor = "salmon" ; $PlayColor = "lightgreen" ; $NoticeColor = "yellow" ; #Start of FatCGI loop my $request = FCGI::Request(); while ($request->Accept() >= 0 ) { my @pairs=split(/&/,$ENV{'QUERY_STRING'}); my $File = "" ; print "Content-type: text/html\n\n"; print "<HTML>\n" ; print "<HEAD><TITLE>Voice mail -- Paul Alfille</TITLE></HEAD>\n" ; print "<body BGCOLOR=white><blockquote><P>" ; foreach (@pairs) { ($key,$content)=split(/=/,$_,2); $content=~tr/+/ /; $content=~s/%(..)/pack("c",hex($1))/ge; # $fields{$key}=$content; # Found a message # Play message if ( $content eq "Play" ) { print "<TABLE><TR><TD><H3><B>Playing message $key </B></H3></TD></TR>\n" ; $Color = $PlayColor ; $File = $key ; # print "<TR><TD><EMBED SRC=$LINKDIR/$File.wav autostart=true volume=100 loop=1 CACHE=TRUE TYPE='audio/wav'><NOEMBED><BGSOUND SRC=$LINKDIR/$File.wav autostart=true volume=100 loop=1 CACHE=TRUE></NOEMBED></TD></TR>\n" ; print "<TR><TD><EMBED SRC=/vmail/$File.wav autostart=true volume=100 loop=1 CACHE=TRUE TYPE='audio/wav'><NOEMBED><BGSOUND SRC=/vmail/$File.wav autostart=true volume=100 loop=1 CACHE=TRUE></NOEMBED></TD></TR>\n" ; print "</TABLE>\n" ; last ; } # Delete message (1st pass) if ( $content eq "Delete" ) { $Color = $DeleteColor ; $File = $key ; print "<TABLE><TR><TD><H3>Delete voice message $key?</H3></TD></TR>\n" ; print "<TR><TD><STRONG><FORM><INPUT TYPE=SUBMIT NAME=\"$key\" VALUE=\"DELETE!\"> <INPUT TYPE=SUBMIT NAME=\"$key\" VALUE=\"Cancel\"></FORM></STRONG></TD></TR>\n" ; print "</TABLE>\n" ; last ; } # Delete message (2nd pass, confirmed) if ( $content eq "DELETE!" ) { my $fil = "$VOICEDIR/$key.wav" ; if (!unlink( $fil )) { my $fe = $! ; print "<TABLE><TR><TD><H3>Deletion problem.</H3></TD></TR>\n" ; print "<TR><TD><H3>Message ".$fil."</TD><TR>\n" ; print "<TR><TD>".$fe."</TD></TR>\n" ; print "</TABLE>\n" ; } else { delete $Nam{$fil} ; delete $Siz{$key} ; delete $Dat{$key} ; } last ; } # Delete message (2nd pass, cancelled) if ( $content eq "Cancel" ) { $Color = $NoticeColor ; $File = $key ; last ; } } print "<body BGCOLOR=white><blockquote><P>" ; if ( FileList() ) { print "<TABLE BORDER=2 CELLSPACING=0 CELLPADDING=0><CAPTION>Phone Messages</CAPTION><TR><TH BGCOLOR=Yellow>Name</TH><TH BGCOLOR=Yellow>Date</TH><TH BGCOLOR=Yellow>Size</TH><TH BGCOLOR=\"".$PlayColor."\">Play</TH><TH BGCOLOR=\"".$DeleteColor."\">Delete</TH></TR>" ; foreach $x ( @Fil ) { my $C = "<TD BGCOLOR=lightyellow>"; $C = "<TD BGCOLOR=$Color>" if ( $x eq $File ) ; print"<TR ALIGN=RIGHT VALIGN=TOP>"; print "$C<B> $x </B></TD>"; print "$C $Dat{$x} </TD>"; print "$C<I> $Siz{$x} </I></TD>"; print "$C<FORM><INPUT TYPE=SUBMIT NAME=$x VALUE=\"Play\"></TD>"; print "$C<INPUT TYPE=SUBMIT NAME=$x VALUE=\"Delete\"></FORM></TD>"; print "</TR>"; } print "</TABLE></P>" ; } else { print "<H3> No Messages </H3>" ; } print "</blockquote></body></HTML>\n" ; # $request->Finish() ; }
Here is the vgetty script that will convert the voice message to mp3 and wav. Paul Alfille On Fri, 2003-12-26 at 06:26, Des Aubery wrote:
What software is available in SuSe 9.0 Professional to enable my system to act as a 'Phone Answering Machine'?
#!/bin/sh echo "Processing file `ls -al $1`" >> $0.log /usr/local/bin/rmdtopvf $1 | /usr/local/bin/pvftowav -8 > ${1%.rmd}.wav 2>> $0.log touch -r $1 ${1%.rmd}.wav /usr/local/bin/lame -m m -q 0 --bitwidth 8 ${1%.rmd}.wav ${1%.rmd}.mp3 2>> $0.log touch -r $1 ${1%.rmd}.mp3 ls -al ${1%.rmd}.* >> $0.log chown wwwrun ${1%.rmd}.wav chown wwwrun ${1%.rmd}.mp3 rm $1
participants (12)
-
Carl William Spitzer IV
-
Carlos E. R.
-
Des Aubery
-
Gary
-
Gary
-
Gary
-
Graham Smith
-
Hans Krueger
-
jalal
-
Olle Viksten
-
Patrick Shanahan
-
Paul Alfille