Need help with SIP configuration

Hello,
I m new to asterisk. i m studying it from 2 days now i want to make a program(or whatever its called in asterisk). I want to make a call from SIP connection and receive it on my computer and it does 2-3 things … Answer the call, Play a sound file and hang.

Can anybody guide me how to do this?
thanks…

Read the book at asteriskdocs.org/