Multitech 5600ZDXV, DTMF, vgetty

Brian Vincent (brian@uniqsys.com)
Thu, 25 Feb 1999 12:03:34 -0500


This is a multi-part message in MIME format.
--------------7A62E52FA4B482D243CF0F2D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Marc SCHAEFER wrote:
> This is old. There has been a lot of changes for Multitech modems.
> Download 1.1.20, apply the vgetty patches and try again
> 
>    ftp://alpha.greenie.net/pub/mgetty/
>    http://www-internal.alphanet.ch/~schaefer/vgetty/global_patches/

Thanx Gert, Marc.

Alrighty.  I got the 1.1.20 stuff and applied those patches.
Now I think I am a lot closer to getting the DTMF tones.  I'm
now getting a DTMF script to fire up, I just don't seem to be
getting the decode going due to an extreme lack of knowledge on
my part.  

I using a dtmf.sh script that was in the voice/scripts directory,
it has this id: $Id: dtmf.sh,v 1.4 1998/09/09 21:08:01 gert Exp $

I also just tried doing a simple script like this again:
	#!/bin/sh
	cat - > /tmp/dtmf.out

No success.  

So I guess my question is, what is the absolute bare minimum script
I need to capture the tones?  i.e. if I punch in *123# on my phone,
how can I get the ASCII characters "123" to appear in a file?  (Am
I completely missing something like needing to use vm?)

(BTW, I got an rmd file to play when the modem picks up, I happened
to think that was extremely cool and a nice bonus, but really I only
want the tones..)

Attached is a log level 5 output from a session.

-- 
___________________________________________________________________
  Brian Vincent   \                               /    Montani
  (419)861-3331    \   "A witty saying proves    /     Semper
brian@uniqsys.com  /     nothing"  - Voltaire    \     Liberi 
__________________/_______________________________\________________
--------------7A62E52FA4B482D243CF0F2D
Content-Type: text/plain; charset=us-ascii;
 name="v.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="v.out"

