[Freeswitch-users] Fax document number of pages
Steve Underwood
steveu at coppice.org
Wed Feb 27 03:17:49 MSK 2013
Hi Tihomir,
On 02/26/2013 11:42 PM, Tihomir Culjaga wrote:
> hello,
> i know its stupid, but please, is there a way to somehow print the
> number of pages on a document in a <pages>/<total_pages> format
> instead of p.<pages> ?
>
> i cannot find this in mod_spandsp so i assume its somewhere in spandsp
> library... any idea where ?
>
>
> regards,
> Tihomir.
>
Spandsp just follows the practice in most FAX machines, and puts
p.<number> in the page headers. Spandsp doesn't actually know the total
number of pages when it sends the first page, as it allows additional
TIFF files to be added to the transmission while a call is in progress.
<page>/<total> could be set up for the simple case of one call == one
TIFF file, but that's not in the code right now.
Steve
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list