Fax For Asterisk in Asterisk 13

If you are on the distro you should be OK.

Otherwise look at http://www.asteriskguru.com/tutorials/spandsp.html