[Freeswitch-users] Using txfax from a LUA script
Luis F Urrea
lfurrea at gmail.com
Thu Apr 14 17:31:27 MSD 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110414/c8b9fde5/attachment.html
More information about the FreeSWITCH-users
mailing list