Here you can find good description on how to do it:
- http://www.linux.com/learn/tutorials/367395:weekend-project-record-from-skype-calls-and-other-apps-on-linux

check for the section that...