Detect Caller anwer on outgoing when called is fax-detected

how detect on outgoing call, if Called anwer (than we start play menu), when have fax detected machine on other side?

At this situation: the PRI report that called answer, but is not. instead, fax detected give available-tone.