A short PHP script that demonstrates how to do caller ID spoofing in Asterisk. Reading through the code should explain how to do it in other languages.