Creating Asterisk Applications in C