Installing Weather by ZIP Code Module for FreePBX¶
FreePBX Module: U.S. Weather by Zip Code¶
Purpose:
This module installs the U.S. Weather by Zip Code program that has been around within the voip community for some time. The modules was based on the version known as the Caller ID TriFecta, by Ward Mundy. It had three data sources.
Installation:
Step 1: Download the module to your desktop From here..
Don’t decompress the archive!
Step 2: Use a web browser to access FreePBX on your PBX. Choose Tools, Module Admin, Upload Module.
Now, browse to the weatherzip-x.x.x.tgz file on your Desktop and click the Upload button. Now click local module administration, scroll down and click on Sys Info and then the Install radio button. Now click Process, and complete the usual FreePBX install and reload process.
*Conditions/Prerequisites:*
This module is compatible with the security models used in, and has been tested with the following distributions:
Asterisk Version Compatibility¶
This module has been tested and found to work correctly with Asterisk versions 1.4 and 1.6.
Known Issues:
1. This module does not properly clean up changes made to extensions_custom.conf. Specifically, this line:
- include custom_weatherzip.conf
Will be attached to the bottom of the extensions_custom.conf file every time you install / re install the module. This is harmless, and will be corrected in a future release of the module.
2. This module supports only mysql, if your PBX is deployed using another database, this module will fail.
3.On TrixBOX CE, the sounds directory in which the weather reports are stored has disappeared. The symptom for this would be a weather report that introduces the report but never plays it. Here's how to recreate the directory from putty or your favorite program)
cd /var/lib/asterisk/sounds mkdir tts chmod 775 tts chown asterisk:asterisk tts
Credits:
The version of Weather by Zip Code upon which this module was based, was popularized by Ward Mundy., and was reworked into FreePBX module format by Tony Shiffer.