1) Doxygen output for asterisk source tree:
http://www.asterisk.org/doxygen/.
2) Basic developer documentation:
http://www.asterisk.org/doxygen/DevDoc.html.
As is often the case in the open source community, the documentation blows....and there seems to be forty different variants of solving the same problem, each as convoluted and hackish as the other...