I wouldn't know if it tries to run, it just sits there for a while until the channel is hung with a timeout I assume then the script continues..
What happens when you call the txfax app from Lua? Does it even attempt to run? Just curious. In any case, I think you can do a combo of dp and Lua by transferring the call to an extension that does the bridge and if it fails you can check the failure cause in a Lua script and try again. You'll just need a chan var for the number of attempts.-MCOn Thu, Apr 14, 2011 at 6:31 AM, Luis F Urrea <lfurrea@gmail.com> wrote:
_______________________________________________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() thensession:execute("txfax", "/rxfax.tiff")elseMy 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
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org