I wanted to have an option to get the weather from my desk phone easily. I use FreePBX as my IP PBX at home and quickly found a module for weather. This of course would be the preferred method to get the weather info as you upload the module and it becomes a part of FreePBX. Sadly though the module had issues and when I did some searching around I discovered that it does not appear to be maintained anymore (or at least there have not been any updates in quite some time). I thought “FreePBX(Asterisk) and linux should make this simple to do on my own.” I figured this little project should consist of three areas. The first would be to get the weather info downloaded to my server as a simple text file. The second would be to convert that text file to a .wav file (using flite which is already on FreePBX.) The third would be to configure FreePBX in a manner that when I dial a feature code the system will playback the .wav file. I have accomplished all 3 steps successfully and as of right now I may only want to tweak my formatting of the text file so that flite pauses between sections of the file. In other words sometimes playback runs the different parts together.
Here is a link to a pdf that I have created if anyone wants to try this out.
I wanted to post the whole howto in the forum but could not get the pictures to display. If anyone can let me know how to get the images in the post I will create a new one and remove this post.
I am sure this can be made into a module for FreePBX. If I have time I may attempt that but I have no clue where to start with it…