Open nexusbroadcast opened 10 years ago
What version of the module are you using, latest is 1.3.5? Do you get the same errors when using the NOAA weather engine?
It is 1.3.5 - I cannot -- with noaa - it just disconnects the call quickly with the error No application 'Flite' for extension - I am working on getting Flite going - but I cant get it to register with asterisk.
Asterisk version? Are you using a distro or manual install. By default, wunderground agi file writes a log file to /var/log/asterisk/nv-weather-underground.txt
which may not be writable on your system. Can you confirm?
It is 11.7 - The file nv-weather-underground.txt does not appear in the directory you mentioned. I changed the permissions to 777 and tried again
On Sun, Feb 2, 2014 at 6:46 PM, Lorne Gaetz notifications@github.comwrote:
Asterisk version? Are you using a distro or manual install. By default, wunderground agi file writes a log file to /var/log/asterisk/nv-weather-underground.txt which may not be writable on your system. Can you confirm?
Reply to this email directly or view it on GitHubhttps://github.com/POSSA/freepbx-weather-by-zip/issues/26#issuecomment-33918581 .
It was originally installed from a distro
locate the file:
/var/www/html/admin/modules/weatherzip/agi-bin/nv-weather-wunderground.php
near the top is this line:
$debug = 1;
change it to
$debug = 0;
At the CLI, reload the dialplan with:
amportal a r
I have been trying to do that - but as soon as I restart freepbx and asterisk - it overwrites nv-weather-wunderground.php with the default file.
Then you are editing the wrong file, note the directions again.
Yes you are absolutely correct. My apologies for sound and acting like a complete noob here. Next problem is I dont have the weatherzip directory under the modules directory. Shall I copy them over?
What?? If you are running the latest version of this module on Centos you must have a weatherzip directory.
Again my apologies - I think my brain isnt screwed on securely today. There were there where you said and I made the edits. Same results - still no log file. Note the log file says it is launching the script here: Launched AGI Script /var/lib/asterisk/agi-bin/nv-weather-wunderground.php
Okay, so you made the edits which should DISABLE the log file from being written. You did the 'amportal a r' command to reload everything, and a test call still gives hundreds of broken pipe errors?
Yes that is correct - no obvious changes in the output.
Okay, well we have exhausted my ideas for tonight. If I ever stumble upon a solution I will update this ticket and you will get an email notice. Please update this ticket if you ever find the problem, it may be helpful to others.
Thanks for your help. While I am not getting a log from your application - I did find these errors in the freepbx logs
Was there ever a resolution to this? I am also having this exact issue FreePBX12 on CentOS
No solution was ever found
Try upgrading to latest version (1.3.6) and retest.
Then issue exists in v 1.3.5 as well. While there is a commit for v 1.3.6, it only resolves issue #6, which is unrelated entirely.
Also, flite is working fine in my other TTS calls. What i do notice in the logs is that it says "Flite" and not "flite" (note: CaSe). Perhaps that is the issue?
Version 1.3.6 of the module should fix this issue, but it was misisng from the download site until now. Upgrade to 1.3.6 and retest. The latest commit says it is a fix for #6, but that is a typo, is should say #26.
I have never been able to get this to work. I am able to dial *947 - it answers and asks for the zip code. I dial that zip code and it says please wait while we retrieve your report - but then it just disconnects the call. On centos 6.5 FreePBX 11..