This is a work in progress. Please bear with me.
The ability to stream a call to an Icecast server is "built in" in version 1.4.x of Asterisk. Other than Asterisk, you'll only need to install Ices2 on your Asterisk server and edit a couple config files. Click here for a copy of my asterisk-ices.xml file and here for a copy of my icecast.xml config file.
If Asterisk complains about broken pipes when you try to stream, it's likely caused by the Ices binary either being not installed or not located where Asterisk is looking for it. The solution for the former is obvious (install it). There are two solutions for the latter:
The following are my attempts at explaining the syntax used in the two files I made available in the "Discussion" section.
- http://www.icecast.org/docs/icecast-2.3.1/icecast2_config_file.html