Hi all,

I noticed that I am not able to use TXFAX from a LUA script as follows:

obSession = freeswitch.Session("freetdm/1/1/9999")

if obSession:ready() then
    session:execute("txfax", "/rxfax.tiff")
else

My objective was to send a fax to a fax machine connected to an FXS.

I does work when I use:

originate freetdm/1/1/9999 &txfax(/rxfax.tiff)

But I wanted to be able to retry based on DISCONNECT CAUSES and the like.


Just for peace of mind I wanted to get some input from you on the causes of this "limitation", and maybe get some suggestions as to any other options?


TIA