You will need to use
TAPI[
^]
Personally I would use 3rd Party software, rather than reinventing the wheel. There are some good and not to expensive Faxing systems out there. In the past I have used Symantic's WinFax Pro for single user and ActiveFax for multi-user systems.