Just a short note on getting a minimal Asterisk environment installed on current versions of Debian and Ubuntu:
aptitude install asterisk m-a a-i zaptel modprobe ztdummy
Also add ztdummy to /etc/modules so it gets loaded when the system starts.
If the m-a command is not found, install the module-assistant package.