Get fax transfer mode in dialplan

Hi,
I’m using asterisk 16 and spandsp to receive faxes.
Is there any way that I can get the information if a fax was received in G.711 or T.38 within the dialplan?
Maybe a channel variable that I’m missing?

Many Thanks!

The FAXOPT dialplan function[1] has all the information available, looking at it I don’t see anything that stands out but you could experiment and see.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Function_FAXOPT_res_fax

Thanks for your reply.
Unfortunately none of the FAXOPT vars give an indication if the fax was received in T38 or G711.

On the CLI - if you issue “FAX SHOW STATS” it will give you the stats per transaction mode. I want to write the info into the DB on a per call basis for analytics.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.