02/25 11:05:00 yS0   checking lockfiles, locking the line
02/25 11:05:00 yS0   makelock(ttyS0) called
02/25 11:05:00 yS0   do_makelock: lock='/usr/spool/uucp/LCK..ttyS0'
02/25 11:05:00 yS0   lock made
02/25 11:05:00 yS0  wfr: waiting for ``RING''
02/25 11:05:00 yS0   got: [0a][0d][0a]RING[0d]
02/25 11:05:00 yS0   wfr: rc=0, drn=0
02/25 11:05:00 yS0  wfr: waiting for ``RING''
02/25 11:05:00 yS0   got: [0a][0d][0a]RING[0d]
02/25 11:05:06 yS0   wfr: rc=0, drn=0
02/25 11:05:06 yS0   setenv: 'CALLER_ID=none'
02/25 11:05:06 yS0   setenv: 'CALLED_ID='
02/25 11:05:06 yS0  reading ring_type ring configuration from config file /etc/mgetty+sendfax/voice.conf
02/25 11:05:06 yS0   reading /etc/mgetty+sendfax/voice.conf...
02/25 11:05:06 yS0   conf lib: read: 'part generic'
02/25 11:05:06 yS0   found CT_KEYWORD part generic
02/25 11:05:06 yS0   conf lib: read: 'voice_log_level 5'
02/25 11:05:06 yS0   conf lib: read: 'voice_dir /var/spool/voice'
02/25 11:05:06 yS0   conf lib: read: 'phone_owner root'
02/25 11:05:06 yS0   conf lib: read: 'phone_group phone'
02/25 11:05:06 yS0   conf lib: read: 'phone_mode 0660'
02/25 11:05:06 yS0   conf lib: read: 'message_flag_file .flag'
02/25 11:05:06 yS0   conf lib: read: 'receive_dir incoming'
02/25 11:05:06 yS0   conf lib: read: 'message_dir messages'
02/25 11:05:06 yS0   conf lib: read: 'message_list Index'
02/25 11:05:06 yS0   conf lib: read: 'backup_message standard.rmd'
02/25 11:05:06 yS0   conf lib: read: 'port_speed 38400'
02/25 11:05:06 yS0   conf lib: read: 'voice_shell /bin/sh'
02/25 11:05:06 yS0   conf lib: read: 'port_timeout 10'
02/25 11:05:06 yS0   conf lib: read: 'dial_timeout 90'
02/25 11:05:06 yS0   conf lib: read: 'command_delay 100'
02/25 11:05:06 yS0   conf lib: read: 'dtmf_len 10'
02/25 11:05:06 yS0   conf lib: read: 'dtmf_threshold 40'
02/25 11:05:06 yS0   conf lib: read: 'dtmf_wait 7'
02/25 11:05:06 yS0   conf lib: read: 'ignore_fax_dle false'
02/25 11:05:06 yS0   conf lib: read: 'raw_data false'
02/25 11:05:06 yS0   conf lib: read: 'rec_compression 0'
02/25 11:05:06 yS0   conf lib: read: 'rec_speed 0'
02/25 11:05:06 yS0   conf lib: read: 'rec_silence_len 70'
02/25 11:05:06 yS0   conf lib: read: 'rec_silence_threshold 40'
02/25 11:05:06 yS0   conf lib: read: 'rec_remove_silence false'
02/25 11:05:06 yS0   conf lib: read: 'rec_max_len 300'
02/25 11:05:06 yS0   conf lib: read: 'rec_min_len 0'
02/25 11:05:06 yS0   conf lib: read: 'do_hard_flow true'
02/25 11:05:06 yS0   conf lib: read: 'beep_frequency 933'
02/25 11:05:06 yS0   conf lib: read: 'beep_length 1500'
02/25 11:05:06 yS0   conf lib: read: 'max_tries 3'
02/25 11:05:06 yS0   conf lib: read: 'retry_delay 5'
02/25 11:05:06 yS0   conf lib: read: 'watchdog_timeout 60'
02/25 11:05:06 yS0   conf lib: read: 'receive_gain -1'
02/25 11:05:06 yS0   conf lib: read: 'transmit_gain -1'
02/25 11:05:06 yS0   conf lib: read: 'enable_command_echo false'
02/25 11:05:06 yS0   conf lib: read: 'poll_interval 10'
02/25 11:05:06 yS0   conf lib: read: 'program vgetty'
02/25 11:05:06 yS0   conf lib: read: 'rings 2'
02/25 11:05:06 yS0   conf lib: read: 'answer_mode voice:fax:data'
02/25 11:05:06 yS0   conf lib: read: 'force_autodetect false'
02/25 11:05:06 yS0   conf lib: read: 'toll_saver_rings 0'
02/25 11:05:06 yS0   conf lib: read: 'rec_always_keep true'
02/25 11:05:06 yS0   conf lib: read: 'button_program '
02/25 11:05:06 yS0   conf lib: read: 'call_program '
02/25 11:05:06 yS0   conf lib: read: 'dtmf_program /tmp/dtmf.sh'
02/25 11:05:06 yS0   conf lib: read: 'message_program '
02/25 11:05:06 yS0   conf lib: read: 'do_message_light false'
02/25 11:05:06 yS0   conf lib: read: 'program vm'
02/25 11:05:06 yS0   conf lib: read: 'voice_devices '
02/25 11:05:06 yS0   conf lib: read: 'dialout_timeout 90'
02/25 11:05:06 yS0   conf lib: read: 'program pvf'
02/25 11:05:06 yS0   conf lib: read: 'port ttyS0'
02/25 11:05:06 yS0   conf lib: read: 'port ttyS5'
02/25 11:05:06 yS0   conf lib: read: 'ring_type virtual'
02/25 11:05:06 yS0   section: ring_type virtual, ignore
02/25 11:05:06 yS0   conf lib: read: 'answer_mode fax:data'
02/25 11:05:06 yS0   conf lib: read: 'ring_type ring'
02/25 11:05:06 yS0   section: ring_type ring, **found**
02/25 11:05:06 yS0   conf lib: read: 'ring_type ring1'
02/25 11:05:06 yS0   section: ring_type ring1, ignore
02/25 11:05:06 yS0   key: 'part', type=6, flags=4, data=(ignored)
02/25 11:05:06 yS0   key: 'program', type=6, flags=4, data=(ignored)
02/25 11:05:06 yS0   key: 'port', type=6, flags=4, data=(ignored)
02/25 11:05:06 yS0   key: 'ring_type', type=6, flags=4, data=(ignored)
02/25 11:05:06 yS0   key: 'voice_log_level', type=0, flags=3, data=5
02/25 11:05:06 yS0   key: 'voice_shell', type=1, flags=3, data=/bin/sh
02/25 11:05:06 yS0   key: 'port_speed', type=0, flags=3, data=38400
02/25 11:05:06 yS0   key: 'port_timeout', type=0, flags=3, data=10
02/25 11:05:06 yS0   key: 'dial_timeout', type=0, flags=3, data=90
02/25 11:05:06 yS0   key: 'command_delay', type=0, flags=3, data=100
02/25 11:05:06 yS0   key: 'dtmf_len', type=0, flags=3, data=10
02/25 11:05:06 yS0   key: 'dtmf_threshold', type=0, flags=3, data=40
02/25 11:05:06 yS0   key: 'dtmf_wait', type=0, flags=3, data=7
02/25 11:05:06 yS0   key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
02/25 11:05:06 yS0   key: 'raw_data', type=3, flags=3, data=FALSE
02/25 11:05:06 yS0   key: 'rec_compression', type=0, flags=3, data=0
02/25 11:05:06 yS0   key: 'rec_speed', type=0, flags=3, data=0
02/25 11:05:06 yS0   key: 'rec_silence_len', type=0, flags=3, data=70
02/25 11:05:06 yS0   key: 'rec_silence_threshold', type=0, flags=3, data=40
02/25 11:05:06 yS0   key: 'rec_remove_silence', type=3, flags=3, data=FALSE
02/25 11:05:06 yS0   key: 'rec_max_len', type=0, flags=3, data=300
02/25 11:05:06 yS0   key: 'rec_min_len', type=0, flags=3, data=0
02/25 11:05:06 yS0   key: 'do_hard_flow', type=3, flags=3, data=TRUE
02/25 11:05:06 yS0   key: 'force_autodetect', type=3, flags=3, data=FALSE
02/25 11:05:06 yS0   key: 'watchdog_timeout', type=0, flags=3, data=60
02/25 11:05:06 yS0   key: 'receive_gain', type=0, flags=3, data=-1
02/25 11:05:06 yS0   key: 'transmit_gain', type=0, flags=3, data=-1
02/25 11:05:06 yS0   key: 'enable_command_echo', type=3, flags=3, data=FALSE
02/25 11:05:06 yS0   key: 'poll_interval', type=0, flags=3, data=10
02/25 11:05:06 yS0   key: 'rings', type=1, flags=3, data=2
02/25 11:05:06 yS0   key: 'answer_mode', type=1, flags=3, data=voice:fax:data
02/25 11:05:06 yS0   key: 'toll_saver_rings', type=0, flags=3, data=0
02/25 11:05:06 yS0   key: 'rec_always_keep', type=3, flags=3, data=TRUE
02/25 11:05:06 yS0   key: 'voice_dir', type=1, flags=3, data=/var/spool/voice
02/25 11:05:06 yS0   key: 'phone_owner', type=1, flags=3, data=root
02/25 11:05:06 yS0   key: 'phone_group', type=1, flags=3, data=phone
02/25 11:05:06 yS0   key: 'phone_mode', type=0, flags=3, data=432
02/25 11:05:06 yS0   key: 'message_flag_file', type=1, flags=3, data=.flag
02/25 11:05:06 yS0   key: 'receive_dir', type=1, flags=3, data=incoming
02/25 11:05:06 yS0   key: 'message_dir', type=1, flags=3, data=messages
02/25 11:05:06 yS0   key: 'message_list', type=1, flags=3, data=Index
02/25 11:05:06 yS0   key: 'backup_message', type=1, flags=3, data=standard.rmd
02/25 11:05:06 yS0   key: 'button_program', type=1, flags=3, data=
02/25 11:05:06 yS0   key: 'call_program', type=1, flags=3, data=
02/25 11:05:06 yS0   key: 'dtmf_program', type=1, flags=3, data=/tmp/dtmf.sh
02/25 11:05:06 yS0   key: 'message_program', type=1, flags=3, data=
02/25 11:05:06 yS0   key: 'do_message_light', type=3, flags=3, data=FALSE
02/25 11:05:06 yS0   key: 'beep_frequency', type=0, flags=3, data=933
02/25 11:05:06 yS0   key: 'beep_length', type=0, flags=3, data=1500
02/25 11:05:06 yS0   key: 'max_tries', type=0, flags=3, data=3
02/25 11:05:06 yS0   key: 'retry_delay', type=0, flags=3, data=5
02/25 11:05:06 yS0   key: 'dialout_timeout', type=0, flags=1, data=90
02/25 11:05:06 yS0   key: 'voice_devices', type=1, flags=1, data=
02/25 11:05:06 yS0   vgetty: entering voice mode
02/25 11:05:06 yS0   vgetty: Installing signal handlers
02/25 11:05:06 yS0   voice command: 'AT#CLS?' -> ''
02/25 11:05:06 yS0   voice command: '' -> 'OK'
02/25 11:05:06 yS0   voice command: 'AT#CLS=8' -> 'OK'
02/25 11:05:06 yS0   voice command: 'AT' -> 'OK'
02/25 11:05:06 yS0   voice command: 'ATA' -> 'VCON'
02/25 11:05:08 yS0   voice command: 'AT#VLS=4' -> 'OK'
02/25 11:05:08 yS0  playing voice file /var/spool/voice/messages/standard.rmd
02/25 11:05:08 yS0   vgetty: raw modem data header found
02/25 11:05:08 yS0   vgetty: modem type Rockwell found
02/25 11:05:08 yS0   vgetty: compression method 0x0002, speed 7200, bits 2
02/25 11:05:08 yS0   voice command: 'AT#VSR=7200' -> 'OK'
02/25 11:05:08 yS0   voice command: 'AT#VBS=2' -> 'OK'
02/25 11:05:08 yS0   voice command: 'AT&K3' -> 'OK'
02/25 11:05:08 yS0   tio_set_flow_control( HARD XON_OUT )
02/25 11:05:08 yS0   voice command: 'AT#VTX' -> 'CONNECT'
02/25 11:05:16 yS0   voice command: '' -> 'OK|VCON'
02/25 11:05:17 yS0   voice command: 'AT#VTS=[933,0,15]' -> ''
02/25 11:05:17 yS0   voice command: '' -> 'OK'
02/25 11:05:19 yS0  recording voice file /var/spool/voice/incoming/va22037.rmd
02/25 11:05:19 yS0   voice command: 'AT#VSR=7200' -> 'OK'
02/25 11:05:19 yS0   voice command: 'AT#VBS=2' -> 'OK'
02/25 11:05:19 yS0   voice command: 'AT&K3' -> 'OK'
02/25 11:05:19 yS0   tio_set_flow_control( HARD XON_IN )
02/25 11:05:19 yS0   voice command: 'AT#VRX' -> 'CONNECT'
02/25 11:05:46 yS0   voice command: '' -> 'OK|VCON'
+02/25 11:05:46 yS0  can't get group 'phone': No such file or directory
+02/25 11:05:46 ##### got DTMF code - executing DTMF program, name='', caller=none, dev=ttyS0, pid=22037
+02/25 11:05:46 yS0  vgetty: Executing shell script /tmp/dtmf.sh with shell /bin/sh
+02/25 11:05:46 yS0   vgetty(0): HELLO SHELL
+02/25 11:05:46 yS0   shell(1): HELLO VOICE PROGRAM
+02/25 11:05:46 yS0   vgetty(1): READY
+02/25 11:05:46 yS0   vgetty: initialized communication
+02/25 11:05:46 yS0   shell(1): BEEP 1320 10
+02/25 11:05:46 yS0   vgetty(1): BEEPING
+02/25 11:05:46 yS0   voice command: 'AT#VTS=[1320,0,0]' -> ''
+02/25 11:05:46 yS0   voice command: '' -> 'OK'
+02/25 11:05:46 yS0  vgetty: Modem returned ERROR
+02/25 11:05:46 yS0   vgetty(1): ERROR
02/25 11:05:46 yS0   vgetty(1): READY
02/25 11:05:46 yS0   vgetty: shell exited not normally with status 0x9
02/25 11:05:46 yS0   voice command: 'ATH0' -> 'VCON|OK'
02/25 11:05:48 yS0   voice command: 'AT#VLS=0' -> 'OK'
02/25 11:05:48 yS0   vgetty: leaving voice mode
02/25 11:05:48 yS0   voice command: 'AT#CLS=0' -> 'OK'
02/25 11:05:49 yS0   voice command: 'AT' -> 'OK'
02/25 11:05:49 yS0   vgetty: Restoring signal handlers
02/25 11:05:49 yS0  closing voice modem device
02/25 11:05:49 yS0   removing lock file
02/25 11:05:49 yS0  vgetty: experimental test release 0.9.1 / 17Nov98
02/25 11:05:49 yS0  mgetty: experimental test release 1.1.20-Jan17
02/25 11:05:49 yS0  reading generic configuration from config file /etc/mgetty+sendfax/voice.conf
02/25 11:05:49 yS0  reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
02/25 11:05:49 yS0   reading /etc/mgetty+sendfax/voice.conf...
02/25 11:05:49 yS0   conf lib: read: 'part generic'
02/25 11:05:49 yS0   found CT_KEYWORD part generic
02/25 11:05:49 yS0   conf lib: read: 'voice_log_level 5'
02/25 11:05:49 yS0   conf lib: read: 'voice_dir /var/spool/voice'
02/25 11:05:49 yS0   conf lib: read: 'phone_owner root'
02/25 11:05:49 yS0   conf lib: read: 'phone_group phone'
02/25 11:05:49 yS0   conf lib: read: 'phone_mode 0660'
02/25 11:05:49 yS0   conf lib: read: 'message_flag_file .flag'
02/25 11:05:49 yS0   conf lib: read: 'receive_dir incoming'
02/25 11:05:49 yS0   conf lib: read: 'message_dir messages'
02/25 11:05:49 yS0   conf lib: read: 'message_list Index'
02/25 11:05:49 yS0   conf lib: read: 'backup_message standard.rmd'
02/25 11:05:49 yS0   conf lib: read: 'port_speed 38400'
02/25 11:05:49 yS0   conf lib: read: 'voice_shell /bin/sh'
02/25 11:05:49 yS0   conf lib: read: 'port_timeout 10'
02/25 11:05:49 yS0   conf lib: read: 'dial_timeout 90'
02/25 11:05:49 yS0   conf lib: read: 'command_delay 100'
02/25 11:05:49 yS0   conf lib: read: 'dtmf_len 10'
02/25 11:05:49 yS0   conf lib: read: 'dtmf_threshold 40'
02/25 11:05:49 yS0   conf lib: read: 'dtmf_wait 7'
02/25 11:05:49 yS0   conf lib: read: 'ignore_fax_dle false'
02/25 11:05:49 yS0   conf lib: read: 'raw_data false'
02/25 11:05:49 yS0   conf lib: read: 'rec_compression 0'
02/25 11:05:49 yS0   conf lib: read: 'rec_speed 0'
02/25 11:05:49 yS0   conf lib: read: 'rec_silence_len 70'
02/25 11:05:49 yS0   conf lib: read: 'rec_silence_threshold 40'
02/25 11:05:49 yS0   conf lib: read: 'rec_remove_silence false'
02/25 11:05:49 yS0   conf lib: read: 'rec_max_len 300'
02/25 11:05:49 yS0   conf lib: read: 'rec_min_len 0'
02/25 11:05:49 yS0   conf lib: read: 'do_hard_flow true'
02/25 11:05:49 yS0   conf lib: read: 'beep_frequency 933'
02/25 11:05:49 yS0   conf lib: read: 'beep_length 1500'
02/25 11:05:49 yS0   conf lib: read: 'max_tries 3'
02/25 11:05:49 yS0   conf lib: read: 'retry_delay 5'
02/25 11:05:49 yS0   conf lib: read: 'watchdog_timeout 60'
02/25 11:05:49 yS0   conf lib: read: 'receive_gain -1'
02/25 11:05:49 yS0   conf lib: read: 'transmit_gain -1'
02/25 11:05:49 yS0   conf lib: read: 'enable_command_echo false'
02/25 11:05:49 yS0   conf lib: read: 'poll_interval 10'
02/25 11:05:49 yS0   conf lib: read: 'program vgetty'
02/25 11:05:49 yS0   section: program vgetty, **found**
02/25 11:05:49 yS0   conf lib: read: 'rings 2'
02/25 11:05:49 yS0   conf lib: read: 'answer_mode voice:fax:data'
02/25 11:05:49 yS0   conf lib: read: 'force_autodetect false'
02/25 11:05:49 yS0   conf lib: read: 'toll_saver_rings 0'
02/25 11:05:49 yS0   conf lib: read: 'rec_always_keep true'
02/25 11:05:49 yS0   conf lib: read: 'button_program '
02/25 11:05:49 yS0   conf lib: read: 'call_program '
02/25 11:05:49 yS0   conf lib: read: 'dtmf_program /tmp/dtmf.sh'
02/25 11:05:49 yS0   conf lib: read: 'message_program '
02/25 11:05:49 yS0   conf lib: read: 'do_message_light false'
02/25 11:05:49 yS0   conf lib: read: 'program vm'
02/25 11:05:49 yS0   section: program vm, ignore
02/25 11:05:49 yS0   conf lib: read: 'voice_devices '
02/25 11:05:49 yS0   conf lib: read: 'dialout_timeout 90'
02/25 11:05:49 yS0   conf lib: read: 'program pvf'
02/25 11:05:49 yS0   section: program pvf, ignore
02/25 11:05:49 yS0   conf lib: read: 'port ttyS0'
02/25 11:05:49 yS0   conf lib: read: 'port ttyS5'
02/25 11:05:49 yS0   conf lib: read: 'ring_type virtual'
02/25 11:05:49 yS0   conf lib: read: 'answer_mode fax:data'
02/25 11:05:49 yS0   conf lib: read: 'ring_type ring'
02/25 11:05:49 yS0   conf lib: read: 'ring_type ring1'
02/25 11:05:49 yS0   key: 'part', type=6, flags=4, data=(ignored)
02/25 11:05:49 yS0   key: 'program', type=6, flags=4, data=(ignored)
02/25 11:05:49 yS0   key: 'port', type=6, flags=4, data=(ignored)
02/25 11:05:49 yS0   key: 'ring_type', type=6, flags=4, data=(ignored)
02/25 11:05:49 yS0   key: 'voice_log_level', type=0, flags=3, data=5
02/25 11:05:49 yS0   key: 'voice_shell', type=1, flags=3, data=/bin/sh
02/25 11:05:49 yS0   key: 'port_speed', type=0, flags=3, data=38400
02/25 11:05:49 yS0   key: 'port_timeout', type=0, flags=3, data=10
02/25 11:05:49 yS0   key: 'dial_timeout', type=0, flags=3, data=90
02/25 11:05:49 yS0   key: 'command_delay', type=0, flags=3, data=100
02/25 11:05:49 yS0   key: 'dtmf_len', type=0, flags=3, data=10
02/25 11:05:49 yS0   key: 'dtmf_threshold', type=0, flags=3, data=40
02/25 11:05:49 yS0   key: 'dtmf_wait', type=0, flags=3, data=7
02/25 11:05:49 yS0   key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'raw_data', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'rec_compression', type=0, flags=3, data=0
02/25 11:05:49 yS0   key: 'rec_speed', type=0, flags=3, data=0
02/25 11:05:49 yS0   key: 'rec_silence_len', type=0, flags=3, data=70
02/25 11:05:49 yS0   key: 'rec_silence_threshold', type=0, flags=3, data=40
02/25 11:05:49 yS0   key: 'rec_remove_silence', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'rec_max_len', type=0, flags=3, data=300
02/25 11:05:49 yS0   key: 'rec_min_len', type=0, flags=3, data=0
02/25 11:05:49 yS0   key: 'do_hard_flow', type=3, flags=3, data=TRUE
02/25 11:05:49 yS0   key: 'force_autodetect', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'watchdog_timeout', type=0, flags=3, data=60
02/25 11:05:49 yS0   key: 'receive_gain', type=0, flags=3, data=-1
02/25 11:05:49 yS0   key: 'transmit_gain', type=0, flags=3, data=-1
02/25 11:05:49 yS0   key: 'enable_command_echo', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'poll_interval', type=0, flags=3, data=10
02/25 11:05:49 yS0   key: 'rings', type=1, flags=3, data=2
02/25 11:05:49 yS0   key: 'answer_mode', type=1, flags=3, data=voice:fax:data
02/25 11:05:49 yS0   key: 'toll_saver_rings', type=0, flags=3, data=0
02/25 11:05:49 yS0   key: 'rec_always_keep', type=3, flags=3, data=TRUE
02/25 11:05:49 yS0   key: 'voice_dir', type=1, flags=3, data=/var/spool/voice
02/25 11:05:49 yS0   key: 'phone_owner', type=1, flags=3, data=root
02/25 11:05:49 yS0   key: 'phone_group', type=1, flags=3, data=phone
02/25 11:05:49 yS0   key: 'phone_mode', type=0, flags=3, data=432
02/25 11:05:49 yS0   key: 'message_flag_file', type=1, flags=3, data=.flag
02/25 11:05:49 yS0   key: 'receive_dir', type=1, flags=3, data=incoming
02/25 11:05:49 yS0   key: 'message_dir', type=1, flags=3, data=messages
02/25 11:05:49 yS0   key: 'message_list', type=1, flags=3, data=Index
02/25 11:05:49 yS0   key: 'backup_message', type=1, flags=3, data=standard.rmd
02/25 11:05:49 yS0   key: 'button_program', type=1, flags=3, data=
02/25 11:05:49 yS0   key: 'call_program', type=1, flags=3, data=
02/25 11:05:49 yS0   key: 'dtmf_program', type=1, flags=3, data=/tmp/dtmf.sh
02/25 11:05:49 yS0   key: 'message_program', type=1, flags=3, data=
02/25 11:05:49 yS0   key: 'do_message_light', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'beep_frequency', type=0, flags=3, data=933
02/25 11:05:49 yS0   key: 'beep_length', type=0, flags=3, data=1500
02/25 11:05:49 yS0   key: 'max_tries', type=0, flags=3, data=3
02/25 11:05:49 yS0   key: 'retry_delay', type=0, flags=3, data=5
02/25 11:05:49 yS0   key: 'dialout_timeout', type=0, flags=1, data=90
02/25 11:05:49 yS0   key: 'voice_devices', type=1, flags=1, data=
02/25 11:05:49 yS0  reading port ttyS0 configuration from config file /etc/mgetty+sendfax/voice.conf
02/25 11:05:49 yS0   reading /etc/mgetty+sendfax/voice.conf...
02/25 11:05:49 yS0   conf lib: read: 'part generic'
02/25 11:05:49 yS0   found CT_KEYWORD part generic
02/25 11:05:49 yS0   conf lib: read: 'voice_log_level 5'
02/25 11:05:49 yS0   conf lib: read: 'voice_dir /var/spool/voice'
02/25 11:05:49 yS0   conf lib: read: 'phone_owner root'
02/25 11:05:49 yS0   conf lib: read: 'phone_group phone'
02/25 11:05:49 yS0   conf lib: read: 'phone_mode 0660'
02/25 11:05:49 yS0   conf lib: read: 'message_flag_file .flag'
02/25 11:05:49 yS0   conf lib: read: 'receive_dir incoming'
02/25 11:05:49 yS0   conf lib: read: 'message_dir messages'
02/25 11:05:49 yS0   conf lib: read: 'message_list Index'
02/25 11:05:49 yS0   conf lib: read: 'backup_message standard.rmd'
02/25 11:05:49 yS0   conf lib: read: 'port_speed 38400'
02/25 11:05:49 yS0   conf lib: read: 'voice_shell /bin/sh'
02/25 11:05:49 yS0   conf lib: read: 'port_timeout 10'
02/25 11:05:49 yS0   conf lib: read: 'dial_timeout 90'
02/25 11:05:49 yS0   conf lib: read: 'command_delay 100'
02/25 11:05:49 yS0   conf lib: read: 'dtmf_len 10'
02/25 11:05:49 yS0   conf lib: read: 'dtmf_threshold 40'
02/25 11:05:49 yS0   conf lib: read: 'dtmf_wait 7'
02/25 11:05:49 yS0   conf lib: read: 'ignore_fax_dle false'
02/25 11:05:49 yS0   conf lib: read: 'raw_data false'
02/25 11:05:49 yS0   conf lib: read: 'rec_compression 0'
02/25 11:05:49 yS0   conf lib: read: 'rec_speed 0'
02/25 11:05:49 yS0   conf lib: read: 'rec_silence_len 70'
02/25 11:05:49 yS0   conf lib: read: 'rec_silence_threshold 40'
02/25 11:05:49 yS0   conf lib: read: 'rec_remove_silence false'
02/25 11:05:49 yS0   conf lib: read: 'rec_max_len 300'
02/25 11:05:49 yS0   conf lib: read: 'rec_min_len 0'
02/25 11:05:49 yS0   conf lib: read: 'do_hard_flow true'
02/25 11:05:49 yS0   conf lib: read: 'beep_frequency 933'
02/25 11:05:49 yS0   conf lib: read: 'beep_length 1500'
02/25 11:05:49 yS0   conf lib: read: 'max_tries 3'
02/25 11:05:49 yS0   conf lib: read: 'retry_delay 5'
02/25 11:05:49 yS0   conf lib: read: 'watchdog_timeout 60'
02/25 11:05:49 yS0   conf lib: read: 'receive_gain -1'
02/25 11:05:49 yS0   conf lib: read: 'transmit_gain -1'
02/25 11:05:49 yS0   conf lib: read: 'enable_command_echo false'
02/25 11:05:49 yS0   conf lib: read: 'poll_interval 10'
02/25 11:05:49 yS0   conf lib: read: 'program vgetty'
02/25 11:05:49 yS0   conf lib: read: 'rings 2'
02/25 11:05:49 yS0   conf lib: read: 'answer_mode voice:fax:data'
02/25 11:05:49 yS0   conf lib: read: 'force_autodetect false'
02/25 11:05:49 yS0   conf lib: read: 'toll_saver_rings 0'
02/25 11:05:49 yS0   conf lib: read: 'rec_always_keep true'
02/25 11:05:49 yS0   conf lib: read: 'button_program '
02/25 11:05:49 yS0   conf lib: read: 'call_program '
02/25 11:05:49 yS0   conf lib: read: 'dtmf_program /tmp/dtmf.sh'
02/25 11:05:49 yS0   conf lib: read: 'message_program '
02/25 11:05:49 yS0   conf lib: read: 'do_message_light false'
02/25 11:05:49 yS0   conf lib: read: 'program vm'
02/25 11:05:49 yS0   conf lib: read: 'voice_devices '
02/25 11:05:49 yS0   conf lib: read: 'dialout_timeout 90'
02/25 11:05:49 yS0   conf lib: read: 'program pvf'
02/25 11:05:49 yS0   conf lib: read: 'port ttyS0'
02/25 11:05:49 yS0   section: port ttyS0, **found**
02/25 11:05:49 yS0   conf lib: read: 'port ttyS5'
02/25 11:05:49 yS0   section: port ttyS5, ignore
02/25 11:05:49 yS0   conf lib: read: 'ring_type virtual'
02/25 11:05:49 yS0   conf lib: read: 'answer_mode fax:data'
02/25 11:05:49 yS0   conf lib: read: 'ring_type ring'
02/25 11:05:49 yS0   conf lib: read: 'ring_type ring1'
02/25 11:05:49 yS0   key: 'part', type=6, flags=4, data=(ignored)
02/25 11:05:49 yS0   key: 'program', type=6, flags=4, data=(ignored)
02/25 11:05:49 yS0   key: 'port', type=6, flags=4, data=(ignored)
02/25 11:05:49 yS0   key: 'ring_type', type=6, flags=4, data=(ignored)
02/25 11:05:49 yS0   key: 'voice_log_level', type=0, flags=3, data=5
02/25 11:05:49 yS0   key: 'voice_shell', type=1, flags=3, data=/bin/sh
02/25 11:05:49 yS0   key: 'port_speed', type=0, flags=3, data=38400
02/25 11:05:49 yS0   key: 'port_timeout', type=0, flags=3, data=10
02/25 11:05:49 yS0   key: 'dial_timeout', type=0, flags=3, data=90
02/25 11:05:49 yS0   key: 'command_delay', type=0, flags=3, data=100
02/25 11:05:49 yS0   key: 'dtmf_len', type=0, flags=3, data=10
02/25 11:05:49 yS0   key: 'dtmf_threshold', type=0, flags=3, data=40
02/25 11:05:49 yS0   key: 'dtmf_wait', type=0, flags=3, data=7
02/25 11:05:49 yS0   key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'raw_data', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'rec_compression', type=0, flags=3, data=0
02/25 11:05:49 yS0   key: 'rec_speed', type=0, flags=3, data=0
02/25 11:05:49 yS0   key: 'rec_silence_len', type=0, flags=3, data=70
02/25 11:05:49 yS0   key: 'rec_silence_threshold', type=0, flags=3, data=40
02/25 11:05:49 yS0   key: 'rec_remove_silence', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'rec_max_len', type=0, flags=3, data=300
02/25 11:05:49 yS0   key: 'rec_min_len', type=0, flags=3, data=0
02/25 11:05:49 yS0   key: 'do_hard_flow', type=3, flags=3, data=TRUE
02/25 11:05:49 yS0   key: 'force_autodetect', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'watchdog_timeout', type=0, flags=3, data=60
02/25 11:05:49 yS0   key: 'receive_gain', type=0, flags=3, data=-1
02/25 11:05:49 yS0   key: 'transmit_gain', type=0, flags=3, data=-1
02/25 11:05:49 yS0   key: 'enable_command_echo', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'poll_interval', type=0, flags=3, data=10
02/25 11:05:49 yS0   key: 'rings', type=1, flags=3, data=2
02/25 11:05:49 yS0   key: 'answer_mode', type=1, flags=3, data=voice:fax:data
02/25 11:05:49 yS0   key: 'toll_saver_rings', type=0, flags=3, data=0
02/25 11:05:49 yS0   key: 'rec_always_keep', type=3, flags=3, data=TRUE
02/25 11:05:49 yS0   key: 'voice_dir', type=1, flags=3, data=/var/spool/voice
02/25 11:05:49 yS0   key: 'phone_owner', type=1, flags=3, data=root
02/25 11:05:49 yS0   key: 'phone_group', type=1, flags=3, data=phone
02/25 11:05:49 yS0   key: 'phone_mode', type=0, flags=3, data=432
02/25 11:05:49 yS0   key: 'message_flag_file', type=1, flags=3, data=.flag
02/25 11:05:49 yS0   key: 'receive_dir', type=1, flags=3, data=incoming
02/25 11:05:49 yS0   key: 'message_dir', type=1, flags=3, data=messages
02/25 11:05:49 yS0   key: 'message_list', type=1, flags=3, data=Index
02/25 11:05:49 yS0   key: 'backup_message', type=1, flags=3, data=standard.rmd
02/25 11:05:49 yS0   key: 'button_program', type=1, flags=3, data=
02/25 11:05:49 yS0   key: 'call_program', type=1, flags=3, data=
02/25 11:05:49 yS0   key: 'dtmf_program', type=1, flags=3, data=/tmp/dtmf.sh
02/25 11:05:49 yS0   key: 'message_program', type=1, flags=3, data=
02/25 11:05:49 yS0   key: 'do_message_light', type=3, flags=3, data=FALSE
02/25 11:05:49 yS0   key: 'beep_frequency', type=0, flags=3, data=933
02/25 11:05:49 yS0   key: 'beep_length', type=0, flags=3, data=1500
02/25 11:05:49 yS0   key: 'max_tries', type=0, flags=3, data=3
02/25 11:05:49 yS0   key: 'retry_delay', type=0, flags=3, data=5
02/25 11:05:49 yS0   key: 'dialout_timeout', type=0, flags=1, data=90
02/25 11:05:49 yS0   key: 'voice_devices', type=1, flags=1, data=
02/25 11:05:49 yS0  check for lockfiles
02/25 11:05:49 yS0   checklock: stat failed, no file
02/25 11:05:49 yS0  locking the line
02/25 11:05:49 yS0   makelock(ttyS0) called
02/25 11:05:49 yS0   do_makelock: lock='/usr/spool/uucp/LCK..ttyS0'
02/25 11:05:49 yS0   lock made
02/25 11:05:50 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR
02/25 11:05:50 yS0  lowering DTR to reset Modem
02/25 11:05:50 yS0   tss: set speed to 38400 (017)
02/25 11:05:50 yS0   tio_set_flow_control( HARD )
02/25 11:05:50 yS0   waiting for line to clear (VTIME), read: 
02/25 11:05:50 yS0  send: \dATQ0V1H0[0d]
02/25 11:05:51 yS0  waiting for ``OK''
02/25 11:05:51 yS0   got: [0d][0a]OK ** found **
02/25 11:05:51 yS0  send: ATS0=0Q0[0d]
02/25 11:05:51 yS0  waiting for ``OK''
02/25 11:05:51 yS0   got: [0d][0a][0d][0a]OK ** found **
02/25 11:05:51 yS0  mdm_send: 'ATI'
02/25 11:05:51 yS0   mdm_gis: string 1: 'MT5600ZDXV'
02/25 11:05:51 yS0   mdm_identify: string 'MT5600ZDXV'
02/25 11:05:51 yS0  non-numeric ID string: 'MT5600ZDXV'
02/25 11:05:51 yS0  mdm_send: 'AT+FCLASS=2.0'
02/25 11:05:51 yS0   mdm_command: string 'ERROR' -> ERROR
02/25 11:05:51 yS0  mdm_send: 'AT+FCLASS=2'
02/25 11:05:51 yS0   mdm_command: string 'OK' -> OK
02/25 11:05:51 yS0  mdm_send: 'AT+FCLASS=0'
02/25 11:05:51 yS0   mdm_command: string 'OK' -> OK
02/25 11:05:51 yS0  mdm_send: 'AT+FAA=1;+FCR=1'
02/25 11:05:51 yS0   mdm_command: string 'OK' -> OK
02/25 11:05:51 yS0  mdm_send: 'AT+FBOR=0'
02/25 11:05:51 yS0   mdm_command: string 'OK' -> OK
02/25 11:05:51 yS0  mdm_send: 'AT+FLID="41 328 8414081"'
02/25 11:05:51 yS0   mdm_command: string 'OK' -> OK
02/25 11:05:52 yS0  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
02/25 11:05:52 yS0   mdm_command: string 'OK' -> OK
02/25 11:05:52 yS0   tss: set speed to 38400 (017)
02/25 11:05:52 yS0   tio_set_flow_control( HARD )
02/25 11:05:52 yS0  detecting voice modem type
02/25 11:05:52 yS0   voice command: 'ATI9' -> ''
02/25 11:05:52 yS0   voice command: 'ATI' -> ''
02/25 11:05:52 yS0  Multitech_5600ZDXv detected
02/25 11:05:52 yS0   vgetty: entering voice mode
02/25 11:05:52 yS0   vgetty: Installing signal handlers
02/25 11:05:52 yS0   voice command: 'AT#CLS?' -> ''
02/25 11:05:52 yS0   voice command: '' -> 'OK'
02/25 11:05:53 yS0   voice command: 'AT#CLS=8' -> 'OK'
02/25 11:05:53 yS0   voice command: 'AT' -> 'OK'
02/25 11:05:53 yS0  initializing Multitech MT5600ZDXv voice modem
02/25 11:05:53 yS0   voice command: 'AT#VSP=70' -> 'OK'
02/25 11:05:53 yS0   voice command: 'AT#VSD=0' -> 'OK'
02/25 11:05:53 yS0   voice command: 'AT#VTD=3F,3F,3F' -> 'OK'
02/25 11:05:53 yS0   voice command: 'AT#VSS=1' -> 'OK'
02/25 11:05:53 yS0   voice command: 'AT&K3' -> 'OK'
02/25 11:05:53 yS0   tio_set_flow_control( HARD )
02/25 11:05:53 yS0   vgetty: leaving voice mode
02/25 11:05:53 yS0   voice command: 'AT#CLS=0' -> 'OK'
02/25 11:05:54 yS0   voice command: 'AT' -> 'OK'
02/25 11:05:54 yS0   vgetty: Restoring signal handlers
02/25 11:05:54 yS0   waiting for line to clear (VTIME), read: 
02/25 11:05:55 yS0   removing lock file
02/25 11:05:55 yS0  waiting...

--------------7A62E52FA4B482D243CF0F2D--