brocken voice send in vgetty-21

Gero Guenther (gero@space-server.bln.sub.org)
Fri, 13 Oct 1995 02:07:32 +0100


Hallo Freunde,

ich habe mir einen sehr umfangreichen Anrufbeantworter aus vg_dtmf
gebaut und stelle fest, daß 'voice_send_file' oeffer mal spuckt:

10/13 01:12:22  voice_wait_for: string '1496'
10/13 01:12:25  voice_wait_for: string 'NO DIALTONE'

Hier bei scheint das Modem kurz aufzulegen und dann bis zum timer
Alarm zu warten. Ich habe das mit 2 Zyxel EPROMS 612 und 614p
wiederholen können. '1496' ist die Bezeichnung vom Modem wie bei ati1
und  'NO DIALTONE' muß sein, da ja was abgespielt werden soll. 

Hat vielleicht jemand eine Idee was da los sein könnte?
Es scheint so, als wollte jemand während des Abspielens von voice
files das modem initialiseren.

Auszug von Voicelog (bei Bedarf mehr):

EPROMS 614p:
--
10/13 01:12:22  flushing modem output
10/13 01:12:22  voice_send_file("/usr/voice/synth/the.pcm") started...
10/13 01:12:22  sending /usr/voice/synth/the.pcm...
10/13 01:12:22  reading zfax header, compression is ADPCM-3
10/13 01:12:22  tio_set_flow_control( XON_OUT )
10/13 01:12:22  voice_command: send 'ATS39.7=0 S39.6=1 +VIT=60'
10/13 01:12:22  voice_wait_for(VCON|OK)
10/13 01:12:22  voice_wait_for: string 'ATS39.7=0 S39.6=1 +VIT=60p'
10/13 01:12:22  voice_wait_for: string '1496'
10/13 01:12:25  voice_wait_for: string 'NO DIALTONE'
10/13 01:14:22  Warning: got alarm signal!
10/13 01:14:22  voice_read_byte: read returned -1: Interrupted system call
10/13 01:14:22  voice_wait_for: cannot read byte, return: Interrupted system call
10/13 01:14:22  voice init failed, continuing
10/13 01:14:22  voice_command: send 'AT+VDH=12 +VDD=6'
10/13 01:14:22  voice_wait_for(VCON|OK)
10/13 01:14:22  voice_wait_for: string 'AT+VDH=12 +VDD=6p'
10/13 01:14:22  voice_wait_for: string 'OK'** found **
10/13 01:14:22  voice_command: send 'ATL7'
10/13 01:14:22  voice_wait_for(VCON|OK)
10/13 01:14:22  voice_wait_for: string 'ATL7p'
10/13 01:14:22  voice_wait_for: string 'OK'** found **
10/13 01:14:22  voice_command: send 'AT+VSM=3 +VLS=2'
10/13 01:14:22  voice_wait_for(VCON|OK)
10/13 01:14:23  voice_wait_for: string 'AT+VSM=3 +VLS=2p'
10/13 01:14:23  voice_wait_for: string 'NO CARRIER'
10/13 01:14:25  voice_wait_for: string 'NO CARRIER'
10/13 01:14:26  voice_wait_for: string 'NO CARRIER'
10/13 01:14:28  voice_wait_for: string 'NO CARRIER'
10/13 01:14:54  got hangup! what's this? exiting...
10/13 01:14:54  voice_read_byte: read returned -1: Interrupted system call
10/13 01:14:54  voice_wait_for: cannot read byte, return: Interrupted system call
10/13 01:14:54  init failed, abort voice send!
10/13 01:14:54  voice_send_file("/usr/voice/synth/kernel.pcm") started...
10/13 01:14:54  sending /usr/voice/synth/kernel.pcm...
10/13 01:14:54  reading zfax header, compression is ADPCM-3
10/13 01:14:54  tio_set_flow_control( XON_OUT )
10/13 01:14:54  voice_command: send 'ATS39.7=0 S39.6=1 +VIT=60'
10/13 01:14:54  voice_wait_for(VCON|OK)
10/13 01:14:54  voice_wait_for: string 'Error sending /usr/voice/synth/the.pcm, trying to continue'
--

