From owner-freebsd-questions@FreeBSD.ORG Mon Jun 26 19:40:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1358C16A518 for ; Mon, 26 Jun 2006 19:40:39 +0000 (UTC) (envelope-from mcintoshrt@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70BD344291 for ; Mon, 26 Jun 2006 18:49:23 +0000 (GMT) (envelope-from mcintoshrt@gmail.com) Received: by nz-out-0102.google.com with SMTP id l1so1475191nzf for ; Mon, 26 Jun 2006 11:49:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=s6ltm0mb0oEkvC/aBy2tNa2NgqqpWPvLqGX/d4o9eGt2mZF29cfaTaFg7AYAf62RvQITuRemj7oSJ/Ub36ryTy/Dpp3mfg6zKX1U2z6EGl41A4vNngO00RgemyhwvDBCKXD7CuCPD0p//uS2vE5Cqi7nt6oEFvBxMt/uDv0P1jE= Received: by 10.36.227.49 with SMTP id z49mr8479032nzg; Mon, 26 Jun 2006 11:49:22 -0700 (PDT) Received: from ?192.168.1.100? ( [24.21.106.12]) by mx.gmail.com with ESMTP id 12sm9870536nzn.2006.06.26.11.49.21; Mon, 26 Jun 2006 11:49:22 -0700 (PDT) Message-ID: <44A02C30.90409@gmail.com> Date: Mon, 26 Jun 2006 11:49:20 -0700 From: Robert McIntosh User-Agent: Thunderbird 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: vgetty Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 19:40:39 -0000 Hi, I'm running into problems getting vgetty to function as an answering machine. I've got a Creative ModemBlaster V.92 Serial DE5621 on /dev/cuaa1 I'll call my number and the modem simply does not pick up. I the modem reports to be a voice modem from minicom, so I know it has this capability. Here's my configuration and log sample. Thanks in advance for any pointers, Robert #cat /usr/local/etc/mgetty+send/voice.conf (comments removed) part generic ### voice_log_level 4 voice_shell_log /var/log/vgetty_voice_shell.%s voice_dir /var/spool/voice phone_owner root phone_group phone phone_mode 0660 message_flag_file .flag receive_dir incoming message_dir messages message_list Index backup_message standard.rmd port_speed 38400 voice_shell /bin/sh port_timeout 10 dial_timeout 90 command_delay 100 dtmf_len 30 dtmf_threshold 40 dtmf_wait 7 ignore_fax_dle false raw_data false rec_compression 0 rec_speed 0 rec_silence_len 70 rec_silence_threshold 40 rec_remove_silence false rec_max_len 300 rec_min_len 0 do_hard_flow true beep_frequency 933 beep_length 1500 max_tries 3 retry_delay 5 watchdog_timeout 60 receive_gain -1 transmit_gain -1 enable_command_echo false poll_interval 10 enable_compression_mapping_querry TRUE compression_8bit_linear_signed 0 compression_16bit_linear_signed 0 compression_8bit_linear_unsigned 1 compression_8bit_ulaw 4 compression_8bit_alaw 5 compression_2bit_adpcm 140 compression_4bit_adpcm 141 compression_4bit_ima_adpcm 129 program vgetty ### rings 3 answer_mode voice:fax:data force_autodetect false toll_saver_rings 0 rec_always_keep true button_program call_program dtmf_program dtmf.sh message_program do_message_light false ring_report_delay 15 program vm ### voice_devices cuaa1 dialout_timeout 90 ringback_goes_away 70 ringback_never_came 100 program pvf ### port cuaa1 rings 3 ring_type ring answer_mode voice:fax:data #### Output from the log... #tail -f /var/log/vgetty.cuaa1 06/26 11:38:52 aa1 waiting... 06/26 11:39:11 aa1 wfr: waiting for ``RING'' 06/26 11:39:11 aa1 wfr: waiting for ``RING'' 06/26 11:39:17 aa1 wfr: waiting for ``RING'' 06/26 11:39:23 aa1 reading ring_type ring configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf 06/26 11:40:04 aa1 vgetty: timeout while reading character from voice modem 06/26 11:40:15 aa1 vgetty: timeout while reading character from voice modem 06/26 11:40:15 aa1 vgetty: Could not answer the phone. Strange... -- 06/26 11:40:15 aa1 vgetty: experimental test release 0.9.32 / with duplex patch 06/26 11:40:15 aa1 mgetty: interim release 1.1.34-Nov30 06/26 11:40:15 aa1 reading generic configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf 06/26 11:40:15 aa1 reading program vgetty configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf 06/26 11:40:15 aa1 reading port cuaa1 configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf 06/26 11:40:15 aa1 check for lockfiles 06/26 11:40:15 aa1 locking the line 06/26 11:40:15 aa1 lowering DTR to reset Modem 06/26 11:40:16 aa1 send: ATS0=0Q0&D3&C1[0d] 06/26 11:40:16 aa1 waiting for ``OK'' ** found ** 06/26 11:40:16 aa1 mdm_send: 'ATI' 06/26 11:40:16 aa1 Generic Rockwell modem (56000) 06/26 11:40:16 aa1 mdm_send: 'ATI3' 06/26 11:40:16 aa1 mdm_send: 'ATI4' 06/26 11:40:16 aa1 additional info: 'a007040284C6002F' 06/26 11:40:16 aa1 modem quirks: 0004 06/26 11:40:16 aa1 mdm_send: 'AT+FCLASS=2' -> OK 06/26 11:40:16 aa1 mdm_send: 'AT+FCLASS=0' -> OK 06/26 11:40:16 aa1 mdm_send: 'AT+FAA=1;+FCR=1' -> OK 06/26 11:40:16 aa1 mdm_send: 'AT+FBOR=0' -> OK 06/26 11:40:16 aa1 mdm_send: 'AT+FLID="503.244.7197"' -> OK 06/26 11:40:17 aa1 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' -> OK 06/26 11:40:17 aa1 detecting voice modem type 06/26 11:40:18 aa1 Rockwell detected 06/26 11:40:30 aa1 vgetty: timeout while reading character from voice modem 06/26 11:40:30 aa1 initializing ROCKWELL voice modem 06/26 11:40:30 aa1 vgetty: Modem returned ERROR 06/26 11:40:30 aa1 can't set silence period 06/26 11:40:30 aa1 vgetty: Modem returned ERROR 06/26 11:40:30 aa1 can't set transmit gain 06/26 11:40:30 aa1 vgetty: Modem returned ERROR 06/26 11:40:30 aa1 can't set record gain 06/26 11:40:30 aa1 vgetty: Modem returned ERROR 06/26 11:40:31 aa1 can't disable silence deletion 06/26 11:40:31 aa1 vgetty: Modem returned ERROR 06/26 11:40:31 aa1 can't set DLE responses 06/26 11:40:31 aa1 vgetty: Modem returned ERROR 06/26 11:40:31 aa1 can't set silence threshold 06/26 11:40:31 aa1 vgetty: Modem returned ERROR 06/26 11:40:32 aa1 waiting...