HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] How to play voice with mgetty?



I want to play voice with mgetty,but it is not run.When I dial a number ,it shows log as follows:
09/22 10:21:01 opening voice modem device
09/22 10:21:01 voice open 'ttyG001:ttyG002'
09/22 10:21:01 trying device '/dev/ttyG001'
09/22 10:21:01 makelock(ttyG001) called
09/22 10:21:01 do_makelock: lock='/var/lock/LCK..ttyG001'
09/22 10:21:01 stale lockfile, created by process 6179, ignoring
09/22 10:21:01 lock made
09/22 10:21:01 opened voice modem device /dev/ttyG001
09/22 10:21:01 reading port ttyG001 configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
09/22 10:21:01 reading /usr/local/etc/mgetty+sendfax/voice.conf...
09/22 10:21:01 conf lib: read: 'part generic'
09/22 10:21:01 found CT_KEYWORD part generic
09/22 10:21:01 conf lib: read: 'voice_log_level 6'
09/22 10:21:01 conf lib: read: 'voice_shell_log /var/log/vgetty_voice_shell.%s'
09/22 10:21:01 conf lib: read: 'voice_dir /var/spool/voice'
09/22 10:21:01 conf lib: read: 'phone_owner root'
09/22 10:21:01 conf lib: read: 'phone_group phone'
09/22 10:21:01 conf lib: read: 'phone_mode 0660'
09/22 10:21:01 conf lib: read: 'message_flag_file .flag'
09/22 10:21:01 conf lib: read: 'receive_dir incoming'
09/22 10:21:01 conf lib: read: 'message_dir messages'
09/22 10:21:01 conf lib: read: 'message_list Index'
09/22 10:21:01 conf lib: read: 'backup_message standard.rmd'
09/22 10:21:01 conf lib: read: 'port_speed 38400'
09/22 10:21:01 conf lib: read: 'voice_shell /bin/sh'
09/22 10:21:01 conf lib: read: 'port_timeout 10'
09/22 10:21:01 conf lib: read: 'dial_timeout 30'
09/22 10:21:01 conf lib: read: 'command_delay 100'
09/22 10:21:01 conf lib: read: 'dtmf_len 30'
09/22 10:21:01 conf lib: read: 'dtmf_threshold 40'
09/22 10:21:01 conf lib: read: 'dtmf_wait 7'
09/22 10:21:01 conf lib: read: 'ignore_fax_dle false'
09/22 10:21:01 conf lib: read: 'raw_data false'
09/22 10:21:01 conf lib: read: 'rec_compression 0'
09/22 10:21:01 conf lib: read: 'rec_speed 0'
09/22 10:21:01 conf lib: read: 'rec_silence_len 70'
09/22 10:21:01 conf lib: read: 'rec_silence_threshold 40'
09/22 10:21:01 conf lib: read: 'rec_remove_silence false'
09/22 10:21:01 conf lib: read: 'rec_max_len 300'
09/22 10:21:01 conf lib: read: 'rec_min_len 0'
09/22 10:21:01 conf lib: read: 'do_hard_flow true'
09/22 10:21:01 conf lib: read: 'beep_frequency 933'
09/22 10:21:01 conf lib: read: 'beep_length 1500'
09/22 10:21:01 conf lib: read: 'max_tries 3'
09/22 10:21:01 conf lib: read: 'retry_delay 5'
09/22 10:21:01 conf lib: read: 'watchdog_timeout 20'
09/22 10:21:01 conf lib: read: 'receive_gain -1'
09/22 10:21:01 conf lib: read: 'transmit_gain -1'
09/22 10:21:01 conf lib: read: 'enable_command_echo false'
09/22 10:21:01 conf lib: read: 'poll_interval 10'
09/22 10:21:01 conf lib: read: 'program vgetty'
09/22 10:21:01 conf lib: read: 'rings 3'
09/22 10:21:01 conf lib: read: 'answer_mode voice:fax:data'
09/22 10:21:01 conf lib: read: 'force_autodetect false'
09/22 10:21:01 conf lib: read: 'toll_saver_rings 0'
09/22 10:21:01 conf lib: read: 'rec_always_keep true'
09/22 10:21:01 conf lib: read: 'button_program '
09/22 10:21:01 conf lib: read: 'call_program ld.wav'
09/22 10:21:01 conf lib: read: 'dtmf_program dtmf.sh'
09/22 10:21:01 conf lib: read: 'message_program ld.wav'
09/22 10:21:01 conf lib: read: 'do_message_light false'
09/22 10:21:01 conf lib: read: 'ring_report_delay 15'
09/22 10:21:01 conf lib: read: 'program vm'
09/22 10:21:01 conf lib: read: 'voice_devices ttyG001:ttyG002'
09/22 10:21:01 conf lib: read: 'dialout_timeout 30'
09/22 10:21:01 conf lib: read: 'ringback_goes_away 70'
09/22 10:21:01 conf lib: read: 'ringback_never_came 100'
09/22 10:21:01 conf lib: read: 'program pvf'
09/22 10:21:01 conf lib: read: 'port ttyG001'
09/22 10:21:01 section: port ttyG001, **found**
09/22 10:21:01 conf lib: read: 'port ttyG002'
09/22 10:21:01 section: port ttyG002, ignore
09/22 10:21:01 conf lib: read: 'ring_type virtual'
09/22 10:21:01 conf lib: read: 'answer_mode fax:data'
09/22 10:21:01 conf lib: read: 'ring_type ring'
09/22 10:21:01 conf lib: read: 'ring_type ring1'
09/22 10:21:01 key: 'part', type=6, flags=4, data=(ignored)
09/22 10:21:01 key: 'program', type=6, flags=4, data=(ignored)
09/22 10:21:01 key: 'port', type=6, flags=4, data=(ignored)
09/22 10:21:01 key: 'ring_type', type=6, flags=4, data=(ignored)
09/22 10:21:01 key: 'voice_log_level', type=0, flags=3, data=6
09/22 10:21:01 key: 'voice_shell_log', type=1, flags=3, data=/var/log/vgetty_voice_shell.%s
09/22 10:21:01 key: 'voice_shell', type=1, flags=3, data=/bin/sh
09/22 10:21:01 key: 'port_speed', type=0, flags=3, data=38400
09/22 10:21:01 key: 'port_timeout', type=0, flags=3, data=10
09/22 10:21:01 key: 'dial_timeout', type=0, flags=3, data=30
09/22 10:21:01 key: 'command_delay', type=0, flags=3, data=100
09/22 10:21:01 key: 'dtmf_len', type=0, flags=3, data=30
09/22 10:21:01 key: 'dtmf_threshold', type=0, flags=3, data=40
09/22 10:21:01 key: 'dtmf_wait', type=0, flags=3, data=7
09/22 10:21:01 key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
09/22 10:21:01 key: 'raw_data', type=3, flags=3, data=FALSE
09/22 10:21:01 key: 'rec_compression', type=0, flags=3, data=0
09/22 10:21:01 key: 'rec_speed', type=0, flags=3, data=0
09/22 10:21:01 key: 'rec_silence_len', type=0, flags=3, data=70
09/22 10:21:01 key: 'rec_silence_threshold', type=0, flags=3, data=40
09/22 10:21:01 key: 'rec_remove_silence', type=3, flags=3, data=FALSE
09/22 10:21:01 key: 'rec_max_len', type=0, flags=3, data=300
09/22 10:21:01 key: 'rec_min_len', type=0, flags=3, data=0
09/22 10:21:01 key: 'do_hard_flow', type=3, flags=3, data=TRUE
09/22 10:21:01 key: 'force_autodetect', type=3, flags=1, data=FALSE
09/22 10:21:01 key: 'watchdog_timeout', type=0, flags=3, data=20
09/22 10:21:01 key: 'receive_gain', type=0, flags=3, data=-1
09/22 10:21:01 key: 'transmit_gain', type=0, flags=3, data=-1
09/22 10:21:01 key: 'enable_command_echo', type=3, flags=3, data=FALSE
09/22 10:21:01 key: 'poll_interval', type=0, flags=3, data=10
09/22 10:21:01 key: 'forceV253', type=3, flags=1, data=FALSE
09/22 10:21:01 key: 'rings', type=1, flags=1, data=3
09/22 10:21:01 key: 'answer_mode', type=1, flags=1, data=voice:fax:data
09/22 10:21:01 key: 'toll_saver_rings', type=0, flags=1, data=0
09/22 10:21:01 key: 'rec_always_keep', type=3, flags=1, data=TRUE
09/22 10:21:01 key: 'voice_dir', type=1, flags=3, data=/var/spool/voice
09/22 10:21:01 key: 'phone_owner', type=1, flags=3, data=root
09/22 10:21:01 key: 'phone_group', type=1, flags=3, data=phone
09/22 10:21:01 key: 'phone_mode', type=0, flags=3, data=432
09/22 10:21:01 key: 'message_flag_file', type=1, flags=3, data=.flag
09/22 10:21:01 key: 'receive_dir', type=1, flags=3, data=incoming
09/22 10:21:01 key: 'message_dir', type=1, flags=3, data=messages
09/22 10:21:01 key: 'message_list', type=1, flags=3, data=Index
09/22 10:21:01 key: 'backup_message', type=1, flags=3, data=standard.rmd
09/22 10:21:01 key: 'button_program', type=1, flags=1, data=
09/22 10:21:01 key: 'call_program', type=1, flags=1, data=
09/22 10:21:01 key: 'dtmf_program', type=1, flags=1, data=dtmf.sh
09/22 10:21:01 key: 'message_program', type=1, flags=1, data=
09/22 10:21:01 key: 'do_message_light', type=3, flags=1, data=FALSE
09/22 10:21:01 key: 'pre_message', type=1, flags=1, data=
09/22 10:21:01 key: 'beepsound', type=1, flags=1, data=
09/22 10:21:01 key: 'beep_frequency', type=0, flags=3, data=933
09/22 10:21:01 key: 'beep_length', type=0, flags=3, data=1500
09/22 10:21:01 key: 'max_tries', type=0, flags=3, data=3
09/22 10:21:01 key: 'retry_delay', type=0, flags=3, data=5
09/22 10:21:01 key: 'dialout_timeout', type=0, flags=3, data=30
09/22 10:21:01 key: 'ringback_goes_away', type=0, flags=3, data=70
09/22 10:21:01 key: 'ringback_never_came', type=0, flags=3, data=100
09/22 10:21:01 key: 'ring_report_delay', type=0, flags=1, data=15
09/22 10:21:01 key: 'voice_devices', type=1, flags=2, data=ttyG001:ttyG002
09/22 10:21:01 tss: set speed to 38400 (017)
09/22 10:21:01 tss: set speed to 38400 (017)
09/22 10:21:01 tio_set_flow_control( HARD )
09/22 10:21:01 detecting voice modem type
09/22 10:21:01 vm: ATE0
09/22 10:21:02 serial port: OK
09/22 10:21:02 voice command: 'ATI9' -> ''
09/22 10:21:02 vm: ATI9
09/22 10:21:02 serial port: (1.00DBI0051\00000000\MODEM\\DataFire RAS 60 PE2__)
09/22 10:21:02 PNP String: 'DBI0051\00000000\MODEM\\DataFire RAS 60 PE2__)'
09/22 10:21:02 checking pnpid SUP / modelid <none>
09/22 10:21:02 checking pnpid ZYX / modelid 02FF
09/22 10:21:02 checking pnpid USR / modelid 0088
09/22 10:21:02 checking pnpid ELS / modelid 0687
09/22 10:21:02 checking pnpid ELS / modelid 0566
09/22 10:21:02 checking pnpid ELS / modelid 0707
09/22 10:21:02 checking pnpid ELS / modelid 8318
09/22 10:21:02 checking pnpid ELS / modelid 0853
09/22 10:21:02 checking pnpid ELS / modelid 8548
09/22 10:21:02 checking pnpid ELS / modelid 0754
09/22 10:21:02 checking pnpid ELS / modelid 0350
09/22 10:21:02 checking pnpid ELS / modelid 0503
09/22 10:21:02 checking pnpid ELS / modelid 0667
09/22 10:21:02 checking pnpid ELS / modelid 0152
09/22 10:21:02 checking pnpid ELS / modelid 0363
09/22 10:21:02 checking pnpid ELS / modelid 0862
09/22 10:21:02 checking pnpid ELS / modelid 6026
09/22 10:21:02 checking pnpid ELS / modelid 6027
09/22 10:21:02 serial port: OK
09/22 10:21:03 voice command: 'ATI3' -> ''
09/22 10:21:03 vm: ATI3
09/22 10:21:03 serial port: V20030401-K56_DS
09/22 10:21:03 serial port: OK
09/22 10:21:03 voice command: 'ATI' -> ''
09/22 10:21:03 vm: ATI
09/22 10:21:03 serial port: Digi RAS modem 56000
09/22 10:21:03 Digi RAS: OK
09/22 10:21:03 Digi RAS detected
09/22 10:21:03 vm: entering voice mode
09/22 10:21:03 vm: Installing signal handlers
09/22 10:21:03 voice command: 'AT+FCLASS?' -> ''
09/22 10:21:04 vm: AT+FCLASS?
09/22 10:21:04 Digi RAS: 8
09/22 10:21:04 voice command: '' -> 'OK'
09/22 10:21:04 Digi RAS: OK
09/22 10:21:04 voice command: 'AT+FCLASS=8' -> 'OK'
09/22 10:21:04 vm: AT+FCLASS=8
09/22 10:21:04 Digi RAS: OK
09/22 10:21:04 voice command: 'AT' -> 'OK'
09/22 10:21:04 vm: AT
09/22 10:21:04 Digi RAS: OK
09/22 10:21:04 vm: queued event RESET_WATCHDOG at position 0000
09/22 10:21:04 initializing Digi_RAS voice modem
09/22 10:21:04 voice command: 'AT+VSD=127,70' -> 'OK'
09/22 10:21:05 vm: AT+VSD=127,70
09/22 10:21:05 vm: unqueued event RESET_WATCHDOG at position 0000
09/22 10:21:05 vm: voice_handle_event got event RESET_WATCHDOG with data <_>
09/22 10:21:05 Digi RAS: OK
09/22 10:21:05 voice command: 'AT+VGT=128' -> 'OK'
09/22 10:21:05 vm: AT+VGT=128
09/22 10:21:05 Digi RAS: OK
09/22 10:21:05 voice command: 'AT+VGR=128' -> 'OK'
09/22 10:21:05 vm: AT+VGR=128
09/22 10:21:05 Digi RAS: OK
09/22 10:21:05 voice command: 'AT+VIT=0' -> 'OK'
09/22 10:21:05 vm: AT+VIT=0
09/22 10:21:05 Digi RAS: OK
09/22 10:21:06 voice command: 'AT+VPR=0' -> 'OK'
09/22 10:21:06 vm: AT+VPR=0
09/22 10:21:06 Digi RAS: OK
09/22 10:21:06 voice command: 'AT+VLS=0' -> 'OK'
09/22 10:21:06 vm: AT+VLS=0
09/22 10:21:06 Digi RAS: OK
09/22 10:21:06 vm: leaving voice mode
09/22 10:21:06 voice command: 'AT+FCLASS=8' -> 'OK'
09/22 10:21:06 vm: AT+FCLASS=8
09/22 10:21:06 Digi RAS: OK
09/22 10:21:06 voice command: 'AT' -> 'OK'
09/22 10:21:07 vm: AT
09/22 10:21:07 Digi RAS: OK
09/22 10:21:07 vm: Restoring signal handlers
09/22 10:21:07 vm: entering voice mode
09/22 10:21:07 vm: Installing signal handlers
09/22 10:21:07 voice command: 'AT+FCLASS?' -> ''
09/22 10:21:07 vm: AT+FCLASS?
09/22 10:21:07 Digi RAS: 8
09/22 10:21:07 voice command: '' -> 'OK'
09/22 10:21:07 Digi RAS: OK
09/22 10:21:07 voice command: 'AT+FCLASS=8' -> 'OK'
09/22 10:21:07 vm: AT+FCLASS=8
09/22 10:21:07 Digi RAS: OK
09/22 10:21:07 voice command: 'AT' -> 'OK'
09/22 10:21:08 vm: AT
09/22 10:21:08 Digi RAS: OK
09/22 10:21:08 vm: queued event RESET_WATCHDOG at position 0001
09/22 10:21:08 vm: ATD5101
09/22 10:21:08 vm: unqueued event RESET_WATCHDOG at position 0001
09/22 10:21:08 vm: voice_handle_event got event RESET_WATCHDOG with data <_>
09/22 10:21:08 vm: queued event RESET_WATCHDOG at position 0002
09/22 10:21:08 vm: unqueued event RESET_WATCHDOG at position 0002
09/22 10:21:08 vm: voice_handle_event got event RESET_WATCHDOG with data <_>
09/22 10:21:12 Digi RAS: <DLE> <r>
09/22 10:21:12 vm: queued event RINGBACK_DETECTED at position 0003
09/22 10:21:12 Digi RAS: 09/22 10:21:12 vm: unqueued event RINGBACK_DETECTED at position 0003
09/22 10:21:12 vm: voice_handle_event got event RINGBACK_DETECTED with data <_>
09/22 10:21:12 vm: voice_handle_event got unknown event RINGBACK_DETECTED with data <_>
09/22 10:21:28 vm: queued event RESET_WATCHDOG at position 0004
09/22 10:21:28 vm: Watchdog timer expired, exiting...
I have modified voice.conf.But it still shows this.Who can tell me how to do it?


_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/



____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions