A DID can be configured to accept voice, fax or try to guess the calling party (if voice of fax).
Autodetection relies on signalling at the start of the call and cannot be always reliable.
The time to detect the fax tone can be set in Admin/Settings page.