Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-24-2007, 05:55 AM   #1
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 16
vgetty answering calls but hanging up prematurely

Hi all, real quick. I've searched google and haven't found an answer that relates to my situation.

I've got vgetty installed on my Kubuntu box connected via a USB to serial adapter to a Hayes Accura Ext. Speakerphone (chinese model, 5686CN). The modem itself works as vgetty picks up the call when the phone rings after the necessary number of rings. However, it never sends a beep tone and hangs up before recording a message. The log files have not been very helpful in this regard, but here is the relevant output anyway.

03/24 18:39:41 SB0 vgetty: experimental test release 0.9.32 / with duplex patch
03/24 18:39:41 SB0 mgetty: interim release 1.1.33-Apr10
03/24 18:39:41 SB0 reading generic configuration from config file /etc/mgetty/voice.conf
03/24 18:39:41 SB0 reading program vgetty configuration from config file /etc/mgetty/voice.conf
03/24 18:39:41 SB0 reading port ttyUSB0 configuration from config file /etc/mgetty/voice.conf
03/24 18:39:41 SB0 check for lockfiles
03/24 18:39:41 SB0 locking the line
03/24 18:39:41 SB0 lowering DTR to reset Modem
03/24 18:39:42 SB0 send: \dATQ0V1H0[0d]
03/24 18:39:42 SB0 waiting for ``OK'' ** found **
03/24 18:39:43 SB0 send: AT[0d]
03/24 18:39:43 SB0 waiting for ``OK'' ** found **
03/24 18:39:43 SB0 mdm_send: 'ATI'
03/24 18:39:43 SB0 Generic Rockwell modem (33600)
03/24 18:39:43 SB0 mdm_send: 'ATI3'
03/24 18:39:43 SB0 mdm_send: 'ATI4'
03/24 18:39:43 SB0 additional info: 'a007840284C6002F'
03/24 18:39:43 SB0 modem quirks: 0004
03/24 18:39:43 SB0 mdm_send: 'AT+FCLASS=2' -> ERROR
03/24 18:39:44 SB0 mdm_send: 'AT+FCLASS=2.0' -> ERROR
03/24 18:39:44 SB0 mdm_send: 'AT+FCLASS=2' -> ERROR
03/24 18:39:44 SB0 detecting voice modem type
03/24 18:39:45 SB0 Rockwell detected
03/24 18:39:46 SB0 initializing ROCKWELL voice modem
03/24 18:39:46 SB0 vgetty: Modem returned ERROR
03/24 18:39:46 SB0 can't set record gain
03/24 18:39:47 SB0 waiting...
03/24 18:39:53 SB0 wfr: waiting for ``RING''
03/24 18:39:53 SB0 wfr: waiting for ``RING''
03/24 18:39:58 SB0 wfr: waiting for ``RING''
03/24 18:40:03 SB0 reading ring_type ring configuration from config file /etc/mgetty/voice.conf
03/24 18:40:05 SB0 playing voice file /var/spool/voice/messages/greeting.rmd
03/24 18:40:12 ##### hangup requested, name='', caller=none, dev=ttyUSB0, pid=5613

03/24 18:40:13 SB0 closing voice modem device

I've queried the modem using minicom, and the FCLASS support levels are listed as 0 1 1 0 80. When I type AT#CLA=? into minicom it tells me 0 1 8. I know from this that voice calls are supported, but I'm not sure why it's not sending beeps or recording messages. Where do I look? Thanks

Old 03-25-2007, 10:06 PM   #2
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
It almost appears there is a problem initializing the modem, possibly wrong initialization strings.

This string of modem commands are a generic set of modem commands, I notice the errors relating to FCLASS, maybe you might want to play around with these settings. It could be all together different in China, but wouldn't hurt to try.

This string is usually produced by wvdial for init 2 string. Usually init 1 is ATZ, but this is also for analog modem, it could be different for voice modem.

ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Maybe search the net for init strings for your Rockwell, I put "voice modem init strings" in the Google search field and found too many results to list here. Might have to narrow it down to "Rockwell voice modem init strings". Because yours appears to be a 36k modem, this web page offered some possibly relevant info for Rockwell.

Maybe check the vgetty man pages for this -->modem quirks: 0004

Last edited by Junior Hacker; 03-25-2007 at 10:09 PM.


modem, voice

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
poll() times out prematurely eunmind Linux - Server 0 10-03-2006 01:13 PM
Answer Machines, mgetty, vgetty, VOCP, and recording ALL incoming calls curos Linux - Software 1 05-13-2006 09:24 AM
linux SU command closing script prematurely. help please? Frelov Programming 4 02-20-2006 01:14 PM
Answering machine with Vgetty (Hayes Accura V.92) cybervolkan Linux - Newbie 0 03-31-2005 04:08 AM
qmail prematurely closes connection when trying to telnet... ivj Linux - Software 0 07-25-2004 04:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration