Performance study of facsimile transmission and techniques for eliminating spam in fax over internet protocol