EPROMS 612:
--
10/12 22:16:52  flushing modem output
10/12 22:16:52  voice_send_file("/usr/voice/sample/1.pcm") started...
10/12 22:16:52  sending /usr/voice/sample/1.pcm...
10/12 22:16:52  reading zfax header, compression is ADPCM-3
10/12 22:16:52  tio_set_flow_control( XON_OUT )
10/12 22:16:52  voice_command: send 'ATS39.7=0 S39.6=1 +VIT=60'
10/12 22:16:52  voice_wait_for(VCON|OK)
10/12 22:16:52  voice_wait_for: string 'ATS39.7=0 S39.6=1 +VIT=60p'
10/12 22:16:52  voice_wait_for: string 'OK'** found **
10/12 22:16:52  voice_command: send 'AT+VDH=12 +VDD=6'
10/12 22:16:52  voice_wait_for(VCON|OK)
10/12 22:16:52  voice_wait_for: string 'AT+VDH=12 +VDD=6p'
10/12 22:16:52  voice_wait_for: string 'OK'** found **
10/12 22:16:52  voice_command: send 'ATL7'
10/12 22:16:52  voice_wait_for(VCON|OK)
10/12 22:16:52  voice_wait_for: string 'ATL7p'
10/12 22:16:52  voice_wait_for: string 'OK'** found **
10/12 22:16:52  voice_command: send 'AT+VSM=3 +VLS=2'
10/12 22:16:52  voice_wait_for(VCON|OK)
10/12 22:16:52  voice_wait_for: string 'AT+VSM=3 +VLS=2p'
10/12 22:16:52  voice_wait_for: string 'VCON'** found **
10/12 22:16:52  voice_command: send 'AT+VTX'
10/12 22:16:52  voice_wait_for(CONNECT)
10/12 22:16:52  voice_wait_for: string 'AT+VTXp'
10/12 22:16:52  voice_wait_for: string 'CONNECT'** found **
10/12 22:16:52  sending DLE ETX...
10/12 22:16:52  voice_wait_for(VCON|OK)
10/12 22:16:53  voice_wait_for: string 'VCON'** found **
10/12 22:16:53  flushing modem output
--
10/12 22:16:55  flushing modem output
10/12 22:16:55  voice_send_file("/usr/voice/synth/the.pcm") started...
10/12 22:16:55  sending /usr/voice/synth/the.pcm...
10/12 22:16:55  reading zfax header, compression is ADPCM-3
10/12 22:16:55  tio_set_flow_control( XON_OUT )
10/12 22:16:55  voice_command: send 'ATS39.7=0 S39.6=1 +VIT=60'
10/12 22:16:55  voice_wait_for(VCON|OK)
10/12 22:16:55  voice_wait_for: string 'ATS39.7=0 S39.6=1 +VIT=60p'
10/12 22:16:55  voice_wait_for: string '1496'
10/12 22:16:55  voice_wait_for: string 'ERROR'
10/12 22:16:55  voice init failed, continuing
10/12 22:16:55  voice_command: send 'AT+VDH=12 +VDD=6'
10/12 22:16:55  voice_wait_for(VCON|OK)
10/12 22:16:55  voice_wait_for: string 'OK'** found **
10/12 22:16:55  voice_command: send 'ATL7'
10/12 22:16:55  voice_wait_for(VCON|OK)
10/12 22:16:55  voice_wait_for: string 'OK'** found **
10/12 22:16:55  voice_command: send 'AT+VSM=3 +VLS=2'
10/12 22:16:55  voice_wait_for(VCON|OK)
10/12 22:16:56  voice_wait_for: string 'VCON'** found **
10/12 22:16:56  voice_command: send 'AT+VTX'
10/12 22:16:56  voice_wait_for(CONNECT)
10/12 22:16:56  voice_wait_for: string 'CONNECT'** found **
10/12 22:16:56  sending DLE ETX...
10/12 22:16:56  voice_wait_for(VCON|OK)
10/12 22:16:56  voice_wait_for: string 'VCON'** found **
10/12 22:16:56  voice_send_file("/usr/voice/synth/date.pcm") started...
10/12 22:16:56  sending /usr/voice/synth/date.pcm...
10/12 22:16:56  reading zfax header, compression is ADPCM-3
10/12 22:16:56  tio_set_flow_control( XON_OUT )
10/12 22:16:56  voice_command: send 'ATS39.7=0 S39.6=1 +VIT=60'
10/12 22:16:56  voice_wait_for(VCON|OK)
10/12 22:16:56  voice_wait_for: string 'OK'** found **
10/12 22:16:56  voice_command: send 'AT+VDH=12 +VDD=6'
10/12 22:16:56  voice_wait_for(VCON|OK)
10/12 22:16:56  voice_wait_for: string 'OK'** found **
10/12 22:16:56  voice_command: send 'ATL7'
10/12 22:16:57  voice_wait_for(VCON|OK)
10/12 22:16:57  voice_wait_for: string 'OK'** found **
10/12 22:16:57  voice_command: send 'AT+VSM=3 +VLS=2'
10/12 22:16:57  voice_wait_for(VCON|OK)
10/12 22:16:57  voice_wait_for: string 'VCON'** found **
10/12 22:16:57  voice_command: send 'AT+VTX'
10/12 22:16:57  voice_wait_for(CONNECT)
10/12 22:16:57  voice_wait_for: string 'CONNECT'** found **
10/12 22:16:57  sending DLE ETX...
10/12 22:16:57  voice_wait_for(VCON|OK)
10/12 22:16:58  voice_wait_for: string 'VCON'** found **
10/12 22:16:58  voice_send_file("/usr/voice/synth/is.pcm") started...
10/12 22:16:58  sending /usr/voice/synth/is.pcm...
10/12 22:16:58  reading zfax header, compression is ADPCM-3
10/12 22:16:58  tio_set_flow_control( XON_OUT )
10/12 22:16:58  voice_command: send 'ATS39.7=0 S39.6=1 +VIT=60'
10/12 22:16:58  voice_wait_for(VCON|OK)
10/12 22:16:58  voice_wait_for: string 'OK'** found **
10/12 22:16:58  voice_command: send 'AT+VDH=12 +VDD=6'
10/12 22:16:58  voice_wait_for(VCON|OK)
10/12 22:16:58  voice_wait_for: string 'OK'** found **
10/12 22:16:58  voice_command: send 'ATL7'
10/12 22:16:58  voice_wait_for(VCON|OK)
10/12 22:16:58  voice_wait_for: string 'OK'** found **
10/12 22:16:58  voice_command: send 'AT+VSM=3 +VLS=2'
10/12 22:16:58  voice_wait_for(VCON|OK)
10/12 22:16:58  voice_wait_for: string 'VCON'** found **
10/12 22:16:58  voice_command: send 'AT+VTX'
10/12 22:16:58  voice_wait_for(CONNECT)
10/12 22:16:58  voice_wait_for: string 'CONNECT'** found **
10/12 22:16:58  sending DLE ETX...
10/12 22:16:58  voice_wait_for(VCON|OK)
10/12 22:16:59  voice_wait_for: string 'VCON'** found **
10/12 22:16:59  voice_send_file("/usr/voice/synth/thursday.pcm") started...
10/12 22:16:59  sending /usr/voice/synth/thursday.pcm...
10/12 22:16:59  reading zfax header, compression is ADPCM-3