I installed the weather-zip script and have come across an issue.
It gets to the point where it says that it successfully download - please stand by. After this it hangs up. Running asterisk -rvvvvvv verified that it did just go the the hangup. I found this in /var/log/asterisk/full
Any ideas?
It gets to the point where it says that it successfully download - please stand by. After this it hangs up. Running asterisk -rvvvvvv verified that it did just go the the hangup. I found this in /var/log/asterisk/full
So it never creates the file in /var/lib/asterisk/sounds/tts/[Feb 7 22:35:47] DEBUG[26992] app_flite.c: Text passed to Flite: "Please hold a moment while we contact the National Weather Service for your report."
[Feb 7 22:35:47] VERBOSE[26992] logger.c: -- <Zap/1-1> Playing '/tmp/flite_buf_9rFt0b' (language 'en')
[Feb 7 22:35:52] VERBOSE[26992] logger.c: -- Executing [947@from-internal:8] AGI("Zap/1-1", "nv-weather-zip.php|53051") in new stack
[Feb 7 22:35:52] VERBOSE[26992] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/nv-weather-zip.php
[Feb 7 22:35:55] VERBOSE[26992] logger.c: -- AGI Script Executing Application: (flite) Options: (Your report was successfully downloaded. Please stand bye.)
[Feb 7 22:35:55] VERBOSE[26992] logger.c: == Parsing '/etc/asterisk/flite.conf': [Feb 7 22:35:55] VERBOSE[26992] logger.c: Found
[Feb 7 22:35:55] DEBUG[26992] app_flite.c: Text passed to Flite: Your report was successfully downloaded. Please stand bye.
[Feb 7 22:35:55] VERBOSE[26992] logger.c: -- <Zap/1-1> Playing '/tmp/flite_buf_cw4dSD' (language 'en')
[Feb 7 22:36:00] VERBOSE[26992] logger.c: -- AGI Script nv-weather-zip.php completed, returning 0
[Feb 7 22:36:00] VERBOSE[26992] logger.c: -- Executing [947@from-internal:9] NoOp("Zap/1-1", "Wave file: tts/tts-8ea41e655e2c59fc968d3f3f5758077e") in new stack
[Feb 7 22:36:00] VERBOSE[26992] logger.c: -- Executing [947@from-internal:10] Playback("Zap/1-1", "tts/tts-8ea41e655e2c59fc968d3f3f5758077e") in new stack
[Feb 7 22:36:00] WARNING[26992] file.c: File tts/tts-8ea41e655e2c59fc968d3f3f5758077e does not exist in any format
[Feb 7 22:36:00] WARNING[26992] file.c: Unable to open tts/tts-8ea41e655e2c59fc968d3f3f5758077e (format 0x44 (ulaw|slin)): Permission denied
[Feb 7 22:36:00] WARNING[26992] app_playback.c: ast_streamfile failed on Zap/1-1 for tts/tts-8ea41e655e2c59fc968d3f3f5758077e
[Feb 7 22:36:00] VERBOSE[26992] logger.c: -- Executing [947@from-internal:11] Hangup("Zap/1-1", "") in new stack
Any ideas?