[Freeswitch-users] fax receiving issue (two page compressed into one)
Marlok Tamas
tamas.marlok at rackserver.hu
Wed Jul 30 15:34:32 MSD 2014
Hi,
I have the following problem:
There are a few fax number from where I all two page faxes are
compressed into one page (see the attached pdf).
I could not find anything about this issue so far...
The log, and the received pdf (generated from the tiff - the problem is
not in the tiff-pdf conversion):
https://www.dropbox.com/s/vxkjygxyy5zi9d6/log.txt
https://www.dropbox.com/s/49udrprgmascc0x/test1.pdf
The relevant part of the receiver python script is:
the_uuid = session.getVariable("uuid")
the_recipient = session.getVariable("recipient")
the_caller = session.getVariable("caller_id_number")
the_dest = re.sub(r'^(\+?3|0)(6[0-9]*)$',
r'3\2',session.getVariable("destination_number"))
send_from = the_dest+'@fax.voip123.hu'
consoleLog("info", " rxfax receiving from " + the_caller + " for
destination " + the_dest + ", uuid is " + the_uuid + "\n")
fname = incomingfaxes + "rxfax-" + the_uuid
#answer the phone, save the fax file in .tiff format.
session.answer()
session.execute ("playback", "silence_stream://2000")
# session.execute ("set","fax_enable_t38=true")
session.execute ("rxfax", fname + ".tiff")
Thanks in advance!
Cheers,
tmarlok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140730/890e64ba/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list